3
$\begingroup$

This is AC power data measured at 1 min interval from March-Dec 2019. I want to model the time series but the out of sample forecast is essentially constant. I found the following from EDA:

  1. Power is higher from 8 am to 5 pm every work day and low rest of the time.
  2. Power is low on Sat and Sunday and high on other days.

So it seems there is seasonality at hour level and day level.

Plot of the data and seasonal decomposition of it is shown below,

enter image description here

I have tried using ARIMA with exog variables as hour of the day and day in the week as well as SARIMA with seasonality period. Due to the volume of the data, I could not get the results yet.

Looking for some pointers on how to approach the problem. If I want to predict minute level data, do I still smoothen the data. Seems to me ARIMA/SARIMA will not work and ML based methods might be better suited.

The ARIMA model is fitting quite well for the in sample but the out sample is just a constant value and is not tracking the pattern at all.

I am new to time series and happy to provide other information as needed.

$\endgroup$

1 Answer 1

1
$\begingroup$

You have : load varies within days, but this is modulated by the day of week. Depending on where you are in the world, you may have a third seasonal component for the time within the year (because electrical heating and air conditioning is differently prevalent in different parts of the world). Take a look at the tag wiki for literature.

This signal is likely the strongest thing to model here. Additional predictors might be calendar events, where load may look quite different (think Thanksgiving or Christmas in the US).

(Nonseasonal) ARIMA cannot deal with this at all, and (seasonal) SARIMA can model only one kind of seasonality, via differencing. It has major problems with "long" seasonality: SARIMA is fine for quarterly or monthly data with seasonal lengths of 4 or 12, but data in minute buckets has a season length of 1440 just for the intra-daily patterns. I would not look to ARIMA.

I would use some of the methods discussed in the tag wiki linked to above. TBATS may struggle with your amount of data. MSTL would probably be my method of choice.

As you write, using a "standard" ML tool and feeding in appropriate predictors is absolutely also a possibility. In that case, do not use the hour of day as a predictor, but use harmonic (sine/cosine) transforms of the timestamp, with periodicity of a day, half a day, one third of the day etc.. I would indeed use Boolean dummies for the days of the week, and if you are using a simple statistical model, model the interaction between the (sine/cosine of) minute of day and day of week. In addition, play around with sine/cosine transforms of the minute of the year if you suspect yearly seasonality. And look at any calendar events, especially the kind that moves around in the year.

$\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.