View source: R/calc_v_fold_mixture_ate.R
calc_v_fold_mixtures_ate | R Documentation |
For each rule in each fold extract the relevant nuisance parameter data calculated in the folds. Given the validation data estimates for each rule do a TMLE update step to target the average treatment effect. Update the initial counterfactuals,calculate the influence curve and using the influence curve calculate variance estimates and p-values.
calc_v_fold_mixtures_ate(input_mix_rules, input_mix_data, y, n_folds)
input_mix_rules |
List of dataframes of rules found for a mixture across the folds |
input_mix_data |
Nuisance parameter data for mixture rules found across the folds |
y |
Character indicating the outcome variable |
n_folds |
Number of folds used in cross-validation |
A data frame of mixture results for each variable level combination for each fold
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.