calc_ate_estimates | R Documentation |
Calculate the ATE and variance estimates
calc_ate_estimates(data, ate_var, y, p_adjust_n, v_fold = FALSE, naive = FALSE)
data |
Data frame that includes treatement/exposure |
ate_var |
Variable that the ATE is assigned to in |
y |
Variable name in |
p_adjust_n |
Number repeated measures to adjust p-value |
v_fold |
TRUE/FALSE whether to calculate v-fold specific ATE estimates |
naive |
This is for a one step estimator so Psi is calculated without TMLE update |
Calculates the average treatment effect and variance estimates from the influence curve across folds
A numeric
vector of the same length as vals
, where
the returned values are bounded to machine precision. This is intended to
avoid numerical instability issues.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.