Bayesian Structural Time Series Model for Forecasting the Composite Stock Price Index in Indonesia
Abstract
One of the models that can be used to predict time series data is the Bayesian Structural Time Series (BSTS) model. The BSTS model is a more modern model and can handle data movement better. In the BSTS model, the Markov Chain Monte Carlo (MCMC) sampling algorithm is used to simulate the posterior distribution, which smoothes the forecasting results over a large number of potential models using Bayesian averaging models. The purpose of this study was to obtain the best BSTS model for Composite Stock Price Index (CSPI) data in Indonesia based on the state component and the number of MCMC iterations, and obtain forecasting results for CSPI value in Indonesia for the next 24 months, namely the period July 2023 to June 2024. The results obtained are based on a comparison of the R-square values in the model, the BSTS model with local linear trend and seasonal state components, and the number of MCMC iterations n = 5 00 is the best BSTS model that can be used for forecasting the CSPI value in Indonesia with an R-square value of 99.96%. The results of forecasting the CSPI value in Indonesia for the period July 2023 to June 2024 range from 6589 to 6760, with the lowest forecasting value in October 2023 and the highest in March 2023.
References
Brodersen, K.H., Gallusser, F., Koehler, J., Remy, N., & Scott, S.L. (2015). Inferring Causal Impact using Bayesian Structural Time-Series Models, The Annals of Applied Statistics. 9(1): 247–274.
Durbin, J. & Koopman, S.J. (2012). Time Series Analysis by State Space Methods. 2nd Edition. Oxford University Press, UK.
Feroze, N. (2020). Forecasting the patterns of COVID-19 and Causal Impacts of Lockdown in Top Five Affected Countries Using Bayesian Structural Time Series. Elsevier Journal of Chaos, Solitons, and Fractals. 140: 1-8.
George, E.I. & McCulloch, R.E. (1997). Approaches for Bayesian Variable Selection. Statistica Sinica. 7: 339–374.
Ghahramani, S. (2016). Fundamentals of Probability with Stochastic Processes. 3rd Edition. CRC Press, US.
Hazhiah, T.I., Sugito, & Rahmawati, R. (2012). Estimasi Parameter Distribusi Weibull Dua Parameter Menggunakan Metode Bayes. Media Statistik. 5(1): 27-35.
Hoeting, J.A., Madigan, D., Raftery, A.E., & Volinsky, C.T. 1999. Bayesian Model Averaging: A Tutorial. Statistical Science. 14(4): 382-417.
Hutahaean, H.D. (2018). Analisa Simulasi Monte Carlo untuk Memprediksi Tingkat Kehadiran Mahasiswa dalam Perkuliahan. Jurnal of Informatic Pelita Nusantara. 3(1): 41-45.
Koerniawan, V., Nilsen, A., Sari, F.P., Ayyasy, M.Y., & Indranto, S.P. (2022). Pemodelan Peluang Transisi Rantai Markov dengan Simulasi Monte Carlo Berdasarkan Distribusi Multinoulli untuk Memprediksi Harga Indeks Saham. Jurnal Statistika dan Aplikasinya. 6(2): 276-287.
Madigan, D. & Raftery, A.E. (1994). Model Selection and Accounting for Model Uncertainty in Graphical Models Using Occam’s Window. Journal of the American Statistical Association. 89(428): 1535–1546.
Mokilane, P., Debba, P., Yadavalli, V.S.S., & Sigauke, C. (2019). Bayesian Structural Time Series Approach to a Long-Term Electricity Demand Forecasting. Applied Mathematics & Information Sciences. 13(2): 189-199.
Nurwani. (2016). Analisis Pengaruh Inflasi, Nilai Tukar Rupiah, dan Suku Bunga SBI Terhadap Pergerakan Indeks Harga Saham Gabungan di Bursa Efek Indonesia. Jurnal Ilmu Ekonomi dan Studi Pembangunan. 16(2).
Rohmaningsih, N.M., Sudarno, & Diah Safitri. (2016). Pemodelan dan Peramalan Volatilitas pada Return Saham Bank Bukopin Menggunakan Model Asymmetric Power Autoregressive Conditional Heteroskedasticity (APARCH). Jurnal Gaussian. 5(4): 705-715.
Ross, S.M. (2010). Introduction to Probabilit Models. 10th Edition. Elsevier, California.
Scott, S.L. & Varian, H.R. (2014). Predicting the Present with Bayesian Structural Time Series. Int. J. Mathematical Modelling and Numerical Optimisation. 5(1-2): 4-23.
Simatupang, S. (2022). Simulasi Monte Carlo dalam Memprediksi Ketersediaan Barang PT. Terang Abadi Pekanbaru. Jurnal Sistem Informasi dan Manajemen. 10(1): 176-184.
Syahadati, A., Lengkong, N.C., Safitri, O., Machsus, S., Putra, Y.R., & Nooraeni, R. (2021). Analisis Sentimen Penerapan PSBB di DKI Jakarta dan Dampaknya Terhadap Pergerakan IHSG. Jurnal Teknoinfo. 15(1): 20-25.
Tang, A. & Halmkrona, J. (2022). Applying Software Engineering Principles to Develop Parcel Delay Forecasting Models using Tracking Data: A Study of the models ARIMA, BSTS, and GAM. Tesis. Department of Computer Science and Engineering, Chalmers University of Technology, Sweden.
