statsmodels.discrete.discrete_model.MNLogit.loglike_and_score

MNLogit.loglike_and_score(params)[source]

Returns log likelihood and score, efficiently reusing calculations.

Note that both of these returned quantities will need to be negated before being minimized by the maximum likelihood fitting machinery.


Last update: Dec 14, 2023