child | R Documentation |
Children born in Skellefteå, Sweden, 1850-1884, are followed fifteen years or until death or out-migration.
data(child)
A data frame with 26855 children born 1850-1884.
id
An identification number.
m.id
Mother's id.
sex
Sex.
socBranch
Working branch of family (father).
birthdate
Birthdate.
enter
Start age of follow-up, always zero.
exit
Age of departure, either by death or emigration.
event
Type of departure, death = 1, right censoring = 0.
illeg
Born out of marriage ("illegitimate")?
m.age
Mother's age.
The Skellefteå region is a large region in the northern part of Sweden.
Data originate from the Centre for Demographic and Ageing Research, Umeå University, Umeå, Sweden, https://www.umu.se/en/centre-for-demographic-and-ageing-research/.
fit <- coxreg(Surv(enter, exit, event) ~ sex + socBranch, data = child, coxph = TRUE)
summary(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.