| 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.
idAn identification number.
m.idMother's id.
sexSex.
socBranchWorking branch of family (father).
birthdateBirthdate.
enterStart age of follow-up, always zero.
exitAge of departure, either by death or emigration.
eventType of departure, death = 1, right censoring = 0.
illegBorn out of marriage ("illegitimate")?
m.ageMother'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.