IDEAS home Printed from https://ideas.repec.org/a/tsj/stataj/v19y2019i4p832-848.html

distcomp: Comparing distributions

Author

Listed:
  • David M. Kaplan

    (University of Missouri)

Abstract

In this article, I introduce the distcomp command, which assesses whether two distributions differ at each possible value while controlling the probability of any false positive, even in finite samples. I discuss syntax and the underlying methodology (from Goldman and Kaplan [2018, Journal of Econometrics 206: 143–166]). Multiple examples illustrate the distcomp command, including revisiting the experimental data of Gneezy and List (2006, Econometrica 74: 1365–1384) and the regression discontinuity design of Cattaneo, Frandsen, and Titiunik (2015, Journal of Causal Inference 3: 1–24).

Suggested Citation

  • David M. Kaplan, 2019. "distcomp: Comparing distributions," Stata Journal, StataCorp LLC, vol. 19(4), pages 832-848, December.
  • Handle: RePEc:tsj:stataj:v:19:y:2019:i:4:p:832-848
    DOI: 10.1177/1536867X19893626
    Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj19-4/st0579/
    as

    Download full text from publisher

    File URL: http://www.stata-journal.com/article.html?article=st0579
    File Function: link to article purchase
    Download Restriction: no

    File URL: https://libkey.io/10.1177/1536867X19893626?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:

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Barbara Boelmann, 2024. "Women's Missing Mobility and the Gender Gap in Higher Education: Evidence from Germany's University Expansion," CRC TR 224 Discussion Paper Series crctr224_2024_518, University of Bonn and University of Mannheim, Germany.
    2. Wellhausen, Rachel L, 2023. "Waste Not, Want Not: Tariffs as Environmental Protection," Institute on Global Conflict and Cooperation, Working Paper Series qt40m4179x, Institute on Global Conflict and Cooperation, University of California.
    3. Getahun, Tigabu D. & Fetene, Gebeyehu M. & Baumüller, Heike & Kubik, Zaneta, 2024. "Gender gaps in wages and nonmonetary benefits: Evidence from Ethiopia’s manufacturing sector," Discussion Papers 344126, University of Bonn, Center for Development Research (ZEF).
    4. Emanuele Millemaci & Fabio Monteforte & Jonathan R. W. Temple, 2025. "Have Autocrats Governed for the Long Term?," Kyklos, Wiley Blackwell, vol. 78(2), pages 440-465, May.
    5. Bai, John (Jianqiu) & Kerr, William & Wan, Chi & Yorulmaz, Alptug Y., 2025. "Everyone steps back? The widespread retraction of crowd-funding support for minority creators when migration fear is high," Research Policy, Elsevier, vol. 54(1).
    6. Fetene, Gebeyehu Manie & Balew, Solomon & Abro, Zewdu & Kassie, Menale & Tefera, Tadele, 2021. "Push-Pull Technology As a Climate-Smart Integrated Pest Management Strategy in Southern Ethiopia," 2021 Conference, August 17-31, 2021, Virtual 315246, International Association of Agricultural Economists.
    7. Ayllón, Sara, 2022. "Online teaching and gender bias," Economics of Education Review, Elsevier, vol. 89(C).
    8. David M. Kaplan, 2024. "Inference on Consensus Ranking of Distributions," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 42(3), pages 839-850, July.
    9. Heyman, Fredrik & Norbäck, Pehr-Johan & Persson, Lars, 2017. "Talent, Career Choice and Competition: The Gender Wage Gap at the Top," Working Paper Series 1169, Research Institute of Industrial Economics, revised 06 Mar 2023.
    10. Carlos Madeira, 2025. "How accurately do consumers report their debts in household surveys?," BIS Working Papers 1258, Bank for International Settlements.
    11. Getahun, Tigabu D. & Fetene, Gebeyehu M. & Baumüller, Heike & Kubik, Zaneta, 2024. "Exploring the relationship between job quality and firm productivity in the manufacturing sector: Panel data evidence from Ethiopia," Discussion Papers 344125, University of Bonn, Center for Development Research (ZEF).
    12. Zewdu Abro & Gebeyehu Manie Fetene & Menale Kassie & Tigist Mekonnen Melesse, 2023. "Socioeconomic burden of trypanosomiasis: Evidence from crop and livestock production in Ethiopia," Journal of Agricultural Economics, Wiley Blackwell, vol. 74(3), pages 785-799, September.
    13. S. S. Swathysree & Manisha Chakrabarty & Debopriti Bhattacharya, 2023. "Getting Real in the Real Consumption Expenditure: A Case of Rural India," Journal of Quantitative Economics, Springer;The Indian Econometric Society (TIES), vol. 21(4), pages 817-846, December.
    14. Barbara Boelmann, 2024. "Women’s Missing Mobility and the Gender Gap in Higher Education: Evidence from Germany’s University Expansion," ECONtribute Discussion Papers Series 280, University of Bonn and University of Cologne, Germany.
    15. Stefano Boscolo, 2019. "Quantifying the Redistributive Effect of the Erosion of the Italian Personal Income Tax Base: A Microsimulation Exercise," ECONOMIA PUBBLICA, FrancoAngeli Editore, vol. 2019(2), pages 39-80.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    JEL classification:

    • C87 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Econometric Software

    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:tsj:stataj:v:19:y:2019:i:4:p:832-848. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Christopher F. Baum or Lisa Gilmore (email available below). General contact details of provider: http://www.stata-journal.com/ .

    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.