This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / stats / _stats_py / _moment

function

scipy.stats._stats_py:_moment

source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_stats_py.py:1206

Signature

def _moment(a, order, axis, *, center = None, xp = None)

Summary

Vectorized calculation of raw moment about specified center

Extended Summary

When center is None, the mean is computed and used as the center; otherwise, the provided value is used as the center.

Aliases

  • scipy.stats._stats_py._moment