bundles / scipy 1.17.1 / scipy / stats / _mstats_basic / normaltest
function
scipy.stats._mstats_basic:normaltest
Signature
def normaltest ( a , axis = 0 ) Summary
Tests whether a sample differs from a normal distribution.
Parameters
a: array_likeThe array containing the data to be tested.
axis: int or None, optionalAxis along which to compute test. Default is 0. If None, compute over the whole array
a.
Returns
statistic: float or arrays^2 + k^2, wheresis the z-score returned byskewtestandkis the z-score returned bykurtosistest.pvalue: float or arrayA 2-sided chi squared probability for the hypothesis test.
Notes
For more details about normaltest, see scipy.stats.normaltest.
Aliases
-
scipy.stats._mstats_basic.normaltest