2
$\begingroup$

I would like to model intraday data of energy load. The data show strong seasonality within the day (which is clear and well known) and a different pattern on weekdays and weekends. I use the time series packages of R (package ts and then a decomposition in seasonality, level and trend). I get good results when I just concatenate the data ignoring the day of the week and estimate an aggregate model. But I would like to improve the quality on weekends.

How can I formulate a time series model that distinguishes between weekdays and weekends?

$\endgroup$

3 Answers 3

0
$\begingroup$

Check out the discussion on http://www.analyticbridge.com/forum/topics/vector-time-series-analysis. The whole idea is to seamlessly integrate daily predictions and hourly predictions into one. This is done while detecting and incorporating multiple level shifts, multiple time trends , the window of response around individual holidays while incorporating weather effects, all while isolating unusual values. You could search for a mixed-frequency suite of software as you have both intra and inter day effects.

$\endgroup$
1
  • $\begingroup$ Thank you for your answer and the linke. In the meanwhile I continued my research and I found quite an easy way that might provide a good model. I will post this as an "answer" by myself (then people will more probably see it and discuss it). $\endgroup$
    – Richi W
    Commented Nov 12, 2012 at 8:10
0
$\begingroup$

One possibility is a 2-step model.

  1. Find a trend/Cycle/seasonality model for the data ignoring businessdays/weekedays
  2. Then perform a time series regression with dummy variables indicating the issues above (business days, holidays, ...).

Step 2 can be extended to include more predictors. This model is "easy" and I will test its performance.

$\endgroup$
2
  • 1
    $\begingroup$ The problem with Step 1 is that if tou need Step 2, your results from Step 1 are probably useless. Furthermore Step 1 requires you to specifiy 1) how many trends there are ; 2) How many Step shifts there are ; 3) that the seasonality is fixed ( dummies_) or autoprojective ; 4) the errors from the model have constant variance etc. etc. etc. If your goal is to develop a useful model, this may not be served by doing what's wrong/insufficient first. Ease of use and speed are of interest but should take second place ( a distant second place !) to good analytics. $\endgroup$
    – IrishStat
    Commented Nov 12, 2012 at 14:50
  • $\begingroup$ Thanks for your comments. I will keep this in mind and work through the link that you privided. $\endgroup$
    – Richi W
    Commented Nov 12, 2012 at 15:33
0
$\begingroup$

if I get you right, I think all you want to do is to estimate a whole model by using weekdays and weekends as well as holidays. For forecasting intraday time series, exponential smoothing is mostly used. This kind of data sets can contain more than seasonal patterns. In these days, e.g. public holidays, the energy demand data (I consider, for example, your univariate time series is all about demand.) can differ greatly from the regular seasonal pattern. In the literature, I have run into with many methods to overcome this problem. One of them, which I think it's a good solution, is to smooth out these values using simple averaging procedures.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.