Children born in Skellefteå, Sweden, 1850-1884, are followed fifteen years or until death or out-migration.

data(child)

Format

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.

Details

The Skellefteå region is a large region in the northern part of Sweden.

Source

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/.

Examples

fit <- coxreg(Surv(enter, exit, event) ~ sex + socBranch, data = child, coxph = TRUE) summary(fit)
#> Covariate Mean Coef Rel.Risk S.E. LR p #> sex 0.002 #> male 0.510 0 1 (reference) #> female 0.490 -0.084 0.920 0.027 #> socBranch 0.000 #> official 0.021 0 1 (reference) #> farming 0.710 -0.007 0.993 0.092 #> business 0.011 0.335 1.398 0.141 #> worker 0.258 0.110 1.116 0.094 #> #> Events 5616 #> Total time at risk 325030 #> Max. log. likelihood -56499 #> LR test statistic 32.27 #> Degrees of freedom 4 #> Overall p-value 1.68738e-06