IDEAS home Printed from https://ideas.repec.org/p/azt/cemmap/64-17.html
   My bibliography  Save this paper

Counterfactual analysis in R: a vignette

Author

Listed:
  • Mingli Chen
  • Victor Chernozhukov
  • Ivan Fernandez-Val
  • Blaise Melly

Abstract

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.

Suggested Citation

  • Mingli Chen & Victor Chernozhukov & Ivan Fernandez-Val & Blaise Melly, 2017. "Counterfactual analysis in R: a vignette," CeMMAP working papers 64/17, Institute for Fiscal Studies.
  • Handle: RePEc:azt:cemmap:64/17
    DOI: 10.1920/wp.cem.2017.6417
    as

    Download full text from publisher

    File URL: https://www.cemmap.ac.uk/wp-content/uploads/2020/08/CWP6417.pdf
    Download Restriction: no

    File URL: https://libkey.io/10.1920/wp.cem.2017.6417?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Oaxaca, Ronald, 1973. "Male-Female Wage Differentials in Urban Labor Markets," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 14(3), pages 693-709, October.
    2. Alan S. Blinder, 1973. "Wage Discrimination: Reduced Form and Structural Estimates," Journal of Human Resources, University of Wisconsin Press, vol. 8(4), pages 436-455.
    3. Koenker, Roger W & Bassett, Gilbert, Jr, 1978. "Regression Quantiles," Econometrica, Econometric Society, vol. 46(1), pages 33-50, January.
    4. Hong H. & Chernozhukov V., 2002. "Three-Step Censored Quantile Regression and Extramarital Affairs," Journal of the American Statistical Association, American Statistical Association, vol. 97, pages 872-882, September.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Victor Chernozhukov & Iván Fernández‐Val & Blaise Melly, 2013. "Inference on Counterfactual Distributions," Econometrica, Econometric Society, vol. 81(6), pages 2205-2268, November.
    2. Melly, Blaise, 2005. "Decomposition of differences in distribution using quantile regression," Labour Economics, Elsevier, vol. 12(4), pages 577-590, August.
    3. Huong Thu Le & Ha Trong Nguyen, 2018. "The evolution of the gender test score gap through seventh grade: new insights from Australia using unconditional quantile regression and decomposition," IZA Journal of Labor Economics, Springer;Forschungsinstitut zur Zukunft der Arbeit GmbH (IZA), vol. 7(1), pages 1-42, December.
    4. Sánchez-Jabba, Andrés Mauricio, 2014. "Etnia y rendimiento académico en Colombia," Chapters, in: Sánchez Jabba, Andrés & Otero Cortés, Andrea (ed.), Educación y desarrollo regional en Colombia, chapter 2, pages 59-100, Banco de la Republica de Colombia.
    5. Jean-Marc Fournier & Isabell Koske, 2012. "The determinants of earnings inequality: evidence from quantile regressions," OECD Journal: Economic Studies, OECD Publishing, vol. 2012(1), pages 7-36.
    6. Ramos, Raul & Sanromá, Esteban & Simón, Hipólito, 2022. "Collective bargaining levels, employment and wage inequality in Spain," Journal of Policy Modeling, Elsevier, vol. 44(2), pages 375-395.
    7. João Pereira & Aurora Galego, 2014. "Inter-Regional Wage Differentials in Portugal: An Analysis Across the Wage Distribution," Regional Studies, Taylor & Francis Journals, vol. 48(9), pages 1529-1546, September.
    8. Collischon Matthias, 2019. "Is There a Glass Ceiling over Germany?," German Economic Review, De Gruyter, vol. 20(4), pages 329-359, December.
    9. Sonja C. Kassenboehmer & Mathias G. Sinning, 2014. "Distributional Changes in the Gender Wage Gap," ILR Review, Cornell University, ILR School, vol. 67(2), pages 335-361, April.
    10. Deshpande, Ashwini & Goel, Deepti & Khanna, Shantanu, 2018. "Bad Karma or Discrimination? Male–Female Wage Gaps Among Salaried Workers in India," World Development, Elsevier, vol. 102(C), pages 331-344.
    11. Domenico Depalo & Raffaela Giordano & Evangelia Papapetrou, 2015. "Public–private wage differentials in euro-area countries: evidence from quantile decomposition analysis," Empirical Economics, Springer, vol. 49(3), pages 985-1015, November.
    12. Dohmen, Thomas & Lehmann, Hartmut & Zaiceva, Anzelika, 2008. "The gender earnings gap inside a Russian firm : first evidence from personnel data - 1997 to 2002," Zeitschrift für ArbeitsmarktForschung - Journal for Labour Market Research, Institut für Arbeitsmarkt- und Berufsforschung (IAB), Nürnberg [Institute for Employment Research, Nuremberg, Germany], vol. 41(2/3), pages 157-179.
    13. Rahman, Mustafizur & Al-Hasan, Md., 2018. "Male-Female wage gap and informal employment in Bangladesh: A quantile regression approach," MPRA Paper 90131, University Library of Munich, Germany.
    14. Valentine Fays & Benoît Mahy & François Rycx, 2023. "Wage differences according to workers' origin: The role of working more upstream in GVCs," LABOUR, CEIS, vol. 37(2), pages 319-342, June.
    15. Kevin F. Hallock & Xin Jin & Michael Waldman, 2022. "The total compensation gap, wage gap and benefit gap between workers with and without a disability," British Journal of Industrial Relations, London School of Economics, vol. 60(1), pages 3-31, March.
    16. Mustafizur Rahman & Md. Al-Hasan, 2018. "Returns to Schooling in Bangladesh Revisited: An Instrumental Variable Quantile Regression Approach," Bangladesh Development Studies, Bangladesh Institute of Development Studies (BIDS), vol. 41(02), pages 27-42.
    17. Vu, Tien Manh & Yamada, Hiroyuki, 2020. "Convergence of public and private enterprise wages in a transition economy: Evidence from a distributional decomposition in Vietnam, 2002–2014," Economic Systems, Elsevier, vol. 44(1).
    18. Luis Armando Galvis, 2010. "Diferenciales salariales por género y región en Colombia: Una aproximación con regresión por cuantiles," Documentos de Trabajo Sobre Economía Regional y Urbana 7428, Banco de la República, Economía Regional.
    19. Shantanu Khanna & Deepti Goel & René Morissette, 2016. "Decomposition analysis of earnings inequality in rural India: 2004–2012," IZA Journal of Labor & Development, Springer;Forschungsinstitut zur Zukunft der Arbeit GmbH (IZA), vol. 5(1), pages 1-26, December.
    20. Bedaso, Fenet Jima, 2024. "Occupational Segregation and the Gender Wage Gap: Evidence from Ethiopia," GLO Discussion Paper Series 1393, Global Labor Organization (GLO).

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:azt:cemmap:64/17. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Dermot Watson (email available below). General contact details of provider: https://edirc.repec.org/data/ifsssuk.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.