statsmodels.discrete.discrete_model.BinaryModel.fit_constrained

BinaryModel.fit_constrained(constraints, start_params=None, **fit_kwds)[source]

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: Oct 03, 2024