biofam {MEDseq} | R Documentation |
Family life states from the Swiss Household Panel biographical survey
Description
2000 16 year-long family life sequences built from the retrospective biographical survey carried out by the Swiss Household Panel (SHP) in 2002.
Usage
data(biofam)
Format
A data frame with 2000 rows, 16 state variables, 1 id variable and 7 covariates and 2 weights variables.
Details
The biofam data set was constructed by Müller et al. (2007) from the data of the retrospective biographical survey carried out by the Swiss Household Panel (SHP) in 2002.
The data set contains (in columns 10 to 25) sequences of family life states from age 15 to 30 (sequence length is 16) and a series of covariates. The sequences are a sample of 2000 sequences of those created from the SHP biographical survey. It includes only individuals who were at least 30 years old at the time of the survey. The biofam data set describes family life courses of 2000 individuals born between 1909 and 1972.
The states numbered from 0 to 7 are defined from the combination of five basic states, namely Living with parents (Parent), Left home (Left), Married (Marr), Having Children (Child), Divorced:
0 = "Parent"
1 = "Left"
2 = "Married"
3 = "Left+Marr"
4 = "Child"
5 = "Left+Child"
6 = "Left+Marr+Child"
7 = "Divorced"
The covariates are:
sex | |
birthyr | (birth year) |
nat_1_02 | (first nationality) |
plingu02 | (language of questionnaire) |
p02r01 | (religion) |
p02r04 | (religious participation) |
cspfaj | (father's social status) |
cspmoj | (mother's social status) |
Two additional weights variables are inserted for illustrative purpose ONLY (since biofam
is a subsample of the original data, these weights are not adapted to the actual data):
wp00tbgp | (weights inflating to the Swiss population) |
wp00tbgs | (weights respecting sample size) |
Source
Swiss Household Panel https://forscenter.ch/projects/swiss-household-panel/
References
Müller, N. S., Studer, M. and Ritschard, G. (2007). Classification de parcours de vie à l'aide de l'optimal matching. In XIVe Rencontre de la Société francophone de classification (SFC 2007), Paris, 5-7 septembre 2007, pp. 157-160.
Examples
data(biofam, package="MEDseq")
biofam <- list(covariates = biofam[2L:9L], sequences = biofam[10L:25L] + 1L)
biofam.cov <- biofam$covariates[,colSums(is.na(biofam$covariates)) == 0]
biofam.seq <- seqdef(biofam$sequences,
states = c("P", "L", "M", "L+M", "C", "L+C", "L+M+C", "D"),
labels = c("Parent", "Left", "Married", "Left+Marr", "Child",
"Left+Child", "Left+Marr+Child", "Divorced"))
biofam.cov$age <- 2002 - biofam.cov$birthyr