Application of the Backpropagation Method to Predict Indonesia’s Oil and Gas and Non-Oil and Gas Export Values

Authors

  • Nia Novaliana University of Mataram
  • Ismawati Ismawati University of Mataram
  • Dewi Kartika Sari State Polytechnic of Banyuwangi

DOI:

https://doi.org/10.29303/semeton.v3i2.548

Keywords:

backpropagation, artificial neural network, oil and gas exports, MAPE, time series forecasting

Abstract

Oil and gas (migas) and non-oil and gas (nonmigas) exports are major sources of Indonesia’s foreign exchange, yet their monthly values fluctuate with global economic conditions, trade policies, and international demand, which complicates economic planning. This study evaluates a backpropagation neural network (BPNN) for forecasting Indonesia’s monthly migas and nonmigas export values and compares it with benchmark models on the same data. Monthly export values for January 2015–December 2024 (120 observations per sector) were taken from Statistics Indonesia (BPS) as republished by the Ministry of Trade. With the selected window lengths (6 months for migas and 3 months for nonmigas), the series yield 114 and 117 input–target patterns, of which the last 24 (January 2023–December 2024) form the test set. Min–max scaling was fitted on the training period only. The window length and the number of hidden neurons were selected by rolling-origin time-series cross-validation, and the network was trained ten times with different random seeds. Accuracy was measured with MAPE, MAE, and RMSE for one-step-ahead and recursive 12-month-ahead forecasts, and differences from naive, seasonal naive, and SARIMA benchmarks were tested with the Diebold–Mariano test. On the test data, the selected BPNN (6-4-1 for migas, 3-8-1 for nonmigas) achieved a one-step-ahead MAPE of 6.74% for migas and 5.86% for nonmigas exports, compared with 7.62% and 5.70% for SARIMA, the best benchmark. The Diebold–Mariano test found no significant difference between BPNN and SARIMA in either sector (p = 0.13 and p = 0.81); BPNN was significantly more accurate only than the seasonal naive model for nonmigas exports (p = 0.02). The predictions follow the general level of both series but smooth out sharp month-to-month spikes, so the model is better suited to tracking short-term export levels than to anticipating abrupt changes.

References

[1] I. P. Astuti and F. J. Ayuningtyas, “Pengaruh ekspor dan impor terhadap pertumbuhan ekonomi di Indonesia,” J. Ekon. Stud. Pembang., vol. 19, no. 1, pp. 1–10, 2018.

[2] E. S. Anggraeni, R. S. Wijaya, C. Chotimah, and E. Marseto, “Pengaruh ekspor, impor, dan nilai tukar terhadap pertumbuhan ekonomi Indonesia tahun 2013–2022,” J. Ilm. Wahana Pendidik., vol. 10, no. 16, pp. 257–266, 2024.

[3] I. S. Purba and A. Wanto, “Prediksi jumlah nilai impor Sumatera Utara menurut negara asal menggunakan algoritma backpropagation,” Techno.Com, vol. 18, no. 3, pp. 176–183, 2019.

[4] S. Haykin, Neural Networks and Learning Machines, 3rd ed. Upper Saddle River, NJ, USA: Pearson, 2009.

[5] A. Wanto and A. P. Windarto, “Analisis prediksi indeks harga saham gabungan menggunakan metode backpropagation,” J. Teknol. Inf. Komput. (JTIK), vol. 4, no. 2, pp. 123–132, 2018.

[6] H. Asy’ari and Z. Fatah, “Prediksi nilai indeks ekspor susu segar di Indonesia menggunakan algoritma backpropagation,” J. Ilmu Sist. Inf. (JISSI), vol. 6, no. 1, pp. 33–40, 2023.

[7] J. R. Saragih, M. B. S. Saragih, and A. Wanto, “Analisis algoritma backpropagation dalam prediksi nilai ekspor (juta USD),” J. Pendidik. Teknol. Kejuru., vol. 15, no. 2, pp. 254–264, 2018.

[8] B. B. W. Putra, M. A. Albar, and B. Irmawati, “Implementasi jaringan saraf tiruan metode backpropagation untuk memprediksi jumlah nilai ekspor di Provinsi NTB,” J. Teknol. Inf. Komput. Apl. (JTIKA), vol. 1, no. 2, pp. 45–52, 2019.

[9] S. Ranjani, S. C. Mita, and A. P. Windarto, “Penerapan teknik neural network dalam memprediksi perkembangan ekspor kelompok industri tekstil dengan metode backpropagation,” J. Informatics Manag. Inf. Technol., vol. 3, no. 1, pp. 24–34, 2023.

[10] A. D. Putri, D. Fitria, N. Amalita, and Zilrahmi, “Implementation of backpropagation artificial neural network on forecasting export of palm oil in Indonesia,” UNP J. Stat. Data Sci., vol. 1, no. 5, pp. 473–479, 2023.

