<?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 Forecasting Cumulative Sales Data in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Forecasting-Cumulative-Sales-Data/m-p/882476#M43649</link>
    <description>&lt;P&gt;I'm working on creating a forecast using&amp;nbsp;cumulative sales data collected at various points in time. I'm trying to forecast the cumulative sales at the end of each month using the ESM procedure. My issue is that my forecasts are sometimes lower than my actual cumulative sales values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My simple forecast code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc esm data=work.test lead=365 outfor=work.sales_data_forecast;
	id sale_date interval=day;
	forecast sales_cumulative / method=linear alpha=0.95;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I realize this is difficult without input data but is there a way I can specify essentially a "floor" for the forecasted value? In other words, if I have made 4300 sales half way through a month my forecast should be at least 4300 by the end of the month. In my case my code returns a lower number which is not possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jun 2023 16:33:50 GMT</pubDate>
    <dc:creator>mdavidson</dc:creator>
    <dc:date>2023-06-26T16:33:50Z</dc:date>
    <item>
      <title>Forecasting Cumulative Sales Data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Forecasting-Cumulative-Sales-Data/m-p/882476#M43649</link>
      <description>&lt;P&gt;I'm working on creating a forecast using&amp;nbsp;cumulative sales data collected at various points in time. I'm trying to forecast the cumulative sales at the end of each month using the ESM procedure. My issue is that my forecasts are sometimes lower than my actual cumulative sales values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My simple forecast code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc esm data=work.test lead=365 outfor=work.sales_data_forecast;
	id sale_date interval=day;
	forecast sales_cumulative / method=linear alpha=0.95;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I realize this is difficult without input data but is there a way I can specify essentially a "floor" for the forecasted value? In other words, if I have made 4300 sales half way through a month my forecast should be at least 4300 by the end of the month. In my case my code returns a lower number which is not possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 16:33:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Forecasting-Cumulative-Sales-Data/m-p/882476#M43649</guid>
      <dc:creator>mdavidson</dc:creator>
      <dc:date>2023-06-26T16:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Forecasting Cumulative Sales Data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Forecasting-Cumulative-Sales-Data/m-p/883995#M43780</link>
      <description>&lt;P&gt;Remember, this model is giving you the expected sales, conditional on the monthly sales up to the previous month. It is therefore not unlikely to get a lower value than the current sales, especially if there has been any sort of level change in an unmonitored (and thus not included in the model) variable. I guess you could have some dichotomous check in the output that if the predicted value is less than the current value that the output would default to the current value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 17:45:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Forecasting-Cumulative-Sales-Data/m-p/883995#M43780</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2023-07-07T17:45:55Z</dc:date>
    </item>
  </channel>
</rss>

