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

lnLi=[λi+yixiβlnyi!]

for observations i=1,...,n