scipy.stats.moment

scipy.stats.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.tsem

Next topic

scipy.stats.variation

This Page

Quick search