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

- JMP User Community
- :
- Discussions
- :
- Re: Slopes

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

Highlighted

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

Jul 30, 2020 4:04 AM
(794 views)

Hello everyone,

I have a graph of this sort (attached Image) and I want to find M (slope) of the drop from the peak. How can I possibly find the slopes of these two on JMP?

Pls help, Thank you

1 ACCEPTED SOLUTION

Accepted Solutions

Highlighted

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

The easiest way to do this, is to use the Fit Y by X platform, and have it draw your curve and then to select

- Fit Each Value
- Fit Line
- Select Local Data Filter and select the X value to be filtered

Here are the results with my example data

Note that under the Parameter Estimates you can see the slope of .0038645

Now all you have to do, is to use the Data Filter to select only the values on the left side of the graph.

The regression now is only calculated on the down slope, which is -0.490244

Jim

8 REPLIES 8

Highlighted
##

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

Re: Slopes

You should be able to accomplish this, by excluding the data points on the left side of the curve, and then regressing the values from the peak value to the lowest value on the right.

For the poly curve line, you could use this technique multiple times.

Jim

Highlighted
##

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

Re: Slopes

So sorry, Please this is not so clear to me. How do I regress the value from the peak to the lowest?

Highlighted

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

The easiest way to do this, is to use the Fit Y by X platform, and have it draw your curve and then to select

- Fit Each Value
- Fit Line
- Select Local Data Filter and select the X value to be filtered

Here are the results with my example data

Note that under the Parameter Estimates you can see the slope of .0038645

Now all you have to do, is to use the Data Filter to select only the values on the left side of the graph.

The regression now is only calculated on the down slope, which is -0.490244

Jim

Highlighted
##

If you know the function of the curves or just do bivariate fit -spline fit and then save the prediction formula. Then do the derivative of the curve function under formula editor, screen shot below. you will have slopes at any Xs.

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

Re: Slopes

Highlighted
##

I tried this but it is giving multiple values for each date but I want just one that explains the drop...

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

Re: Slopes

Highlighted
##

you can make a plot of dy/dx vs x. you can find where dy/dx=0, that's where y starts from decrease to increase in my example below.

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

Re: Slopes

Highlighted
##

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

Re: Slopes

You need to explain this a bit more....I don't understand what you are saying. Can you show what you mean about the issue with multiple date values. If what you mean is that you have two or more groups in your data as shown in your attached pgn file, then all you have to do, is to specify to group the data and then JMP will provide separate slopes for each group.

Jim

Highlighted
##

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

Re: Slopes

Yes, I have two groups, so what I am doing now is to separate them into two bivariate graphs instead of the way it looks in the initial image I sent. I won't my two know how it can be both represented using Bivariate and not graph builder. Thanks for all the response, it is really helping