DIDPARALLEL: Stata module to test parallel trends assumption for difference-in-differences models
Guanpeng Yan () and
Qiang Chen
Additional contact information
Guanpeng Yan: Shandong University of Finance and Economics
Qiang Chen: Shandong University
Statistical Software Components from Boston College Department of Economics
Abstract:
didparallel provides an easy implementation of event study for difference-in-differences (DID) models, where policy adoption may be synchronized or staggered. It only takes three simple steps: (1) estimate the DID model; (2) store the result; and (3) run didparallel by specifying the stored result and the treatment variable.
Language: Stata
Requires: Stata version 16
Keywords: parallel trends; difference in differences; DiD (search for similar items in EconPapers)
Date: 2026-06-09
Note: This module should be installed from within Stata by typing "ssc install didparallel". The module is made available under terms of the MIT license (https://opensource.org/licenses/MIT).
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/d/didparallel.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/d/didparallel.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/l/ldidparallel.mlib object code (application/x-stata)
http://fmwww.bc.edu/repec/bocode/b/bacon_example.dta
http://fmwww.bc.edu/repec/bocode/c/cao_chen.dta
http://fmwww.bc.edu/repec/bocode/m/mpdta.dta
http://fmwww.bc.edu/repec/bocode/e/example_didparallel.do sample help file (text/plain)
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:s459733
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 ().