<?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: SAS Forecast Studio - Interpretation of an ARIMA model without p and q in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SAS-Forecast-Studio-Interpretation-of-an-ARIMA-model-without-p/m-p/372798#M2462</link>
    <description>&lt;P&gt;The MA model has the following general form:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Y_t = C + (1 - m_1 B - m_2 B_2 - ....) e_t&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you fit a MA(1) model to the sample data provided, you will get the parameter estimates of&amp;nbsp;102.17485004 for the mean (C), and -0.041325847 for m_1. Thus the forecast formula is&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Y_t = &amp;nbsp;102.17485004 + 0.041325847&amp;nbsp;e_t-1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So for the first historical period, the fitted value will be simply the mean&amp;nbsp;&lt;SPAN&gt;102.17485004&amp;nbsp;. To generate the 2nd period fitted value, you first compute e_1 &amp;nbsp;= Y_1 - Y_1 hat = (104.1675397 -&amp;nbsp;102.17485004) = 1.99269.&amp;nbsp;Based on the formula above, the fited value for the 2nd period is 102.25719963. Please note that e_t in the forecast lead periods are 0.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you diff Y, just plug in the diff Y to the above formula. Please note that C is usually supressed if Y series is diffed (i.e. estimate NOINT).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I added 2 tabs to the excel book to demostrate how to generate forecasting with MA(1) and MA(2) models.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data a;&lt;BR /&gt;input time_id Y;&lt;BR /&gt;cards;&lt;BR /&gt;1 104.1675397&lt;BR /&gt;2 100.5498722&lt;BR /&gt;3 102.6136901&lt;BR /&gt;4 103.5533417&lt;BR /&gt;5 101.7734511&lt;BR /&gt;6 102.8178815&lt;BR /&gt;7 104.6211812&lt;BR /&gt;8 102.5835074&lt;BR /&gt;9 102.4308517&lt;BR /&gt;10 101.3071798&lt;BR /&gt;11 101.9181746&lt;BR /&gt;12 100.5437124&lt;BR /&gt;13 101.3355998&lt;BR /&gt;14 104.2619803&lt;BR /&gt;15 103.777189&lt;BR /&gt;16 100.0892918&lt;BR /&gt;17 102.4089642&lt;BR /&gt;18 103.0160954&lt;BR /&gt;19 102.183431&lt;BR /&gt;20 100.4450315&lt;BR /&gt;21 101.9886783&lt;BR /&gt;22 100.4891325&lt;BR /&gt;23 100.7548746&lt;BR /&gt;24 102.4628036&lt;BR /&gt;;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc arima data = a;&lt;BR /&gt;identify var =y;&lt;BR /&gt;estimate q=1 outest = paramEst1;&lt;BR /&gt;forecast lead = 12 interval = obs id = time_id out = results1;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;estimate q=2 outest = paramEst2;&lt;BR /&gt;forecast lead = 12 interval = obs id = time_id out = results2;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jul 2017 17:50:28 GMT</pubDate>
    <dc:creator>alexchien</dc:creator>
    <dc:date>2017-07-03T17:50:28Z</dc:date>
    <item>
      <title>SAS Forecast Studio - Interpretation of an ARIMA model without p and q</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SAS-Forecast-Studio-Interpretation-of-an-ARIMA-model-without-p/m-p/370923#M2442</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know your opinion about one ARIMA model automatically created by SAS Forecast Studio.&lt;/P&gt;&lt;P&gt;The model just have the&amp;nbsp;d argument informed and p and q are empty, like this:&lt;/P&gt;&lt;P&gt;p= empty&lt;/P&gt;&lt;P&gt;d= (1,12)&lt;/P&gt;&lt;P&gt;q= empty&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wich model we have? I understand that d=1 means that we have one order differencing, d=2 two orders differencing. But, whats the meaning of (1,12)?&lt;/P&gt;&lt;P&gt;And,..if we are just differencing...without p and q...wich is the model?&lt;/P&gt;&lt;P&gt;In fact the model that I get it's a good model and It reflects what I want but I'm not understanding how is doing it if I look at the parametres.&lt;/P&gt;&lt;P&gt;Can you give some light?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using SAS Forecast Studio 12.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankyou,&lt;/P&gt;&lt;P&gt;Ferran&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 13:37:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SAS-Forecast-Studio-Interpretation-of-an-ARIMA-model-without-p/m-p/370923#M2442</guid>
      <dc:creator>FVidal</dc:creator>
      <dc:date>2017-06-27T13:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Forecast Studio - Interpretation of an ARIMA model without p and q</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SAS-Forecast-Studio-Interpretation-of-an-ARIMA-model-without-p/m-p/371000#M2447</link>
      <description>&lt;P&gt;If the time interval is monthly, d=12 basically&amp;nbsp;means seasonal differencing. So the model d(1, 12) is basically a hybrid of random walk and seasonal random walk models.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 16:55:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SAS-Forecast-Studio-Interpretation-of-an-ARIMA-model-without-p/m-p/371000#M2447</guid>
      <dc:creator>alexchien</dc:creator>
      <dc:date>2017-06-27T16:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Forecast Studio - Interpretation of an ARIMA model without p and q</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SAS-Forecast-Studio-Interpretation-of-an-ARIMA-model-without-p/m-p/372691#M2459</link>
      <description>&lt;P&gt;Thank you alexchien,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm traying to reproduce this model en Excel. Do you know wich formula is using SAS to make the 'random walk' model?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferran&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 10:35:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SAS-Forecast-Studio-Interpretation-of-an-ARIMA-model-without-p/m-p/372691#M2459</guid>
      <dc:creator>FVidal</dc:creator>
      <dc:date>2017-07-03T10:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Forecast Studio - Interpretation of an ARIMA model without p and q</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SAS-Forecast-Studio-Interpretation-of-an-ARIMA-model-without-p/m-p/372749#M2460</link>
      <description>&lt;P&gt;The diff operation for dif(1, 12) looks like the following:&lt;/P&gt;
