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