statsmodels.miscmodels.count.PoissonZiGMLE.nloglikeobs

PoissonZiGMLE.nloglikeobs(params)[source]

Loglikelihood of Poisson model

Parameters:params (array-like) – The parameters of the model.
Returns:
Return type:The log likelihood of the model evaluated at params

Notes

\[\ln L=\sum_{i=1}^{n}\left[-\lambda_{i}+y_{i}x_{i}^{\prime}\beta-\ln y_{i}!\right]\]