IE | R Documentation |
Indirect effect estimates and asymptotic variance.
IE( ygroup, boots = NULL, ps = c("true", "estimated"), scores = NULL, alpha_level = 0.05 )
ygroup |
An matrix including the group average potential outcome estimates where rows correspond to group, and columns to values of alpha. #' @param boots The results of BootVar() function including estimates of the potential outcomes from the bootstrap samples. |
ps |
String. Can take values 'true', or 'estimated' for known or estimated propensity score. Defaults to 'true'. |
scores |
A matrix with rows corresponding to the parameters of the propensity score model and columns for groups. Includes the score of the propensity score evaluated for the variables of each group. Can be left NULL for ps = 'true'. |
alpha_level |
Numeric. The alpha level of the confidence intervals based on the quantiles of the bootstrap estimates. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.