scipy.stats.rv_discrete.moment#
- rv_discrete.moment(order=None, *args, **kwds)[source]#
non-central moment of distribution of specified order.
Deprecated since version 1.9.0: Parameter n is replaced by parameter order to avoid name collisions with the shape parameter n of several distributions. Parameter n will be removed in SciPy 1.11.0.
- Parameters
- orderint, 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).
- locarray_like, optional
location parameter (default=0)
- scalearray_like, optional
scale parameter (default=1)