CSDID: Stata module for the estimation of Difference-in-Difference models with multiple time periods
Fernando Rios-Avila (friosavi@levy.org),
Pedro Sant'Anna (pedro.santanna@emory.edu) and
Brantly Callaway
Statistical Software Components from Boston College Department of Economics
Abstract:
CSDID implements Callaway and Sant'Anna (2020) estimator for DID models with multiple time periods. The main idea of CSDID is that consistent estimations for ATT's can be obtained by ignoring 2x2 DID design that compare late treated units with earlier treated units. In the presence of heterogeneous and dynamic effects, this type of comparison can severely bias the estimation of Treatment effects. CSDID at its core uses DRDID for the estimation of all 2x2 DID designs to estimate all relevant ATTGT's (Average treatment effects of the treated for group G at time T). Post estimation commands can be used to obtain important aggregations. CSDID can be used with panel data and repeated cross-section.
Language: Stata
Requires: Stata version 14 and drdid from SSC (q.v.)
Keywords: difference in differences; DID; event studies; drdid (search for similar items in EconPapers)
Date: 2021-08-04, Revised 2023-02-25
Note: This module should be installed from within Stata by typing "ssc install csdid". 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: View citations in EconPapers (1)
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/c/csdid.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/csdid_estat.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/csdid_rif.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/csdid_stats.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/csdid_table.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/csdid_plot.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/_/_gcsgvar.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/t/tsvmat.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/csdid.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/c/csdid_postestimation.sthlp 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:s458976
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 (baum@bc.edu).