0
$\begingroup$

I am new in data science so please accept my apology in advance if my question sounds stupid. I want to do a time series forecast of outage mins in the current regulatory year. The regulatory year starts from 1 April and ends on 30 March of next year. I have data of around six months i.e. from April to September. Outage does not occur every day. So I have only 144 data points (or days out of 171 days) where the outage occurred. I have plotted the data in the following graph. The graph shows the cumulative sum of outage mins.

enter image description here

Now I am trying to predict the value from October to March. I wanted to forecast the value that what would be the cumulative outage mins by the end of March next year. I tried to use Exponential smoothing but it did not work, it may be because I don't have a lot of observation. Then I was reading about ARIMA but not sure whether its the right algorithm to use or not as I don't think that there would be any seasonality in this scenario and also I don't have long data points. Could anyone help with which algorithm should I use to forecast the value? I am using Python as a programming language. Any help would be really appreciated.

$\endgroup$

2 Answers 2

1
$\begingroup$

ARIMA could work, I think it's the right approach. It's simple enough to be used on a small dataset, but sufficiently flexible at the same time. If you are using Python, library statsmodels allows you to implement ARIMA regressions. You have to grid search and find the right parameters to find the best fit, and run the prediction.

If you want to know how to do it, take a look here and here.

Alternatively, even simpler models could work correctly, such as a simple moving average (MA), or auto-regression (AR). But that's something you can find from the ARIMA grid search above.

$\endgroup$
2
  • $\begingroup$ Thanks. ARIMA worked. I was wondering how could I add confidence interval in the predicted values that came from ARIMA. Do you have any suggestions? $\endgroup$ Sep 23, 2020 at 4:23
  • $\begingroup$ There is a method, something like model.conf_int(), that will get you confidence intervals. $\endgroup$
    – Leevo
    Sep 23, 2020 at 7:26
1
$\begingroup$

ARIMA should work fine - I'd recommend the auto-arima package here: https://pypi.org/project/pmdarima/

Alternatively, if you're happy with it to be a little more opaque, you could use Facebook's Prophet. Generates some really accurate predictions with very little tuning.

$\endgroup$

Your Answer

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

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