scikits.statsmodels.family.family.NegativeBinomial.loglike

NegativeBinomial.loglike(Y, fittedvalues=None)

The loglikelihood function for the negative binomial family.

Parameters:

Y : array-like

Endogenous response variable

fittedvalues : array-like

The linear fitted values of the model. This is dot(exog,params).

Returns:

llf : float

The value of the loglikelihood function evaluated at (Y,mu,scale) as defined below.

Previous topic

scikits.statsmodels.family.family.NegativeBinomial.deviance

Next topic

scikits.statsmodels.family.family.NegativeBinomial.resid_anscombe

This Page