bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / stats / _distn_infrastructure / rv_discrete / stats
function
scipy.stats._distn_infrastructure:rv_discrete.stats
source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_distn_infrastructure.py:3975
Signature
def stats(self, *args, **kwargs)Summary
Some statistics of the given RV.
Parameters
arg1, arg2, arg3,...: array_likeThe shape parameter(s) for the distribution (see docstring of the instance object for more information)
loc: array_like, optionallocation parameter (default=0)
moments: str, optionalcomposed of letters ['mvsk'] defining which moments to compute: 'm' = mean, 'v' = variance, 's' = (Fisher's) skew, 'k' = (Fisher's) kurtosis. (default is 'mv')
Returns
stats: sequenceof requested moments.
Aliases
scipy.stats.rv_discrete.stats