Predicting stock prices: an empirical study using ARIMA and LSTM with model evaluation

This study employs the Autoregressive Integrated Moving Average (ARIMA) model and Long Short-Term Memory (LSTM) neural networks to forecast Google stock prices. The ARIMA methodology, implemented in MATLAB, involves managing time-stamped data, tuning model parameters including the Degree of Integration, Autoregressive Order, and Moving Average Order, transforming data to achieve stationarity, and conducting goodness-of-fit checks using AIC and BIC. The LSTM model, built with Keras, incorporates data preprocessing, feature scaling, structuring data for LSTM input, model building with LSTM and Dropout layers, and training with callbacks to prevent overfitting. The models are evaluated using metrics such as Root Mean Squared Error (RMSE) and Mean Squared Error (MSE). The LSTM model achieved an MSE of 0.0429 and an RMSE of 0.2070 on the training data, and an MSE of 0.6213 and an RMSE of 0.7883 for future predictions. In comparison, the ARIMA(2,1,2) model resulted in an MSE of 1.1434 and an RMSE of 2.9136. The results demonstrate the models’ ability to fit training data, with the LSTM model showing superior performance on the training set, and the challenges in predicting future values, highlighting the importance of data preprocessing, model selection, and out-of-sample testing for effective stock price forecasting.

Authors

Institutions

Publication Details

Published
2025-08-29
DOI
https://doi.org/10.1117/12.3074863
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Predicting stock prices: an empirical study using ARIMA and LSTM with model evaluation

Chiranun Kamolsin, Surapong Wiriya, Kitiphichet Thoopbucha
1 links
Stock Market Forecasting Methods
article

Predicting stock prices: an empirical study using ARIMA and LSTM with model evaluation

Chiranun Kamolsin, Surapong Wiriya, Kitiphichet Thoopbucha
article en

Abstract

This study employs the Autoregressive Integrated Moving Average (ARIMA) model and Long Short-Term Memory (LSTM) neural networks to forecast Google stock prices. The ARIMA methodology, implemented in MATLAB, involves managing time-stamped data, tuning model parameters including the Degree of Integration, Autoregressive Order, and Moving Average Order, transforming data to achieve stationarity, and conducting goodness-of-fit checks using AIC and BIC. The LSTM model, built with Keras, incorporates data preprocessing, feature scaling, structuring data for LSTM input, model building with LSTM and Dropout layers, and training with callbacks to prevent overfitting. The models are evaluated using metrics such as Root Mean Squared Error (RMSE) and Mean Squared Error (MSE). The LSTM model achieved an MSE of 0.0429 and an RMSE of 0.2070 on the training data, and an MSE of 0.6213 and an RMSE of 0.7883 for future predictions. In comparison, the ARIMA(2,1,2) model resulted in an MSE of 1.1434 and an RMSE of 2.9136. The results demonstrate the models’ ability to fit training data, with the LSTM model showing superior performance on the training set, and the challenges in predicting future values, highlighting the importance of data preprocessing, model selection, and out-of-sample testing for effective stock price forecasting.

Chaopraya University (TH)
Decent work and economic growth
Openalex Percentile: Top 73%
Stock Market Forecasting Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.