bundles / scipy latest / scipy / stats / _mstats_basic / skewtest
function
scipy.stats._mstats_basic:skewtest
Signature
def skewtest ( a , axis = 0 , alternative = two-sided ) Summary
Tests whether the skew is different from the normal distribution.
Parameters
a: array_likeThe data to be tested
axis: int or None, optionalAxis along which statistics are calculated. Default is 0. If None, compute over the whole array
a.alternative: {'two-sided', 'less', 'greater'}, optionalDefines the alternative hypothesis. Default is 'two-sided'. The following options are available:
'two-sided': the skewness of the distribution underlying the sample is different from that of the normal distribution (i.e. 0)
'less': the skewness of the distribution underlying the sample is less than that of the normal distribution
'greater': the skewness of the distribution underlying the sample is greater than that of the normal distribution
Returns
statistic: array_likeThe computed z-score for this test.
pvalue: array_likeA p-value for the hypothesis test
Notes
For more details about skewtest, see scipy.stats.skewtest.
Aliases
-
scipy.stats._mstats_basic.skewtest