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!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

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

Fitting Different Slopes Common Intercepts

Hi - i am unsure how to fit a regression model with different slopes BUT a common Interecpt. 

 

Assume Y=response, GROUP (2-levels),  TIme (Covariate)

 

Kind regards, Vince

13 REPLIES 13
hardner
Level VI

Re: Fitting Different Slopes Common Intercepts

on here appreciating this older tip about using Fit Model by not centering polynomials and just thought I'd note that in Fit Model the Expanded Estimates are a little less cryptic, especially if there were more groups.  I'll be using those where I want to get the slopes out of there with JSL but can see that the plot from Fit Y by X is nicer.

 

hardner_0-1713278170818.png

 

vincem
Level III

Re: Fitting Different Slopes Common Intercepts

Thansk...however when i adopt the below approach the graph of Y verus TIME by group - doesnt appear to haev a common intercept. Howevre if i change Time to an ordinal variable..seems to work OK.

dale_lehman
Level VII

Re: Fitting Different Slopes Common Intercepts

Here is another approach, using the Nonlinear platform.  Attached is an example:  you need to set parameters to be solved for, with a single intercept but varying slope parameters for the two groups.  The script is saved for the solution.

vincem
Level III

Re: Fitting Different Slopes Common Intercepts

thanks much appreciated.

Recommended Articles