<?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: Forcasting volume by categorical variables in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Forcasting-volume-by-categorical-variables/m-p/153790#M966</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello -&lt;/P&gt;&lt;P&gt;Given your description you may want to check out either &lt;A href="http://support.sas.com/documentation/cdl/en/etsug/66100/HTML/default/viewer.htm#etsug_arima_toc.htm"&gt;ARIMA&lt;/A&gt; or &lt;A href="http://support.sas.com/documentation/cdl/en/etsug/66100/HTML/default/viewer.htm#etsug_ucm_toc.htm"&gt;UCM &lt;/A&gt;of SAS/ETS software. &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Udo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Nov 2013 22:04:25 GMT</pubDate>
    <dc:creator>udo_sas</dc:creator>
    <dc:date>2013-11-22T22:04:25Z</dc:date>
    <item>
      <title>Forcasting volume by categorical variables</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Forcasting-volume-by-categorical-variables/m-p/153789#M965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="font-style: inherit; font-size: 26px; font-family: inherit;"&gt;&lt;/H1&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; background-color: #ffffff;"&gt;&lt;SPAN class="short_text" id="result_box" lang="en" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;I&lt;/SPAN&gt; wish to predict volume in every day , given a day,month,year, day in week (sunday/monday/...), and holiday indicator. ( total of 5 categorical variables) - base on history data of course.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; background-color: #ffffff;"&gt;basically I want to know the weight each of the variables and their values contribute to the volume.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; background-color: #ffffff;"&gt;I want to make that forcast as the volume is not &lt;SPAN class="short_text" id="result_box" lang="en" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;necessarily &lt;/SPAN&gt;spread uniqly (linear) throw the month. for example: if I'm at the begining of the month I might see a bad picture of what it may look at the end of the month.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; background-color: #ffffff;"&gt;So I'm looking for some beta-hats, or weights for the day/month/day_in_week/holiday.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; background-color: #ffffff;"&gt;will be glad to know if there is a proc that will do that.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; background-color: #ffffff;"&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2013 21:19:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Forcasting-volume-by-categorical-variables/m-p/153789#M965</guid>
      <dc:creator>Liat</dc:creator>
      <dc:date>2013-11-22T21:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Forcasting volume by categorical variables</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Forcasting-volume-by-categorical-variables/m-p/153790#M966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello -&lt;/P&gt;&lt;P&gt;Given your description you may want to check out either &lt;A href="http://support.sas.com/documentation/cdl/en/etsug/66100/HTML/default/viewer.htm#etsug_arima_toc.htm"&gt;ARIMA&lt;/A&gt; or &lt;A href="http://support.sas.com/documentation/cdl/en/etsug/66100/HTML/default/viewer.htm#etsug_ucm_toc.htm"&gt;UCM &lt;/A&gt;of SAS/ETS software. &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Udo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2013 22:04:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Forcasting-volume-by-categorical-variables/m-p/153790#M966</guid>
      <dc:creator>udo_sas</dc:creator>
      <dc:date>2013-11-22T22:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Forcasting volume by categorical variables</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Forcasting-volume-by-categorical-variables/m-p/153791#M967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer. But the arima proc will give me the actual volume (by the forcast stament) and I only want to know the weighs of the day+month+year+ day in week+ holiday, so&amp;nbsp; I can put into them my wish/ wanted volume for the future.&lt;/P&gt;&lt;P&gt;So the weights has to be precentage or somthing like that.&lt;/P&gt;&lt;P&gt;For example if I will know that Sunday has influence of 10% and my wish volume for the week is 400 and my actual volume on that Sunday was only 35 I know my volume for that day is not good. I hope I cleard myself better this time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2013 23:32:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Forcasting-volume-by-categorical-variables/m-p/153791#M967</guid>
      <dc:creator>Liat</dc:creator>
      <dc:date>2013-11-22T23:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Forcasting volume by categorical variables</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Forcasting-volume-by-categorical-variables/m-p/153792#M968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello -&lt;/P&gt;&lt;P&gt;Both ARIMA and UCM will not only give you forecasted values, but much more.&lt;/P&gt;&lt;P&gt;A nice feature of UCM is that it can "decompose" forecasts into their components - which will allow you to do the "what-if" type of scenario you are talking about.&lt;/P&gt;&lt;P&gt;Below you will find an example - hope this helps.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Udo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*first create future values for the masonry variable of sashelp.workers;&lt;/P&gt;&lt;P&gt;proc esm data=sashelp.workers out=masonry plot=forecasts;&lt;/P&gt;&lt;P&gt;id date interval=month;&lt;/P&gt;&lt;P&gt;forecast masonry / method=winters;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;*merge the 2 new data sets - note that for masonry it features forecasted values, which you can change later to assess the impact;&lt;/P&gt;&lt;P&gt;data total;&lt;/P&gt;&lt;P&gt;merge sashelp.workers(drop=masonry) masonry;&lt;/P&gt;&lt;P&gt;by date;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;*run UCM with mansonry, irregular and level (which is also called trend in UCM) as compoents;&lt;/P&gt;&lt;P&gt;*check out the outfor data set, which features the components of the forecasts;&lt;/P&gt;&lt;P&gt;*outest features the parameter estimates;&lt;/P&gt;&lt;P&gt;proc ucm data=total plots=smooth(decomp);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; id date interval=month;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; model electric=masonry;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; irregular;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; level;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; estimate outest=outest;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; forecast lead=12 outfor=outfor;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 20:38:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Forcasting-volume-by-categorical-variables/m-p/153792#M968</guid>
      <dc:creator>udo_sas</dc:creator>
      <dc:date>2013-11-25T20:38:16Z</dc:date>
    </item>
  </channel>
</rss>

