Hello all,
A friend just showed me how ks.test fails to work with pbinom for small
size.
Example:
x-rbinom(1,10,0.5)
x2-rbinom(1,10,0.5)
ks.test(x,pbinom,10,0.5)
ks.test(x,pbinom,size = 10, prob= 0.5)
ks.test(x,x2)
The tests gives significant p values, while the x did come from
binom
On Mar 13, 2010, at 2:34 PM, Tal Galili wrote:
Hello all,
A friend just showed me how ks.test fails to work with pbinom for
small
size.
Example:
x-rbinom(1,10,0.5)
x2-rbinom(1,10,0.5)
ks.test(x,pbinom,10,0.5)
ks.test(x,pbinom,size = 10, prob= 0.5)
ks.test(x,x2)
The tests gives
Thanks David,
I apologize (I did search before posting, but only for ks.test and didn't
came a cross references through my uncareful skimming)
Thanks,
Tal
Contact
Details:---
Contact me: tal.gal...@gmail.com | 972-52-7275845
3 matches
Mail list logo