**SIS page**: NMST531**Schedule**: officially on Tuesday**14:00 - 15:30**in classroom**K11****Language**: materials in English, instructed in Czech (unless anybody requires English)**Instructur e-mail**: vavraj@karlin.mff.cuni.cz**Lecture web page**: http://www.karlin.mff.cuni.cz/~kulich/vyuka/cens/index.html**Note**: exercises will**start on 2nd November**(untill then, lectures will replace exercise classes)**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).

- Satisfactory solution to given assignments by the prescribed deadline.

(If your solution will not be satisfactory enough, you might be asked for revision.)

Send your solution via email to address**vavraj@karlin.mff.cuni.cz**.

Recommended form: Rmarkdown output (PDF or HTML)

**Topic**: Parametric regression models for censored data**Dataset**:`pbc`

dataset from`library(survival)`

**Assignment**: Find suitable model for survival time and interpret it.**Deadline**: Tuesday**9th November**9:00

**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 from`library(survival)`

.**Deadline**: Tuesday**16th November**9:00

**Topic**: Actuarial (lifetable) estimator of the survival**Dataset**: nurshome,`mort.m`

and`mort.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

**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

**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

**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

**HELD ON-LINE on 14th December at 14:00!!! See e-mail for the ZOOM link.****Topic**: Building Cox models for censored data (constant covariates)**Dataset**:`pbc`

dataset from`library(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

**HELD ON-LINE on 21st December at 14:00!!! See e-mail for the ZOOM link.****Topic**: Generalizations of the Cox model**Dataset**:`pbc`

and`cgd`

datasets from`library(survival)`

**Assignment**: None, just admire what else could be done with the Cox model.

**Topic**: Time-varying covariates in the Cox model**Dataset**:`jasa`

and`heart`

dataset from`library(survival)`

**Assignment**: Try to reproduce`heart`

dataset from`jasa`

. 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