DE | R Documentation |
Direct effect estimates and asymptotic variance.
DE(ypop, ypop_var, boots = NULL, alpha = NULL, alpha_level = 0.05)
ypop |
A matrix with rows corresponding to the potential outcome under control and treatment, and columns corresponding to the cluster-average propensity of treatment. |
ypop_var |
An 3-dimensional array, where the first two dimensions are equal to 2 and include the variance covariance matrix of the population average potential outcome for each alpha. Dimension 3 is alpha. |
boots |
The results of BootVar() function including estimates of the potential outcomes from the bootstrap samples. |
alpha |
The values of alpha we consider. If ypop has column names, alpha can be left null. |
alpha_level |
Numeric. The alpha level of the confidence intervals based on the quantiles of the bootstrap estimates. |
A matrix with rows including the estimate and variance of the direct effect and columns corresponding to alpha.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.