<?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 computing forcast values in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-AUTOREG-computing-forcast-values/m-p/560859#M3561</link>
    <description>&lt;P&gt;Hi DW,&lt;/P&gt;&lt;P&gt;Thank you! that helps.&amp;nbsp;I used&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;Usage Note &lt;I&gt;40135 (&lt;A href="http://support.sas.com/kb/40135" target="_self" rel="nofollow noopener noreferrer"&gt;http://support.sas.com/kb/40135&lt;/A&gt;) to get the autoregression equation and it seems to work,&lt;/I&gt;&lt;/FONT&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;&lt;I&gt;Thank you!&lt;/I&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 22 May 2019 15:10:24 GMT</pubDate>
    <dc:creator>Taliah</dc:creator>
    <dc:date>2019-05-22T15:10:24Z</dc:date>
    <item>
      <title>PROC AUTOREG computing forcast values</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-AUTOREG-computing-forcast-values/m-p/559954#M3554</link>
      <description>I am using proc autoreg. I get autoregression parameter estimates for data up to feb2018 (monthly data), having AR1 and 3 other predicting variables. I insert these parameter estimates into a formula to get the forcast values for mar2018 untill feb 2019. For the first AR1 value I use the actual Y value of the previous month. For each following AR1 value I use the predicted Y value for the previous month. The resulting forcast Y values I get make no sense. Is there another way to get the forcast values / the autoregression formula?&lt;DIV class="lia-quilt-column lia-quilt-column-20 lia-quilt-column-right lia-quilt-column-main-right"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-right"&gt;&lt;DIV class="lia-message-body"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example of the code I'm using:&lt;/P&gt;&lt;P&gt;proc autoreg data = table_a plots;&lt;/P&gt;&lt;P&gt;model y=a b c /&lt;/P&gt;&lt;P&gt;method = ml&lt;/P&gt;&lt;P&gt;maxiter=50&lt;/P&gt;&lt;P&gt;nlag = 1&lt;/P&gt;&lt;P&gt;backstep slstay = 0.0500&lt;/P&gt;&lt;P&gt;DW=1;&lt;/P&gt;&lt;P&gt;output out = table_b lcl=lcl ucl=ucl p=predicted r=residual alphacli=0.05;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Tali&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 19 May 2019 13:57:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-AUTOREG-computing-forcast-values/m-p/559954#M3554</guid>
      <dc:creator>Taliah</dc:creator>
      <dc:date>2019-05-19T13:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: PROC AUTOREG computing forcast values</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-AUTOREG-computing-forcast-values/m-p/560579#M3556</link>
      <description>&lt;P&gt;Hi Tali,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC AUTOREG with the NLAG= option&amp;nbsp;fits a regression model with an autoregressive error process.&amp;nbsp; When available, lags of the structural residuals are multiplied with the AR coefficients in the&amp;nbsp;fitted&amp;nbsp;model to obtain the predicted values.&amp;nbsp; When lagged structural residuals are no longer available, a best linear predicted of the structural residual is used.&amp;nbsp; For details, please see the following sections of the 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/?docsetId=etsug&amp;amp;docsetTarget=etsug_autoreg_details02.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en" target="_self"&gt;https://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetTarget=etsug_autoreg_details02.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetTarget=etsug_autoreg_details51.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en" target="_self"&gt;https://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetTarget=etsug_autoreg_details51.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following SAS Note might also be of interest to you:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/40135" target="_self"&gt;http://support.sas.com/kb/40135&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to fit a model with a lagged dependent regressor and other exogenous variables, then you might want to consider using PROC VARMAX to model and forecast your data.&amp;nbsp; Please see the following section of the PROC VARMAX documentation for details:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=etsug_varmax_gettingstarted07.htm&amp;amp;locale=en" target="_self"&gt;https://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=etsug_varmax_gettingstarted07.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps!&lt;/P&gt;
&lt;P&gt;DW&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 17:08:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-AUTOREG-computing-forcast-values/m-p/560579#M3556</guid>
      <dc:creator>dw_sas</dc:creator>
      <dc:date>2019-05-21T17:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: PROC AUTOREG computing forcast values</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-AUTOREG-computing-forcast-values/m-p/560859#M3561</link>
      <description>&lt;P&gt;Hi DW,&lt;/P&gt;&lt;P&gt;Thank you! that helps.&amp;nbsp;I used&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;Usage Note &lt;I&gt;40135 (&lt;A href="http://support.sas.com/kb/40135" target="_self" rel="nofollow noopener noreferrer"&gt;http://support.sas.com/kb/40135&lt;/A&gt;) to get the autoregression equation and it seems to work,&lt;/I&gt;&lt;/FONT&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;&lt;I&gt;Thank you!&lt;/I&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 22 May 2019 15:10:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-AUTOREG-computing-forcast-values/m-p/560859#M3561</guid>
      <dc:creator>Taliah</dc:creator>
      <dc:date>2019-05-22T15:10:24Z</dc:date>
    </item>
  </channel>
</rss>

