Comparative Analysis of Statistical, Machine Learning, and Deep Learning Models for USD/IDR Prediction Using Macroeconomic Indicators and Explainable Artificial Intelligence

The USD/IDR exchange rate is a key daily barometer of Indonesia's economic health. Accurate forecasting is vital for trade, inflation, and monetary stability. However, its volatile and nonlinear dynamics pose challenges. While research has applied statistical models, machine learning, and deep learning, few studies offer a comprehensive comparison integrating predictive accuracy with model interpretability, particularly using banking stock prices as exogenous predictors. This study addresses this gap by developing and evaluating eight forecasting approaches—a naive random-walk baseline, two statistical models (ARIMA, SARIMAX), three tree-based ensembles (Random Forest, XGBoost, LightGBM), and two recurrent neural networks (LSTM, GRU) using daily data from January 2015 to July 2026 (3,005 observations). Five major banking stocks (BBCA, BBRI, BMRI, BBNI, BDMN) are included as one-day-lagged exogenous features. Models are assessed via hold-out testing and five-fold walk-forward cross-validation using RMSE, MAE, MAPE, and R². Contrary to expectations, the naive random-walk consistently achieves the lowest error (RMSE=115.24, MAE=63.80, MAPE=0.39%) and the most stable performance, with LSTM as the best-performing complex model (RMSE=269.59, R²=0.785). Diebold-Mariano tests confirm statistical significance (p<0.001). To enhance transparency, SHAP-based Explainable AI is applied to Random Forest, revealing that the lagged USD/IDR value overwhelmingly dominates predictions (mean |SHAP|=1,509.01), while banking stock contributions are negligible. These findings also empirically confirm the well-known Meese-Rogoff puzzle and weak-form market efficiency for USD/IDR, clearly proving that simple baselines remain formidable benchmarks for short-horizon forecasts. This study ultimately underscores the critical importance of combining rigorous benchmarking with XAI to deliver accurate and interpretable predictions for economic policymakers and financial practitioners.

Authors

Institutions

Publication Details

Journal
International Journal of Mathematics Statistics and Computing
Published
2026-11-02
DOI
https://doi.org/10.46336/ijmsc.v4i4.395
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

Comparative Analysis of Statistical, Machine Learning, and Deep Learning Models for USD/IDR Prediction Using Macroeconomic Indicators and Explainable Artificial Intelligence

Alim Jaizul Wahid, Agung Prabowo
4 links
International Journal of Mathematics Statistics and Computing
Stock Market Forecasting Methods
article

Comparative Analysis of Statistical, Machine Learning, and Deep Learning Models for USD/IDR Prediction Using Macroeconomic Indicators and Explainable Artificial Intelligence

Alim Jaizul Wahid, Agung Prabowo
article en

Abstract

The USD/IDR exchange rate is a key daily barometer of Indonesia's economic health. Accurate forecasting is vital for trade, inflation, and monetary stability. However, its volatile and nonlinear dynamics pose challenges. While research has applied statistical models, machine learning, and deep learning, few studies offer a comprehensive comparison integrating predictive accuracy with model interpretability, particularly using banking stock prices as exogenous predictors. This study addresses this gap by developing and evaluating eight forecasting approaches—a naive random-walk baseline, two statistical models (ARIMA, SARIMAX), three tree-based ensembles (Random Forest, XGBoost, LightGBM), and two recurrent neural networks (LSTM, GRU) using daily data from January 2015 to July 2026 (3,005 observations). Five major banking stocks (BBCA, BBRI, BMRI, BBNI, BDMN) are included as one-day-lagged exogenous features. Models are assessed via hold-out testing and five-fold walk-forward cross-validation using RMSE, MAE, MAPE, and R². Contrary to expectations, the naive random-walk consistently achieves the lowest error (RMSE=115.24, MAE=63.80, MAPE=0.39%) and the most stable performance, with LSTM as the best-performing complex model (RMSE=269.59, R²=0.785). Diebold-Mariano tests confirm statistical significance (p<0.001). To enhance transparency, SHAP-based Explainable AI is applied to Random Forest, revealing that the lagged USD/IDR value overwhelmingly dominates predictions (mean |SHAP|=1,509.01), while banking stock contributions are negligible. These findings also empirically confirm the well-known Meese-Rogoff puzzle and weak-form market efficiency for USD/IDR, clearly proving that simple baselines remain formidable benchmarks for short-horizon forecasts. This study ultimately underscores the critical importance of combining rigorous benchmarking with XAI to deliver accurate and interpretable predictions for economic policymakers and financial practitioners.

International Journal of Mathematics Statistics and ComputingVol. 4(4)
Jenderal Soedirman University (ID), Padjadjaran University (ID)
Openalex Percentile: Top 13%
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.

Laika access coming soon