statsmodels.discrete.discrete_model.Poisson.loglike¶
-
Poisson.
loglike
(params)[source]¶ Loglikelihood of Poisson model
- Parameters
- paramsarray_like
The parameters of the model.
- Returns
- loglike
float
The log-likelihood function of the model evaluated at params. See notes.
- loglike
Notes
lnL=n∑i=1[−λi+yix′iβ−lnyi!]