bundles / scipy latest / scipy / stats / _mstats_basic / kurtosistest
function
scipy.stats._mstats_basic:kurtosistest
Signature
def kurtosistest ( a , axis = 0 , alternative = two-sided ) Summary
Tests whether a dataset has normal kurtosis
Parameters
a: array_likearray of the sample data
axis: int or None, optionalAxis along which to compute test. Default is 0. If None, compute over the whole array
a.alternative: {'two-sided', 'less', 'greater'}, optionalDefines the alternative hypothesis. The following options are available (default is 'two-sided'):
'two-sided': the kurtosis of the distribution underlying the sample is different from that of the normal distribution
'less': the kurtosis of the distribution underlying the sample is less than that of the normal distribution
'greater': the kurtosis 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_likeThe p-value for the hypothesis test
Notes
For more details about kurtosistest, see scipy.stats.kurtosistest.
Aliases
-
scipy.stats._mstats_basic.kurtosistest