Learn R Programming

eha (version 2.11.5)

child: Child mortality, Skellefteå, Sweeden 1850--1900.

Description

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

Usage

data(child)

Arguments

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.

Examples

Run this code
fit <- coxreg(Surv(enter, exit, event) ~ sex + socBranch, data = child, coxph = TRUE)
summary(fit)

Run the code above in your browser using DataLab