Subscribe Bookmark RSS Feed

How is the Smooth Line in the Graph Builder determined

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
mpb

Super User

Joined:

Jun 23, 2011

Solution
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
5 REPLIES
mpb

Super User

Joined:

Jun 23, 2011

Solution
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
thanks, thats exactly the information I was looking for :)
samir

Community Trekker

Joined:

May 20, 2016

Hi,

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

Thanks

Craige_Hales

Staff

Joined:

Mar 21, 2013

@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.

11403_pastedImage_1.png

 

Craige
samir

Community Trekker

Joined:

May 20, 2016

Thanks @Craige_Hales,

It is very clear :)

The mystery around Spline is gone !

Thanks.