[R] Normal distribution

Laurent Houdusse l.houdusse at cerep.fr
Tue Feb 3 14:14:54 CET 2004


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




More information about the R-help mailing list