RCAL-package {RCAL} | R Documentation |
RCAL: Regularized calibrated estimation
Description
Regularized calibrated estimation for causal inference and missing-data problems with high-dimensional data.
Details
The R package RCAL
- version 2.0 can be used for two main tasks:
to estimate the mean of an outcome in the presence of missing data,
to estimate the average treatment effects (ATE) and local average treatment effects (LATE) in causal inference.
There are 3 high-level functions provided for the first task:
-
mn.nreg
: inference using non-regularized calibrated estimation, -
mn.regu.cv
: inference using regularized calibrated estimation based on cross validation, -
mn.regu.path
: inference using regularized calibrated estimation along a regularization path.
The first function mn.nreg
is appropriate only in relatively low-dimensional settings,
whereas the functions mn.regu.cv
and mn.regu.path
are designed to deal with high-dimensional data (namely,
the number of covariates close to or greater than the sample size).
In parallel, there are 3 functions for estimating the average treatment effect in the second task, ate.nreg
, ate.regu.cv
, and ate.regu.path
.
These functions can also be used to perform inference for the average treatment effects on the treated or on the untreated.
Currently, the treatment is assumed to be binary (i.e., untreated or treated). There are also 3 functions for estimating the local average treatment effect using instrumental variables,
late.nreg
, late.regu.cv
, and late.regu.path
. Currently both the treatment and instrumental variable are assumed to be binary. Extensions to multi-valued treatments and instrumental variables will be incorporated in later versions.
The package also provides lower-level functions, including glm.nreg
to implement non-regularized M-estimation and glm.regu
to
implement Lasso regularized M-estimation for fitting generalized linear models currently with continuous or binary outcomes.
The latter function glm.regu
uses an active-set descent algorithm, which enjoys a finite termination property
for solving least-squares Lasso problems.
See the the vignettes for more details.