GLM.fit_constrained(constraints, start_params=None, **fit_kwds)
[source]
fit the model subject to linear equality constraints
The constraints are of the form R params = q
where R is the constraint_matrix and q is the vector of constraint_values.
The estimation creates a new model with transformed design matrix, exog, and converts the results back to the original parameterization.
Parameters: |
|
---|---|
Returns: |
results |
Return type: |
Results instance |
© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.genmod.generalized_linear_model.GLM.fit_constrained.html