{ } Raw JSON

bundles / scipy 1.18.0 / scipy / stats / _distn_infrastructure / rv_discrete / moment

function

scipy.stats._distn_infrastructure:rv_discrete.moment

source: /scipy/stats/_distn_infrastructure.py:3972

Signature

def moment(self, order, *args, **kwargs)

Summary

non-central moment of distribution of specified order.

Parameters

order : int, order >= 1

Order of moment.

arg1, arg2, arg3,... : float

The shape parameter(s) for the distribution (see docstring of the instance object for more information).

loc : array_like, optional

location parameter (default=0)

Aliases

  • scipy.stats.rv_discrete.moment