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

View source: R/utils.R View source: R/utils.R

create_zR Documentation

Create complete-case outcome, weights, and Z

Description

Create complete-case outcome, weights, and Z

Create complete-case outcome, weights, and Z

Usage

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

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

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


bdwilliamson/npvi documentation built on Feb. 14, 2025, 10:43 p.m.