<?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: Project 3 months of sales for Top 5 facilities in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801803#M4381</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the forecasting method that your text book discusses?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are OK with using Exponential Smoothing, you can try this code :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc esm data=mis543.toys out=NextMonths_Toys LEAD=3 PLOT=FORECASTS;
   by FacilityCountry;
   id TransactionMonth interval=month;
   forecast ProductPriceActual;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
    <pubDate>Sat, 12 Mar 2022 11:50:35 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2022-03-12T11:50:35Z</dc:date>
    <item>
      <title>Project 3 months of sales for Top 5 facilities</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801545#M4376</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is to first find the top 5 facility countries that had the most sales, which I have done by using PROC FREQ.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="help1.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69378i0DD93F4865AB1FE6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="help1.PNG" alt="help1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; which gave me the list of countries by number of sales shown below.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="help2.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69379i01D7061E5B097465/image-size/medium?v=v2&amp;amp;px=400" role="button" title="help2.PNG" alt="help2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; Now, I know the top 5 countries out of 30.&lt;/P&gt;&lt;P&gt;The next task is to predict future sales for 3 months for these (top 5) countries.&lt;/P&gt;&lt;P&gt;I have no idea how to do this... So far I have this code:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="help3.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69380iDCD9C9F50E93BC72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="help3.PNG" alt="help3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; which gives me this plot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="help4.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69381iDD0CECE6DCECE6BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="help4.PNG" alt="help4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; I have no knowledge of how to use PROC FORECAST to project the next 3 months of sales...&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 23:02:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801545#M4376</guid>
      <dc:creator>mccusker1818</dc:creator>
      <dc:date>2022-03-10T23:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Project 3 months of sales for Top 5 facilities</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801750#M4379</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For an alternative to your PROC FREQ code, see here :&lt;/P&gt;
&lt;P&gt;4 ways to find the k smallest and largest data values in SAS&lt;BR /&gt;By Rick Wicklin on The DO Loop January 26, 2022&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/iml/2022/01/26/k-smallest-largest-data.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2022/01/26/k-smallest-largest-data.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To forecast 3 months ahead:&lt;/P&gt;
&lt;P&gt;Do not use PROC FORECAST !! It's obsolete and discarded from the documentation.&lt;/P&gt;
&lt;P&gt;If you want an easy method, use PROC ESM (&lt;SPAN&gt;exponential smoothing models with optimized smoothing weights).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Forecasting is a profession in itself. If you build up knowledge, you can use ARIMA models (without or with additional explanatory factors) or other methodologies. ESM is very basic!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 21:44:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801750#M4379</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-03-11T21:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Project 3 months of sales for Top 5 facilities</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801762#M4380</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the response, I was starting to think no one was going to reply.&lt;/P&gt;&lt;P&gt;I have never used PROC ESM, and this is not discussed in my textbook...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would I write the code for finding 3 months of sales data for each country?&lt;/P&gt;&lt;P&gt;&amp;nbsp;This is my code:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="help6.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69414i01C281174403D893/image-size/medium?v=v2&amp;amp;px=400" role="button" title="help6.PNG" alt="help6.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; And the errors I receive:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="help7.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69415iE94DAA8701D47016/image-size/medium?v=v2&amp;amp;px=400" role="button" title="help7.PNG" alt="help7.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; Thank you for any help&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 23:27:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801762#M4380</guid>
      <dc:creator>mccusker1818</dc:creator>
      <dc:date>2022-03-11T23:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Project 3 months of sales for Top 5 facilities</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801803#M4381</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the forecasting method that your text book discusses?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are OK with using Exponential Smoothing, you can try this code :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc esm data=mis543.toys out=NextMonths_Toys LEAD=3 PLOT=FORECASTS;
   by FacilityCountry;
   id TransactionMonth interval=month;
   forecast ProductPriceActual;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Sat, 12 Mar 2022 11:50:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801803#M4381</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-03-12T11:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Project 3 months of sales for Top 5 facilities</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801813#M4382</link>
      <description>&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;When I try the code you suggested, I get multiple errors..&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="help8.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69423i4A8020AA691638C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="help8.PNG" alt="help8.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; I don't know if it changes the code required, but I only need to predict the sales for 5 country facilities including:&lt;/P&gt;&lt;P&gt;"United"&lt;/P&gt;&lt;P&gt;"Spain"&lt;/P&gt;&lt;P&gt;"Sweden"&lt;/P&gt;&lt;P&gt;"German"&lt;/P&gt;&lt;P&gt;"Austra"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(This is how they're spelled in the dataset, its not a typo)&lt;/P&gt;</description>
      <pubDate>Sat, 12 Mar 2022 15:13:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801813#M4382</guid>
      <dc:creator>mccusker1818</dc:creator>
      <dc:date>2022-03-12T15:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Project 3 months of sales for Top 5 facilities</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801817#M4383</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your data is not sorted by country facility and (within the former) by timestamp.&lt;/P&gt;
