Re: [R] Loop for test statistic

From: Petr Klasterecky <>
Date: Fri, 15 Jun 2007 14:52:59 +0200

Please read the posting guide. How shall we know what ycf, and A2 are? In general, the condition should be something like (.0032<ycf & ycf<.09) Also make sure that the initial value of ycf actually fits between the limits (or assign something to A2 outside the loop) and that ycf is changed inside the loop (to prevent looping forever).


livia napsal(a):
> I would like to obtain the statistic of A2 for ycf between the value 0.0032
> and 0.09, and I am using the following codes.
> while (0.0032 <ycf <0.09) {
> A2 <- A2_GOFlaio(ycf, dist="GEV")[1]
> print(A2)
> }
> Could anyone give me some advice as it does not work.
> Many thanks.

Petr Klasterecky
Dept. of Probability and Statistics
Charles University in Prague
Czech Republic

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Fri 15 Jun 2007 - 12:58:34 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 15 Jun 2007 - 13:32:08 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.