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)
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.