MNLogit.loglikeobs()
statsmodels.discrete.discrete_model.MNLogit.loglikeobs
-
MNLogit.loglikeobs(params)
[source] -
Log-likelihood of the multinomial logit model for each observation.
Parameters: params : array-like
The parameters of the multinomial logit model.
Returns: loglike : ndarray (nobs,)
The log likelihood for each observation of the model evaluated at
params
. See NotesNotes
for observations
where if individual
i
chose alternativej
and 0 if not.
© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.discrete.discrete_model.MNLogit.loglikeobs.html