I'm working on forecasting daily volumes and have used time series model to check for data stationarity. However, I'm strugging at forecasting data with 90% accuracy. Right now variation is extremely high and I'm just unable to bring it down.

I've used log method to transform my data. Please find the link to folder below which contains ipynb and csv files:


Any help will be highly appreciable

Thanks, Rahul

  • 1
    $\begingroup$ What kind of data is it - volumes of what? Stationarity checks are a good start, but perhaps 90% accuracy is also impossible. It would be helpful if you could try putting more information into the question itself - perhaps small code snippets. Which ARIMA configurations have you already tried? You could try a grid search: trying all combinations of ARIMA(p, d, q) for p, d and q all as range(10), as an example. $\endgroup$
    – n1k31t4
    Commented Jul 10, 2018 at 7:47

1 Answer 1


Before anything, draw a graph.

You'll notice that you have at least three process: one around 20-25, one around 60-90, and one around 250-450. A closer look tells you that the first one is on Saturdays, the second on Sundays and the last one for other working days.

Further notice that the Sundays series is different since 2016-12-26. And have a close look to Christmas and Banking holidays to decide if they behave like Saturdays, Sundays or ordinary days.

Also notice a set of outliers between 2017-12-21 and 2018-01-02. Remove them before to fit. You also have overproduction by the end of November 2016. Remove them also.

Then make a 7-day moving average, which as you will see is rather linear, except for an underproduction in January 2017, for which you may have an external explanation (following the change of end 2017).

With this linear fit, you may have a look to a weekly seasonality. And reach a 70-80% accuracy.

But forget a 90% accuracy. There is much more fluctuation in your data.


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.