Installation instructions

Instructions are available on-line and off-line.

Computing laboratory exercises (on-line)

# Description Questions R code Solutions
1 Life tables and Kaplan-Meier estimates Q1 q1.R S1
2 Comparing survival and rates by stage Q2 q2.R S2
3 Comparing survival graphically and using the log rank test Q3 q3.R S3
4 Comparing actuarial and Kaplan-Meier estimators Q4 q4.R S4
6 Tabulating rates and modelling with Poisson regression Q6 q6.R S6
7 Model cause-specific mortality with Poisson regression Q7 q7.R S7
8 Poisson regression adjusting for confounders on different timescales Q8 q8.R S8
9 Modelling cause-specific mortality using Cox regression Q9 q9.R S9
10 Examining the proportional hazards hypothesis Q10 q10.R S10
11 Cox regression with all-cause mortality as the outcome Q11 q11.R S11
12 Cox model for cause-specific mortality for melanoma Q12 q12.R S12
13 Modelling the diet data using Cox regression Q13 q13.R S13
14 Non-collapsibility of proportional hazards models Q14 q14.R S14
22 Time-varying exposures and the bereavement data Q22 q22.R S22
23 Calculating SMRs/SIRs Q23 q23.R S23
25 Generating and analysing a nested case-control (NCC) study Q25 q25.R S25
28 Flexible parametric survival models in R Q28 q28.R S28

Computing laboratory exercises (off-line)

# Description Questions R code Solutions
1 Life tables and Kaplan-Meier estimates Q1 q1.R S1
2 Comparing survival and rates by stage Q2 q2.R S2
3 Comparing survival graphically and using the log rank test Q3 q3.R S3
4 Comparing actuarial and Kaplan-Meier estimators Q4 q4.R S4
6 Tabulating rates and modelling with Poisson regression Q6 q6.R S6
7 Model cause-specific mortality with Poisson regression Q7 q7.R S7
8 Poisson regression adjusting for confounders on different timescales Q8 q8.R S8
9 Modelling cause-specific mortality using Cox regression Q9 q9.R S9
10 Examining the proportional hazards hypothesis Q10 q10.R S10
11 Cox regression with all-cause mortality as the outcome Q11 q11.R S11
12 Cox model for cause-specific mortality for melanoma Q12 q12.R S12
13 Modelling the diet data using Cox regression Q13 q13.R S13
14 Non-collapsibility of proportional hazards models Q14 q14.R S14
22 Time-varying exposures and the bereavement data Q22 q22.R S22
23 Calculating SMRs/SIRs Q23 q23.R S23
25 Generating and analysing a nested case-control (NCC) study Q25 q25.R S25
28 Flexible parametric survival models in R Q28 q28.R S28