&lt;P&gt;(1-B)(1-B_12)Y_t = Y_t - Y_t-1 - Y_t-12 + Y_t-13&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The random walk model basically assumes the expected value of the diff is 0 (or a constant if you want to include a "drift" in the model). By setting the above formula to zero, you can derive the forecast formula as:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Y_t+1 =&amp;nbsp;&lt;SPAN&gt;Y_t + Y_t-11 - Y_t-12&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can run the following code to check the math, and an Excel book is attached with the same data and forecasts.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data a;&lt;BR /&gt;input time_id Y;&lt;BR /&gt;cards;&lt;BR /&gt;1 104.1675397&lt;BR /&gt;2 100.5498722&lt;BR /&gt;3 102.6136901&lt;BR /&gt;4 103.5533417&lt;BR /&gt;5 101.7734511&lt;BR /&gt;6 102.8178815&lt;BR /&gt;7 104.6211812&lt;BR /&gt;8 102.5835074&lt;BR /&gt;9 102.4308517&lt;BR /&gt;10 101.3071798&lt;BR /&gt;11 101.9181746&lt;BR /&gt;12 100.5437124&lt;BR /&gt;13 101.3355998&lt;BR /&gt;14 104.2619803&lt;BR /&gt;15 103.777189&lt;BR /&gt;16 100.0892918&lt;BR /&gt;17 102.4089642&lt;BR /&gt;18 103.0160954&lt;BR /&gt;19 102.183431&lt;BR /&gt;20 100.4450315&lt;BR /&gt;21 101.9886783&lt;BR /&gt;22 100.4891325&lt;BR /&gt;23 100.7548746&lt;BR /&gt;24 102.4628036&lt;BR /&gt;;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc arima data = a;&lt;BR /&gt;identify var =y(1 12);&lt;BR /&gt;estimate noint; /*no drift*/&lt;BR /&gt;forecast lead = 12 interval = obs id = time_id out = results;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 14:31:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SAS-Forecast-Studio-Interpretation-of-an-ARIMA-model-without-p/m-p/372749#M2460</guid>
      <dc:creator>alexchien</dc:creator>
      <dc:date>2017-07-03T14:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Forecast Studio - Interpretation of an ARIMA model without p and q</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SAS-Forecast-Studio-Interpretation-of-an-ARIMA-model-without-p/m-p/372761#M2461</link>
      <description>&lt;P&gt;Alexchien,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankyou very much for the example. It can not be more clear! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I'm able to understand and reproduce models with differenciation and also with autoregressive parameters(p).&lt;/P&gt;&lt;P&gt;Could you help me with some example with 'moving-average'(q) parameter? This part of an ARIMA model is always confuse to understand for me. Having an Excel example always helps to clarify it and believe in the models.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advanced,&lt;/P&gt;&lt;P&gt;Ferran&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 15:15:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SAS-Forecast-Studio-Interpretation-of-an-ARIMA-model-without-p/m-p/372761#M2461</guid>
      <dc:creator>FVidal</dc:creator>
      <dc:date>2017-07-03T15:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Forecast Studio - Interpretation of an ARIMA model without p and q</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SAS-Forecast-Studio-Interpretation-of-an-ARIMA-model-without-p/m-p/372798#M2462</link>
      <description>&lt;P&gt;The MA model has the following general form:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Y_t = C + (1 - m_1 B - m_2 B_2 - ....) e_t&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you fit a MA(1) model to the sample data provided, you will get the parameter estimates of&amp;nbsp;102.17485004 for the mean (C), and -0.041325847 for m_1. Thus the forecast formula is&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Y_t = &amp;nbsp;102.17485004 + 0.041325847&amp;nbsp;e_t-1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So for the first historical period, the fitted value will be simply the mean&amp;nbsp;&lt;SPAN&gt;102.17485004&amp;nbsp;. To generate the 2nd period fitted value, you first compute e_1 &amp;nbsp;= Y_1 - Y_1 hat = (104.1675397 -&amp;nbsp;102.17485004) = 1.99269.&amp;nbsp;Based on the formula above, the fited value for the 2nd period is 102.25719963. Please note that e_t in the forecast lead periods are 0.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you diff Y, just plug in the diff Y to the above formula. Please note that C is usually supressed if Y series is diffed (i.e. estimate NOINT).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I added 2 tabs to the excel book to demostrate how to generate forecasting with MA(1) and MA(2) models.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data a;&lt;BR /&gt;input time_id Y;&lt;BR /&gt;cards;&lt;BR /&gt;1 104.1675397&lt;BR /&gt;2 100.5498722&lt;BR /&gt;3 102.6136901&lt;BR /&gt;4 103.5533417&lt;BR /&gt;5 101.7734511&lt;BR /&gt;6 102.8178815&lt;BR /&gt;7 104.6211812&lt;BR /&gt;8 102.5835074&lt;BR /&gt;9 102.4308517&lt;BR /&gt;10 101.3071798&lt;BR /&gt;11 101.9181746&lt;BR /&gt;12 100.5437124&lt;BR /&gt;13 101.3355998&lt;BR /&gt;14 104.2619803&lt;BR /&gt;15 103.777189&lt;BR /&gt;16 100.0892918&lt;BR /&gt;17 102.4089642&lt;BR /&gt;18 103.0160954&lt;BR /&gt;19 102.183431&lt;BR /&gt;20 100.4450315&lt;BR /&gt;21 101.9886783&lt;BR /&gt;22 100.4891325&lt;BR /&gt;23 100.7548746&lt;BR /&gt;24 102.4628036&lt;BR /&gt;;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc arima data = a;&lt;BR /&gt;identify var =y;&lt;BR /&gt;estimate q=1 outest = paramEst1;&lt;BR /&gt;forecast lead = 12 interval = obs id = time_id out = results1;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;estimate q=2 outest = paramEst2;&lt;BR /&gt;forecast lead = 12 interval = obs id = time_id out = results2;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 17:50:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SAS-Forecast-Studio-Interpretation-of-an-ARIMA-model-without-p/m-p/372798#M2462</guid>
      <dc:creator>alexchien</dc:creator>
      <dc:date>2017-07-03T17:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Forecast Studio - Interpretation of an ARIMA model without p and q</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SAS-Forecast-Studio-Interpretation-of-an-ARIMA-model-without-p/m-p/372951#M2463</link>
      <description>&lt;P&gt;Hello alexchien,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for you answers! I just have a doubt. You said the general formula for MA is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Y_t = C + (1 - m_1 B - m_2 B_2 - ....) e_t&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so, the formula for MA(1) should be, if I'm not wrong,&amp;nbsp;like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Y_t =&amp;nbsp;C + e_t - m_1 e_t-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And in your formula &lt;SPAN&gt;Y_t = &amp;nbsp;102.17485004 + 0.041325847&amp;nbsp;e_t-1 you didn't mentioned e_t.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can we assume that e_t is equal 0? or we are assuming that C+e_t=mean?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Ferran&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 09:28:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SAS-Forecast-Studio-Interpretation-of-an-ARIMA-model-without-p/m-p/372951#M2463</guid>
      <dc:creator>FVidal</dc:creator>
      <dc:date>2017-07-04T09:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Forecast Studio - Interpretation of an ARIMA model without p and q</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SAS-Forecast-Studio-Interpretation-of-an-ARIMA-model-without-p/m-p/373253#M2474</link>
      <description>&lt;P&gt;Hi Ferran,&lt;/P&gt;
&lt;P&gt;You are correct that e_t is set to 0 when forecasting Y_t as 0 is the expected value of e's. e_t-1 won't be 0 as it will be the observed forecast error from the previous forecast (Actual_t-1 - Y_t-1). The e's in the forecast lead periods (in the future) will be 0's since no actuals are observed. You can see this in the excel book MA examples that the error's are set to 0 after period 24th.&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 13:11:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SAS-Forecast-Studio-Interpretation-of-an-ARIMA-model-without-p/m-p/373253#M2474</guid>
      <dc:creator>alexchien</dc:creator>
      <dc:date>2017-07-05T13:11:11Z</dc:date>
    </item>
  </channel>
</rss>

