This is the main function to compute the estimator in C++
invalidivsacim_est(
time,
event,
stime,
Z,
Z_c,
D_status,
D_status_c,
Z_model_mat,
eps_1,
D_model_mat,
eps_2,
weights
)censored event time
event indicator
unique sorted noncensored event time
the instrument
centered IV
treatment process at each noncensored event time
centered treatment process at each noncensored event time
bread matrix from modeling IV
influence function from modeling IV
bread matrix from modeling treatment
influence function from modeling treatment
optional weights