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

- JMP User Community
- :
- Discussions
- :
- How is the Smooth Line in the Graph Builder determined

- 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

Created:
May 26, 2010 8:24 AM
| Last Modified: Sep 20, 2017 12:45 PM
(21691 views)

Can anyone tell me how the smooth line is generated in the Graph Builder? I assume is some sort of running average, but anyone know how many values or what range its pulling to make the average?

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

I raised this question with JMP support and received the following which I have slightly paraphrased:

The smoother utilized in the Graph Builder platform is a cubic spline with a lambda of 0.05 and standardized X values. The same spline can be obtained through the Bivariate platform by selecting Analyze > Fit Y by X, supplying the Y and X variables, and clicking OK. On the resulting Bivariate report window, select Fit Spline > Other from the popup menu. Then supply a smoothness parameter (lambda) of 0.05, and check the Standardize X box.

This information is from the JMP Statistics and Graphics Guide for version 8.0.2 and this info is found on pages 929-930 in Chapter 43. This is in the section on "Changing the Graph Element".

The "standardization of X" has the same effect as subtracting the mean and dividing by the standard deviation for the X variable and then fitting the spline. The only difference is that in Graph Builder and the Fit Y by X platform, the data is still plotted on the original scale rather than the standardized scale. Using standardized X values seems to smooth out the fit a little

The smoother utilized in the Graph Builder platform is a cubic spline with a lambda of 0.05 and standardized X values. The same spline can be obtained through the Bivariate platform by selecting Analyze > Fit Y by X, supplying the Y and X variables, and clicking OK. On the resulting Bivariate report window, select Fit Spline > Other from the popup menu. Then supply a smoothness parameter (lambda) of 0.05, and check the Standardize X box.

This information is from the JMP Statistics and Graphics Guide for version 8.0.2 and this info is found on pages 929-930 in Chapter 43. This is in the section on "Changing the Graph Element".

The "standardization of X" has the same effect as subtracting the mean and dividing by the standard deviation for the X variable and then fitting the spline. The only difference is that in Graph Builder and the Fit Y by X platform, the data is still plotted on the original scale rather than the standardized scale. Using standardized X values seems to smooth out the fit a little

9 REPLIES 9

Highlighted
I raised this question with JMP support and received the following which I have slightly paraphrased:

The smoother utilized in the Graph Builder platform is a cubic spline with a lambda of 0.05 and standardized X values. The same spline can be obtained through the Bivariate platform by selecting Analyze > Fit Y by X, supplying the Y and X variables, and clicking OK. On the resulting Bivariate report window, select Fit Spline > Other from the popup menu. Then supply a smoothness parameter (lambda) of 0.05, and check the Standardize X box.

This information is from the JMP Statistics and Graphics Guide for version 8.0.2 and this info is found on pages 929-930 in Chapter 43. This is in the section on "Changing the Graph Element".

The "standardization of X" has the same effect as subtracting the mean and dividing by the standard deviation for the X variable and then fitting the spline. The only difference is that in Graph Builder and the Fit Y by X platform, the data is still plotted on the original scale rather than the standardized scale. Using standardized X values seems to smooth out the fit a little

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

The smoother utilized in the Graph Builder platform is a cubic spline with a lambda of 0.05 and standardized X values. The same spline can be obtained through the Bivariate platform by selecting Analyze > Fit Y by X, supplying the Y and X variables, and clicking OK. On the resulting Bivariate report window, select Fit Spline > Other from the popup menu. Then supply a smoothness parameter (lambda) of 0.05, and check the Standardize X box.

This information is from the JMP Statistics and Graphics Guide for version 8.0.2 and this info is found on pages 929-930 in Chapter 43. This is in the section on "Changing the Graph Element".

The "standardization of X" has the same effect as subtracting the mean and dividing by the standard deviation for the X variable and then fitting the spline. The only difference is that in Graph Builder and the Fit Y by X platform, the data is still plotted on the original scale rather than the standardized scale. Using standardized X values seems to smooth out the fit a little

Highlighted
##

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

Re: The Smooth Line in the Graph Builder

thanks, thats exactly the information I was looking for :)

Highlighted
##

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

Re: The Smooth Line in the Graph Builder

Hi,

Is there a way to extract the equations of the smoothed curves ?

Thanks

Highlighted
##

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

Re: The Smooth Line in the Graph Builder

@samir here are two posts on cubic splines.

this one is probably what you want (thanks @Duane_Hayes):

this one shows another way to get the coefficients; I used the smoothed spline values to control the color.

Craige

Highlighted
##

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

Re: The Smooth Line in the Graph Builder

Highlighted
##

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

Re: The Smooth Line in the Graph Builder

Created:
Feb 22, 2018 1:43 PM
| Last Modified: Feb 23, 2018 8:29 AM
(18850 views)
| Posted in reply to message from Craige_Hales 10-30-2017

I see the option of cubic splines is available in JMP at graph builder with categorical variables. For example, when you test the moderating(interacting) effect of a categorical variable on the effect of a categorical variable to a categorical outcome. Does this make sense? Is that possible?

Highlighted
##

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

Re: The Smooth Line in the Graph Builder

I can make sense in cases like this where the response has two levels and the factor is ordinal. In that case, the Y reflects the proportion of the two values and you get of the trend for how that proportion changes with the GPA. Your "Missing" value on the X axis, however, is categorically different and should be plotted separately.

A more common view for categorical data would be a stacked bar of the counts or proportions for each outcome for each GPA value.

Highlighted
##

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

Re: The Smooth Line in the Graph Builder

Thank you very much for your prompt reply and heartening answer.

Highlighted
##

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

Re: The Smooth Line in the Graph Builder

@mpb, thanks for this info. This is very useful.

Another question, is there a way to disable "Standardize X" in Graph Builder? In Bivariate, there is a checkbox to enable/disable "Standardize X". I thought Graph Builder might have that too, but I can't find it.

Thanks,

Shaira

Article Labels

There are no labels assigned to this post.