statsmodels.discrete.count_model.ZeroInflatedNegativeBinomialP.loglikeobs¶
method
- 
ZeroInflatedNegativeBinomialP.loglikeobs(params)¶ Loglikelihood for observations of Generic Zero Inflated model
- Parameters
 - paramsarray-like
 The parameters of the model.
- Returns
 - loglikendarray
 The log likelihood for each observation of the model evaluated at params. See Notes
Notes
\[\ln L=\ln(w_{i}+(1-w_{i})*P_{main\_model})+ \ln(1-w_{i})+L_{main\_model} where P - pdf of main model, L - loglike function of main model.\]for observations \(i=1,...,n\)
