Energy Sector Stock Price Forecasting with Time Series Clustering Approach

Peramalan Harga Saham Sektor Energi dengan Pendekatan Penggerombolan Data Deret Waktu

Authors

  • Linda Sakinah IPB University
  • Rahma Anisa IPB University
  • I Made Sumertajaya IPB University

DOI:

https://doi.org/10.29244/ijsa.v8i2p132-142

Keywords:

ARIMA , autocorrelation-based, dynamic time warping, stock prices, time series clustering

Abstract

Stock investment promises higher returns but carries high risks because unpredictable price fluctuations. Energy sector shows potential due to its highest sectoral index growth in 2022. However, this doesn’t indicate that stock price increases occur evenly among all issuers. Therefore, it’s necessary to analyze clustering of issuers based on similarity of their stock price movements and used for forecasting stock prices at cluster level. This study aims to evaluate performance of clustering energy sector issuers using autocorrelation-based distance and dynamic time warping(DTW), and to forecast stock prices at cluster level. The data used consists weekly closing stock prices. The clustering used hierarchical average linkage method. Stock price forecast for each cluster used ARIMA model and its performance was evaluated using rolling-cross validation. The results showed that DTW distance had the best clustering performance. Energy sector issuers were grouped into four clusters with strong cluster category, indicated by silhouette coefficient >0.71. ARIMA models for each cluster produced MAPE values between 10-20%, categorizing them as good forecasting models. Clusters A and D were recommended for investors because have highest potential for capital gain based on forecasted stock prices. That clusters also consisted of companies with strong fundamentals and dividend policies.

Downloads

Download data is not yet available.

References

Aghabozorgi, S., Ying Wah, T., Herawan, T., Jalab, H. A., Shaygan, M. A., & Jalali, A. (2014). A Hybrid Algorithm for Clustering of Time Series Data Based on Affinity Search Technique. The Scientific World Journal, 2014, 1–12. https://doi.org/10.1155/2014/562194

Al Fatah, R. S. (2022). Pengelompokan Emiten Saham Consumer non Cyclical Menggunakan Jarak Euclidean dan Dynamic Time Warping. IPB University.

[BEI]. (2022). 13 Daftar Saham Sektor Energi yang Bisa Jadi Investasi Anda [News]. IDX Channel. https://www.idxchannel.com/market-news/13-daftar-saham-sektor-energi-yang-bisa-jadi-investasi-anda [diakses pada 4 Januari 2023]

D’Urso, P., & Maharaj, E. A. (2009). Autocorrelation-based fuzzy clustering of time series. Fuzzy Sets and Systems, 160(24), 3565–3589. https://doi.org/10.1016/j.fss.2009.04.013

Kardiyen, F., & Güney, H. (2015). A Study on Time Series Clustering. Gazi University Journal of Science, 28(2), 331–347.

Kaufman, L., & Rousseeuw, P. J. (2009). Finding groups in data: An introduction to cluster analysis. John Wiley & Sons.

Mattjik, A. A., & Sumertajaya, I. M. (2011). Sidik Peubah Ganda dengan Menggunakan SAS. IPB Press.

Montgomery, D. C., Jennings, C. L., & Kulahci, M. (2015). Introduction to time series analysis and forecasting. John Wiley & Sons.

Niennattrakul, V., & Ratanamahatana, C. A. (2007). On Clustering Multimedia Time Series Data Using K-Means and Dynamic Time Warping. 2007 International Conference on Multimedia and Ubiquitous Engineering (MUE’07), 733–738. https://doi.org/10.1109/MUE.2007.165

Rencher, A. C. (2005). A Review Of “Methods of Multivariate Analysis, Second Edition.” IIE Transactions, 37(11), 1083–1085. https://doi.org/10.1080/07408170500232784

Sarda-Espinosa, A. (2017). Comparing time-series clustering algorithms in r using the dtwclust package. R Package Vignette, 12, 41.

Ulinnuha, M., M Afendi, F., & Sumertajaya, I. M. (2022). Study of Clustering Time Series Forecasting Model for Provincial Grouping in Indonesia Based on Rice Price: Kajian Model Peramalan Clustering Time Series untuk Penggerombolan Provinsi Indonesia berdasarkan Harga Beras. Indonesian Journal of Statistics and Its Applications, 6(1), 50–62. https://doi.org/10.29244/ijsa.v6i1p50-62

Wei, W. W. S. (2006). Time series analysis: Univariate and multivariate methods (2nd ed). Pearson Addison Wesley.

Downloads

Published

31-12-2024

How to Cite

Linda Sakinah, Rahma Anisa, & I Made Sumertajaya. (2024). Energy Sector Stock Price Forecasting with Time Series Clustering Approach: Peramalan Harga Saham Sektor Energi dengan Pendekatan Penggerombolan Data Deret Waktu. Indonesian Journal of Statistics and Its Applications, 8(2), 132–142. https://doi.org/10.29244/ijsa.v8i2p132-142

Issue

Section

Articles