Exercises for STK 4080 autumn 2023

Below are given exercises for the coming week(s) and an overview of exercises that have been given to earlier weeks

Exercises to coming week

Week 48: Exam 2012, Problems 1, 2 and 3. Furthermore, Nils Leitzinger will give a short presentation with title 'Relative survival models: A Primer'.

Exercises to previous weeks

Week 47: Exam 2016, Problems 1, 2 and 3. Suggested solution.

Week 46: Exam 2008, Problems 3 and 4. Exam 2019, Problem 2.

Week 45: Exam 2020, Problem 4. Exam 2019, Problem 3.

Week 44: Exercises 5.1 and 5.4 in ABG (It is sufficient to do this only with right censored data, but note typo i 5.1c: should be $nu=exp(beta)$). Also: Work out details of the results on Slide 5 in lecture to Week 43. Solution with right censoring only and general counting process frameworks. On Thursday we also do Exercises 5.2 and 5.3.

Week 43: Exercises 4.4, 4.5, 4.8 and 4.9 in ABG.

Exam 2014, Problem 3

Run Aalen-regression and Lin-Ying regression models to the (rather small) data set from Problem 1, Exam 2019.

Suggested solutions to the exercises for this week.

Week 42: Exam 2010, Problems 2 and 3a. (suggested solution)

Week 41: Exercises 4.1, 4.2 (solutions) and 4.7 (solution)

Exam 2019, Problem 1. Suggested solution.

Extra exercise: (a) Run a Cox-regression towards "status==4" 'death of other causes' using covariates 'age', 'sex', 'ulceration' and ' thickness (mm)' and interpret results.   (b) For the outcome "status==1" 'death from melanoma' calculate the Nelson-Aalen estimator (without covariates) and the naive Kaplan-Meier estimator (why naive?).    (c) Compute the cumulative incidences of 'death from melanoma' and 'death from other causes'. Compare with the 1-survival estimate from (b).                                        (d) Compute Breslow estimators for cumulative baseline hazards both for outcome 'death from melanoma' and 'death from other causes'.                                                 (e) Compute cumulative hazards for both outcomes with some specification of covariate values.                                                                                                            (f) Contemplate how cumulative incidences should be calculated with specification of covariate values. (r-script for the exercise)

Week 40: Exercises 3.9-3.11 (R-script for 3.9 and solution to 3.10) and 3.13. For 3.13 consider also the full data set given here where state 2 is expulsion, 3-4 are removal and the remaining states can be considered as censoring. Use survfit with mstate option and/or direct calculation of cumulative incidence functions (R-script).         Exam  2008, Problem 2 (Solution),             Exam 2014, Problem 1(Solution)

Week 39: Exercises 3.8 and 3.12 (Solution to 3.12)

Week 38: Exercises 3.1-3.7 from Chapter 3. Additional exercise: Demonstrate Equation (3.48) in ABG. Solutions to 3.1-3.5+3.7 and to 3.6 and to additional.

Week 37: Exercise 1.7 and 1.10 from Chapter 1, 2.1, 2.2., 2.3, 2.4, 2.6 and 2.11 from Chapter 2. Here are solution to some of the exercises (1.7, 2.1, 2.2, 2.4 and 2.6) and here to some others.

Week 36: Exercises 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 and 1.9 from Chapter 1 in Aalen, Borgan, Gjessing (ABG). Suggested solution to Exercises 1.1-1.5.

Modify the script for simulating censored survival times to plotting cumulative hazards.

 

Published Aug. 24, 2023 11:07 AM - Last modified Nov. 27, 2023 6:17 PM