Stock Price Forecasting Using Autoregressive With Exogenous Variable Support Vector Regression (ARX – SVR)

Authors

  • Erlyne Nadhilah Widyaningrum Mulawarman University
  • Rizka Amalia Putri Riau University, Pekanbaru
  • Morina A. Fathan Tadulako University, Palu
  • Nur Rezky Safitriani Tadulako University, Palu

DOI:

https://doi.org/10.20956/j.v21i3.43613

Keywords:

Exogenous Variable, Forecast, Stock, Support Vector Regression

Abstract

Stock prices move fluctuate continuously and dynamically at all times, so stock price predictions are needed to maximize profits for investors and avoid losses due to the characteristic of stock prices. Autoregressive (AR) model is a forecasting method and has weaknesses against nonlinear patterns. In addition to using linear modeling, forecasting stock prices can use the Support Vector Regression model which offers a global optimal solution that works with data maps to high-dimensional spaces and has good performance with time series problems. The addition of exogenous variables X to the model can also improve forecasting accuracy. Forecasting will be done using significant lags as input to Support Vector Regression. The modeling results show that the ARX-SVR model with X as an outlier exogenous variables provides the best out-of-sample data forecasting results for the case study of stock closing price forecasting. This model provides forecasting results with Symmetric Mean Absolute Percentage Error (sMAPE) 5.382430%.

References

[1] Bernhard., Scholkopf. & Smola, A.J., 2002. Learning With Kernel. MIT Press, Massachusetts.

[2] Chhajer, P., Shah, M. & Kshirsagar, A., 2022. The Applications of Artificial Neural Networks, Support Vector Machines, and Long–Short Term Memory for Stock Market Prediction. Decision Analytics Journal, Vol. 2, 100015.

[3] Cortes., Corinna. & Vapnik, V., 1995. Support-Vector Networks. Machine Learning, Vol. 20, 273–297.

[4] Dash., Kumar., Nguyen,T.N., Cengiz, K. & Sharma, A., 2023. Fine-Tuned Support Vector Regression Model for Stock Predictions. Neural Computing and Applications, Vol. 35, No. 32, 23295–23309.

[5] Ghofur, A.F., Dewi, Y.S. & Anggaraeni, D., 2022. Comparison Of Support Vector Regression And Autoregressive Integrated Moving Average With Exogenous Variable On Indonesia Consumer Price Index. Science and Research Journal, Vol. 5 , No. 3, 144-148.

[6] Gunn., Steve R., 1997. Support Vector Machines for Classification and Regression. University of Southampton.

[7] Haykin, Simon. 2009. Neural Network and Learning Machines, Third Edition. Pearson Education Inc., New Jersey.

[8] Hillmer, Steven C. & William W. S., 1991. Time Series Analysis: Univariate and Multivariate Methods. Journal of the American Statistical Association, Vol.86, No.413, 245.

[9] Kewat., Pooja., Sharma, R., Singh, U. & Itare, R., 2017. Support Vector Machines through Financial Time Series Forecasting. International Conference of Electronics, Communication and Aerospace Technology (ICECA), Vol. 2, 471–477.

[10] Makridakis, Spyros, Wheelwright, S.C., McGee, V.E., Andriyanto,U.S. & Basith,A., 1999. Metode Dan Aplikasi Peramalan Jilid 1, Edisi Kedua. Bina Rupa Aksara., Jakarta.

[11] Meesad., Phayung. & Rasel, R.I., 2013. Predicting Stock Market Price Using Support Vector Regression. International Conference on Informatics, Electronics and Vision (ICIEV), 1–6.

[12] Pai, Feng, P. & Lin, C.S., 2005. A Hybrid ARIMA and Support Vector Machines Model in Stock Price Forecasting. Omega, Vol.33, No. 6, 497–505.

[13] Rahmadayanti, Cipta, Rabbani, H. & Rohmawati, A.A., 2018. Model GARCH Dengan Pendekatan Conditional Maximum Likelihood Untuk Prediksi Harga Saham. Indonesia Journal on Computing (Indo-JC), Vol.3, No. 2, 21–28.

[14] Suhartono., Gazali, M.M. & Prastyo,D.D., 2018. VARX and GSTARX Models for Forecasting Currency Inflow and Outflow with Multiple Calendar Variations Effect. Matematika, Vol. 34, No. 3, 57–72.

[15] Tiao., George, C. & Box, G.E.P., 1981. Modeling Multiple Time Series with Applications. Journal of the American Statistical Association, Vol. 76, No. 376, 802–816.

[16] Wutsqa. & Urwatul, D., 2010. Seasonal Multivariat Time Series Forecasting on Tourism Data by Using Var-Gstar Model. Jurnal Ilmu Dasar, Vol.11, No.1, 101–109.

Downloads

Published

2025-05-14

How to Cite

Widyaningrum, E. N., Putri, R. A., Fathan, M. A., & Safitriani, N. R. (2025). Stock Price Forecasting Using Autoregressive With Exogenous Variable Support Vector Regression (ARX – SVR). Jurnal Matematika, Statistika Dan Komputasi, 21(3), 847–854. https://doi.org/10.20956/j.v21i3.43613

Issue

Section

Research Articles