statsmodels.discrete.discrete_model.MNLogit.loglike_and_score

method

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.