This is a support function for ui.causal
and calculates standard error of Average causal effect on the treated for the regression imputation estimator.
1 | sandImpACT(X, y, z, BetaOLSy0, NaivEst, n1, N, p)
|
X |
Covariate matrix. |
y |
Outcome vector. |
z |
missingness indicator |
BetaOLSy0 |
Coefficients from non-treated regression |
NaivEst |
Naiv estimates. |
n1 |
Number of treated. |
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.