Individual-level outcomes simulated from a basic SIR model for 500 households, together with two binary individual-level covariates that affect the intra- and extra-household infection probabilities. Used to demonstrate fitting covariate effects.
Format
A list with two elements:
- observations
A data frame of outcomes with the same columns as sir.
- covariates
A data frame with one row per individual and two binary covariate columns,
x1andx2.