This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / stats / _multivariate / dirichlet_multinomial_frozen / logpmf

function

scipy.stats._multivariate:dirichlet_multinomial_frozen.logpmf

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

Signature

def logpmf(self, x)

Summary

The log of the probability mass function.

Parameters

x: ndarray

Category counts (non-negative integers). Must be broadcastable with shape parameter alpha. If multidimensional, the last axis must correspond with the categories.

Returns

: out: ndarray or scalar

Log of the probability mass function.

Aliases

  • scipy.stats._multivariate.dirichlet_multinomial_frozen.logpmf