statsmodels.discrete.discrete_model.MNLogit.jac
-
MNLogit.jac(*args, **kwds) -
Jacobian matrix for multinomial logit model log-likelihoodjacis deprecated, usescore_obsinstead! Use score_obs method. jac will be removed in 0.7Parameters: params : array
The parameters of the multinomial logit model.
Returns: jac : ndarray, (nobs, k_vars*(J-1))
The derivative of the loglikelihood for each observation evaluated at
params.Notes

for
, for observations 
In the multinomial model the score vector is K x (J-1) but is returned as a flattened array. The Jacobian has the observations in rows and the flatteded array of derivatives in columns.
Please login to continue.