statsmodels.discrete.discrete_model.MultinomialModel.fit_constrained

MultinomialModel.fit_constrained(constraints, start_params=None, **fit_kwds)

fit_constraint that returns a results instance

This is a development version for fit_constrained methods or fit_constrained as standalone function.

It will not work correctly for all models because creating a new results instance is not standardized for use outside the fit methods, and might need adjustements for this.

This is the prototype for the fit_constrained method that has been added to Poisson and GLM.


Last update: Dec 23, 2024