create_z: Create complete-case outcome, weights, and Z
Description
Create complete-case outcome, weights, and Z
Usage
create_z(Y, C, Z, X, ipc_weights)
Value
a list, with the complete-case outcome, weights, and Z matrix
Arguments
- Y
the outcome
- C
indicator of missing or observed
- Z
the covariates observed in phase 1 and 2 data
- X
all covariates
- ipc_weights
the weights