This is the main function to compute the estimator in C++

1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ```
invalidivsacim_est(
time,
event,
stime,
Z,
Z_c,
D_status,
D_status_c,
Z_model_mat,
eps_1,
D_model_mat,
eps_2,
weights
)
``` |

`time` |
censored event time |

`event` |
event indicator |

`stime` |
unique sorted noncensored event time |

`Z` |
the instrument |

`Z_c` |
centered IV |

`D_status` |
treatment process at each noncensored event time |

`D_status_c` |
centered treatment process at each noncensored event time |

`Z_model_mat` |
bread matrix from modeling IV |

`eps_1` |
influence function from modeling IV |

`D_model_mat` |
bread matrix from modeling treatment |

`eps_2` |
influence function from modeling treatment |

`weights` |
optional weights |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.