haartdat | R Documentation |
Survival data measured in 1200 HIV positive patients. Start of follow-up is HIV seroconversion. Each row corresponds to a 100 day interval of follow-up time, using the counting process notation. Patients can initiate HAART therapy. CD4 count is a confounder for the effect of HAART on mortality.
data(haartdat)
patient
patient ID
tstart
starting time for each interval of follow-up, measured in days since HIV seroconversion
fuptime
end time for each interval of follow-up, measured in days since HIV seroconversion
haartind
indicator for the initiation of HAART therapy at the end of the interval (0=HAART not initiated/1=HAART initiated).
event
indicator for death at the end of the interval (0=alive/1=died)
sex
sex (0=male/1=female)
age
age at the start of follow-up (years)
cd4.sqrt
square root of CD4 count, measured at fuptime, before haartind
These data were simulated.
Patients can initiate HAART at fuptime=0
. Therefore, to allow the fitting of a model predicting initiation of HAART, starting time for the first interval within each patient is negative (-100).
Willem M. van der Wal willem@vanderwalresearch.com, Ronald B. Geskus rgeskus@oucru.org
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")}.
basdat
, haartdat
, ipwplot
, ipwpoint
, ipwtm
, timedat
, tstartfun
.
#see ?ipwtm for example
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.