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
- :
- Discussions
- :
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

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

2 REPLIES

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Nov 23, 2016 7:23 AM
(2008 views)

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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Nov 23, 2016 11:30 AM
(1997 views)

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

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