<?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: Regression with ARMA Errors in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Regression-with-ARMA-Errors/m-p/936642#M4847</link>
    <description>&lt;P&gt;Thank you very much, Koen, for the code, which I’ve slightly modified as below. If my understanding is correct, any &lt;EM&gt;differencing applied to the disturbance leads to same differencing of each variable in the regression.&lt;/EM&gt; Thus, price and income inputs should be differenced in the same manner as the sales. Hence, I believe the code should be as follows, if you could kindly confirm whether it is correct or not:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc arima data=a;
identify var=sales(1,12) crosscorr=(price(1,12) income(1,12));
estimate p=(12 24) q=1 input=(price income) method=ml;
run;&lt;/PRE&gt;</description>
    <pubDate>Mon, 22 Jul 2024 17:59:51 GMT</pubDate>
    <dc:creator>sasalex2024</dc:creator>
    <dc:date>2024-07-22T17:59:51Z</dc:date>
    <item>
      <title>Regression with ARMA Errors</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Regression-with-ARMA-Errors/m-p/936578#M4843</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am very new to SAS and am using SAS on Demand for Academics. I have a question regarding an example in the SAS manual. There is an example of a regression with input series with ARMA models for the errors, where the error follows an ARMA(1,1) process:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc arima data=a;

identify var=sales crosscorr=(price income);

estimate p=1 q=1 input=(price income);

run;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But what if I have monthly data and need to run the same model as above, except that this time error is a&amp;nbsp;multiplicative seasonal ARIMA model of the form:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ARIMA(0,1,1)(2,1,0)12 , i.e., here "12" is a subscript (sorry, could not type it in a proper math form!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From what I understand I need to change “identify” part as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;identify var=sales(1,12) crosscorr=(price(1,12) income(1,12));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But even if that was correct, I am not sure how to change the estimate part. Thank you very much.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 13:20:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Regression-with-ARMA-Errors/m-p/936578#M4843</guid>
      <dc:creator>sasalex2024</dc:creator>
      <dc:date>2024-07-22T13:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Regression with ARMA Errors</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Regression-with-ARMA-Errors/m-p/936596#M4844</link>
      <description>&lt;P&gt;To be able to write the ESTIMATE statement correctly, you need to know about the transfer function(s) you want to specify for your input(s).&amp;nbsp;The transfer function specification for an input variable is optional. But ... if no transfer function is specified, then the input variable enters the model as a simple regressor.&lt;BR /&gt;Example of such a&amp;nbsp;transfer function specification.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;p=... q=... input=(3$(1,2)/(1,2,3)x)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;To find out about the "best" transfer function, ... there are diagnostics for that but still ... that could be a laborious job with PROC ARIMA.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you use SAS Forecast Server with SAS High Performance Forecasting (HPF-procedures) or SAS Visual Forecasting (PROC TSMODEL) ... then the transfer function will be determined by the software. Much easier than using PROC ARIMA &lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;.&lt;/P&gt;
&lt;P&gt;(the transfer function determines how the input time series affects / influences the target time series.)&lt;BR /&gt;&lt;BR /&gt;BR, Koen&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 14:29:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Regression-with-ARMA-Errors/m-p/936596#M4844</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2024-07-22T14:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Regression with ARMA Errors</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Regression-with-ARMA-Errors/m-p/936603#M4845</link>
      <description>&lt;P&gt;Thank you for your valuable feedback and suggestions. I will keep them in mind. The current issue I am dealing with does not involve a transfer function. As an example, please refer to the link (&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/etsug/etsug_arima_gettingstarted25.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/etsug/etsug_arima_gettingstarted25.htm&lt;/A&gt;) that introduces "Regression with ARMA Errors". In this example, the specified error process is ARMA(1,1).&lt;/P&gt;&lt;P&gt;My question is, what adjustments are needed if the error process follows an ARIMA(0,1,1)(2,1,0,12) model instead ofARMA(1,1)? How should I modify the code provided in the example for this purpose? Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 15:01:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Regression-with-ARMA-Errors/m-p/936603#M4845</guid>
      <dc:creator>sasalex2024</dc:creator>
      <dc:date>2024-07-22T15:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Regression with ARMA Errors</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Regression-with-ARMA-Errors/m-p/936626#M4846</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/467482"&gt;@sasalex2024&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;"Regression with ARMA Errors". In this example, the specified error process is ARMA(1,1).&lt;/P&gt;
&lt;P&gt;My question is, what adjustments are needed if the error process follows an ARIMA(0,1,1)(2,1,0,12) model instead ofARMA(1,1)? How should I modify the code provided in the example for this purpose? Thank you.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;            identify var=SALE( 1,12 )
            nlag=xxxx noprint;
            estimate p=( 12,24 ) q=1
             noint method=ML
               outmodel=_est_ converge=.0001 delta=.0001 maxiter=150
               noprint;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 16:45:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Regression-with-ARMA-Errors/m-p/936626#M4846</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2024-07-22T16:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: Regression with ARMA Errors</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Regression-with-ARMA-Errors/m-p/936642#M4847</link>
      <description>&lt;P&gt;Thank you very much, Koen, for the code, which I’ve slightly modified as below. If my understanding is correct, any &lt;EM&gt;differencing applied to the disturbance leads to same differencing of each variable in the regression.&lt;/EM&gt; Thus, price and income inputs should be differenced in the same manner as the sales. Hence, I believe the code should be as follows, if you could kindly confirm whether it is correct or not:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc arima data=a;
identify var=sales(1,12) crosscorr=(price(1,12) income(1,12));
estimate p=(12 24) q=1 input=(price income) method=ml;
run;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 Jul 2024 17:59:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Regression-with-ARMA-Errors/m-p/936642#M4847</guid>
      <dc:creator>sasalex2024</dc:creator>
      <dc:date>2024-07-22T17:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Regression with ARMA Errors</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Regression-with-ARMA-Errors/m-p/936690#M4848</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/467482"&gt;@sasalex2024&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thank you very much, Koen, for the code, which I’ve slightly modified as below. If my understanding is correct, any &lt;EM&gt;differencing applied to the disturbance leads to same differencing of each variable in the regression.&lt;/EM&gt; Thus, price and income inputs should be differenced in the same manner as the sales. Hence, I believe the code should be as follows, if you could kindly confirm whether it is correct or not:&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;It's correct !&lt;/STRONG&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some remarks :&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;It's common practice (and good practice) to apply the same&amp;nbsp;&lt;SPAN&gt;simple and seasonal differencing to the inputs as the simple and seasonal differencing applied to the variable to be forecast. But it's not mandatory.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;If you apply a functional transformation to the variable to be forecast (like a natural log transformation), then some people apply the same&amp;nbsp;functional transformation to the inputs, but other people specify&amp;nbsp;no transformation for the inputs in that case. I cannot say one practice is more common than the other.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;Koen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 22:01:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Regression-with-ARMA-Errors/m-p/936690#M4848</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2024-07-22T22:01:47Z</dc:date>
    </item>
  </channel>
</rss>

