This is a support function for ui.causal
and calculates standard error of Average causal effect on the treated for the doubly robust estimator.
1 2 | sandACT(deltasigma1, X, Xz, y, z, u, BetaOLSy0, phat, NaivEst, n1, n0, N,
p, pz)
|
deltasigma1 |
Coefficients. |
X |
Covariate matrix outcome. |
Xz |
Covariate matrix treatment. |
y |
Outcome vector. |
z |
Missingness indicator. |
u |
Fitted values from propensity score regression. |
BetaOLSy0 |
Coefficients from non-treated regression |
phat |
Fitted propensity scores. |
NaivEst |
Naiv estimates. |
n1 |
Number of treated. |
n0 |
Number of non-treated. |
N |
Total number. |
p |
Number of covariates outcome regression. |
pz |
Number of covariates treatment regression. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.