SciPy

scipy.stats.mstats.skewtest

scipy.stats.mstats.skewtest(a, axis=0)[source]

Tests whether the skew is different from the normal distribution.

This function tests the null hypothesis that the skewness of the population that the sample was drawn from is the same as that of a corresponding normal distribution.

Parameters:

a : array

axis : int or None

Returns:

z-score : float

The computed z-score for this test.

p-value : float

a 2-sided p-value for the hypothesis test

Notes

The sample size must be at least 8.