This is documentation for an old release of SciPy (version 1.5.3). Read this page in the documentation of the latest stable release (version 1.15.1).
scipy.stats.mstats.normaltest¶
-
scipy.stats.mstats.
normaltest
(a, axis=0)[source]¶ Tests whether a sample differs from a normal distribution.
- Parameters
- aarray_like
The array containing the data to be tested.
- axisint or None, optional
Axis along which to compute test. Default is 0. If None, compute over the whole array a.
- Returns
- statisticfloat or array
s^2 + k^2
, wheres
is the z-score returned byskewtest
andk
is the z-score returned bykurtosistest
.- pvaluefloat or array
A 2-sided chi squared probability for the hypothesis test.
Notes
For more details about
normaltest
, see stats.normaltest.