statsmodels.discrete.discrete_model.Poisson.loglikeobs

Poisson.loglikeobs(params)[source]

Loglikelihood for observations of Poisson model

Parameters:params (array-like) – The parameters of the model.
Returns:loglike – The log likelihood for each observation of the model evaluated at params. See Notes
Return type:array-like

Notes

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

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