Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- Discussions
- :
- More than 1 Linear Regressions indicated in the same plot with CI

Topic Options

- Start Article
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Feb 17, 2017 9:29 AM
(2075 views)

I have 3 data trends with the same time points. Is it possible to show all the linear regression fits (with their 95% CI) on the same plot? A colleague was able to do that in a different software and I would like to be able to do that within JMP (see attached).

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Have a column for Weeks. A column for Avg. % Area. A column for the group (values of M1, M2D, and M2).

Use Fit Y by X to plot Avg. % Area vs Weeks. From the red pop-up menu choose Group By. Specify the group column. Now Fit Line (or whatever model you want). You will get a fit for each value of the group column.

Dan Obermiller

4 REPLIES 4

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Have a column for Weeks. A column for Avg. % Area. A column for the group (values of M1, M2D, and M2).

Use Fit Y by X to plot Avg. % Area vs Weeks. From the red pop-up menu choose Group By. Specify the group column. Now Fit Line (or whatever model you want). You will get a fit for each value of the group column.

Dan Obermiller

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: More than 1 Linear Regressions indicated in the same plot with CI

Thank you for the reply, but how do you get the 95% CI region to show up (as in the example attached) for each linear fit? That is what the team wants to see.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: More than 1 Linear Regressions indicated in the same plot with CI

Ok, never mind my other question. Just figured it out. Thanks a ton!

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: More than 1 Linear Regressions indicated in the same plot with CI

Glad you figured it out. Just remember that holding the control key down while selecting Confidence Fit Shaded (or just Confidence Fit) for one will add the intervals for all of them.

Dan Obermiller