I try to use ks.test to determine a normal distribution:

x<-c(11.5,27.9,9,10.7,30.0,9.5,14.2,14,9.4,6.1)
ks.test(x,function(x) pnorm(x,mean=mean(x),sd=sd(x)))

Is it a correct method?
I verify with SigmaStat, the D value is the same but the p-value is
different, Why??
SigmaStat p-value=0.01      R p-value=0.3234

Thanks for your help!



Laurent Houdusse 
Analyste Programmeur

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to