cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Instantly extract effect sizes, F-ratios, and FDR-adjusted p-values from your models with the Calculate Effects Sizes extension, available now in the JMP Marketplace!
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • See how to use the JMP Marketplace – Free tools to expand JMP capabilities. Register. July 10, 2 pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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

Recommended Articles