scipy.stats.rv_discrete.logpmf

rv_discrete.logpmf(k, *args, **kwds)

Log of the probability mass function at k of the given RV.

Parameters :

k : array-like

quantiles

arg1, arg2, arg3,... : array-like

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

loc : array-like, optional

location parameter (default=0)

Returns :

logpmf : array-like

Log of the probability mass function evaluated at k

This Page