Preparing Better Data for Oil Price Prediction Using Long Short-Term Memory

Fluctuating oil prices require a prediction model that can capture complex patterns more accurately than traditional methods. This study aims to apply the Long Short-Term Memory (LSTM) model to predict crude oil prices by assessing the effect of the training-test data ratio and window size on model performance. Daily data from 2000 to 2023 were taken from Yahoo Finance, which was then trained and tested on five data ratios and various window sizes. The evaluation was carried out using Mean Squared Error (MSE), Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), and R². The results show that the 90:10 ratio with a window size of 3 provides the best performance, with an MSE of 6.2100, RMSE of 2.4920, MAE of 1.8430, MAPE of 2.1363%, and R² of 0.9606. These findings confirm that LSTM can effectively capture temporal dependencies and outperform traditional statistical methods.

Authors

Institutions

Publication Details

Journal
Jurnal Teknologi Terapan G-Tech
Published
2024-10-31
DOI
https://doi.org/10.70609/gtech.v8i4.5668
Primary Topic
Market Dynamics and Volatility
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Preparing Better Data for Oil Price Prediction Using Long Short-Term Memory

Raymond Sunardi Oetama
4 links
Jurnal Teknologi Terapan G-Tech
Market Dynamics and Volatility
article

Preparing Better Data for Oil Price Prediction Using Long Short-Term Memory

Raymond Sunardi Oetama
article en

Abstract

Fluctuating oil prices require a prediction model that can capture complex patterns more accurately than traditional methods. This study aims to apply the Long Short-Term Memory (LSTM) model to predict crude oil prices by assessing the effect of the training-test data ratio and window size on model performance. Daily data from 2000 to 2023 were taken from Yahoo Finance, which was then trained and tested on five data ratios and various window sizes. The evaluation was carried out using Mean Squared Error (MSE), Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), and R². The results show that the 90:10 ratio with a window size of 3 provides the best performance, with an MSE of 6.2100, RMSE of 2.4920, MAE of 1.8430, MAPE of 2.1363%, and R² of 0.9606. These findings confirm that LSTM can effectively capture temporal dependencies and outperform traditional statistical methods.

Jurnal Teknologi Terapan G-TechVol. 8(4)
Multimedia Nusantara University (ID)
Universitas Multimedia Nusantara
Openalex Percentile: Top 70%
Market Dynamics and Volatility
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.

Preparing Better Data for Oil Price Prediction Using Long Short-Term Memory — Raymond Sunardi Oetama · Jurnal Teknologi Terapan G-Tech (2024) | TGRS Research Map | TGRS