statsmodels.discrete.discrete_model.Logit.loglike

Logit.loglike(params)[source]

Log-likelihood of logit model.

Parameters:
paramsarray_like

The parameters of the logit model.

Returns:
loglikefloat

The log-likelihood function of the model evaluated at params. See notes.

Notes

lnL=ilnΛ(qixiβ)

Where q=2y1. This simplification comes from the fact that the logistic distribution is symmetric.