Learn R Programming

mmm (version 1.4)

motherStress: Mother's Stress and Children's Morbidity Study

Description

A data frame with 2004 observations on the following 14 variables. motherStress is a longitudinal dataset which includes daily information of the participants. There are 167 mothers and children enrolled in the study.

Usage

data(motherStress)

Arguments

Format

The details of the columns of the data frame are given below.
id
a vector for subject id
stress
a vector for mother's stress at time t:1=presence, 0=absence
illness
a vector for children's illness at time t: 1=presence, 0=absence
married
a vector for marriage status of mother: 1=married, 0=other
education
a vector for mother's education level: 0=high school or less, 1=high school graduate
employed
a numeric vector for mother's employment status: 1=employed, 0=unemployed
chlth
a vector for children's health status at baseline: 0=very poor/poor, 1=fair, 2=good, 3=very good
mhlth
a vector for mother's health status at baseline: 0=very poor/poor, 1=fair, 2=good, 3=very good
race
a vector for child's race: 1=non-white, 0=white
csex
a vector for child's gender: 1=female, 0=male
housize
a vector for the size of the household: 0=2-3 people, 1=more than 3 people
bstress
a vector for the baseline stress for the period of day 1 to 16; calculated as the mean of the stress status of the subjects in the period of day 1 to 16
billness
a vector for the baseline illness for the period of day 1 to 16; calculated as the mean of the illness status of the subjects in the period of day 1 to 16
week
a numeric vector for time: (day-22)/7

Source

http://faculty.washington.edu/heagerty/Books/AnalysisLongitudinal/datasets.html

Details

The original data contains the information of the mothers and children in the study for 28 days. Because of the weak serial correlation in the period of day 1 to 16, it is ignored. Only the period of day 17 to 28 is included here. To catch the specific characteristic of the mothers and children, the averages of the stress and illness status of them are added as new covariates; bstress and billness. While the covariates have no missing observation, responses have very low percentages of missing values, 0.97

References

Alexander, C. S., Markowitz, R. (1986). Maternal employment and use of pediatric clinic services. Medical Care, 24(2), 134-147.

Diggle, P. J., Heagerty, P., Liang, K. Y., Zeger, S. L. (2002). Analysis of Longitudinal Data. New York: Oxford University Press.

Zeger, S. L., Liang, K. L (1986). Longitudinal data analysis for discrete and continous outcomes. Biometrics, 42, 121-130.

Examples

Run this code
data(motherStress)
head(motherStress,10)
require(graphics)
mosaicplot(~motherStress$employed+motherStress$housize+motherStress$stress,color=TRUE)

Run the code above in your browser using DataLab