Downloads
CWP641717.pdf
PDF | 276.81 KB
The R package Counterfactual implements the estimation and inference methods of Chernozhukov 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 vignette serves as an introduction to the package and displays basic functionality of the commands contained within.
Authors
Working Paper details
- DOI
- 10.1920/wp.cem.2017.6417
- Publisher
- The IFS
Suggested citation
Chen, M et al. (2017). Counterfactual analysis in R: a vignette. London: The IFS. Available at: https://ifs.org.uk/publications/counterfactual-analysis-r-vignette (accessed: 20 April 2024).
More from IFS
Understand this issue
Gender norms, violence and adolescent girls’ trajectories: Evidence from India
24 October 2022
Raising revenue from closing inheritance tax loopholes
18 April 2024
Sure Start achieved its aims, then we threw it away
15 April 2024
Policy analysis
IFS Deputy Director Carl Emmerson appointed to the UK Statistics Authority Methodological Assurance Review Panel
14 April 2023
ABC of SV: Limited Information Likelihood Inference in Stochastic Volatility Jump-Diffusion Models
We develop novel methods for estimation and filtering of continuous-time models with stochastic volatility and jumps using so-called Approximate Bayesian Compu- tation which build likelihoods based on limited information.
12 August 2014
Is there really an NHS productivity crisis?
17 November 2023
Academic research
Understanding Society: minimising selection biases in data collection using mobile apps
2 February 2024
Sample composition and representativeness on Understanding Society
2 February 2024
Robust analysis of short panels
8 January 2024