cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
Sincyp
Level I

Constrained linear model

How can I constrain the range of coefficients of variables in a multi-linear model? 

1 REPLY 1

Re: Constrained linear model

It is difficult to answer your question without any information about your problem. Generally, though, the fitting platforms in JMP for linear models do not use constraints other than the shrinkage techniques in Analyze > Fit Model > Generalized Regression such as ridge regression or LASSO..

 

You can use the Nonlinear platform and define the linear model with indicator functions that switch coefficients off (set to 0) if they exceed the desired range. The expression would be of the form beta0 + (lo < beta1 < hi)*beta1*X but I do not know about convergence in such a model.

 

This example illustrates the approach using weight versus height in the Big Class data set. Define the model as a column formula in a new data column: I wanted to constrain the slope to 3.5-4.0 in this example.

formula.PNG

 

Select Analyze > Specialized Modeling > Nonlinear and complete the launch dialog like this:

launch.PNG

 

Click OK and make sure that all the criteria are correct before clicking Go.

nonliner.PNG

 

Here is the equivalent fit using Bivariate.

bivariate.PNG