| timedat | R Documentation |
A simulated dataset containing time-varying CD4 measurements for 386
HIV-positive individuals. Corresponding baseline data, including timing
of tuberculosis and death, are available in basdat.
data(timedat)
A data frame with 6291 observations on the following 3 variables:
Patient ID.
Follow-up time (days since HIV seroconversion).
CD4 count measured at fuptime.
These simulated data are used together with basdat in a
detailed causal modeling example using inverse probability weighting (IPW).
See ipwtm for the full example. Data were simulated using
the algorithm described in Van der Wal et al. (2009).
Willem M. van der Wal willem@vanderwalresearch.com, Ronald B. Geskus rgeskus@oucru.org
Cole, S.R. & Hernán, M.A. (2008). Constructing inverse probability weights for marginal structural models. American Journal of Epidemiology, 168(6), 656-664.
Robins, J.M., Hernán, M.A. & Brumback, B.A. (2000). Marginal structural models and causal inference in epidemiology. Epidemiology, 11, 550-560.
Van der Wal W.M. & Geskus R.B. (2011). ipw: An R Package for Inverse Probability Weighting. Journal of Statistical Software, 43(13), 1-23. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.18637/jss.v043.i13")}
Van der Wal W.M., Prins M., Lumbreras B. & Geskus R.B. (2009). A simple G-computation algorithm to quantify the causal effect of a secondary illness on the progression of a chronic disease. Statistics in Medicine, 28(18), 2325-2337.
basdat, haartdat, ipwplot,
ipwpoint, ipwtm, tstartfun
# For an example of how to use these longitudinal measurements with basdat, see:
# ?ipwtm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.