How to specify that a subset of parameters must be positive

I believe this question and solution are what you’re after: Simple normal regression model with inequality constraints on the parameters - #2 by andrjohns

With your model having only lower-bound constraints of either 0 or -infinity (i.e., constrained positive or unconstrained)

1 Like