cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • 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!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.
  • See how to access JMP Marketplace - and - find, create & share add-ins to extend your JMP. Watch video.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
LawOfWolf466
Level I

Define axis intercept for regression

Hello,

Is it possible to specify the intercept for a linear regression under Fit Model?

This means that JMP does not freely select the value for "a" in the linear function y= a+b*x1+c*x2+.... but sets it to 1, for example.

Thanks.

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Define axis intercept for regression

Here's a thought: Rearrange the regression equation.

y-a = b*x1+c*x2+...

 

This suggests that you can create a new formula data column that subtracts off your desired intercept a from the response variable y. Then run fit model on the new column using the "No Intercept" option (effectively setting the intercept to zero). You can re-add the desired intercept to the resulting prediction expression.

View solution in original post

2 REPLIES 2

Re: Define axis intercept for regression

Here's a thought: Rearrange the regression equation.

y-a = b*x1+c*x2+...

 

This suggests that you can create a new formula data column that subtracts off your desired intercept a from the response variable y. Then run fit model on the new column using the "No Intercept" option (effectively setting the intercept to zero). You can re-add the desired intercept to the resulting prediction expression.

Re: Define axis intercept for regression

You can also specify such a model using the Nonlinear platform, but it is not as convenient as using Fit Least Squares with @Jordan_Hiller's trick.

Recommended Articles