The Impact of Macroeconomic Shocks on Credit Risk in Indonesian Banking Using Machine Learning

Authors

  • Endra Sulistyono Universitas Padjadjaran, Bandung, Indonesia
  • Nury Effendy Universitas Padjadjaran, Bandung, Indonesia
  • Rudi Kurniawan Universitas Padjadjaran, Bandung, Indonesia

DOI:

https://doi.org/10.33751/jhss.v10i1.54

Keywords:

Credit Risk, Elastic Net, Sign Reversal, Lucas Critique, Liquidity, Indonesian Banking

Abstract

This study analyzes how multivariate macroeconomic shocks transmit to credit risk in Indonesia’s banking sector using a hybrid framework that combines a factor augmented vector autoregression with machine learning techniques. In contrast to conventional stress testing approaches that rely on linear assumptions, the model extracts latent macro financial factors through Principal Component Analysis and forecasts non-performing loans using Elastic Net regression in order to address multicollinearity and enhance predictive stability across different phases of the business cycle. The empirical analysis employs monthly data covering the period from January 2010 to December 2024. Principal Component Analysis reduces the dimensionality of the macroeconomic dataset to six components that collectively explain 90.99 percent of total variance. The Elastic Net model is optimally tuned with an alpha value of 0.0668 and an L1 ratio of 0.1, placing greater emphasis on the ridge penalty to improve coefficient stability and out of sample reliability. The results indicate strong predictive performance, with an R squared of 61.91 percent and a root mean squared error of 0.0692. Liquidity related indicators, particularly money supply and loan growth, consistently emerge as the most influential determinants of non-performing loans and exhibit a stable negative relationship throughout the sample period. A key empirical contribution of this study is the identification of parameter instability, as the BI Rate, exchange rate, and Industrial Production Index display reversals in their estimated effects when comparing the pre pandemic period with the full sample. Most notably, the BI Rate shifts from a positive to a negative association with non-performing loans, providing empirical support for the Lucas Critique. This structural change is plausibly linked to regulatory forbearance under POJK 11/2020, which weakened the conventional transmission mechanism from higher interest rates to rising credit risk. Overall, the findings suggest that under conditions of extreme macroeconomic stress, policy interventions can fundamentally alter structural relationships and reduce the reliability of traditional linear forecasting models. The proposed framework therefore offers a robust alternative for regulatory stress testing by explicitly accommodating parameter instability and policy induced shifts in banking sector credit risk.

References

[1] Abdolshah, F., Moshiri, S., & Worthington, A. (2021). Macroeconomic shocks and credit risk stress testing the Iranian banking sector. Journal of Economic Studies, 48(2), 275–295. https://doi.org/10.1108/JES-11-2019-0498

[2] Abdou, D. M. S., Farrag, K., & Ali, L. (2025). Detecting credit risk in Egyptian banks: Does machine learning matter? Ekonomika, 104(2), 78–94. https://doi.org/10.15388/Ekon.2025.104.2.5

[3] Acharya, V. V., Gale, D., & Yorulmazer, T. (2011). Rollover risk and market freezes. The Journal of Finance, 66(4), 1177–1209.

[4] Ahir, H., Bloom, N., & Furceri, D. (n.d.). World Uncertainty Index. Retrieved September 29, 2025, from https://worlduncertaintyindex.com

[5] Al-Jawarneh, A. S., Al Sayed, A. R. M., Ayyoub, H. N., Ismail, M. T., Sek, S. K., Aric, K. H., & Manzi, G. (2024). Enhancing model selection by obtaining optimal tuning parameters in elastic-net quantile regression: Application to crude oil prices. Journal of Risk and Financial Management, 17(8), 323. https://doi.org/10.3390/jrfm17080323

[6] Altman, E. I. (1968). Financial ratios, discriminant analysis and the prediction of corporate bankruptcy. The Journal of Finance, 23(4), 589–609. https://doi.org/10.1111/j.1540-6261.1968.tb00843.x

[7] Altebany, S. (2021). Evaluation of ridge, elastic net and lasso regression methods in precedence of multicollinearity problem: A simulation study. Journal of Applied Economics and Business Studies, 5(1), 131–142. https://www.researchgate.net/publication/351431402

