Computing in STK4080 autumn 2006

We will use the the programming language R for the practical computing in the lectures as well as the exercises in STK4080.

Information (in Norwegian) on R and how you can download it on your computer (written for STK1120) is given here .

Below are given information on how to download additional R package(s), information on (some of) the data sets used for illustration in the lectures and the exercises as well as (some of) the relevant R code.

R packages

The addreg package

Data sets

Lung cancer data: Description Data

Melanoma data: Description Data

Skrumplever data: Description (in Norwegian) Data

Suicide data: Description Data

R code used in the lectures:

Week 39: Nelson-Aalen plot for lung cancer data

Week 40: Kaplan-Meier estimator for lung cancer data

Week 41: Tests for lung cancer data

Week 42: Cox regression for melanoma data

Week 43: Estimated survival curves for melanoma data based on Cox regression

Week 44: Model checks for a Cox model for the melanoma data

Week 45: Additive regression for melanoma data

Week 46: Occurrence/exposure rates and Poisson regression for suicide data

R code used in the exercises:

Practical exercise 3

Practical exercise 4

?Practical exercise 5

Published Oct. 2, 2006 12:23 PM - Last modified Nov. 17, 2006 5:21 PM