### Navigation

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

# scikits.statsmodels.family.family.Family.loglike

`Family.``loglike`(Y, mu, scale=1.0)

  The loglikelihood function.

  Parameters: | `Y` : array Usually the endogenous response variable. `mu` : array Usually but not always the fitted mean response variable.
  Returns: | llf : float The value of the loglikelihood evaluated at (Y,mu). Notes : —– : This is defined for each family. Y and mu are not restricted to : `Y` and `mu` respectively. For instance, the deviance function calls : both loglike(Y,Y) and loglike(Y,mu) to get the likelihood ratio. :

### Navigation

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