4.4.1.1.6.1.12. statsmodels.formula.api.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.