[R] onet.permutation()
B77S
bps0002 at auburn.edu
Sat Sep 17 20:27:24 CEST 2011
** I am not a statistician, but...
The default arguments are:
onet.permutation(x, nsim=2000, plotit=TRUE)
you are making nsim=4 (this parameter is not the size of each sample, it
is the number of samples taken)
You are building the distribution for a statistical test through random
sampling, so you want to have MANY MANY random samples, not just 4.
song_gpqg wrote:
>
> I saw the manual of this function but not sure what to do.
> I have a array contain 7 numbers and want to choose 4 to do permutation
> test. But using this function with parameters as
> onet.permutation(scores,4), it returns 0. Instead, with no parameter,
> onet.permutation(), it returns something but every time it's different.
> Please tell me how am I supposed to do it.
> Thanks a lot
>
--
View this message in context: http://r.789695.n4.nabble.com/onet-permutation-tp3820372p3820671.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list