Plotting a Kaplan-Meier survival curve
Plot the Kaplan-Meier survival function to visualize the survival probability over time.
- Select a cell in the dataset.
-
On the Analyse-it ribbon tab, in the
Statistical Analyses group, click
Survival/Reliability, and then click
Kaplan-Meier Survival Function.
The analysis task pane opens.
- In the Y (time to event) drop-down list, select the time until the event of interest variable.
- Optional: In the Censor drop-down list, select the state variable that indicates whether the time was censored or if the event of interest occured, and then in the Event drop-down list, select the state that indicates the time was censored.
- Optional: In the X (factor) drop-down list, select the grouping variable.
- Optional: To show the survival probabilities for each failure time, On the Analyse-it ribbon tab, in the Survival/Reliability group, click S(t).
- Click Calculate.
Related concepts