The R Journal: article published in 2017, volume 9:1

Counterfactual: An R Package for Counterfactual Analysis PDF download
Mingli Chen, Victor Chernozhukov, Iván Fernández-Val and Blaise Melly , The R Journal (2017) 9:1, pages 370-384.

Abstract The Counterfactual package implements the estimation and inference methods of Cher nozhukov et al. (2013) for counterfactual analysis. 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. This paper serves as an introduction to the package and displays basic functionality of the commands contained within.

Received: 2016-09-15; online 2017-06-08
CRAN packages: Counterfactual, quantreg, survival
CRAN Task Views implied by cited CRAN packages: Econometrics, SocialSciences, Survival, ClinicalTrials, Environmetrics, Optimization, ReproducibleResearch, Robust

CC BY 4.0
This article is licensed under a Creative Commons Attribution 4.0 International license.

  author = {Mingli Chen and Victor Chernozhukov and Iván Fernández-Val
          and Blaise Melly},
  title = {{Counterfactual: An R Package for Counterfactual Analysis}},
  year = {2017},
  journal = {{The R Journal}},
  doi = {10.32614/RJ-2017-033},
  url = {},
  pages = {370--384},
  volume = {9},
  number = {1}