### Navigation

- index
- modules |
- next |
- previous |
- statsmodels v0.1.0 documentation »
- Generalized Linear Models »
- scikits.statsmodels.family.family.NegativeBinomial »

# 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.

### Navigation

- index
- modules |
- next |
- previous |
- statsmodels v0.1.0 documentation »
- Generalized Linear Models »
- scikits.statsmodels.family.family.NegativeBinomial »