[8] Ari, A., Chen, S., & Ratnovski, L. (2021). The aftermath of residential mortgage stress: Lessons from the pandemic (IMF Working Paper No. 2021/110). International Monetary Fund.

[9] Awdeh, A., Moussawi, C. E., & Hammadi, H. (2024). The impact of inflation on bank stability: Evidence from the MENA banks. International Journal of Islamic and Middle Eastern Finance and Management, 17(2), 379–399. https://doi.org/10.1108/IMEFM-10-2023-0388

[10] Bank Indonesia. (2013). Laporan perekonomian Indonesia 2013: Mengelola transmisi perubahan ekonomi global dan menjaga stabilitas ekonomi nasional. Bank Indonesia.

[11] Bank Indonesia. (2025, August 9). Cadangan devisa Agustus 2025 tetap tinggi. Retrieved October 16, 2025, from https://www.bi.go.id/id/publikasi/ruang-media/news-release/Pages/sp_2721025.aspx

[12] Baudino, P. (2020). Public guarantees for bank lending in response to the Covid-19 pandemic (BIS Bulletin No. 5). Bank for International Settlements.

[13] Bernanke, B. S., & Blinder, A. S. (1988). Credit, money, and aggregate demand (NBER Working Paper). National Bureau of Economic Research.

[14] Bernanke, B. S., Gertler, M., & Gilchrist, S. (1999). The financial accelerator in a quantitative business cycle framework. In J. B. Taylor & M. Woodford (Eds.), Handbook of macroeconomics (Vol. 1, pp. 1341–1393). Elsevier. https://doi.org/10.1016/S1574-0048(99)10034-X

[15] Black, F., & Scholes, M. (1973). The pricing of options and corporate liabilities. Journal of Political Economy, 81(3), 637–654.

