Learn R Programming

ui (version 0.1.1)

sigmaOLScor0: Correction of OLS sigma for causal effects

Description

This function is a bias correction of the residual standard deviation under MNAR, for ui.causal.

Usage

sigmaOLScor0(X, sigmaOLS, n, p, u, gridrho)

Arguments

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.