| iptwExLong {twang} | R Documentation |
Example data for iptw function (long version)
Description
These data are simulated to demonstrate the iptw function in the "long" data format.
Usage
data(lindner)
Format
A list with a covariate matrix and outcomes.
- covariates
Time-invariant covariates are
genderandage. The time-varying covariate isuse. The reatment indicator is given bytx. An individual level identifier is given inID, and the time period istime.- outcome
Vector of post-treatment outcomes.
[Package twang version 2.6.1 Index]