Defines functions sigmaOLScor1

Documented in sigmaOLScor1

#' Correction of OLS sigma
#' This function is a bias correction of the residual standard deviation under MNAR, used by \code{\link{ui.causal}} and \code{\link{ui.ols}}.
#' @param X Covariate matrix outcome.
#' @param sigmaOLS Residual sd from outcome regression.
#' @param n Number of complete cases.
#' @param p Number of covariates outcome regression.
#' @param u Fitted values from propensity score regression.
#' @param gridrho Values of rho.
#' @export


Try the ui package in your browser

Any scripts or data that you put into this service are public.

ui documentation built on Nov. 11, 2019, 5:07 p.m.