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