<?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: proc autoreg direction of AR1 estimate in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/proc-autoreg-direction-of-AR1-estimate/m-p/962893#M4975</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/256609"&gt;@Taliah&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think this is probably what you are confused about:&lt;/P&gt;
&lt;P&gt;If you look at the regression model with AR error process discussed in PROC AUTOREG documentation:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/v_061/etsug/etsug_autoreg_details02.htm" target="_blank"&gt;SAS Help Center: Autoregressive Error Model&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can see that there is a negative sign in front of the AR parameter&amp;nbsp;φ1 in PROC AUTOREG specification, if you write the complete model with AR(1) error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yt=xt′β+νt&lt;/P&gt;
&lt;P&gt;νt=ϵt−φ1*νt−1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;since vt-1 = yt-1 - xt-1*β, this implies that&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yt = xt*&lt;SPAN&gt;β&lt;/SPAN&gt;&amp;nbsp;-&amp;nbsp;φ1*(y_t-1 - x_t-1*&lt;SPAN&gt;β&lt;/SPAN&gt;&lt;STRONG&gt;)&lt;/STRONG&gt; +&amp;nbsp;ϵt&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (1)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note the negative sign in front of&amp;nbsp;φ1 in the above equation. This has opposite sign for the AR parameter than that specified in the usual ARIMA model expression, as in PROC ARIMA:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;yt = xt′β +&amp;nbsp; &amp;nbsp;ϵt/ϕ(B) ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;where ϕ(B)=1−ϕ1B for AR(1) case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you multiply both sides of the above equation by (1−ϕ1B), then you get the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yt -&amp;nbsp;ϕ1*y_t-1&amp;nbsp; =&amp;nbsp;xt′β -&amp;nbsp;ϕ1&lt;SPAN&gt;*x_t-1*β +&amp;nbsp;ϵt&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this implies&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yt =&amp;nbsp;ϕ1*y_t-1&amp;nbsp; +&amp;nbsp; xt′β -&amp;nbsp;ϕ1*&lt;SPAN&gt;x_t-1*β +&amp;nbsp;ϵt&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (2)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you compare (1) and (2), you can see that the two specifications have opposite signs on the AR parameter ϕ1.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this helps.&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Mar 2025 20:47:29 GMT</pubDate>
    <dc:creator>SASCom1</dc:creator>
    <dc:date>2025-03-28T20:47:29Z</dc:date>
    <item>
      <title>proc autoreg direction of AR1 estimate</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/proc-autoreg-direction-of-AR1-estimate/m-p/962785#M4972</link>
      <description>&lt;P&gt;Hello, in the results of proc autoreg we get a negetive AR1 estimate. Based on the data an on buisness logic we know that the higher AR1 the higher the dependent veriable and it's prediction. Does that make sense and does that mean that the direction AR1 influences the dependent veriable is oposite to the estimate's direction we get from SAS? Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 12:45:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/proc-autoreg-direction-of-AR1-estimate/m-p/962785#M4972</guid>
      <dc:creator>Taliah</dc:creator>
      <dc:date>2025-03-27T12:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: proc autoreg direction of AR1 estimate</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/proc-autoreg-direction-of-AR1-estimate/m-p/962786#M4973</link>
      <description>&lt;DIV class="forum-subj-action"&gt;
&lt;DIV class="MessageSubject "&gt;
&lt;DIV class="MessageSubjectIcons "&gt;
&lt;DIV class="lia-message-subject"&gt;Your question makes me think about the one you have posted on 30-OCT last year.&lt;BR /&gt;&lt;BR /&gt;Autogerression direction of the AR estimate&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Autogerression-direction-of-the-AR-estimate/m-p/949462" target="_blank"&gt;https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Autogerression-direction-of-the-AR-estimate/m-p/949462&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV class="lia-message-subject"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="lia-message-subject"&gt;Do you have additional info since then?&lt;/DIV&gt;
&lt;DIV class="lia-message-subject"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="lia-message-subject"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="lia-message-subject"&gt;Koen&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 27 Mar 2025 12:51:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/proc-autoreg-direction-of-AR1-estimate/m-p/962786#M4973</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2025-03-27T12:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: proc autoreg direction of AR1 estimate</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/proc-autoreg-direction-of-AR1-estimate/m-p/962792#M4974</link>
      <description>&lt;P&gt;&amp;nbsp;I was searching for that question and answer and couldn't find it&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 13:44:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/proc-autoreg-direction-of-AR1-estimate/m-p/962792#M4974</guid>
      <dc:creator>Taliah</dc:creator>
      <dc:date>2025-03-27T13:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: proc autoreg direction of AR1 estimate</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/proc-autoreg-direction-of-AR1-estimate/m-p/962893#M4975</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/256609"&gt;@Taliah&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think this is probably what you are confused about:&lt;/P&gt;
&lt;P&gt;If you look at the regression model with AR error process discussed in PROC AUTOREG documentation:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/v_061/etsug/etsug_autoreg_details02.htm" target="_blank"&gt;SAS Help Center: Autoregressive Error Model&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can see that there is a negative sign in front of the AR parameter&amp;nbsp;φ1 in PROC AUTOREG specification, if you write the complete model with AR(1) error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yt=xt′β+νt&lt;/P&gt;
&lt;P&gt;νt=ϵt−φ1*νt−1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;since vt-1 = yt-1 - xt-1*β, this implies that&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yt = xt*&lt;SPAN&gt;β&lt;/SPAN&gt;&amp;nbsp;-&amp;nbsp;φ1*(y_t-1 - x_t-1*&lt;SPAN&gt;β&lt;/SPAN&gt;&lt;STRONG&gt;)&lt;/STRONG&gt; +&amp;nbsp;ϵt&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (1)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note the negative sign in front of&amp;nbsp;φ1 in the above equation. This has opposite sign for the AR parameter than that specified in the usual ARIMA model expression, as in PROC ARIMA:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;yt = xt′β +&amp;nbsp; &amp;nbsp;ϵt/ϕ(B) ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;where ϕ(B)=1−ϕ1B for AR(1) case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you multiply both sides of the above equation by (1−ϕ1B), then you get the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yt -&amp;nbsp;ϕ1*y_t-1&amp;nbsp; =&amp;nbsp;xt′β -&amp;nbsp;ϕ1&lt;SPAN&gt;*x_t-1*β +&amp;nbsp;ϵt&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this implies&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yt =&amp;nbsp;ϕ1*y_t-1&amp;nbsp; +&amp;nbsp; xt′β -&amp;nbsp;ϕ1*&lt;SPAN&gt;x_t-1*β +&amp;nbsp;ϵt&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (2)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you compare (1) and (2), you can see that the two specifications have opposite signs on the AR parameter ϕ1.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this helps.&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 20:47:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/proc-autoreg-direction-of-AR1-estimate/m-p/962893#M4975</guid>
      <dc:creator>SASCom1</dc:creator>
      <dc:date>2025-03-28T20:47:29Z</dc:date>
    </item>
  </channel>
</rss>

