1. Learn
  2. /
  3. Courses
  4. /
  5. Survival Analysis in R

Exercise

Interpreting coefficients

We have a dataset of lung cancer patients. In this exercise, we want to know if the sex of the patients is associated with their survival time.

The survival package and the dataset are already loaded for you.

Instructions 1/2

undefined XP
    1
    2
  • Use the survreg() function to estimate a Weibull model.