Learn R Programming

eha (version 1.2-18)

male.mortality: Male mortality in ages 40-60, nineteenth century

Description

Males born in the years 1800-1820 and surving at least 40 years in the parish Skellefte� in northern Sweden are followed from their fortieth birthday until death or the sixtieth birthday, whichever comes first.

Usage

data(male.mortality)

Arguments

source

Data is coming from The Demographic Data Base, Umeå University, Umeå, Sweden.

Details

The interesting explanatory covariate is ses (socioeconomic status), which is a time-varying covariate. This explains why several individuals are representated by more than one record each. Left trucation and right censoring are introduced this way.

References

http://www.ddb.umu.se

Examples

Run this code
data(male.mortality)
coxreg(Surv(enter, exit, event) ~ ses, data = male.mortality)

Run the code above in your browser using DataLab