Counterfactual: Estimation and Inference Methods for Counterfactual Analysis

Implements the estimation and inference methods for counterfactual analysis described in Chernozhukov, Fernandez-Val and Melly (2013) <doi:10.3982/ECTA10582> "Inference on Counterfactual Distributions," Econometrica, 81(6). The counterfactual distributions considered are the result of changing either the marginal distribution of covariates related to the outcome variable of interest, or the conditional distribution of the outcome given the covariates. They can be applied to estimate quantile treatment effects and wage decompositions.

Version: 1.2
Imports: quantreg, survival, Hmisc, foreach, doRNG, doParallel, parallel
Published: 2020-01-31
DOI: 10.32614/CRAN.package.Counterfactual
Author: Mingli Chen, Victor Chernozhukov, Ivan Fernandez-Val, Blaise Melly
Maintainer: Ivan Fernandez-Val <ivanf at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
In views: CausalInference
CRAN checks: Counterfactual results


Reference manual: Counterfactual.pdf
Vignettes: Using Animal


Package source: Counterfactual_1.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): Counterfactual_1.2.tgz, r-oldrel (arm64): Counterfactual_1.2.tgz, r-release (x86_64): Counterfactual_1.2.tgz, r-oldrel (x86_64): Counterfactual_1.2.tgz
Old sources: Counterfactual archive


Please use the canonical form to link to this page.