
Censored Data Analysis (Exercise class)
SIS page : NMST531
Schedule : on Tuesday 14:00 - 15:30 in classroom K11
Language : materials in English, instructed in Czech (unless anybody requires English)
Instructor e-mail : vavraj@karlin.mff.cuni.cz (for sending solutions to assignments)
Lecture web page : www.karlin.mff.cuni.cz/~kulich/vyuka/cens/index.html
Note : exercises will start by on 2nd November
CORONAVIRUS : We have to be ready for any potential government restrictions.
-
Presence form:
- weekly exercise class on schedule,
- completing given homework assignments in pre-specified deadlines (usually a day before the next exercise),
- exercise class will be opened with discussion over previous homework,
- we will go through the materials for exercise class together,
- there will be time for you to ask questions, work on given assigments, ...
- no attendance requirement for course credit.
-
Distant form:
- regular self-study of given materials,
- completing given homework assignments in pre-specified deadlines,
- feedback and discussions over the last exercise and homework via ZOOM session shortly after the deadline,
- also in ZOOM: assignment of a new homework for the next week with a short commentary,
- not in ZOOM: full lecture and detailed exploration of given materials (everybody has his/her own pace while working with R).
Credit
- Satisfactory solution to given assignments by the prescribed deadline.
(If your solution will not be satisfactory enough, you might be asked for revision.)
Hand in printed (or hand written) report/solution in the next exercise class or send via email to address vavraj@karlin.mff.cuni.cz.
Recommended form: Rmarkdown output (PDF or HTML)
Overview
Exercise 1 (2-9th November)
- Topic: Parametric regression models for censored data
- Dataset:
pbc
dataset fromlibrary(survival)
- Assignment: Find suitable model for survival time and interpret it.
- Deadline: Tuesday 9th November 9:00
Exercise 2 (9-16th November)
- Topic: Non-parametric estimation of cumulative hazard and survival function
- Dataset: fans
- Assignment: Calculate and plot [NA], [KM], [FH] estimates both manually and using
survfit
function fromlibrary(survival)
. - Deadline: Tuesday 16th November 9:00
Exercise 3 (16-23rd November)
- Topic: Actuarial (lifetable) estimator of the survival
- Dataset: nurshome,
mort.m
andmort.f
from mort.RData - Assignment: Compare non-grouped and grouped approaches for estimation survival and hazard function for two subpopulations in
nurshome
dataset. Compare survival estimators with the output from ČSÚ: males and females. - Deadline: Tuesday 23rd November 9:00
Exercise 4 (23-30th November)
- HELD ON-LINE on 22nd November at 14:30!!! No exercise class on the next Tuesday in K11!!!
- Topic: Confidence intervals and bands for survival function
- Dataset: km_all.RData
- Assignment: Compute and plot [KM] estimates including Hall-Werner bands. Perform short (or long if you wish) simulation study.
- Deadline: Tuesday 30th November 9:00
Exercise 5 (30th November - 7th December)
- Topic: Testing equality of censored distributions
- Datasets: km_all.RData
- Assignment: Calculate and plot [KM], [NA] estimates and smoothed estimator of hazard function when differentiating different groups. Perform two-sample tests and decide (based on the plots) which test statistic would be the most appropriate.
- Deadline: Tuesday 7th December 9:00
Exercise 6 (7-14th December)
- Topic: The choice of two-sample test statistic
- Datasets:
data(veteran)
, nurshome - Assignment: Fill table of appropriateness of different weights in two-sample survival tests in different situations. Perform several real data analyses and simulation study.
- Deadline: Tuesday 14th December 9:00
Exercise 7 (14th December - 4th January)
- Topic: Building Cox models for censored data (constant covariates)
- Dataset:
pbc
dataset fromlibrary(survival)
- Assignment: Perform exploratory analysis focused on the influence of covariates on the survival probability. Build a reasonable Cox model (starting from simple univariate models). Compare your final Cox model to your final model from Exercise 1.
- Deadline: Tuesday 4th January 9:00
Bonus Exercise (21st December)
- Topic: Generalizations of the Cox model
- Dataset:
pbc
andcgd
datasets fromlibrary(survival)
- Assignment: None, just admire what else could be done with the Cox model.
Exercise 8 (4-11th January)
- Topic: Time-varying covariates in the Cox model
- Dataset:
jasa
andheart
dataset fromlibrary(survival)
- Assignment: Try to reproduce
heart
dataset fromjasa
. Build and interpret Cox model with covariate indicating the time of heart transplantation and other fixed covariates. Does transplantation help patients to survive longer? Plot estimated survival functions. - Deadline: Tuesday 18th January 9:00