IDEAS home Printed from https://ideas.repec.org/p/boc/mexi23/17.html
   My bibliography  Save this paper

Heterogeneous difference-in-differences estimation

Author

Listed:
  • Eduardo Garcia Echeverri

    (StataCorp)

Abstract

Treatment effects may be different for groups that are treated in different time periods or may change over time after a group has been treated. Think about, for example, the effect of job training programs on earnings or the effectiveness of COVID vaccines. To capture this heterogeneity, Stata 18 introduces two commands that estimate treatment effects specific to each cohort and time period. For repeated cross-sectional data, we have hdidregress. For panel data, we have xthdidregress. Both commands let you aggregate treatment effects by cohort and exposure to treatment and visualize these effects graphically. Tests of pretreatment parallel trends are also available. This presentation will illustrate how both commands work and briefly discuss the theory underlying them.

Suggested Citation

  • Eduardo Garcia Echeverri, "undated". "Heterogeneous difference-in-differences estimation," Mexican Stata Conference 2023 17, Stata Users Group.
  • Handle: RePEc:boc:mexi23:17
    as

    Download full text from publisher

    File URL: http://repec.org/mex2023/Mexico23_Garcia_Echeverri.pdf
    File Function: presentation materials
    Download Restriction: no
    ---><---

    More about this item

    Statistics

    Access and download statistics

    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:mexi23:17. 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/stataea.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.