&lt;P&gt;On the ID statement you can add the&amp;nbsp;&lt;SPAN&gt;NOTSORTED &lt;/SPAN&gt;option.&lt;/P&gt;
&lt;P&gt;But you need to sort at least on the variable that contains your by-groups.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Further more, you have duplicate dates (within one and the same by-group). Get rid of the duplicate dates. Duplicate dates are not allowed in time series analysis and forecasting. I would use PROC TIMESERIES to collapse (summarize) info from &lt;EM&gt;x&lt;/EM&gt; times the same date in one record (observation).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Sat, 12 Mar 2022 16:05:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801817#M4383</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-03-12T16:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Project 3 months of sales for Top 5 facilities</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801835#M4384</link>
      <description>&lt;P&gt;I do not know how to sort data or change the dates to SAS format. Its odd that this assignment for my class is more about learning how to forecast sales and yet I was provided a dataset that needs to be changed so much. I feel that I should have been taught that first.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I sort the country variable? And how can I remove duplicate dates?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 13 Mar 2022 00:03:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801835#M4384</guid>
      <dc:creator>mccusker1818</dc:creator>
      <dc:date>2022-03-13T00:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Project 3 months of sales for Top 5 facilities</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801836#M4385</link>
      <description>&lt;P&gt;You use PROC SORT to sort your data. Try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=mis543.toys 
              out=toys;
   by FacilityCountry TransactionMonth;
run;

proc esm data = toys.....&lt;BR /&gt;.......&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 13 Mar 2022 00:39:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801836#M4385</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-03-13T00:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Project 3 months of sales for Top 5 facilities</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801839#M4386</link>
      <description>&lt;P&gt;After running this code:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="help9.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69425iFADEECC75709A8E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="help9.PNG" alt="help9.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; I get 30 errors:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="help10.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69426iCF9F2231A806D58F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="help10.PNG" alt="help10.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; I feel like I am so close! How do I fix this?&lt;/P&gt;</description>
      <pubDate>Sun, 13 Mar 2022 00:48:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801839#M4386</guid>
      <dc:creator>mccusker1818</dc:creator>
      <dc:date>2022-03-13T00:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Project 3 months of sales for Top 5 facilities</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801840#M4387</link>
      <description>&lt;P&gt;Changing the PROC SORT to remove rows with duplicate keys may get rid of the errors:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=mis543.toys 
              out=toys
              nodupkey;
   by FacilityCountry TransactionMonth;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;However this might not be the correct way to deal with the duplicate rows. You need to understand your input data better to decide on the right way.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Mar 2022 01:13:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801840#M4387</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-03-13T01:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Project 3 months of sales for Top 5 facilities</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801847#M4388</link>
      <description>&lt;P&gt;You have been a lot of help. Thank you so much for the assistance. I am still not sure what is wrong with this dataset, but I no longer have any errors! As you can see, the predicted "productpriceactual" (sales) has been forecasted for Jan-March 2018 (SUCCESS!) however, the numbers are all the same? Seems very odd... They are like this for all of the FacilityCountries.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="help14.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69427i7712202A785AACD5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="help14.PNG" alt="help14.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Sun, 13 Mar 2022 03:08:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801847#M4388</guid>
      <dc:creator>mccusker1818</dc:creator>
      <dc:date>2022-03-13T03:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Project 3 months of sales for Top 5 facilities</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801859#M4389</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would certainly check if the de-duplication of dates makes sense ( the way you did it ).&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;has proposed to use NODUPKEY option on PROC SORT statement to get rid of duplicate dates (within one and the same facility), but he also warned that this may not be the right way ! Maybe you have to sum the sales amounts on 2 or 3 same dates within one facility. The latter can be done with PROC TIMESERIES.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With regard to the forecasting amount 3 times being the same, that's because the default model is&amp;nbsp;&lt;SPAN&gt;simple (single) exponential smoothing (&lt;/SPAN&gt;&lt;SPAN&gt;MODEL=SIMPLE)&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;There are 8 possible ESM's, you could try them all and choose the best one based on some goodness-of-fit criterion you have learned in class (like MAPE = Mean absolute percentage error).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here's what you can put on the FORECAST statement behind the forward slash ( / ) :&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="xisDoc-refProc"&gt;
