<?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: Interrupted time series analysis after controlling for another variable (rate) in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Interrupted-time-series-analysis-after-controlling-for-another/m-p/877714#M4665</link>
    <description>&lt;P&gt;I have moved your post to the "SAS Forecasting and Econometrics"-board !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should start doing this :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Search the Communities (&lt;A href="https://communities.sas.com/" target="_blank" rel="noopener"&gt;https://communities.sas.com/&lt;/A&gt;) for&lt;BR /&gt;"interrupted time series" analysis&lt;/LI&gt;
&lt;LI&gt;Search &lt;A href="https://www.lexjansen.com/search/searchresults.php?q=%22interrupted%20time%20series%22%20analysis" target="_blank" rel="noopener"&gt;https://www.lexjansen.com/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.lexjansen.com/search/searchresults.php?q=%22interrupted%20time%20series%22%20analysis" target="_blank" rel="noopener"&gt;https://www.lexjansen.com/search/searchresults.php?q=%22interrupted%20time%20series%22%20analysis&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Search blogs.sas.com (&lt;A href="https://blogs.sas.com/" target="_blank" rel="noopener"&gt;https://blogs.sas.com/&lt;/A&gt;)&lt;BR /&gt;and bump into this (for example):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Segmented regression models in SAS&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; By Rick Wicklin on The DO Loop December 14, 2020 &lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/iml/2020/12/14/segmented-regression-sas.html" target="_blank" rel="noopener"&gt;https://blogs.sas.com/content/iml/2020/12/14/segmented-regression-sas.html&lt;/A&gt;&lt;BR /&gt;Segmented regression models: This post shows how to create a segmented regression model in SAS. The breakpoints in the model are estimated from the data.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Koen&lt;/P&gt;
&lt;DIV id="ConnectiveDocSignExtentionInstalled" data-extension-version="1.0.4"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Fri, 26 May 2023 15:24:49 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2023-05-26T15:24:49Z</dc:date>
    <item>
      <title>Interrupted time series analysis after controlling for another variable (rate)</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Interrupted-time-series-analysis-after-controlling-for-another/m-p/877575#M4664</link>
      <description>&lt;P&gt;Hi SAS experts,&lt;/P&gt;&lt;P&gt;I&amp;nbsp;have a dataset with monthly hospital onset infection rates for 38 months with intervention variable and also community onset infection rates. How do I perform an interrupted time series for hospital-onset infection rates over time adjusting for intervention and also community onset infection rates? Any help with this would be greatly appreciated. I have attached my excel data sheet and the SAS code. I came up with a couple of SAS codes for this, but not sure if I am correct. The first one is for simple model without adjusting for Community_rate. But the main goal is to evaluate the trend in the HOV_RAte over time after adjusting/ controlling for Community_Rate.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc autoreg data=TimeSeries;

model HOV_Rate = Baseline_Trend Intervention Trend_Change /

method=ml nlag=5 backstep dwprob;

run;


* Need to adjust for community_rate;
proc autoreg data=TimeSeries;

model HOV_Rate = Community_Rate Baseline_Trend Intervention Trend_Change /

method=ml nlag=5 backstep dwprob;

run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;SM&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 18:37:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Interrupted-time-series-analysis-after-controlling-for-another/m-p/877575#M4664</guid>
      <dc:creator>sms1891</dc:creator>
      <dc:date>2023-05-25T18:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupted time series analysis after controlling for another variable (rate)</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Interrupted-time-series-analysis-after-controlling-for-another/m-p/877714#M4665</link>
      <description>&lt;P&gt;I have moved your post to the "SAS Forecasting and Econometrics"-board !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should start doing this :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Search the Communities (&lt;A href="https://communities.sas.com/" target="_blank" rel="noopener"&gt;https://communities.sas.com/&lt;/A&gt;) for&lt;BR /&gt;"interrupted time series" analysis&lt;/LI&gt;
&lt;LI&gt;Search &lt;A href="https://www.lexjansen.com/search/searchresults.php?q=%22interrupted%20time%20series%22%20analysis" target="_blank" rel="noopener"&gt;https://www.lexjansen.com/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.lexjansen.com/search/searchresults.php?q=%22interrupted%20time%20series%22%20analysis" target="_blank" rel="noopener"&gt;https://www.lexjansen.com/search/searchresults.php?q=%22interrupted%20time%20series%22%20analysis&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Search blogs.sas.com (&lt;A href="https://blogs.sas.com/" target="_blank" rel="noopener"&gt;https://blogs.sas.com/&lt;/A&gt;)&lt;BR /&gt;and bump into this (for example):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Segmented regression models in SAS&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; By Rick Wicklin on The DO Loop December 14, 2020 &lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/iml/2020/12/14/segmented-regression-sas.html" target="_blank" rel="noopener"&gt;https://blogs.sas.com/content/iml/2020/12/14/segmented-regression-sas.html&lt;/A&gt;&lt;BR /&gt;Segmented regression models: This post shows how to create a segmented regression model in SAS. The breakpoints in the model are estimated from the data.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Koen&lt;/P&gt;
&lt;DIV id="ConnectiveDocSignExtentionInstalled" data-extension-version="1.0.4"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 26 May 2023 15:24:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Interrupted-time-series-analysis-after-controlling-for-another/m-p/877714#M4665</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-05-26T15:24:49Z</dc:date>
    </item>
  </channel>
</rss>

