compute_bounds_aipw(
Y = NCAdata$Y,
A = PSAdata$DMF,
D = ifelse(NCAdata$D == 0, 0, 1),
Z = NCAdata$Z,
nuis_funcs = nuis_func,
nuis_funcs_ai = nuis_func_ai,
true.pscore = rep(0.5, nrow(NCAdata)),
X = NULL,
l01 = 1
)
Run the code above in your browser using DataLab