### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.9 Reference Guide (DRAFT) »
- Statistical functions (`scipy.stats`) »
- Statistical functions for masked arrays (`scipy.stats.mstats`) »

# scipy.stats.mstats.normaltest

`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

  References

  [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

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.9 Reference Guide (DRAFT) »
- Statistical functions (`scipy.stats`) »
- Statistical functions for masked arrays (`scipy.stats.mstats`) »