Re: [R] Pb with ks.test pvalue

2005-03-22 Thread Christoph Buser
Dear Anthony I don't know how SAS calculates the p-value, but in R the p-value is calculated under the assumption that the parameters of the distribution (you want to compare with your samples) are known and not estimated from the data. In your example you estimate them from the data (by mean(w)

[R] Pb with ks.test pvalue

2005-03-18 Thread Anthony Landrevie
Hello, While doing test of normality under R and SAS, in order to prove the efficiency of R to my company, I notice that Anderson Darling, Cramer Van Mises and Shapiro-Wilk tests results are quite the same under the two environnements, but the Kolmogorov-smirnov p-value really is different.