scipy.stats.mstats.normaltest(a, axis=0)

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 [R90], [R91] test that combines skew and kurtosis to produce an omnibus test of normality.

Parameters :

a : array

axis : int or None

Returns :

p-value : float

A 2-sided chi squared probability for the hypothesis test


[R90](1, 2) D’Agostino, R. B. and Pearson, E. S. (1971), “An Omnibus Test of Normality for Moderate and Large Sample Size,” Biometrika, 58, 341-348
[R91](1, 2) D’Agostino, R. B. and Pearson, E. S. (1973), “Testing for departures from Normality,” Biometrika, 60, 613-622

Previous topic


Next topic


This Page