statsmodels.discrete.discrete_model.MNLogit.loglike¶
-
MNLogit.
loglike
(params)[source]¶ Log-likelihood of the multinomial logit model.
Parameters: params : array-like
The parameters of the multinomial logit model.
Returns: loglike : float
The log-likelihood function of the model evaluated at params. See notes.
Notes
where if individual i chose alternative j and 0 if not.