EconPapers    
Economics at your fingertips  
 

distcomp: Comparing distributions

David Kaplan

Stata Journal, 2019, vol. 19, issue 4, 832-848

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

Keywords: distcomp; familywise error rate; ksmirnov; regression discontinuity; treatment effects; comparing distributions (search for similar items in EconPapers)
Date: 2019
Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj19-4/st0579/
References: Add references at CitEc
Citations: View citations in EconPapers (11)

Downloads: (external link)
http://www.stata-journal.com/article.html?article=st0579 link to article purchase

Related works:
Working Paper: Distcomp: Comparing distributions (2021) Downloads
Working Paper: distcomp: Comparing distributions (2021) Downloads
Working Paper: distcomp: Comparing distributions (2019) Downloads
Working Paper: distcomp: Comparing distributions (2018) Downloads
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:tsj:stataj:v:19:y:2019:i:4:p:832-848

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

DOI: 10.1177/1536867X19893626

Access Statistics for this article

Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins

More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().

 
Page updated 2025-03-22
Handle: RePEc:tsj:stataj:v:19:y:2019:i:4:p:832-848