[11] R. W. Maharsi, W. H. Saputra, N. A. N. Roosyidah, D. D. Prastyo, and S. P. Rahayu, “Modeling multi-output back-propagation DNN for forecasting Indonesian export-import,” J. Apl. Stat. Komputasi Stat., vol. 16, no. 1, pp. 67–79, 2024.

[12] A. Hidayat and R. Isnanto, “Prediksi permintaan energi listrik menggunakan metode backpropagation pada data deret waktu,” J. Teknol. Sist. Komput., vol. 7, no. 1, pp. 22–28, 2019.

[13] A. Wanto, “Prediksi produktivitas jagung di Indonesia sebagai upaya antisipasi impor menggunakan jaringan syaraf tiruan backpropagation,” Sintech J., vol. 2, no. 1, pp. 33–42, 2019.

[14] M. Dasuki, “Algoritma backpropagation neural network untuk peramalan data time series,” J. Apl. Sist. Inf. Elektron. (JASIE), vol. 2, no. 1, pp. 43–51, 2020.

[15] R. Saputra, S. Sunardiyo, A. Nugroho, and Subiyanto, “Analisis arsitektur jaringan syaraf tiruan multilayer perceptron untuk efektivitas estimasi beban energi listrik PT. PLN (Persero) UP3 Salatiga,” ELKOMIKA, vol. 11, no. 3, pp. 668–679, 2023.

[16] G. Zhang, B. E. Patuwo, and M. Y. Hu, “Forecasting with artificial neural networks: The state of the art,” Int. J. Forecast., vol. 14, no. 1, pp. 35–62, 1998.

[17] G. P. Zhang, “Time series forecasting using a hybrid ARIMA and neural network model,” Neurocomputing, vol. 50, pp. 159–175, 2003.

[18] S. Makridakis, E. Spiliotis, and V. Assimakopoulos, “Statistical and machine learning forecasting methods: Concerns and ways forward,” PLoS ONE, vol. 13, no. 3, Art. no. e0194889, 2018.

[19] T. Alam, “Forecasting exports and imports through artificial neural network and autoregressive integrated moving average,” Decis. Sci. Lett., vol. 8, no. 3, pp. 249–260, 2019.

[20] E. Dave, A. Leonardo, M. Jeanice, and N. Hanafiah, “Forecasting Indonesia exports using a hybrid model ARIMA-LSTM,” Procedia Comput. Sci., vol. 179, pp. 480–487, 2021.

[21] S. Hochreiter and J. Schmidhuber, “Long short-term memory,” Neural Comput., vol. 9, no. 8, pp. 1735–1780, 1997.

[22] K. Cho et al., “Learning phrase representations using RNN encoder–decoder for statistical machine translation,” in Proc. Conf. Empirical Methods Natural Lang. Process. (EMNLP), 2014, pp. 1724–1734.

[23] S. J. Taylor and B. Letham, “Forecasting at scale,” Amer. Statist., vol. 72, no. 1, pp. 37–45, 2018.

[24] H. Hewamalage, C. Bergmeir, and K. Bandara, “Recurrent neural networks for time series forecasting: Current status and future directions,” Int. J. Forecast., vol. 37, no. 1, pp. 388–427, 2021.

[25] R. B. Cleveland, W. S. Cleveland, J. E. McRae, and I. Terpenning, “STL: A seasonal-trend decomposition procedure based on loess,” J. Off. Stat., vol. 6, no. 1, pp. 3–73, 1990.

[26] D. A. Dickey and W. A. Fuller, “Distribution of the estimators for autoregressive time series with a unit root,” J. Amer. Statist. Assoc., vol. 74, no. 366, pp. 427–431, 1979.

[27] D. Kwiatkowski, P. C. B. Phillips, P. Schmidt, and Y. Shin, “Testing the null hypothesis of stationarity against the alternative of a unit root,” J. Econometrics, vol. 54, no. 1–3, pp. 159–178, 1992.

[28] L. J. Tashman, “Out-of-sample tests of forecasting accuracy: An analysis and review,” Int. J. Forecast., vol. 16, no. 4, pp. 437–450, 2000.

[29] C. Bergmeir and J. M. Benítez, “On the use of cross-validation for time series predictor evaluation,” Inf. Sci., vol. 191, pp. 192–213, 2012.

[30] D. P. Kingma and J. Ba, “Adam: A method for stochastic optimization,” in Proc. 3rd Int. Conf. Learn. Represent. (ICLR), San Diego, CA, USA, 2015.

[31] C. D. Lewis, Industrial and Business Forecasting Methods. London, U.K.: Butterworths, 1982.

[32] F. X. Diebold and R. S. Mariano, “Comparing predictive accuracy,” J. Bus. Econ. Stat., vol. 13, no. 3, pp. 253–263, 1995.

Published

2026-11-28

How to Cite

Novaliana, N., Ismawati, I., & Sari, D. K. (2026). Application of the Backpropagation Method to Predict Indonesia’s Oil and Gas and Non-Oil and Gas Export Values. Semeton Mathematics Journal, 3(2), 75–87. https://doi.org/10.29303/semeton.v3i2.548

Issue

Section

Articles