<?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: Seasonal adjustment for daily/weekly data in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200733#M1271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lizi -&lt;/P&gt;&lt;P&gt;I should have been clearer in my question: I was wondering how many products (or sales) you are trying to forecast. Are we talking about 1 product, 10s, 100s, 1000s, more?&lt;/P&gt;&lt;P&gt;In general having only 2 years of daily data will be a challenge - as you observed each day only twice at max. So depending on your patterns coming up with accurate models might be difficult.&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>Wed, 19 Aug 2015 22:06:36 GMT</pubDate>
    <dc:creator>udo_sas</dc:creator>
    <dc:date>2015-08-19T22:06:36Z</dc:date>
    <item>
      <title>Seasonal adjustment for daily/weekly data</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200728#M1266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have daily sales data which display strong weekly seasonality as well as monthly seasonality. It means that there was spike at the end of each week and greater spike at the end of each month. To adjust the aggregated weekly data for their seasonality, can I use X12 procedure as monthly data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you as always!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lizi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2015 16:17:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200728#M1266</guid>
      <dc:creator>lizzy28</dc:creator>
      <dc:date>2015-08-17T16:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Seasonal adjustment for daily/weekly data</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200729#M1267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello -&lt;/P&gt;&lt;P&gt;If you have access to SAS Forecast Server you may consider the following approach:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Role up the data to weekly frequency and use a seasonal model to capture end of month spikes (low-frequency forecast)&lt;/LI&gt;&lt;LI&gt;Model daily data to capture week seasonal behavior (such as high demand on weekends) (high-frequency forecast)&lt;/LI&gt;&lt;LI&gt;Use the HPFTEMPRECON procedure to "align" 1) and 2). HPFTEMPRECON reconciles the high-frequency forecasts to the low-frequency forecasts in such a way that the accumulation of the reconciled high-frequency forecasts is equal to the low-frequency forecasts.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may find this thread useful, too: &lt;A _jive_internal="true" class="active_link" href="https://communities.sas.com/message/151039"&gt;https://communities.sas.com/message/151039&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&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>Tue, 18 Aug 2015 12:46:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200729#M1267</guid>
      <dc:creator>udo_sas</dc:creator>
      <dc:date>2015-08-18T12:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Seasonal adjustment for daily/weekly data</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200730#M1268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Thanks, Udo!&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Unfortunately I don't have SAS Forecast Server. I have looked into &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;the HPFTEMPRECON procedure, and it looks that it only works in the Forecast Server. Would there be other way that works in the regular environment?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Thanks again!&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Lizi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 21:00:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200730#M1268</guid>
      <dc:creator>lizzy28</dc:creator>
      <dc:date>2015-08-18T21:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Seasonal adjustment for daily/weekly data</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200731#M1269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lizi -&lt;/P&gt;&lt;P&gt;Many many time series are we talking about?&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>Wed, 19 Aug 2015 14:17:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200731#M1269</guid>
      <dc:creator>udo_sas</dc:creator>
      <dc:date>2015-08-19T14:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Seasonal adjustment for daily/weekly data</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200732#M1270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Udo, there are only two-year daily sales data, which have decent weekly and monthly seasonality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lizi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 16:13:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200732#M1270</guid>
      <dc:creator>lizzy28</dc:creator>
      <dc:date>2015-08-19T16:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Seasonal adjustment for daily/weekly data</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200733#M1271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lizi -&lt;/P&gt;&lt;P&gt;I should have been clearer in my question: I was wondering how many products (or sales) you are trying to forecast. Are we talking about 1 product, 10s, 100s, 1000s, more?&lt;/P&gt;&lt;P&gt;In general having only 2 years of daily data will be a challenge - as you observed each day only twice at max. So depending on your patterns coming up with accurate models might be difficult.&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>Wed, 19 Aug 2015 22:06:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200733#M1271</guid>
      <dc:creator>udo_sas</dc:creator>
      <dc:date>2015-08-19T22:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Seasonal adjustment for daily/weekly data</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200734#M1272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Udo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now I am only looking at one product. I thought about the short time period I am looking at as well. But unfortunately the project is to find how marketing campaign helps predict retail sales, and we only have two-year marketing campaign data. I have to just use less data points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried vector autoregression model with unadjusted data and hope to run the model again after the data are seasonally adjusted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Lizi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 12:49:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200734#M1272</guid>
      <dc:creator>lizzy28</dc:creator>
      <dc:date>2015-08-20T12:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Seasonal adjustment for daily/weekly data</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200735#M1273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello -&lt;/P&gt;&lt;P&gt;If it is only one series you are dealing with you don't need to worry about HPFTEMPRECON, as it is designed to handle large hierarchical projects.&lt;/P&gt;&lt;P&gt;One approach might be to do the following:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;First model the daily forecast - which will most likely not capture the end of end of month spikes&lt;/LI&gt;&lt;LI&gt;Look at the residuals of the daily forecast - and based on the residuals create a new data set which only includes your end of week period - for example you may say the end of month peak always occurs 5 days before and 3 days after the true end date of a month (for example August 31st). Set all other periods to 0.&lt;/LI&gt;&lt;LI&gt;Create a custom interval which captures your end of month behavior (se: &lt;A href="http://support.sas.com/documentation/cdl/en/etsug/63348/HTML/default/viewer.htm#etsug_intervals_sect008.htm"&gt;http://support.sas.com/documentation/cdl/en/etsug/63348/HTML/default/viewer.htm#etsug_intervals_sect008.htm&lt;/A&gt;)&lt;/LI&gt;&lt;LI&gt;Model the end of month residuals using your custom interval using a seasonal model - the custom interval will take care of the "off-season" periods.&lt;/LI&gt;&lt;LI&gt;Finally adjust your daily forecast with the end of month forecast - for example simple add the uplift to your daily forecast&lt;/LI&gt;&lt;LI&gt;This white paper illustrates a similar approach: &lt;A href="http://www.sas.com/offices/latinamerica/chile/emailmkt/forecast/pdf/Forecasttimecompression.pdf" title="http://www.sas.com/offices/latinamerica/chile/emailmkt/forecast/pdf/Forecasttimecompression.pdf"&gt;http://www.sas.com/offices/latinamerica/chile/emailmkt/forecast/pdf/Forecasttimecompression.pdf&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Udo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 16:18:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200735#M1273</guid>
      <dc:creator>udo_sas</dc:creator>
      <dc:date>2015-08-20T16:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Seasonal adjustment for daily/weekly data</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200736#M1274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are so awesome, Udo!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll try it out and let you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a bunch!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lizi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 16:27:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200736#M1274</guid>
      <dc:creator>lizzy28</dc:creator>
      <dc:date>2015-08-20T16:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Seasonal adjustment for daily/weekly data</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200737#M1275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Udo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more question for the adjustment: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the second step "2. &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;Look at the residuals of the daily forecast&lt;/SPAN&gt;...", create a new data set that only includes the end of week period. Then your example talked about the end of month peak. Also, the following steps, 4 and 5, they are about adjusting the forecast with end of month forecast. Should the example and the following steps be about adjusting the forecast with end of &lt;STRONG&gt;week&lt;/STRONG&gt; forecast, rather than end of &lt;STRONG&gt;month&lt;/STRONG&gt; forecast?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought that the process would be to adjust with end of week forecast and then adjust with end of month forecast.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for endless question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lizi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 19:18:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200737#M1275</guid>
      <dc:creator>lizzy28</dc:creator>
      <dc:date>2015-08-24T19:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Seasonal adjustment for daily/weekly data</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200738#M1276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lizi -&lt;/P&gt;&lt;P&gt;Of course, I should have been more careful in my description - sorry for that.&lt;/P&gt;&lt;P&gt;Please read my response in combination with my earlier response:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Model daily data to capture week seasonal behavior (such as high demand on weekends) (high-frequency forecast)&lt;/LI&gt;&lt;LI&gt;Role up the data to weekly frequency and use a seasonal model to capture end of month spikes (low-frequency forecast)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Udo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 21:30:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200738#M1276</guid>
      <dc:creator>udo_sas</dc:creator>
      <dc:date>2015-08-24T21:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Seasonal adjustment for daily/weekly data</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200739#M1277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Udo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Continuing from my previous ask, I was wondering whether I am supposed to use seasonally adjusted data series, i.e. forecast of sales with residual forecasts of spikes, in a vector autoregression model (VAR) or any regression analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The purpose of doing seasonal adjustment is to get better prediction in a VAR. Please advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lizi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 16:21:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-adjustment-for-daily-weekly-data/m-p/200739#M1277</guid>
      <dc:creator>lizzy28</dc:creator>
      <dc:date>2015-08-27T16:21:28Z</dc:date>
    </item>
  </channel>
</rss>

