male.mortality {eha} | R Documentation |
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.
data(male.mortality)
A data frame with 2058 observations on the following 6 variables.
id
enter
exit
event
birthdate
ses
lower
upper
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.
Data is coming from The Demographic Data Base, UmeƄ University, UmeƄ, Sweden.
data(male.mortality) coxreg(Surv(enter, exit, event) ~ ses, data = male.mortality)