10.31: Survival Analysis I
Learning objectives
Give an example of a research question for which survival analysis could be used
Describe the purpose of the Kaplan-Meier curve
Generate a Kaplan-Meier curve in R
Classwise videos
If you have questions as you watch the videos, feel free to send me an email or slack message! I will address common questions at the beginning of class.
Textbook
ISLR chapter 11 through section 11.4
Application exercise
ISLR Lab 11.8. Stop when it says “Next, we fit the Cox model”
As you work through the lab, discuss the following:
- What does the
statusvariable mean? - What is the outcome?
- What does the y-axis of the Kaplan-Meier plot mean?
- What do you observe with the Kaplan-Meier plot?
- What do you conclude from the log-rank test?
- Create another Kaplan-Meier plot using a covariate other than
sex. Compute the log-rank test. What do you observe from the plot and what do you conclude from the test?