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 with survival data

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

cubic spline with survival data

Nov 16, 2016 1:09 PM
(3221 views)

Hi guys, i have been looking for guidance with this for sometime but nothing. I am trying to find the relationship between age and survival in a cohort. There is different follow-ups for patients, so I have to use survival analysis, with cox proportional hazard models. However, the relationship between age and survival is not linear. I want to use restricted cubic splines with this dataset. Is there an easy way to run this and visualize in JMP? I am looking for an output like this. thanks

2 REPLIES 2

Highlighted
##

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

Re: cubic spline with survival data

Yes, you can do this in JMP:

- Select Analyze > Reliability and Survival > Fit Proportional Hazards.
- Populate the Time to Event and Censor boxes with the appropriate columns.
- Add your model effects to the lower box, including any interactions or polynomials.
- Select the model effect(s) to which you want to fit a restricted cubic spline (in your case, age). Click the red triangle next to "Attributes," and select Knotted Spline Effect (aka restricted cubic spline, Stone-Koo spline, etc.). Type in the number of knots you desire, and click OK.
- Click Run in the Model Specification dialog box.
- Click the red triangle next to Proportional Hazards Fit, and select Risk Ratios.

You can then construct a data table using the parameter estimates, risk ratios, etc. you obtained, and use that data to create graphs using JMP's Graph Builder that are similar to those you showed.

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

Re: cubic spline with survival data

Thanks a lot. I got the following output from proportional hazards with 4 knots:

How do I put this in the graph builder? Thanks!