IDEAS home Printed from https://ideas.repec.org/a/tsj/stataj/v19y2019i4p832-848.html
   My bibliography  Save this article

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 LP, 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:

    References listed on IDEAS

    as
    1. Atkinson, A B, 1987. "On the Measurement of Poverty," Econometrica, Econometric Society, vol. 55(4), pages 749-764, July.
    2. Goldman, Matt & Kaplan, David M., 2018. "Comparing distributions by multiple testing across quantiles or CDF values," Journal of Econometrics, Elsevier, vol. 206(1), pages 143-166.
    3. Goldman, Matt & Kaplan, David M., 2018. "Comparing distributions by multiple testing across quantiles or CDF values," Journal of Econometrics, Elsevier, vol. 206(1), pages 143-166.
    4. Uri Gneezy & John A List, 2006. "Putting Behavioral Economics to Work: Testing for Gift Exchange in Labor Markets Using Field Experiments," Econometrica, Econometric Society, vol. 74(5), pages 1365-1384, September.
    Full references (including those not matched with items on IDEAS)

    Citations

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


    Cited by:

    1. Millemaci, Emanuele & Monteforte, Fabio & Temple, Jonathan R. W., 2023. "Have autocrats governed for the long term?," SocArXiv w8khb, Center for Open Science.
    2. 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.
    3. Ayllón, Sara, 2022. "Online teaching and gender bias," Economics of Education Review, Elsevier, vol. 89(C).
    4. David M. Kaplan, 2020. "Inference on Consensus Ranking of Distributions," Working Papers 2010, Department of Economics, University of Missouri.
    5. 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.
    6. 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.
    7. 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.

    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. Matt Goldman & David M. Kaplan, 2018. "Non‐parametric inference on (conditional) quantile differences and interquantile ranges, using L‐statistics," Econometrics Journal, Royal Economic Society, vol. 21(2), pages 136-169, June.
    2. Chung, EunYi & Olivares, Mauricio, 2021. "Permutation test for heterogeneous treatment effects with a nuisance parameter," Journal of Econometrics, Elsevier, vol. 225(2), pages 148-174.
    3. David M. Kaplan & Matt Goldman, 2015. "Nonparametric inference on conditional quantile differences and linear combinations, using L-statistics," Working Papers 1503, Department of Economics, University of Missouri.
    4. Victor Gay, 2023. "Culture: An Empirical Investigation of Beliefs, Work, and Fertility. A Verification and Reproduction of Fernández and Fogli (2009)," Post-Print hal-04194417, HAL.
    5. Goldman, Matt & Kaplan, David M., 2017. "Fractional order statistic approximation for nonparametric conditional quantile inference," Journal of Econometrics, Elsevier, vol. 196(2), pages 331-346.
    6. 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.
    7. Blemings, Benjamin T. & Bock, Margaret & Scarcioffolo, Alexandre, 2022. "Hoggin' the Road: Negative Road Externalities of Pork Slaughterhouses," 2022 Annual Meeting, July 31-August 2, Anaheim, California 322466, Agricultural and Applied Economics Association.
    8. Gay, Victor, 2023. "Culture: An Empirical Investigation of Beliefs, Work, and Fertility. A Verification and Reproduction of Fernández and Fogli (American Economic Journal: Macroeconomics, 2009)," Journal of Comments and Replications in Economics (JCRE), ZBW - Leibniz Information Centre for Economics, vol. 2(2023-2), pages 1-15.
    9. Huang, Wei & Li, Teng & Pan, Yinghao & Ren, Jinyang, 2023. "Teacher characteristics and student performance: Evidence from random teacher-student assignments in China," Journal of Economic Behavior & Organization, Elsevier, vol. 214(C), pages 747-781.
    10. Xavier Cirera & Diego A. Comin & Marcio Cruz & Kyung Min Lee, 2020. "Anatomy of Technology in the Firm," NBER Working Papers 28080, National Bureau of Economic Research, Inc.
    11. John Mullahy, 2020. "Discovering Treatment Effectiveness via Median Treatment Effects—Applications to COVID-19 Clinical Trials," NBER Working Papers 27895, National Bureau of Economic Research, Inc.
    12. Anastasios Evgenidis & Apostolos Fasianos, 2021. "Unconventional Monetary Policy and Wealth Inequalities in Great Britain," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 83(1), pages 115-175, February.
    13. David M. Kaplan & Longhao Zhuo, 2015. "Bayesian and frequentist inequality tests," Working Papers 1516, Department of Economics, University of Missouri, revised Feb 2018.
    14. David M. Kaplan, 2020. "Inference on Consensus Ranking of Distributions," Working Papers 2010, Department of Economics, University of Missouri.
    15. Klenio Barbosa & Dakshina De Silva & Liyu Yang & Hisayuki Yoshimoto, 2020. "Bond Losses and Systemic Risk," Working Papers 288072615, Lancaster University Management School, Economics Department.
    16. John Mullahy, 2021. "Discovering treatment effectiveness via median treatment effects—Applications to COVID‐19 clinical trials," Health Economics, John Wiley & Sons, Ltd., vol. 30(5), pages 1050-1069, May.
    17. Cirera,Xavier & Comin,Diego Adolfo & Vargas Da Cruz,Marcio Jose & Lee,Kyungmin, 2020. "Technology Within and Across Firms," Policy Research Working Paper Series 9476, The World Bank.
    18. Gedikli, Cigdem & Popli, Gurleen & Yilmaz, Okan, 2023. "The impact of intimate partner violence on women’s labour market outcomes," World Development, Elsevier, vol. 164(C).
    19. David M. Kaplan & Longhao Zhuo, 2016. "Frequentist size of Bayesian inequality tests," Papers 1607.00393, arXiv.org, revised Feb 2018.
    20. Millemaci, Emanuele & Monteforte, Fabio & Temple, Jonathan R. W., 2023. "Have autocrats governed for the long term?," SocArXiv w8khb, Center for Open Science.

    More about this item

    Keywords

    distcomp; familywise error rate; ksmirnov; regression discontinuity; treatment effects; comparing distributions;
    All these 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.

    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: 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.