mnIptwExLong: Example data for iptw function (long version, more than two...

Description Usage Format

Description

These data are simulated to demonstrate the iptw function in the "long" data format.

Usage

1

Format

A list with a covariate matrix and outcomes.

covariates

Time-invariant covariates are gender and age. The time-varying covariate is use. The reatment indicator is given by tx. An individual level identifier is given in ID, and the time period is time.

outcome

Vector of post-treatment outcomes.


twang documentation built on May 2, 2019, 6:53 p.m.

Related to mnIptwExLong in twang...