EconPapers    
Economics at your fingertips  
 

DIDPLACEBO: Stata module for in-time, in-space and mixed placebo tests for estimating difference-in-differences (DID) models

Qiang Chen, Ji Qi () and Guanpeng Yan ()
Additional contact information
Qiang Chen: Shandong University
Ji Qi: Shandong University
Guanpeng Yan: Shandong University of Finance and Economics

Statistical Software Components from Boston College Department of Economics

Abstract: didplacebo implements placebo tests for estimating difference-in-differences (DID) models, where policy adoption may be synchronized or staggered. In particular, didplacebo performs in-time placebo tests using fake treatment times, in-space placebo tests using fake treatment units (randomly selected), and mixed placebo tests using both fake treatment units and times (both randomly selected). Moreover, didplacebo produces convenient graphs for visualization.

Language: Stata
Requires: Stata version 16
Keywords: difference in differences; DiD; placebo; graphics (search for similar items in EconPapers)
Date: 2023-07-27, Revised 2025-01-16
Note: This module should be installed from within Stata by typing "ssc install didplacebo". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/d/didplacebo.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/d/didplacebo.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/t/tofirsttreat.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/t/tofirsttreat.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/x/xtrantreat.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/x/xtrantreat.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/x/xtshuffle.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/x/xtshuffle.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/b/bbb.dta supplementary data file (application/x-stata)
http://fmwww.bc.edu/repec/bocode/c/caoFile-URL:htt ... ec/bocode/_/chen.dta supplementary data file (application/x-stata)
Our link check indicates that this URL is bad, the error code is: 404 Not Found

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:boc:bocode:s459225

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-30
Handle: RePEc:boc:bocode:s459225