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

Fit straight lines to multiple plotted charts and display equation

I need to do a linear fit on my data plotted as multiple graphs similar to shown in the attached example. I am still learning JMP so do not know how to do linear fit on each plotted graph and display the equation on it. Any help is appreciated. 

Linearfit.PNG

When it's too good to be true, it's neither
1 ACCEPTED SOLUTION

Accepted Solutions
statman
Super User

Re: Fit straight lines to multiple plotted charts and display equation

There should be a set of "icons" across the top (see red arrow).  If you select the 3rd icon, that puts a best fit line through the data.  Then it opens up options.  Check the box next to equation (other red arrow)

Screen Shot 2021-10-25 at 2.59.35 PM.jpg

"All models are wrong, some are useful" G.E.P. Box

View solution in original post

3 REPLIES 3

Re: Fit straight lines to multiple plotted charts and display equation

Select Graph > Graph Builder.

Drag data column with response to the Y drop zone.

Drag data column with factor to the X drop zone.

Drag data column with Subsite to Group X drop zone.

Shift-click the regression element along the top.

 

fit.PNG

Neo
Neo
Level VI

Re: Fit straight lines to multiple plotted charts and display equation

@Mark_Bailey . Thanks, but I did not get the "Shift-click the regression element along the top". Where to find this option?

When it's too good to be true, it's neither
statman
Super User

Re: Fit straight lines to multiple plotted charts and display equation

There should be a set of "icons" across the top (see red arrow).  If you select the 3rd icon, that puts a best fit line through the data.  Then it opens up options.  Check the box next to equation (other red arrow)

Screen Shot 2021-10-25 at 2.59.35 PM.jpg

"All models are wrong, some are useful" G.E.P. Box