[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:

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