Model Artificial Neural Network (NARX) untuk Prediksi Harga Emas sebagai Dasar Pengambilan Keputusan Investasi di Tengah Ketidakpastian Ekonomi
Gold prices are an investment instrument influenced by various macroeconomic factors; consequently, their market efficiency is dynamic and not always perfect. The US dollar exchange rate and interest rates are key factors affecting gold prices in the global market. This study develops a prediction model for gold closing prices using an Artificial Neural Network with a Nonlinear Autoregressive Exogenous (NARX) architecture. The model incorporates gold’s opening, high, and low prices, the USD/IDR exchange rate, and Bank Indonesia’s benchmark interest rate as exogenous variables. The dataset consists of daily time-series data from January 2, 2023, to July 1, 2026, comprising 802 observations. We determined model parameters through a trial-and-error approach, varying the number of delays, the number of neurons in the hidden layer, and three training algorithms: Levenberg-Marquardt, Bayesian Regularization, and Scaled Conjugate Gradient. The results indicate that the optimal configuration is achieved with 4 delays, the Bayesian Regularization algorithm, and 10 neurons, yielding a Mean Squared Error of 235,031,460.78. Accuracy evaluation using the Mean Absolute Percentage Error (MAPE) resulted in 0.671 percent, classified as "highly accurate", with a coefficient of determination of 0.9993. These findings show that the NARX model can predict gold closing prices with a very high degree of accuracy, making it a useful tool for investors making investment decisions amid economic uncertainty.
Authors
- Baginda Hamzah
Publication Details
- Journal
- Prosiding Seminar Nasional Forum Manajemen Indonesia
- Published
- 2026-11-28
- DOI
- https://doi.org/10.47747/snfmi.v4i1.3831
- Primary Topic
- Stock Market Forecasting Methods
- Type
- article
- Field-Weighted Citation Impact
- 0.00