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