statsmodels.discrete.discrete_model.Poisson.loglikeobs

method

Poisson.loglikeobs(params)[source]

Loglikelihood for observations of Poisson model

Parameters
paramsarray-like

The parameters of the model.

Returns
loglikearray-like

The log likelihood for each observation of the model evaluated at params. See Notes

Notes

\[\ln L_{i}=\left[-\lambda_{i}+y_{i}x_{i}^{\prime}\beta-\ln y_{i}!\right]\]

for observations \(i=1,...,n\)