airpollution {bild} | R Documentation |
Air Pollution
Description
This example is a subset of data from Six Cities study, a longitudinal study of the health effects of air pollution (Ware, J. H. et al., 1984).
Usage
data(airpollution)
Format
A data frame with 128 observations on the following 5 variables.
id
identifies de number of the individual profile. This vector contains observations of 32 individual profiles.
wheeze
a numeric vector that identify the wheezing status (1="yes", 0="no") of a child at each occasion.
age
a numeric vector corresponding to the
age
in years since the child's 9th birthday.smoking
a factor that identify if the mother smoke (1="smoke", 0="no smoke").
counts
a numeric vector corresponding to the replications of each individual profile.
Details
The data set presented by Fitzmaurice and Laird (1993) contains complete records on 537 children from Steubnville, Ohio, each woman was examined annually at ages 7 through 10. The repeated binary response is the wheezing status (1="yes", 0="no") of a child at each occasion. Although mother's smoking status could vary with time, it was determined in the first interview and was treated as a time-independent covariate. Maternal smoking was categorized as 1 if the mother smoked regularly and 0 otherwise.
Source
Fitzmaurice, G. M. and Laird, N. M. (1993). A Likelihood-Based Method for analyzing Longitudinal Binary Response. Biometrika, 80, 141-51.
References
Ware, J. H., Dockery, D. W., Spiro, A. III, Speizer, F. E. and Ferris, B. G., Jr. (1984). Passive smoking, gas cooking and respiratory health in children living in six cities. Am. Rev. Respir. dis., 129, 366-74.
Examples
str(airpollution)
##### dependence="MC2"
air2 <- bild(wheeze~age+smoking, data=airpollution, time="age",
aggregate=smoking, dependence="MC2")
summary(air2)
getAIC(air2)
getLogLik(air2)
plot(air2)
##### dependence="MC2R"
air2r <- bild(wheeze~age+smoking, data=airpollution, time="age",
aggregate=smoking, dependence="MC2R")
summary(air2r)
getAIC(air2r)
getLogLik(air2r)
plot(air2r)
plot(air2r, which=6, subSET=smoking=="0", main="smoking==0", ident=TRUE)