Correction of OLS sigma for causal effects
This function is a bias correction of the residual standard deviation under MNAR, for ui.causal
.
sigmaOLScor0(X, sigmaOLS, n, p, u, gridrho)
X
: Covariate matrix outcome.sigmaOLS
: Residual sd from outcome regression.n
: Number of complete cases.p
: Number of covariates outcome regression.u
: Fitted values from propensity score regression.gridrho
: Values of rho.Useful links