statsmodels.discrete.discrete_model.Poisson.loglikeobs

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\)