Poisson.pdf()

statsmodels.discrete.discrete_model.Poisson.pdf

Poisson.pdf(X) [source]

Poisson model probability mass function

Parameters:

X : array-like

X is the linear predictor of the model. See notes.

Returns:

pdf : ndarray

The value of the Poisson probability mass function, PMF, for each point of X.

Notes

The PMF is defined as

\frac{e^{-\lambda_{i}}\lambda_{i}^{y_{i}}}{y_{i}!}

where \lambda assumes the loglinear model. I.e.,

\ln\lambda_{i}=x_{i}\beta

The parameter X is x_{i}\beta in the above formula.

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.discrete.discrete_model.Poisson.pdf.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部