Re: [R] Loop for test statistic

From: Petr Klasterecky <klaster_at_karlin.mff.cuni.cz>
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).

Petr

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

______________________________________________
R-help_at_stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
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 https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.