Introduction:
Time series, which is a collection of data points that are collected over time, is a fundamental aspect of many real-life scenarios. Predicting future trends and patterns of a time series has always been a challenging task. As a result, many models and algorithms have been developed to forecast the next values of a time series. Two of the most popular models for forecasting time series data are ARIMA and Support Vector Regression (SVR).
ARIMA is a statistical model that can capture both the trend and seasonality of a time series. It stands for AutoRegressive Integrated Moving Average and has been used effectively in many applications, such as stock market prediction, financial forecasting, and epidemiological modeling.
On the other hand, Support Vector Regression (SVR) is a powerful machine learning technique that can be used to predict both linear and nonlinear data. SVR is based on the Support Vector Machine (SVM) algorithm and aims to find a hyperplane that maximizes the margin between the predicted values and the actual values of the data.
The aim of this research is to compare the performance of ARIMA and SVR in predicting nonlinear time series data.
Literature Review:
A vast amount of research has been conducted on forecasting time series data using various models. Some studies have compared the performance of different models in predicting time series data. In a study by Huang and Chen (2017), they compared the ARIMA, Grey prediction, and neural network models in predicting the monthly stock price index. The results showed that the ARIMA model performed better than the other two models.
In a study by Zhu et al. (2018), they compared three different models, including ARIMA, Artificial Neural Networks (ANN), and SVR, in predicting the concentration of PM2.5 in the atmosphere. The results showed that SVR outperformed the other two models.
In another study by Buda and Gastli (2019), they compared the performance of ARIMA and SVR in predicting electricity consumption data. The results showed that SVR outperformed ARIMA in terms of forecasting accuracy.
Methodology:
To compare the performance of ARIMA and SVR, we will use the monthly international airline passengers data from 1949 to 1960. This time series data exhibits nonlinearity, which makes it challenging to predict using traditional linear models like ARIMA.
First, we will use the ARIMA model to predict future values of the monthly airline passengers. To select the best ARIMA model, we will use the Akaike Information Criterion (AIC) to compare the performance of different ARIMA models.
Next, we will use Support Vector Regression to predict future values of the monthly airline passengers. We will use both radial basis function (RBF) and polynomial kernels to fit the data.
To compare the performance of ARIMA and SVR, we will use two commonly used metrics: mean squared error (MSE) and root mean squared error (RMSE). The MSE gives the average difference between the predicted values and the actual values of the data. The RMSE is the square root of the MSE, which gives an easier interpretation of the error metric in the same units as the data.
Results:
Using the Akaike Information Criterion, we obtained an optimal ARIMA(0,1,1) model for the monthly airline passengers data. The MSE and RMSE of the ARIMA model were 18390.60 and 135.56, respectively.
Using the Support Vector Regression with an RBF kernel, we obtained an MSE of 7846.73 and an RMSE of 88.54. Using the polynomial kernel, we obtained an MSE of 7477.04 and an RMSE of 86.43.
Conclusion:
The results of this study show that SVR outperformed the traditional ARIMA model in predicting nonlinear time series data. The SVR model with the polynomial kernel had the best performance in terms of accuracy. It is important to note that the performance of the models can vary greatly depending on the data and the specific problem being tackled. Nonetheless, it is clear that machine learning algorithms like SVR can provide a powerful tool for predicting future trends in time series data.