<?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 PROC ARIMA Forecast &amp;quot;The value for option LEAD= has been reduced to 0.&amp;quot; in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-ARIMA-Forecast-quot-The-value-for-option-LEAD-has-been/m-p/844239#M4543</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Working on forecasting sales for my business. I have weekly sales data from 01/07/18 to 6/19/22.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kwilz_0-1668469516436.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77296i0D07A1F4E194680A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kwilz_0-1668469516436.png" alt="kwilz_0-1668469516436.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I generated a&amp;nbsp;Seasonal ARIMA(0,1,1)(0,1,1) 7 No Intercept&amp;nbsp;model.&amp;nbsp;I am running the code below and am getting the messages. I am new to this and am unsure how to correct to see forecasted values. Thank you.&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV align="left"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Warning:&lt;/TD&gt;&lt;TD&gt;More values of input variable AO104 are needed.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV align="left"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Warning:&lt;/TD&gt;&lt;TD&gt;More values of input variable AO153 are needed.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV align="left"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;The value for option LEAD= has been reduced to 0.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;data SalesWeatherWeeklyData10_25_22; 
set SalesWeatherWeeklyData10_25_22; 
if _N_ = 104 then AO104 = 1; else AO104 = 0; 
if _N_ = 153 then AO153 = 1; else AO153 = 0; 
run; 

PROC ARIMA DATA = SalesWeatherWeeklyData10_25_22 PLOTS=ALL; 
IDENTIFY VAR = Sales(1, 7) crosscorr = (AO104(1,7) AO153(1,7)); 
ESTIMATE p=2 q=(7 )  NOCONSTANT input = (AO104 AO153) METHOD = ML ;
outlier maxnum=20 alpha=0.001;
forecast printall lead=4 out=results1;
RUN;
QUIT;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Nov 2022 23:45:58 GMT</pubDate>
    <dc:creator>kwilz</dc:creator>
    <dc:date>2022-11-14T23:45:58Z</dc:date>
    <item>
      <title>PROC ARIMA Forecast "The value for option LEAD= has been reduced to 0."</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-ARIMA-Forecast-quot-The-value-for-option-LEAD-has-been/m-p/844239#M4543</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Working on forecasting sales for my business. I have weekly sales data from 01/07/18 to 6/19/22.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kwilz_0-1668469516436.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77296i0D07A1F4E194680A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kwilz_0-1668469516436.png" alt="kwilz_0-1668469516436.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I generated a&amp;nbsp;Seasonal ARIMA(0,1,1)(0,1,1) 7 No Intercept&amp;nbsp;model.&amp;nbsp;I am running the code below and am getting the messages. I am new to this and am unsure how to correct to see forecasted values. Thank you.&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV align="left"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Warning:&lt;/TD&gt;&lt;TD&gt;More values of input variable AO104 are needed.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV align="left"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Warning:&lt;/TD&gt;&lt;TD&gt;More values of input variable AO153 are needed.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV align="left"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;The value for option LEAD= has been reduced to 0.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;data SalesWeatherWeeklyData10_25_22; 
set SalesWeatherWeeklyData10_25_22; 
if _N_ = 104 then AO104 = 1; else AO104 = 0; 
if _N_ = 153 then AO153 = 1; else AO153 = 0; 
run; 

PROC ARIMA DATA = SalesWeatherWeeklyData10_25_22 PLOTS=ALL; 
IDENTIFY VAR = Sales(1, 7) crosscorr = (AO104(1,7) AO153(1,7)); 
ESTIMATE p=2 q=(7 )  NOCONSTANT input = (AO104 AO153) METHOD = ML ;
outlier maxnum=20 alpha=0.001;
forecast printall lead=4 out=results1;
RUN;
QUIT;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 23:45:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-ARIMA-Forecast-quot-The-value-for-option-LEAD-has-been/m-p/844239#M4543</guid>
      <dc:creator>kwilz</dc:creator>
      <dc:date>2022-11-14T23:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: PROC ARIMA Forecast "The value for option LEAD= has been reduced to 0."</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-ARIMA-Forecast-quot-The-value-for-option-LEAD-has-been/m-p/844635#M4545</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/437042"&gt;@kwilz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since your model has input variables, forecasting of the response variable needs values on these input variables. The warning messages indicate that your input data set does not contain the values for these input variables for the future periods when you wanted to obtain forecasts, hence forecast into the future periods cannot be obtained. The following section of PROC ARIMA documentation discusses this when forecasting with input variables:&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_032/etsug/etsug_arima_gettingstarted40.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/v_032/etsug/etsug_arima_gettingstarted40.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Because your input variables are AO dummy variables, you know their future values, so you can simply add values for these inputs in your data set for the length of future periods when you want to compute forecast, and set response variable to missing, then forecasts for these future periods will be computed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 15:14:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-ARIMA-Forecast-quot-The-value-for-option-LEAD-has-been/m-p/844635#M4545</guid>
      <dc:creator>SASCom1</dc:creator>
      <dc:date>2022-11-16T15:14:48Z</dc:date>
    </item>
  </channel>
</rss>

