Class ShapiroWilk


  • public class ShapiroWilk
    extends HypothesisTest
    The Shapiro-Wilk test tests the null hypothesis that a sample comes from a normally distributed population. The sample size must be between 3 and 5000.

    The R equivalent function is shapiro.test.

    See Also:
    • Patrick Royston, "A Remark on Algorithm AS 181: The W Test for Normality," Applied Statistics, 44, 547-551, 1995.
    • Patrick Royston, "Approximating the Shapiro-Wilk W-test for non-normality," Statistics and Computing, Volume 2, Number 3, 117-119, 1992.
    • Patrick Royston, "An Extension of Shapiro and Wilk's W Test for Normality to Large Samples," Applied Statistics, 31, 115-124, 1982d.
    • Patrick Royston, "Algorithm AS 181: The W Test for Normality," Applied Statistics, 31, 176-180. 1982c.
    • Patrick Royston, "An extension of Shapiro and Wilk's Wtest for normality to large samples," Appl. Statist., 31, 115-124, 1982b.
    • Patrick Royston, "Algorithm AS177. Expected normal order statistics (exact and approximate)," Applied Statistics, 31, 161-165, 1982a.
    • Wikipedia: Shapiro-Wilk test