Premium
Algorithm as 181: The W Test for Normality
Author(s) -
Royston J. P.
Publication year - 1983
Publication title -
journal of the royal statistical society: series c (applied statistics)
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 1.205
H-Index - 72
eISSN - 1467-9876
pISSN - 0035-9254
DOI - 10.2307/2347303
Subject(s) - normality , test (biology) , computer science , normality test , algorithm , artificial intelligence , mathematics , statistics , statistical hypothesis testing , biology , paleontology
Shapiro and Wilk's (1965) Wstatistic has been shown to provide a superior omnibus test of normality (Pearson et al., 1977). It has recently been extended to cope with samples of size up to 2000 (Royston, 1982a). The purpose of the present algorithm is to enable the calculation of Wand its significance level for any sample size between 3 and 2000. The full description of the theory behind this algorithm is given by Royston (1982a). Using Monte Carlo simulation, Royston (1982a) showed that the transformation y = (1-W)2 (1)