• Home
  • Software
  • Industries
  • Application Areas
  • Academic
  • Training
  • Support
  • User Community
Free Trial Buy JMP International About Us Contact News and Events Blog Resource Center
  • JMP FAQs
  • System Requirements
  • Alphabetical List of Features
  • Downloads
  • Knowledge Base
  • Books and JMP
  • Report a Problem
  • JMP Administrators
  • Find Your Serial Number or Site ID
  • Why Register JMP?
  • Register JMP

*On SAS Download site

Statistical FAQs

How can I distinguish the different survival curves in JMP's Kaplan-Meier Survival Plot when printing on a black and white printer?

Currently, there is no way in JMP to change the fitted stepped lines in thedefault Survival Plot. However, a process involving a few steps can befollowed to get the characteristics desired (different line styles displayedfor the different survival groups). Using the RATS.JMP data table found in the Sample Data folder, follow the steps below. Some steps are slightly different depending on the version of JMP being used (Version 4 or Version 5), but the differences are noted in the steps.

  1. Open RATS.JMP.
  2. In Version 4, select Analyze  > Survival > Univariate.

    In Version 5 and higher, select Analyze > Survival and Reliability > Survival/Reliability.
  3. Specify 'Y, Time to Event'='days', 'Grouping'='Group', and 'Censor'='Censor'. Click OK.
  4. From the Product-Limit Survival Fit menu in the resulting output, select Save Estimates....
  5. In the new data table, delete all columns except Group, days, and Survival.
  6. Delete all rows where Group=Combined or Group=.. (unless you want to include the combined line).
  7. In Version 4, select Tables > Split.
    1. Highlight Survival, and click Split.
    2. Highlight the Group column listing and click Col ID.
    3. Highlight days and click the Group button.
    4. Click OK.

    In Version 5, select Tables > Split.
    1. Highlight Survival, and click Add.
    2. Highlight the Group column listing and click Split Label Col.
    3. Highlight days and click the Group button.
    4. Click Split.

  8. In JMP 6, select Tables > Split.
    1. Highlight Survival, and click Split Columns.
    2. Highlight the Group column listing and click Split By.
    3. Highlight days and click the Group button.
    4. Click OK.
  9. In Version 4, create two new columns, G1, and G2 with formulas to replace missing values with the survival probability in the previous row.

    **This step is not necessary if running V5 or higher.

    The exact formulas are below:

  10. G1: If(Row() == 1, 1, Is Missing( :Group 1[Row()]),
    :G1[Row() - 1], :Group 1)
    G2: If(Row() == 1, 1, Is Missing( :Group 2[Row()]),
    :G2[Row() - 1], :Group 2)
  11. In Version 4, select Graph > Overlay Plot. Specify Y='G1' and 'G2', and X='days'. Click OK.
    In Version 5 and higher, select Graph > Overlay Plot. Specify Y='Group 1' and 'Group 2', and X='Days'. Click OK.
  12. From the Overlay Plot red arrow pulldown menu, choose Connect through Missing. From the same menu, select Y Options > Step, and Y Options > Show Points. Now, each line can be modified as necessary by right-clicking on the legend values and changing the color and line style of the corresponding group.

Again, if you are running JMP 5 or later, then the new columns G1, and G2 need not be created. The Group 1 and Group 2 columns can be plotted. Alternatively, if Version 5 or later is being used, the Survival Plot JSL script can be used.


FAQ # 1297
Last Updated: 2005 Aug 26

Browse JMP FAQs

General FAQs

Statistical FAQs


Support Documents

JMP FAQs

Knowledge Base

System Requirements

Alphabetical List of Features

Known Issues


Contact JMP Support

Report a Problem

Update a Report

support@jmp.com

919.677.8008 (US)

International Support via Worldwide SAS Offices

 
SAS | JMP is a business unit of SAS. SAS Campus Drive, Building S, Cary, NC, 27513 • Phone: 1.919.677.8000
© 2008 SAS Institute, Cary, NC, USA. All Rights Reserved. Terms of Use • Privacy Policy