statsmodels.gam.generalized_additive_model.LogitGam.fit_constrained

LogitGam.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: Nov 14, 2024