[R] ks.test

John Kane jrkrideau at yahoo.ca
Mon Nov 19 16:21:42 CET 2007


Perhaps
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/91278.html
--- elyakhlifi mustapha <elyakhlifi_mustapha at yahoo.fr>
wrote:

> Hello,
> I want to do a normality test to know if "donnees"
> is defined as a normal distribution.
> To do that I can use the ks.test() function but I
> can't understand the results.
> I writed that:
> 
> ks.test(donnees,"pnorm",mean(donnees),sd(donnees))
> 
> and the results are:
> 
>         One-sample Kolmogorov-Smirnov test
> data:  donnees 
> D = 0.0421, p-value < 2.2e-16
> alternative hypothesis: two-sided 
> Warning message:
> cannot compute correct p-values with ties in:
> ks.test(donnees, "pnorm", mean(donnees),
> sd(donnees))
> 
> 
>      
>
_____________________________________________________________________________
> 
> 
> l 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained,
> reproducible code.
>



More information about the R-help mailing list