<?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 SAS 9.4 PROC ESM issues Error: unable to forecast a variable in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SAS-9-4-PROC-ESM-issues-Error-unable-to-forecast-a-variable/m-p/391332#M2630</link>
    <description>&lt;P&gt;proc esm&lt;/P&gt;&lt;P&gt;data = wrk.FCST_15_16_NON_X&lt;/P&gt;&lt;P&gt;out = wrk.f_raw_fcst_NON_X&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;lead = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;53&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;id week interval = week ACCUMULATE=total ;&lt;/P&gt;&lt;P&gt;by target;&lt;/P&gt;&lt;P&gt;forecast writer_count imputed_mg / model = winters ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Unable to forecast the variable writer_count. Forecast values set to missing.&lt;/P&gt;&lt;P&gt;NOTE: The above message was for the following BY group:&lt;/P&gt;&lt;P&gt;target=NON_X&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Aug 2017 21:40:08 GMT</pubDate>
    <dc:creator>AlexRubin</dc:creator>
    <dc:date>2017-08-28T21:40:08Z</dc:date>
    <item>
      <title>SAS 9.4 PROC ESM issues Error: unable to forecast a variable</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SAS-9-4-PROC-ESM-issues-Error-unable-to-forecast-a-variable/m-p/391332#M2630</link>
      <description>&lt;P&gt;proc esm&lt;/P&gt;&lt;P&gt;data = wrk.FCST_15_16_NON_X&lt;/P&gt;&lt;P&gt;out = wrk.f_raw_fcst_NON_X&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;lead = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;53&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;id week interval = week ACCUMULATE=total ;&lt;/P&gt;&lt;P&gt;by target;&lt;/P&gt;&lt;P&gt;forecast writer_count imputed_mg / model = winters ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Unable to forecast the variable writer_count. Forecast values set to missing.&lt;/P&gt;&lt;P&gt;NOTE: The above message was for the following BY group:&lt;/P&gt;&lt;P&gt;target=NON_X&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2017 21:40:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SAS-9-4-PROC-ESM-issues-Error-unable-to-forecast-a-variable/m-p/391332#M2630</guid>
      <dc:creator>AlexRubin</dc:creator>
      <dc:date>2017-08-28T21:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4 PROC ESM issues Error: unable to forecast a variable</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SAS-9-4-PROC-ESM-issues-Error-unable-to-forecast-a-variable/m-p/391582#M2631</link>
      <description>&lt;P&gt;Hi Alex,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Winters method requires not only the actual (historical) values to&amp;nbsp;be positive, but also the one-step-ahead predicted values.&amp;nbsp;&amp;nbsp;A plot of the series shows&amp;nbsp;a sharp downward trend toward zero in the historical data, where the Winters model likely returned a non-positive one-step-ahead predicted value.&amp;nbsp; Because zero or negative values cause the Winters algorithm to fail, PROC ESM issued the error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ERROR: Unable to forecast the variable writer_count. Forecast values set to missing.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The other seasonal models supported by PROC ESM do not require the actual values and one-step-ahead predicted values to be positive, so you might want to replace the MODEL=WINTERS option with either MODEL=ADDWINTERS or MODEL=SEASONAL for your data.&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;&lt;SPAN&gt;DW&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;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2017 17:03:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/SAS-9-4-PROC-ESM-issues-Error-unable-to-forecast-a-variable/m-p/391582#M2631</guid>
      <dc:creator>dw_sas</dc:creator>
      <dc:date>2017-08-29T17:03:30Z</dc:date>
    </item>
  </channel>
</rss>