&lt;DIV id="etsug.esm.esmforecaststmt" class="aa-section"&gt;
&lt;DIV class="aa-options"&gt;
&lt;DL class="aa-options"&gt;
&lt;DT&gt;&lt;SPAN class=" aa-term "&gt;MODEL=&lt;SPAN class=" aa-argument"&gt;model-name&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DT&gt;
&lt;DD&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;specifies the forecasting model to be used to forecast the time series. You can specify the following forecasting &lt;SPAN class=" aa-argument"&gt;model-names&lt;/SPAN&gt;:&lt;/P&gt;
&lt;DIV class="aa-deflist"&gt;
&lt;DL class="aa-deflist"&gt;
&lt;DT&gt;&lt;SPAN class=" aa-term "&gt;&lt;SPAN class=" aa-keyword"&gt;NONE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DT&gt;
&lt;DD&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;produces no forecast, but the time series is appended with missing values in the OUT= data set. This option is useful when the results stored in the OUT= data set are used in a subsequent analysis where forecasts of the independent variables are needed to forecast the dependent variable.&lt;/P&gt;
&lt;/DD&gt;
&lt;DT&gt;&lt;SPAN class=" aa-term "&gt;&lt;SPAN class=" aa-keyword"&gt;SIMPLE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DT&gt;
&lt;DD&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;performs simple (single) exponential smoothing.&lt;/P&gt;
&lt;/DD&gt;
&lt;DT&gt;&lt;SPAN class=" aa-term "&gt;&lt;SPAN class=" aa-keyword"&gt;DOUBLE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DT&gt;
&lt;DD&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;performs double (Brown) exponential smoothing.&lt;/P&gt;
&lt;/DD&gt;
&lt;DT&gt;&lt;SPAN class=" aa-term "&gt;&lt;SPAN class=" aa-keyword"&gt;LINEAR&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DT&gt;
&lt;DD&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;performs linear (Holt) exponential smoothing.&lt;/P&gt;
&lt;/DD&gt;
&lt;DT&gt;&lt;SPAN class=" aa-term "&gt;&lt;SPAN class=" aa-keyword"&gt;DAMPTREND&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DT&gt;
&lt;DD&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;performs damped trend exponential smoothing.&lt;/P&gt;
&lt;/DD&gt;
&lt;DT&gt;&lt;SPAN class=" aa-term "&gt;&lt;SPAN class=" aa-keyword"&gt;ADDSEASONAL | SEASONAL&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DT&gt;
&lt;DD&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;performs additive seasonal exponential smoothing.&lt;/P&gt;
&lt;/DD&gt;
&lt;DT&gt;&lt;SPAN class=" aa-term "&gt;&lt;SPAN class=" aa-keyword"&gt;MULTSEASONAL&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DT&gt;
&lt;DD&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;performs multiplicative seasonal exponential smoothing.&lt;/P&gt;
&lt;/DD&gt;
&lt;DT&gt;&lt;SPAN class=" aa-term "&gt;&lt;SPAN class=" aa-keyword"&gt;WINTERS&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DT&gt;
&lt;DD&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;uses the Winters multiplicative method.&lt;/P&gt;
&lt;/DD&gt;
&lt;DT&gt;&lt;SPAN class=" aa-term "&gt;&lt;SPAN class=" aa-keyword"&gt;ADDWINTERS&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DT&gt;
&lt;DD&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;uses the Winters additive method.&lt;/P&gt;
&lt;/DD&gt;
&lt;/DL&gt;
&lt;/DIV&gt;
&lt;P class="xisDoc-paraSimple"&gt;By default, MODEL=SIMPLE.&lt;/P&gt;
&lt;/DD&gt;
&lt;/DL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;SPAN&gt;Good luck,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Koen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Mar 2022 11:47:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801859#M4389</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-03-13T11:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Project 3 months of sales for Top 5 facilities</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801866#M4390</link>
      <description>&lt;P&gt;You have all been a tremendous help with this assignment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really appreciate it!&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc sort data=mis543.toys &lt;BR /&gt;              out=toys&lt;BR /&gt;              nodupkey;&lt;BR /&gt;   by FacilityCountry TransactionMonth;&lt;BR /&gt;run;proc sort data=work.toys &lt;BR /&gt;              out=sorttoys;&lt;BR /&gt;   by FacilityCountry TransactionMonth;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc esm data=work.sorttoys out=NextMonths_Toys LEAD=3 PLOT=FORECASTS;&lt;BR /&gt;   by FacilityCountry;&lt;BR /&gt;   id TransactionMonth interval=month;&lt;BR /&gt;   forecast ProductPriceActual / model=addwinters;&lt;BR /&gt;run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I think this is the right code! Definitely feeling less defeated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Mar 2022 14:51:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801866#M4390</guid>
      <dc:creator>mccusker1818</dc:creator>
      <dc:date>2022-03-13T14:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Project 3 months of sales for Top 5 facilities</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801867#M4391</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The 2nd PROC SORT will do nothing.&lt;BR /&gt;work.toys and work.sorttoys are entirely equal (including the sort order of the observations).&lt;BR /&gt;&lt;BR /&gt;Here's alternative code (in case nodupkey is not right and you want to sum the amounts that have the same date (within a facility)).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=mis543.toys 
           out=work.toys;
 by FacilityCountry TransactionMonth;
