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
- :
- Kaplan-Meier Analysis

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

Jul 30, 2014 9:29 PM
(4208 views)

I am very new to JMP. I have some data from SEER - which is a huge sample size and they are survival data. I was trying to create a Kaplan-Meier with that. But I don't know how to code/ prepare the data table for this. I am attaching the table I have. I will appreciate any help.

Time to event | Total patients | Proportion Alive |

0 mo | 42,906 | 1 |

12 mo | 42,906 | 0.938 |

24 mo | 42,906 | 0.894 |

36 mo | 42,906 | 0.867 |

48 mo | 42,906 | 0.85 |

60 mo | 42,906 | 0.839 |

72 mo | 42,906 | 0.83 |

84 mo | 42,906 | 0.822 |

96 mo | 42,906 | 0.811 |

Thank You.

Solved! Go to Solution.

1 ACCEPTED SOLUTION

Accepted Solutions

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

Jul 31, 2014 7:32 AM
(6538 views)

Solution

You will need to prepare the data in three columns: Time, number died at a given time, and a censoring column. The censoring column is needed to take into account the 81.1% of the patients who are still alive at the end of the trial.

With a little work, I was able to get your data into this form:

months died censor

0 . 0

12 2660 0

24 1888 0

36 1158 0

48 729 0

60 472 0

72 386 0

84 343 0

96 472 0

96 34797 1

I rounded the product of the proportion alive and total patients to get number died. I think due to rounding error, the total number of died in this data doesn't exactly equal 42906. Also, notice that I added a final row to account for the 34797 censored observations (patients still alive at 96 months).

From here, you can use the Survival platform (Y=months, Censor=censor, and Freq=died) or the Life Distribution platform (same roles). If you use the Life Distribution platform, you will probably want to select the "Show Survival Curve" option from the red triangle menu in the Life Distribution report.

Both the Survival and Life Distribution platforms can be found in the Reliability and Survival submenu of the Analyze menu.

Hope this helps!

Michael

Michael Crotty

Sr Statistical Writer

JMP Development

Sr Statistical Writer

JMP Development

2 REPLIES

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

Jul 31, 2014 7:32 AM
(6539 views)

You will need to prepare the data in three columns: Time, number died at a given time, and a censoring column. The censoring column is needed to take into account the 81.1% of the patients who are still alive at the end of the trial.

With a little work, I was able to get your data into this form:

months died censor

0 . 0

12 2660 0

24 1888 0

36 1158 0

48 729 0

60 472 0

72 386 0

84 343 0

96 472 0

96 34797 1

I rounded the product of the proportion alive and total patients to get number died. I think due to rounding error, the total number of died in this data doesn't exactly equal 42906. Also, notice that I added a final row to account for the 34797 censored observations (patients still alive at 96 months).

From here, you can use the Survival platform (Y=months, Censor=censor, and Freq=died) or the Life Distribution platform (same roles). If you use the Life Distribution platform, you will probably want to select the "Show Survival Curve" option from the red triangle menu in the Life Distribution report.

Both the Survival and Life Distribution platforms can be found in the Reliability and Survival submenu of the Analyze menu.

Hope this helps!

Michael

Michael Crotty

Sr Statistical Writer

JMP Development

Sr Statistical Writer

JMP Development

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

Aug 9, 2014 7:29 AM
(3269 views)

Years | Death Frequency | Column 3 | Column 4 |

0 | 0 | 0 | |

1 | 6.2 | 0 | SEER |

2 | 4.4 | 0 | SEER |

3 | 2.7 | 0 | SEER |

4 | 1.7 | 0 | SEER |

5 | 1.1 | 0 | SEER |

6 | 0.9 | 0 | SEER |

7 | 0.8 | 0 | SEER |

8 | 1.1 | 0 | SEER |

8 | 81.1 | 1 | SEER |

Thanks Michael. Your answer solved it for me. The only change I made in the table is instead of numbers I converted them to percentages. Which gave me percentages on the Y axis.

Thank you.