This is a support function for ui.causal
and calculates standard error of Average causal effect for the regression imputation estimator.
sandImpACE(X, y, z, BetaOLSy0, BetaOLSy1, NaivEst, N, p)
Covariate matrix.
Outcome vector.
missingness indicator.
Coefficients from non-treated regression.
Coefficients from treated regression.
Naiv estimates.
Total number.
Number of covariates outcome regression.