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

Previous topic

scikits.statsmodels.family.family.Family.fitted

Next topic

scikits.statsmodels.family.family.Family.predict

This Page