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
- :
- Re: cubic spline regression

Topic Options

- 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
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Jun 15, 2015 2:56 PM
(7329 views)

Hello everybody,

I'm looking for a solution to regress a bivariate data set with a cubic spline regression which has exactly 15 knots. It would be great if someone has a solution for me!

Greetings

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

Hello and thanks for your answer! Exactly something like that, but the question is, does lambda represent the amount of knots for my cubic spline?

Edit// Ok I have read now, that your suggestion is a smoothing spline. Smoothing splines are not calculating with knots instead you have penalty function with the factor lambda. So the question is, is there another function in JMP that I can calculate the splines with knots?

By the way is there a nice feature how I can extract the formula of the spline regression and calculate "new" height values by just input the weight values?

**Edit// I think I found a solution. The knotted spline effect should be fine for me, it is hidden under Analyze->FitModel->Attributes**

**To extract formulas and calculate new values, just click on the red red triangle->save columns->prediction formula**

**In the next step just write down the new x-values in the same column were the old x-values are already. The predicted values are displayed in the new column!**

3 REPLIES 3

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

Re: cubic spline regression

Something like this

Bivariate**(**

Y**(** :height **)**,

X**(** :weight **)**,

Fit Spline**(** **15**, **{**Line Color**(** **{****208**, **64**, **86****}** **)}** **)**

**)**;

Highlighted

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

Hello and thanks for your answer! Exactly something like that, but the question is, does lambda represent the amount of knots for my cubic spline?

Edit// Ok I have read now, that your suggestion is a smoothing spline. Smoothing splines are not calculating with knots instead you have penalty function with the factor lambda. So the question is, is there another function in JMP that I can calculate the splines with knots?

By the way is there a nice feature how I can extract the formula of the spline regression and calculate "new" height values by just input the weight values?

**Edit// I think I found a solution. The knotted spline effect should be fine for me, it is hidden under Analyze->FitModel->Attributes**

**To extract formulas and calculate new values, just click on the red red triangle->save columns->prediction formula**

**In the next step just write down the new x-values in the same column were the old x-values are already. The predicted values are displayed in the new column!**

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

Re: cubic spline regression