Counterfactual: an R package for counterfactual analysis
MetadataShow full item record
Published and Accepted manuscript versions.
Citation (published version)Mingli Chen, Victor Chernozhukov, Iván Fernández-Val and Blaise Melly. "Counterfactual: An R Package for Counterfactual Analysis." The R Journal (2017) 9:1, pages 370-384.
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.
RightsThis article is licensed under a Creative Commons Attribution 4.0 International license.