statsmodels.discrete.discrete_model.GeneralizedPoisson.loglikeobs
-
GeneralizedPoisson.loglikeobs(params)
[source] -
Loglikelihood for observations of Generalized 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 NotesReturn type: ndarray Notes
\[\ln L=\sum_{i=1}^{n}\left[\mu_{i}+(y_{i}-1)*ln(\mu_{i}+ \alpha*\mu_{i}^{p-1}*y_{i})-y_{i}*ln(1+\alpha*\mu_{i}^{p-1})- ln(y_{i}!)-\frac{\mu_{i}+\alpha*\mu_{i}^{p-1}*y_{i}}{1+\alpha* \mu_{i}^{p-1}}\right]\]for observations \(i=1,...,n\)
© 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.GeneralizedPoisson.loglikeobs.html