[R] Interpretation of Shapiro-Wilk

Clive Jenkins clive.jenkins at clara.net
Mon Sep 25 08:00:06 CEST 2000


Can anybody tell me the exact meaning of the $statistic and $p.value
calculated by shapiro.test? Unfortunately it is not covered in my few
text books, and I cannot find the explanation in the R documentatiom or
on-line.

If I have a test statistic, T, which is Normally distributed with mean=m
and sd=s under the null hypothesis, then I can convert T to a p-value
(one-sided) using:

p <- pnorm(T, mean=m, sd=s)

If the distribution of T deviates from Normality, how can I modify the
above expression using the results of shapiro.test?

TIA,
Clive Jenkins

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list