This is a support function for ui.causal
and calculates standard error of Average causal effect for the regression imputation estimator.
1 | sandImpACE(X, y, z, BetaOLSy0, BetaOLSy1, NaivEst, N, p)
|
X |
Covariate matrix. |
y |
Outcome vector. |
z |
missingness indicator. |
BetaOLSy0 |
Coefficients from non-treated regression. |
BetaOLSy1 |
Coefficients from treated regression. |
NaivEst |
Naiv estimates. |
N |
Total number. |
p |
Number of covariates outcome regression. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.