EconPapers    
Economics at your fingertips  
 

diff: Simplifying the estimation of difference-in-differences treatment effects

Juan Villa

Stata Journal, 2016, vol. 16, issue 1, 52-71

Abstract: In this article, I present the features of the user-written command diff, which estimates difference-in-differences (DID) treatment effects. diff simplifies the DID analysis by allowing the conventional DID setting to be combined with other nonexperimental evaluation methods. The command is equipped with an attractive set of options: the single DID with covariates, the kernel propensity-score matching DID, and the quantile DID. Specific options are included to obtain DID estimation on a repeated cross-section setting and to test the general balancing properties of the model. I illustrate the features of diff using a sample of the dataset from the pioneering implementation of DID by Card and Krueger (1994, American Economic Review 84: 772–793). Copyright 2016 by StataCorp LP.

Keywords: iff; difference-in-differences; causal inference; kernel propensity score; quantile treatment effects; nonexperimental methods; DID; QDID (search for similar items in EconPapers)
Date: 2016
Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj16-1/st0424/
References: Add references at CitEc
Citations: View citations in EconPapers (82)

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

Related works:
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:16:y:2016:i:1:p:52-71

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

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-20
Handle: RePEc:tsj:stataj:v:16:y:2016:i:1:p:52-71