<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Staggered difference-in-differences in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Staggered-difference-in-differences/m-p/887089#M43901</link>
    <description>&lt;P&gt;Perhaps you could use the EFFECT statement to fit a spline to the start dates to deal with the suspected change in the treatment effect, and use&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;'s suggestion of fitting elapsed days as the independent variable. You would probably need an interaction term. This would fit a response surface for your DiD data. Does that make any sense?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
    <pubDate>Mon, 31 Jul 2023 13:11:29 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2023-07-31T13:11:29Z</dc:date>
    <item>
      <title>Staggered difference-in-differences</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Staggered-difference-in-differences/m-p/887084#M43898</link>
      <description>&lt;P&gt;I would like to do a difference-in-differences analysis to compare units who received a treatment vs units who did not receive treatment. I found a good article that described how to do difference-in-differences in SAS; article can be found &lt;A title="Difference-in-Differences in SAS" href="https://www.lexjansen.com/wuss/2016/49_Final_Paper_PDF.pdf" target="_self"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The problem I have is that each unit received treatment at different dates; therefore, I have a staggered treatment design. The article describes how to do difference-in-differences if all units receive treatment at the same time, but I can't find how to run such an analysis when the treatment is staggered. I want to point out that creating the model in SAS isn't much of an issue for me. What I need assistance in is how to incorporate some of the newer methods that are described in the following article:&amp;nbsp;&lt;A href="https://cran.r-project.org/web/packages/did/vignettes/did-basics.html" target="_blank"&gt;https://cran.r-project.org/web/packages/did/vignettes/did-basics.html&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TLDR: Is there a guideline on how to run staggered DiD in SAS that uses the newer methods that were proposed by Callaway and Sant'Anna?&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 12:20:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Staggered-difference-in-differences/m-p/887084#M43898</guid>
      <dc:creator>Waterdesk</dc:creator>
      <dc:date>2023-07-31T12:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Staggered difference-in-differences</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Staggered-difference-in-differences/m-p/887085#M43899</link>
      <description>&lt;P&gt;Can't you just set the start date for each unit to zero, and then work with the number of elapsed days?&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 12:41:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Staggered-difference-in-differences/m-p/887085#M43899</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-07-31T12:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Staggered difference-in-differences</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Staggered-difference-in-differences/m-p/887088#M43900</link>
      <description>Yes, I can do that but I believe that the later treated units have a different treatment effect than the earlier treated units; there are heterogenous treatment effects.</description>
      <pubDate>Mon, 31 Jul 2023 12:52:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Staggered-difference-in-differences/m-p/887088#M43900</guid>
      <dc:creator>Waterdesk</dc:creator>
      <dc:date>2023-07-31T12:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Staggered difference-in-differences</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Staggered-difference-in-differences/m-p/887089#M43901</link>
      <description>&lt;P&gt;Perhaps you could use the EFFECT statement to fit a spline to the start dates to deal with the suspected change in the treatment effect, and use&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;'s suggestion of fitting elapsed days as the independent variable. You would probably need an interaction term. This would fit a response surface for your DiD data. Does that make any sense?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 13:11:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Staggered-difference-in-differences/m-p/887089#M43901</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2023-07-31T13:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Staggered difference-in-differences</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Staggered-difference-in-differences/m-p/887091#M43902</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15363"&gt;@SteveDenham&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Perhaps you could use the EFFECT statement to fit a spline to the start dates to deal with the suspected change in the treatment effect, and use&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;'s suggestion of fitting elapsed days as the independent variable. You would probably need an interaction term. This would fit a response surface for your DiD data. Does that make any sense?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15363"&gt;@SteveDenham&lt;/a&gt;&amp;nbsp;I was thinking a similar thing, somehow add the effect of the treatment by actual calendar date into the model somehow. But you beat me to it!&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 13:13:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Staggered-difference-in-differences/m-p/887091#M43902</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-07-31T13:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Staggered difference-in-differences</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Staggered-difference-in-differences/m-p/887105#M43905</link>
      <description>&lt;P&gt;It doesn't really matter that the treatment isn't applied at the same time for each subject. The model just needs an indicator of pre- vs. post-treatment, whenever it actually occurs. See the repeated measures sections of &lt;A href="http://support.sas.com/kb/61830" target="_self"&gt;this note&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 14:15:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Staggered-difference-in-differences/m-p/887105#M43905</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2023-07-31T14:15:07Z</dc:date>
    </item>
  </channel>
</rss>

