create_z: Create complete-case outcome, weights, and Z

View source: R/utils.R

create_zR Documentation

Create complete-case outcome, weights, and Z

Description

Create complete-case outcome, weights, and Z

Usage

create_z(Y, C, Z, X, ipc_weights)

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

Value

a list, with the complete-case outcome, weights, and Z matrix


bdwilliamson/npvi documentation built on Feb. 1, 2024, 10:46 p.m.