Image of Forecasting Stock Returns Using Long Short-Term Memory (LSTM) Model Based on Inflation Data and Historical Stock Price Movements

Jurnal Nasional

Forecasting Stock Returns Using Long Short-Term Memory (LSTM) Model Based on Inflation Data and Historical Stock Price Movements



Abstract

The stock market is crucial for economic growth and development, offering profit opportunities that attract investors worldwide. However, its inherent volatility necessitates the inclusion of macroeconomic indicators like inflation, which can affect stock valuation and investor behavior. This study explores predicting stock returns using a Long Short-Term Memory (LSTM) model by incorporating inflation data, historical stock price movements, and calculated returns as input features. The dataset was split into 80% for training and 20% for testing, with hyperparameter tuning conducted using the RMSprop optimizer under varying batch sizes and epoch settings. Experimental results show that the configuration using RMSprop with a batch size of 8 and 200 epochs delivered the best performance, achieving a Root Mean Squared Error (RMSE) of 0.0167 and a Mean Absolute Percentage Error (MAPE) of 25.89%. These results represent a significant improvement over alternative configurations and previous benchmarks. This study underscores the importance of including inflation as a predictive variable, enhancing the model's accuracy. The findings highlight the relevance of incorporating macroeconomic factors into stock return forecasting, providing valuable insights for investors and financial analysts seeking data-driven strategies in decision-making processes.

Keywords: forecasting; inflation; long short-term memory; stock forecasting; stock return


Ketersediaan

Tidak ada salinan data


Informasi Detail

Judul Seri
-
No. Panggil
-
Penerbit Ikatan Ahli Informatika Indonesia (IAAI) : .,
Deskripsi Fisik
-
Bahasa
English
ISBN/ISSN
2580-0760
Klasifikasi
NONE
Tipe Isi
text
Tipe Media
-
Tipe Pembawa
-
Edisi
Vol. 9 No. 3 (2025), pp
Subjek
-
Info Detail Spesifik
-
Pernyataan Tanggungjawab

Versi lain/terkait

Tidak tersedia versi lain


Lampiran Berkas



Informasi


Akses Katalog Publik Daring - Gunakan fasilitas pencarian untuk mempercepat penemuan data katalog