1
$\begingroup$

I want to do something very simple. I have a regression:

y = b0 + b1*X1 + b2*X2 + b3*X3

and the resulting coefficients must be constrained by:

b1 < b2 < b3

Is there any easy way to implement this in standard Python or R regression packages?

$\endgroup$
1

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.