<?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: How to conduct interrupted time series regression in SAS? in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-conduct-interrupted-time-series-regression-in-SAS/m-p/817585#M4445</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First of all, I have moved this post to the 'Forecasting and econometrics' board.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a very extensive subject about which much can be said.&lt;BR /&gt;See my next post (which I am about to write).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
    <pubDate>Sat, 11 Jun 2022 11:00:53 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2022-06-11T11:00:53Z</dc:date>
    <item>
      <title>How to conduct interrupted time series regression in SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-conduct-interrupted-time-series-regression-in-SAS/m-p/817547#M4444</link>
      <description>&lt;P&gt;Hi, I want to conduct a interrupted time series regression in SAS to see if the intervention will have impact on the change of the number outcome variables. I have bunch of other independent variables here including sex, age, education, income. When I check the SAS code online, it seems there are different codes to conduct the time series regression such as autoreg, timeseries, arima. I am not which one should I use, and how to use it. And how should I format the dataset? Should I format the data as below?&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;Time  phrase  intervention  Sex  Age Education  Outcome
  1     0           0                                                   
  2     0           0
  3     0           0
  4     1           1
  5     1           2
  6     1           3&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Could anyone help me with it? Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 21:08:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-conduct-interrupted-time-series-regression-in-SAS/m-p/817547#M4444</guid>
      <dc:creator>SAS-questioner</dc:creator>
      <dc:date>2022-06-10T21:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to conduct interrupted time series regression in SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-conduct-interrupted-time-series-regression-in-SAS/m-p/817585#M4445</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First of all, I have moved this post to the 'Forecasting and econometrics' board.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a very extensive subject about which much can be said.&lt;BR /&gt;See my next post (which I am about to write).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2022 11:00:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-conduct-interrupted-time-series-regression-in-SAS/m-p/817585#M4445</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-06-11T11:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to conduct interrupted time series regression in SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-conduct-interrupted-time-series-regression-in-SAS/m-p/817586#M4446</link>
      <description>&lt;P&gt;OK. On top of above post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you look for SAS examples, don't just look for interrupted time series regression or analysis&lt;/P&gt;
&lt;P&gt;, but also for intervention analysis !!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need a date , time , or date-time variable and that can indeed be just the observation number.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is your target variable? Is it a continuous outcome, a binary outcome, a count?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Regarding the coding of your intervention : depending on the effect you want to model, you should code the intervention as 0 and 1 (1 as long as the intervention continues) or 0 and 1, 2, 3 (increasing number as long as the intervention continues).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, you need ARIMA&lt;U&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/U&gt; methodology (dynamic regression) or state space modelling or RNN (Recurrent Neural Networks).&lt;/P&gt;
&lt;P&gt;What tooling do you have available?&lt;/P&gt;
&lt;P&gt;SAS / ETS ? , SAS Econometrics ? , SAS Forecast Server ? , SAS Visual Forecasting ? , other ? ???&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will answer further after you have answered the above questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2022 11:08:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-conduct-interrupted-time-series-regression-in-SAS/m-p/817586#M4446</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-06-11T11:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to conduct interrupted time series regression in SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-conduct-interrupted-time-series-regression-in-SAS/m-p/828626#M4479</link>
      <description>Proc autoreg might be what you are looking for</description>
      <pubDate>Sun, 14 Aug 2022 20:24:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-conduct-interrupted-time-series-regression-in-SAS/m-p/828626#M4479</guid>
      <dc:creator>Levi_M</dc:creator>
      <dc:date>2022-08-14T20:24:14Z</dc:date>
    </item>
  </channel>
</rss>

