This function is a bias correction of the residual standard deviation under MNAR, for ui.causal.
sigmaOLScor0(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.