Description Usage Format Details Author(s) References See Also Examples

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.

1 |

`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 [email protected]

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. http://www.jstatsoft.org/v43/i13/.

`basdat`

, `haartdat`

, `ipwplot`

, `ipwpoint`

, `ipwtm`

, `timedat`

, `tstartfun`

.

1 | ```
#see ?ipwtm for example
``` |

```
```

ipw documentation built on May 30, 2017, 4:47 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.