<?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 ESM forecasting result is just a copy of historical data in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Proc-ESM-forecasting-result-is-just-a-copy-of-historical-data/m-p/828167#M4472</link>
    <description>&lt;P&gt;I just posted an example of our forecast result.&amp;nbsp; Here is the the code. Our date variable is in date9. format already.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data &amp;amp;input_data.;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;Set &amp;amp;input_data.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; adj_vol_addwinters=Actuals;&lt;/P&gt;&lt;P&gt;&amp;nbsp; adj_vol_seasonal=Actuals;&lt;/P&gt;&lt;P&gt;Run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc esm data=&amp;amp;input_data.&lt;BR /&gt;outfor=forecast_model&lt;BR /&gt;outstat=stat_models&lt;BR /&gt;lead=52;&lt;BR /&gt;Id week_dt&lt;BR /&gt;interval=weekly&lt;BR /&gt;accumulate=total;&lt;BR /&gt;Forecast adj_vol_seasonal / model=seasonal;&lt;BR /&gt;Forecast adj_vol_addwinters / model=addwinters;&lt;BR /&gt;Run;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Aug 2022 20:50:11 GMT</pubDate>
    <dc:creator>pjy1006</dc:creator>
    <dc:date>2022-08-10T20:50:11Z</dc:date>
    <item>
      <title>Proc ESM forecasting result is just a copy of historical data</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Proc-ESM-forecasting-result-is-just-a-copy-of-historical-data/m-p/828120#M4468</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am forecasting 3 months weekly data based on 48 weeks of data. One year has roughly 52 weeks of data. So 48 weeks of data is less than a year. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When using proc esm, some models (addwinter, seasonal) just use the same numbers from historical week n to predict future week n. For ex, if my historical week 1 is of 163 , historical week 2 is 115, historical week 3 is 97... . My forecast week 1 also has 163, forecast week 2 has 115, forecast week3 has 97...Why is that? Is this caused by lack of sufficient data?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 16:39:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Proc-ESM-forecasting-result-is-just-a-copy-of-historical-data/m-p/828120#M4468</guid>
      <dc:creator>pjy1006</dc:creator>
      <dc:date>2022-08-10T16:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Proc ESM forecasting result is just a copy of historical data</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Proc-ESM-forecasting-result-is-just-a-copy-of-historical-data/m-p/828127#M4470</link>
      <description>&lt;P&gt;As a bare minimum you should include the code used, best is to copy from the log all the code and messages related to this. That way we have some clue as to where to look.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dates and interval value variables are a key part of these. If you have "dates" that are not actual SAS date variables (numeric with a date type format such as date9 or yymmdd10) you may have introduced some oddities. I do not understand what this means:" if my historical week 1 is of 163 , historical week 2 is 115,". If that means you have a variable week with values like 1, 2, 3 that may be a part of the problem if the options you have used in the code (Hint) expect dates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Be prepared to provide example data that behaves the way you describe the problem. If your data is sensitive then dummy is fine as long as variable values are "reasonable" (depends on options but typically not having every value the same) and generate similar output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 17:21:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Proc-ESM-forecasting-result-is-just-a-copy-of-historical-data/m-p/828127#M4470</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-08-10T17:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc ESM forecasting result is just a copy of historical data</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Proc-ESM-forecasting-result-is-just-a-copy-of-historical-data/m-p/828164#M4471</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-08-10 at 1.37.52 PM.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74337i1EC4EB3BC82ED9DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-08-10 at 1.37.52 PM.png" alt="Screen Shot 2022-08-10 at 1.37.52 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 20:40:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Proc-ESM-forecasting-result-is-just-a-copy-of-historical-data/m-p/828164#M4471</guid>
      <dc:creator>pjy1006</dc:creator>
      <dc:date>2022-08-10T20:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Proc ESM forecasting result is just a copy of historical data</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Proc-ESM-forecasting-result-is-just-a-copy-of-historical-data/m-p/828167#M4472</link>
      <description>&lt;P&gt;I just posted an example of our forecast result.&amp;nbsp; Here is the the code. Our date variable is in date9. format already.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data &amp;amp;input_data.;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;Set &amp;amp;input_data.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; adj_vol_addwinters=Actuals;&lt;/P&gt;&lt;P&gt;&amp;nbsp; adj_vol_seasonal=Actuals;&lt;/P&gt;&lt;P&gt;Run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc esm data=&amp;amp;input_data.&lt;BR /&gt;outfor=forecast_model&lt;BR /&gt;outstat=stat_models&lt;BR /&gt;lead=52;&lt;BR /&gt;Id week_dt&lt;BR /&gt;interval=weekly&lt;BR /&gt;accumulate=total;&lt;BR /&gt;Forecast adj_vol_seasonal / model=seasonal;&lt;BR /&gt;Forecast adj_vol_addwinters / model=addwinters;&lt;BR /&gt;Run;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 20:50:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Proc-ESM-forecasting-result-is-just-a-copy-of-historical-data/m-p/828167#M4472</guid>
      <dc:creator>pjy1006</dc:creator>
      <dc:date>2022-08-10T20:50:11Z</dc:date>
    </item>
  </channel>
</rss>

