helper function to test treatment effect is invariant when outcome adds 1
1 | invariate_add_tests(tau_hat, tau_hat_1, mean_err = 0.15)
|
tau_hat |
user-supplied treatment effect estimate |
tau_hat_1 |
user-supplied treatment effect estimate for the setting with outcome added 1 |
mean_err |
error tolerance on the mean difference bewteen tau_hat and tau_hat_1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.