Predict response variable of a model given exogenous variables.
params : array-like
2d array of fitted parameters of the model. Should be in the order returned from the model.
exog : array-like
1d or 2d array of exogenous values. If not supplied, the whole exog attribute of the model is used.
linear : bool, optional
If True, returns the linear predictor dot(exog,params). Else, returns the value of the cdf at the linear predictor.
Notes
Column 0 is the base case, the rest conform to the rows of params shifted up one for the base case.
statsmodels.discrete.discrete_model.MNLogit.pdf
statsmodels.discrete.discrete_model.MNLogit.score
Enter search terms or a module, class or function name.