ohio | R Documentation |
The ohio
data frame has 2148 rows and 4 columns. The dataset is a
subset of the six-city study, a longitudinal study of the health effects of
air pollution.
ohio
This data frame contains the following columns:
an indicator of wheeze status (1=yes, 0=no)
a numeric vector for subject id
a numeric vector of age, 0 is 9 years old
an indicator of maternal smoking at the first year of the study
Fitzmaurice, G.M. and Laird, N.M. (1993) A likelihood-based method for analyzing longitudinal binary responses, Biometrika 80: 141–151.
data(ohio)
fit.ex <- geeglm(resp ~ age + smoke + age:smoke, id=id, data=ohio,
family=binomial, corstr="exch", scale.fix=TRUE)
QIC(fit.ex)
fit.ar <- geeglm(resp ~ age + smoke + age:smoke, id=id, data=ohio,
family=binomial, corstr="ar1", scale.fix=TRUE)
QIC(fit.ex)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.