run;

proc timeseries data=work.toys out=work.mtoys;
   by FacilityCountry ;
   id TransactionMonth interval=month
                       accumulate=TOTAL /*median*/
                       setmiss=0
                       /* start='01jan1998'd */
                       /* end  ='31dec2000'd */  ;
   var ProductPriceActual;
run;

proc esm data=work.mtoys out=NextMonths_Toys LEAD=3 PLOT=FORECASTS;
   by FacilityCountry;
   id TransactionMonth interval=month;
   forecast ProductPriceActual / model=addwinters;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Good luck,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Sun, 13 Mar 2022 15:24:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/801867#M4391</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-03-13T15:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Project 3 months of sales for Top 5 facilities</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/832715#M4504</link>
      <description>&lt;P&gt;I think I'm taking this same class that you were. I am in the same exact boat! Sorted to find top five countries, NOW WHAT!? Textbook is NO help. Modules hardly touch on this subject. (Also, my internet was out for the past two days, causing me to work on this one and two days before it's due, little time to ask prof for help!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What does "sales" even mean? I interpreted it the same way you did - a frequency count of observations in each country because each row seems to be unique by product ordered. But does sales mean total dollars from "ProductPriceActual"? Do I need to add up all the actual price per country?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I feel like I know what I'd like to do with this dataset to get started, but it's so humongous for just a homework assignment, and it also feels disconnected from the course material. Also, all help I'm finding online is about "forecasting," but forecasting is never mentioned in this course.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Sep 2022 02:49:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/832715#M4504</guid>
      <dc:creator>eaking</dc:creator>
      <dc:date>2022-09-11T02:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Project 3 months of sales for Top 5 facilities</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/847359#M4564</link>
      <description>I don't think this is the only way to predict and analyze your future sales.</description>
      <pubDate>Thu, 01 Dec 2022 21:43:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/847359#M4564</guid>
      <dc:creator>alisabounty</dc:creator>
      <dc:date>2022-12-01T21:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Project 3 months of sales for Top 5 facilities</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/847869#M4566</link>
      <description>&lt;P&gt;I don't think this is the only way to predict and analyze your future sales. There are so many details in our dais regarding each company that even a tiny point and change could tour the situation upside down. Sometimes in a reasonable and sometimes in a wrong way. I like to work with &lt;FONT color="#000000"&gt;&lt;A href="https://belkins.io/" target="_self"&gt;https://belkins.io/&lt;/A&gt;&lt;/FONT&gt;. They provide me with all the information I need to know and apply a different strategy each time. I also tried other platforms, but they haven't been as accurate as this one. You can have months when your sales might go down, but after every 3 months, you should see improvements each time if you do a month.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 18:12:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Project-3-months-of-sales-for-Top-5-facilities/m-p/847869#M4566</guid>
      <dc:creator>alisabounty</dc:creator>
      <dc:date>2022-12-05T18:12:52Z</dc:date>
    </item>
  </channel>
</rss>

