scipy.stats.mstats.moment

scipy.stats.mstats.moment(a, moment=1, axis=0)

Calculates the nth moment about the mean for a sample.

Generally used to calculate coefficients of skewness and kurtosis.

Parameters:

a : array

moment : int

axis : int or None

Returns:

The appropriate moment along the given axis or over all values if axis is :

None. :

Previous topic

scipy.stats.mstats.mode

Next topic

scipy.stats.mstats.mquantiles

This Page

Quick search