Tests whether a sample differs from a normal distribution.
This function tests the null hypothesis that a sample comes from a normal distribution. It is based on D’Agostino and Pearson’s [R13], [R14] test that combines skew and kurtosis to produce an omnibus test of normality.
Parameters: | a : array_like
axis : int or None
|
---|---|
Returns: | k2 : float or array
p-value : float or array
|
References
[R13] | (1, 2) D’Agostino, R. B. (1971), “An omnibus test of normality for moderate and large sample size,” Biometrika, 58, 341-348 |
[R14] | (1, 2) D’Agostino, R. and Pearson, E. S. (1973), “Testing for departures from normality,” Biometrika, 60, 613-622 |