Learn R Programming

hdcate (version 0.1.0)

Estimation of Conditional Average Treatment Effects with High-Dimensional Data

Description

A two-step double-robust method to estimate the conditional average treatment effects (CATE) with potentially high-dimensional covariate(s). In the first stage, the nuisance functions necessary for identifying CATE are estimated by machine learning methods, allowing the number of covariates to be comparable to or larger than the sample size. The second stage consists of a low-dimensional local linear regression, reducing CATE to a function of the covariate(s) of interest. The CATE estimator implemented in this package not only allows for high-dimensional data, but also has the “double robustness” property: either the model for the propensity score or the models for the conditional means of the potential outcomes are allowed to be misspecified (but not both). This package is based on the paper by Fan et al., "Estimation of Conditional Average Treatment Effects With High-Dimensional Data" (2022), Journal of Business & Economic Statistics .

Copy Link

Version

Install

install.packages('hdcate')

Monthly Downloads

181

Version

0.1.0

License

GPL (>= 3)

Maintainer

Qingliang Fan

Last Published

December 14th, 2022

Functions in hdcate (0.1.0)

HDCATE.set_condition_var

Set the conditional variable in CATE
HDCATE.get_sim_data

Get simulation data
HDCATE

High-Dimensional Conditional Average Treatment Effects (HDCATE) Estimator
HDCATE.unset_first_stage

Clear the user-defined first-stage estimating methods
HDCATE.inference

Construct uniform confidence bands
HDCATE.set_bw

Set bandwidth
HDCATE.set_first_stage

Set user-defined first-stage estimating methods
HDCATE.plot

Plot HDCATE function and the uniform confidence bands
HDCATE.fit

Fit the HDCATE function
HDCATE.use_cross_fitting

Use k-fold cross-fitting estimator
HDCATE.use_full_sample

Use full-sample estimator
HDCATE_R6Class

High-Dimensional Conditional Average Treatment Effects (HDCATE) Estimator