IDEAS home Printed from https://ideas.repec.org/c/boc/bocode/s458676.html
 

BACONDECOMP: Stata module to perform a Bacon decomposition of difference-in-differences estimation

Author

Listed:
  • Andrew Goodman-Bacon
  • Thomas Goldring
  • Austin Nichols

Programming Language

Stata

Abstract

bacondecomp shows a Bacon decomposition of difference-in-differences estimation with variation in treatment timing. The two-way fixed effects DD model is a weighted average of all possible two-group/two period DD estimators. The command generates a scatterplot of 2x2 difference-in-difference estimates and their associated weights. The data must be xtset and the variable list must include an outcome as the first item, and a treatment that can only turn from zero to one during the time period examined as its second item.

Suggested Citation

  • Andrew Goodman-Bacon & Thomas Goldring & Austin Nichols, 2019. "BACONDECOMP: Stata module to perform a Bacon decomposition of difference-in-differences estimation," Statistical Software Components S458676, Boston College Department of Economics, revised 21 Sep 2022.
  • Handle: RePEc:boc:bocode:s458676
    Note: This module should be installed from within Stata by typing "ssc install bacondecomp". 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.
    as

    Download full text from publisher

    File URL: http://fmwww.bc.edu/repec/bocode/b/bacon.sthlp
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/b/baconde.ado
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/b/bac.sthlp
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/b/bacondecomp.sthlp
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/b/ba.sthlp
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/b/b.sthlp
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/b/baconde.sthlp
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/b/bacondec.ado
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/b/bacond.sthlp
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/b/bacondecom.ado
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/b/bacondecomp.ado
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/b/bacondecom.sthlp
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/b/bacon_example.dta
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/b/ba.ado
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/b/baco.ado
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/b/bacon.ado
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/b/baco.sthlp
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/b/bac.ado
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/b/b.ado
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/b/bacondeco.sthlp
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/b/bacondec.sthlp
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/b/bacondeco.ado
    Download Restriction: no
    ---><---

    Citations

    Blog mentions

    As found by EconAcademics.org, the blog aggregator for Economics research:
    1. REED: EiR* – More on Heterogeneity in Two-Way Fixed Effects Models
      by replicationnetwork in The Replication Network on 2019-10-18 11:37:42

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:bocode:s458676. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F Baum (email available below). General contact details of provider: https://edirc.repec.org/data/debocus.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.