BaşlayınÜcretsiz Başlayın

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.

Bu egzersiz

Survival Analysis in R

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Look at the data set
str(dat)

# Estimate a Weibull model
wbmod <- ___(___(___, status) ~ sex, data = dat)
coef(wbmod)
Kodu Düzenle ve Çalıştır