statsmodels.discrete.discrete_model.Poisson.loglike

Poisson.loglike(params) [source]

Loglikelihood of Poisson model

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

Notes

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

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.discrete.discrete_model.Poisson.loglike.html