IDEAS home Printed from https://ideas.repec.org/p/boc/scon21/1.html

dstat: A new command for the analysis of distributions

Author

Listed:
  • Ben Jann

    (University of Bern)

Abstract

In this talk, I will present a new Stata command that unites a variety of methods to describe (univariate) statistical distributions. Covered are density estimation, histograms, cumulative distribution functions, probability distributions, quantile functions, Lorenz curves, percentile shares, and a large collection of summary statistics, such as classical and robust measures of location, scale, skewness, and kurtosis, as well as inequality, concentration, and poverty measures. Particular features of the command are that it provides consistent standard errors supporting complex sample designs for all covered statistics and that the simultaneous analysis of multiple statistics across multiple variables and subpopulations is possible. Furthermore, the command supports covariate balancing based on reweighting techniques (inverse probability weighting and entropy balancing), including appropriate correction of standard errors. Standard-error estimation is implemented in terms of influence functions, which can be stored for further analysis, for example, in RIF regressions or counterfactual decompositions.

Suggested Citation

  • Ben Jann, 2021. "dstat: A new command for the analysis of distributions," 2021 Stata Conference 1, Stata Users Group.
  • Handle: RePEc:boc:scon21:1
    as

    Download full text from publisher

    File URL: http://fmwww.bc.edu/repec/scon2021/US21_Jann.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Ben Jann, 2014. "A new command for plotting regression coefficients and other estimates," German Stata Users' Group Meetings 2014 09, Stata Users Group.
    2. Ben Jann, 2020. "Influence functions continued. A framework for estimating standard errors in reweighting, matching, and regression adjustment," University of Bern Social Sciences Working Papers 35, University of Bern, Department of Social Sciences, revised 31 Aug 2020.
    3. Ben Jann, 2021. "Entropy balancing as an estimation command," University of Bern Social Sciences Working Papers 39, University of Bern, Department of Social Sciences, revised 16 Aug 2021.
    4. Sergio Firpo & Nicole M. Fortin & Thomas Lemieux, 2009. "Unconditional Quantile Regressions," Econometrica, Econometric Society, vol. 77(3), pages 953-973, May.
    5. Ben Jann, 2014. "Plotting regression coefficients and other estimates," Stata Journal, StataCorp LLC, vol. 14(4), pages 708-737, December.
    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. Zsuzsa Lábiscsák-Erdélyi & Ilona Veres-Balajti & Annamária Somhegyi & Karolina Kósa, 2022. "Self-Esteem Is Independent Factor and Moderator of School-Related Psychosocial Determinants of Life Satisfaction in Adolescents," IJERPH, MDPI, vol. 19(9), pages 1-14, May.
    2. repec:osf:socarx:fghcd_v1 is not listed on IDEAS
    3. Joseph Coll, 2022. "Waiting to vote safely: How Covid‐19 safety measures shaped in‐person voter wait times during the 2020 election," Social Science Quarterly, Southwestern Social Science Association, vol. 103(2), pages 380-398, March.
    4. Adongo, Jonathan O., 2017. "Legal jurisdiction, director liability law, and venture capitalists’ equity stakes in Africa," Research in International Business and Finance, Elsevier, vol. 40(C), pages 78-93.
    5. A. Lee Hannah & Danielle Christine Rhubart, 2020. "Teacher perceptions of state standards and climate change pedagogy: opportunities and barriers for implementing consensus-informed instruction on climate change," Climatic Change, Springer, vol. 158(3), pages 377-392, February.
    6. Graml, Regine & Hagen, Tobias & Ziegler, Yvonne & Khachatryan, Kristine & Herman, Ricky Astrida, 2020. "Lesbische Frauen in der Arbeitswelt: The L-Word in Business," Working Paper Series 15, Frankfurt University of Applied Sciences, Faculty of Business and Law.
    7. Swagata Bhattacharjee, 2019. "Delegation Using Forward Induction," Working Papers 1026, Ashoka University, Department of Economics.
    8. Christof Brandtner & Luis M. A. Bettencourt & Marc G. Berman & Andrew J. Stier, 2021. "Creatures of the state? Metropolitan counties compensated for state inaction in initial U.S. response to COVID-19 pandemic," Post-Print hal-04325571, HAL.
    9. David Roodman, 2022. "Schooling and Labor Market Consequences of School Construction in Indonesia: Comment," Papers 2207.09036, arXiv.org, revised Oct 2025.
    10. Neugebauer, Martin & Daniel, Annabell, 2021. "Higher Education Non-Completion, Employers, and Labor Market Integration: Experimental Evidence," SocArXiv evm74, Center for Open Science.
    11. Maximilian Weber & Birgit Becker, 2019. "Browsing the Web for School: Social Inequality in Adolescents’ School-Related Use of the Internet," SAGE Open, , vol. 9(2), pages 21582440198, June.
    12. Nguyen, Hieu, 2019. "How does alcohol access affect transitional adults’ healthy dietary behaviors?," Economics & Human Biology, Elsevier, vol. 35(C), pages 82-95.
    13. József Tóth & Giuseppina Rizzo, 2020. "Search Strategies in Innovation Networks: The Case of the Hungarian Food Industry," Sustainability, MDPI, vol. 12(5), pages 1-18, February.
    14. Leandro Iván Canzio & Felix Bühlmann & Jonas Masdonati, 2023. "Job satisfaction across Europe: An analysis of the heterogeneous temporary workforce in 27 countries," Economic and Industrial Democracy, Department of Economic History, Uppsala University, Sweden, vol. 44(3), pages 728-754, August.
    15. Asha Venugopalan, 2020. "The Effect of Affect: Friendship, Education and Prejudice in India," Studies in Indian Politics, , vol. 8(2), pages 152-169, December.
    16. Frenzel Baudisch, Coletta & Dresselhaus, Carolin, 2019. "Impact of the German Real Estate Transfer Tax on the Commercial Real Estate Market," VfS Annual Conference 2019 (Leipzig): 30 Years after the Fall of the Berlin Wall - Democracy and Market Economy 203494, Verein für Socialpolitik / German Economic Association.
    17. Dimitris Georgarakos & Geoff Kenny & Justus Meyer & Maarten van Rooij, 2025. "How do rising temperatures affect inflation expectations?," Working Papers 843, DNB.
    18. Alessandro V. M. Oliveira, 2024. "The seasonality of air ticket prices before and after the pandemic," Papers 2402.13789, arXiv.org.
    19. Fareed, Fozan & Viotto, Jordana, 2025. "Crowdfunding platforms and financial inclusion: Fulfilled promise or disillusion?," Finance Research Letters, Elsevier, vol. 73(C).
    20. Rambotti, Simone, 2020. "Is there a relationship between welfare-state policies and suicide rates? Evidence from the U.S. states, 2000–2015," Social Science & Medicine, Elsevier, vol. 246(C).
    21. Lichteblau, Josephine & Giebler, Heiko & Wagner, Aiko, 2020. "Do parties perceive their voter potentials correctly? Reconsidering the spatial logic of electoral competition," EconStor Open Access Articles and Book Chapters, ZBW - Leibniz Information Centre for Economics, vol. 65, pages 1-1.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    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:boc:scon21:1. 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 (email available below). General contact details of provider: https://edirc.repec.org/data/stataea.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.