This function is a bias correction of the residual standard deviation under MNAR, used by ui.causal
and ui.ols
.
sigmaOLScor1(X, sigmaOLS, n, p, u, gridrho)
Covariate matrix outcome.
Residual sd from outcome regression.
Number of complete cases.
Number of covariates outcome regression.
Fitted values from propensity score regression.
Values of rho.