| Line 1... |
Line 1... |
| 1 |
% File src/library/stats/man/shapiro.test.Rd
|
1 |
% File src/library/stats/man/shapiro.test.Rd
|
| 2 |
% Part of the R package, https://www.R-project.org
|
2 |
% Part of the R package, https://www.R-project.org
|
| 3 |
% Copyright 1995-2016 R Core Team
|
3 |
% Copyright 1995-2018 R Core Team
|
| 4 |
% Distributed under GPL 2 or later
|
4 |
% Distributed under GPL 2 or later
|
| 5 |
|
5 |
|
| 6 |
\name{shapiro.test}
|
6 |
\name{shapiro.test}
|
| 7 |
\alias{shapiro.test}
|
7 |
\alias{shapiro.test}
|
| 8 |
\title{Shapiro-Wilk Normality Test}
|
8 |
\title{Shapiro-Wilk Normality Test}
|
| Line 23... |
Line 23... |
| 23 |
said in Royston (1995) to be adequate for \code{p.value < 0.1}.}
|
23 |
said in Royston (1995) to be adequate for \code{p.value < 0.1}.}
|
| 24 |
\item{method}{the character string \code{"Shapiro-Wilk normality test"}.}
|
24 |
\item{method}{the character string \code{"Shapiro-Wilk normality test"}.}
|
| 25 |
\item{data.name}{a character string giving the name(s) of the data.}
|
25 |
\item{data.name}{a character string giving the name(s) of the data.}
|
| 26 |
}
|
26 |
}
|
| 27 |
\references{
|
27 |
\references{
|
| 28 |
Patrick Royston (1982)
|
28 |
Patrick Royston (1982).
|
| 29 |
An extension of Shapiro and Wilk's \eqn{W} test for normality to large
|
29 |
An extension of Shapiro and Wilk's \eqn{W} test for normality to large
|
| 30 |
samples.
|
30 |
samples.
|
| 31 |
\emph{Applied Statistics}, \bold{31}, 115--124.
|
31 |
\emph{Applied Statistics}, \bold{31}, 115--124.
|
| - |
|
32 |
\doi{10.2307/2347973}.
|
| 32 |
|
33 |
|
| 33 |
Patrick Royston (1982)
|
34 |
Patrick Royston (1982).
|
| 34 |
Algorithm AS 181: The \eqn{W} test for Normality.
|
35 |
Algorithm AS 181: The \eqn{W} test for Normality.
|
| 35 |
\emph{Applied Statistics}, \bold{31}, 176--180.
|
36 |
\emph{Applied Statistics}, \bold{31}, 176--180.
|
| - |
|
37 |
\doi{10.2307/2347986}.
|
| 36 |
|
38 |
|
| 37 |
Patrick Royston (1995)
|
39 |
Patrick Royston (1995).
|
| 38 |
Remark AS R94: A remark on Algorithm AS 181: The \eqn{W} test for normality.
|
40 |
Remark AS R94: A remark on Algorithm AS 181: The \eqn{W} test for
|
| - |
|
41 |
normality.
|
| 39 |
\emph{Applied Statistics}, \bold{44}, 547--551.
|
42 |
\emph{Applied Statistics}, \bold{44}, 547--551.
|
| - |
|
43 |
\doi{10.2307/2986146}.
|
| 40 |
}
|
44 |
}
|
| 41 |
\source{
|
45 |
\source{
|
| 42 |
The algorithm used is a C translation of the Fortran code described in
|
46 |
The algorithm used is a C translation of the Fortran code described in
|
| 43 |
Royston (1995). % and was found at \url{http://lib.stat.cmu.edu/apstat/R94}.
|
47 |
Royston (1995). % and was found at \url{http://lib.stat.cmu.edu/apstat/R94}.
|
| 44 |
The calculation of the p value is exact for \eqn{n = 3}, otherwise
|
48 |
The calculation of the p value is exact for \eqn{n = 3}, otherwise
|