[1] S. Setyaningsih And Y. Suchyadi, “Implementation Of Principal Academic Supervision To Improve Teacher Performance In North Bogor,” Jhss (Journal Humanit. Soc. Stud., Vol. 5, No. 2, Pp. 179–183, 2021, Doi: 10.33751/Jhss.V5i2.3909.

[2] Y. Suchyadi And Nurjanah, “Relationship Between Principal Supervision In Increasing The Job Satisfaction Of Private Junior High School Teachers In East Bogor District,” Jhss (Journal Humanit. Soc. Stud., Vol. 02, No. 01, Pp. 26–29, 2018, Doi: Https://Doi.Org/10.33751/Jhss.V2i1.818.

[3] Y. Suchyadi, “Relationship Between Work Motivation And Organizational Culture In Enhancing Professional Attitudes Of Pakuan University Lecturers,” Jhss (Journal Humanit. Soc. Stud., Vol. 01, No. 01, Pp. 41–45, 2017, Doi: Https://Doi.Org/10.33751/Jhss.V1i1.372.

[4] Y. Suchyadi, N. Karmila, And N. Safitri, “Kepuasan Kerja Guru Ditinjau Dari Peran Supervisi Kepala Sekolah Dasar Negeri Di Kecamatan Bogor Utara,” Jppguseda | J. Pendidik. Pengajaran Guru Sekol. Dasar, Vol. 2, No. 2, Pp. 91–94, Nov. 2019, Doi: 10.33751/Jppguseda.V2i2.1453.

[5] R. Purnamasari Et Al., “Student Center Based Class Management Assistance Through The Implementation Of Digital Learning Models,” J. Community Engagem., Vol. 02, No. 02, Pp. 41–44, 2020, Doi: Https://Doi.Org/10.33751/Jce.V2i2.2801.

[6] Y. Suchyadi And H. Suharyati, “The Use Of Multimedia As An Effort To Improve The Understanding Ability Of Basic School Teachers ‘Creative Thinking In The Era ‘Freedom Of Learning,’” In Merdeka Belajar, A. Rahmat, Ed. Yogyakarta: Zahir Publishing, 2021, Pp. 42–53.

[7] Y. Suchyadi Et Al., “Increasing Personality Competence Of Primary School Teachers, Through Education Supervision Activities In Bogor City,” J. Community Engagem., Vol. 01, No. 01, 2019, [Online]. Available: Https://Journal.Unpak.Ac.Id/Index.Php/Jce

[8] Y. Suchyadi Et Al., “Improving The Ability Of Elementary School Teachers Through The Development Of Competency Based Assessment Instruments In Teacher Working Group , North Bogor City,” J. Community Engagem., Vol. 02, No. 01, Pp. 1–5, 2020, Doi: Https://Doi.Org/10.33751/Jce.V2i01.2742.

[9] S. Hardinata, Y. Suchyadi, And D. Wulandari, “Strengthening Technological Literacy In Junior High School Teachers In The Industrial Revolution Era 4.0,” J. Humanit. Soc. Stud., Vol. 05, No. 03, Pp. 330–335, 2021.

[10] H. Suharyati, H. Laihad, And Y. Suchyadi, “Development Of Teacher Creativity Models To Improve Teacher’s Pedagogic Competency In The Educational Era 4.0,” Int. J. Innov. Creat. Chang. Www.Ijicc.Net, Vol. 5, No. 6, Pp. 919–929, 2019, [Online]. Available: Www.Ijicc.Net

[11] Y. Suchyadi, Nurjanah, And N. Karmila, Supervisi Pendidikan: Strategi Meningkatkan Profesionalisme Guru. Bogor: Pgsd Universitas Pakuan, 2020.

[12] Suchyadi, Y., & Suryani, A. "Educational Environment In The Implementation Of Character Education". Jhss (Journal Of Humanities And Social Studies), 5(2), 208-212. 2021.

[13] Marwah, H. S., Suchyadi, Y., & Mahajani, T. "Pengaruh Model Problem Based Learning Terhadap Hasil Belajar Subtema Manusia Dan Benda Di Lingkungannya". Journal Of Social Studies Arts And Humanities (Jssah), 1(1), 42-45. 2021.

[14] Suchyadi, Y., Sunardi, O., Suhardi, E., & Sundari, F. S. "Using A Multimedia For Natural Science Learning In Improving Concept Skills Of Elementary School Teachers".

[15] Billa, Salsa; Purnamasari, Ratih; Suchyadi, Yudhie. Pengembangan Instrumen Tes Pilihan Ganda Berbasis Hots Menggunakan Aplikasi Quizizz Dan Qr-Code Pada Pembelajaran Matematika Materi Pecahan. Didaktik: Jurnal Ilmiah Pgsd Stkip Subang, 2024, 10.04: 335-343.

[16] Hidayat, Nada Syifa; Mulyawati, Yuli; Suchyadi, Yudhie. Pengembangan E-Book Menggunakan Flipbook Pada Muatan Ilmu Pengetahuan Alam Materi Perpindahan Panas Dan Kalor. Cendekiawan, 2024, 6.2: 207-221.

[17] Suchyadi, Yudhie, Et Al. Efektivitas Pembelajaran Menyimak Dongeng Berbasis Youtube Dalam Pembelajaran Bahasa Dan Budaya Sunda. Jurnal Manajemen Pendidikan, 2024, 12.2: 070-073.

[18] Hamzari, Silvia; Anwar, Wawan S.; Suchyadi, Yudhie. Pengembangan Media Pembelajaran Interaktif Berbasis Macromedia Flash Pada Pelajaran Matematika Materi Sudut. Didaktik: Jurnal Ilmiah Pgsd Stkip Subang, 2024, 10.2: 556-567.

[19] Indriani, Rini Sri, Et Al. The Effectiveness Of Learning To Listen To Youtube-Based Fairy Tales In Learning Sundanese Language And Culture. Jhss (Journal Of Humanities And Social Studies), 2024, 6.3: 115-118.

[20] Nuraningsih, Rany, Et Al. Pengembangan E-Modul Menggunakan Canva Pada Tema 4 Sehat Itu Penting Subtema 1 Peredaran Darahku Sehat. Didaktik: Jurnal Ilmiah Pgsd Stkip Subang, 2024, 10.1: 1572-1581.

[21] Listy, Sheren Eriska Priscilia; Kurnia, Dadang; Suchyadi, Yudhie. Pengembangan E-Lkpd Menggunakan Liveworksheet Pada Subtema 3 Usaha Pelestarian Lingkungan. Didaktik: Jurnal Ilmiah Pgsd Stkip Subang, 2024, 10.1: 1314-1323.

[22] Anwar, Wawan Syahiril, Et Al. Penguatan Literasi Teknologi Pada Guru Sekolah Dasar. Jurnal Manajemen Pendidikan, 2024, 12.1: 064-069.

[23] Suchyadi, Yudhie; Indriyani, Sri Rini; Destiana, Dita. Basic Concepts Of Educational Supervision Along With Related Administrative Studies. Jhss (Journal Of Humanities And Social Studies), 2023, 6.3: 406-410.

[24] Purnamasari, Ratih, Et Al. Analisis Kesulitan Belajar Matematika Pada Anak Berkebutuhan Khusus Tunagrahita Ringan Kelas Iv Sdn Perwira. Didaktik: Jurnal Ilmiah Pgsd Stkip Subang, 2023, 9.5: 169-174.

[25] Salsabila, Annisa; Safitri, Nurlinda; Suchyadi, Yudhie. Pengembangan Bahan Ajar E-Book Menggunakan Flipbook Pada Subtema Daerah Tempat Tinggalku. Didaktik: Jurnal Ilmiah Pgsd Stkip Subang, 2023, 9.04: 2305-2317.

[26] Akmal, Erinda Amalia; Safitri, Nurlinda; Suchyadi, Yudhie. Pengaruh Berpikir Kritis Terhadap Kreativitas Siswa. Didaktik: Jurnal Ilmiah Pgsd Stkip Subang, 2023, 9.04: 2610-2617.

[27] Suchyadi, Yudhie, Et Al. Responses To Future Challenges Inclusive Schools For Children With Special Needs. Jhss (Journal Of Humanities And Social Studies), 2023, 7.2: 685-699.

[16] Borio, C., & Restoy, F. (2020). Reflections on regulatory responses to the Covid-19 pandemic (FSI Briefs No. 1). Bank for International Settlements.

[17] Borio, C., & Zhu, H. (2012). Capital regulation, risk-taking and monetary policy: A missing link in the transmission mechanism? Journal of Financial Stability, 8(4), 236–251. https://doi.org/10.1016/j.jfs.2011.12.003

[18] Breiman, L. (2001). Random forests. Machine Learning, 45, 5–32.

[19] Bruno, V., & Shin, H. S. (2015). Capital flows and the risk-taking channel of monetary policy. Journal of Monetary Economics, 71, 119–132.

[20] Calvo, G. A., & Reinhart, C. M. (2002). Fear of floating. The Quarterly Journal of Economics, 117(2), 379–408.

[21] Dan, D. T., & Oanh, D. L. K. (2024). Does the Purchasing Managers’ Index (PMI) affect the operational efficiency of commercial banks in Vietnam? Tạp chí Nghiên cứu Tài chính - Marketing, 89–98. https://doi.org/10.52932/jfm.v15i8.584

[22] Enoch, C., Baldwin, B., Frécaut, O., & Kovanen, A. (2001). Indonesia: Anatomy of a banking crisis—Two years of living dangerously, 1997–99 (IMF Working Paper WP/01/52). International Monetary Fund.

[23] Gafsi, N. (2025). Machine learning approaches to credit risk: Comparative evidence from participation and conventional banks in the UK. Journal of Risk and Financial Management, 18(7), 345. https://doi.org/10.3390/jrfm18070345

[24] Godfrey, M., & Mutezo, A. T. (2020). The effect of bank liquidity and unemployment on bank credit risk. EuroEconomica, 39(3), 72–81. https://dj.univ-danubius.ro/index.php/EE/article/view/573

[25] Hastie, T., Tibshirani, R., & Friedman, J. (2009). The elements of statistical learning (2nd ed.). Springer.

[26] Hoerl, A. E., & Kennard, R. W. (1970). Ridge regression: Biased estimation for nonorthogonal problems. Technometrics, 12(1), 55–67.

[27] Hofmann, B., & Peersman, G. (2017). Is there a debt service channel of monetary transmission? BIS Quarterly Review. Bank for International Settlements.

[28] Hyndman, R. J., & Koehler, A. B. (2006). Another look at measures of forecast accuracy. International Journal of Forecasting, 22(4), 679–688.

[29] IDX Composite Price, Real-time Quote & News. (2025). Google Finance. Retrieved September 29, 2025, from https://www.google.com/finance/quote/COMPOSITE:IDX

[30] International Monetary Fund. (2014). Indonesia: Selected issues (IMF Country Report No. 14/231). International Monetary Fund.

[31] James, G., Witten, D., Hastie, T., & Tibshirani, R. (2021). An introduction to statistical learning (2nd ed.). Springer.

[32] Jolliffe, I. T. (2002). Principal component analysis (2nd ed.). Springer.

[33] Kashyap, A. K., & Stein, J. C. (2000). What do a million observations on banks say about the transmission of monetary policy? American Economic Review, 90(3), 407–428.

[34] Katadata. (2018, November 23). Rupiah sempat terpuruk hingga Rp 16.650/dolar AS pada 1998 [Chart]. Retrieved September 29, 2025, from https://cdn1.katadata.co.id/media/chart_thumbnail/111648-rupiah-sempat-terpuruk-hingga-rp-16650dolar-as-pada-1998.png

[35] Krugman, P. (1999). Balance sheets, the transfer problem, and financial crises. International Tax and Public Finance, 6(4), 459–472.

[36] Lucas, R. E. (1976). Econometric policy evaluation: A critique. Carnegie-Rochester Conference Series on Public Policy, 1, 19–46.

[37] Lundberg, S. M., & Lee, S.-I. (2017). A unified approach to interpreting model predictions. arXiv. https://arxiv.org/abs/1705.07874

[38] Mbaluka, M. K., Njoroge, G. G., & Muriithi, D. K. (2022). Application of principal component analysis and hierarchical regression model on Kenya macroeconomic indicators. European Journal of Mathematics and Statistics, 3(1), 26. https://doi.org/10.24018/ejmath.2022.3.1.74

[39] Merton, R. C. (1973). On the pricing of corporate debt: The risk structure of interest rates. The Journal of Finance, 29(2), 449–470. https://doi.org/10.2307/2978814

[40] Mihaela, S., Schneider, N., & Gavurova, B. (2024). A Bayesian vector-autoregressive application with time-varying parameters on the monetary shocks–production network nexus. Journal of Applied Economics, 27(1), 1–22. https://doi.org/10.1080/15140326.2024.2395114

[41] Pratama, K., Sulistomo, A., Lestari, H. S., & Margaretha, F. (2025). Banking health indicators and their impact on credit risk in the Indonesian banking sector. Indonesian Interdisciplinary Journal of Sharia Economics, 8(2), 3464–3481. https://doi.org/10.31538/iijse.v8i2.6316

[42] Sahminan, S., Atasoy, B., & Chen, H. (2017). The Fed’s tapering talk: A short statement’s long impact on Indonesia (Working Paper). Bank Indonesia Research Department.

[43] Schapire, R. E., & Singer, Y. (1999). Improved boosting algorithms using confidence-rated predictions. Machine Learning, 37(3), 297–336.

[44] Sharma, H., Andhaikar, A., Ajao, O., & Ogunieye, B. (2024). Analysing the influence of macroeconomic factors on credit risk in the UK banking sector. Analytics, 3(1), 63–83. https://doi.org/10.3390/analytics3010005

[45] Sloboda, B. W., Pearson, D., & Etherton, M. (2023). An application of the LASSO and elastic net regression to assess poverty and economic freedom on ECOWAS countries. Mathematical Biosciences and Engineering, 20(7), 12154–12168. https://doi.org/10.3934/mbe.2023541

[46] Zou, H., & Hastie, T. (2005). Regularization and variable selection via the elastic net. Journal of the Royal Statistical Society: Series B (Statistical Methodology), 67(2), 301–320. https://doi.org/10.1111/j.1467-9868.2005.00503.x

Downloads

Published

10-02-2026

How to Cite

Sulistyono, E., Effendy, N., & Kurniawan, R. (2026). The Impact of Macroeconomic Shocks on Credit Risk in Indonesian Banking Using Machine Learning. JHSS (Journal of Humanities and Social Studies), 10(1), 221–232. https://doi.org/10.33751/jhss.v10i1.54

Similar Articles

1 2 3 > >> 

You may also start an advanced similarity search for this article.