IDEAS home Printed from https://ideas.repec.org/a/gam/jecomi/v10y2022i8p188-d876327.html

Machine Learning for Credit Risk in the Reactive Peru Program: A Comparison of the Lasso and Ridge Regression Models

Author

Listed:
  • Luis Alberto Geraldo-Campos

    (Dirección de Investigación, Universidad Privada Peruano Alemana, Chorrillos, Lima 15064, Peru)

  • Juan J. Soria

    (Facultad de Ingeniería de Sistemas y Electrónica, Universidad Tecnológica del Perú, Villa el Salvador, Lima 15842, Peru)

  • Tamara Pando-Ezcurra

    (Dirección de Investigación, Universidad Privada Peruano Alemana, Chorrillos, Lima 15064, Peru)

Abstract

COVID-19 has caused an economic crisis in the business world, leaving limitations in the continuity of the payment chain, with companies resorting to credit access. This study aimed to determine the optimal machine learning predictive model for the credit risk of companies under the Reactiva Peru Program because of COVID-19. A multivariate regression analysis was applied with four regressor variables (economic sector, granting entity, amount covered, and department) and one predictor (risk level), with a population of 501,298 companies benefiting from the program, under the CRISP-DM methodology oriented especially for data mining projects, with artificial intelligence techniques under the machine learning Lasso and Ridge regression models, with econometric algebraic mathematical verification to compare and validate the predictive models using SPSS, Jamovi, R Studio, and MATLAB software. The results revealed a better Lasso regression model ( λ 60 = 0.00038; RMSE = 0.3573685) that optimally predicted the level of risk compared to the Ridge regression model ( λ 100 = 0.00910; RMSE = 0.3573812) and the least squares model with algebraic mathematics, which corroborates that the Lasso regression model is the best predictive model to detect the level of credit risk of the Reactiva Peru Program. The best predictive model for detecting the level of corporate credit risk is the Lasso regression model.

Suggested Citation

  • Luis Alberto Geraldo-Campos & Juan J. Soria & Tamara Pando-Ezcurra, 2022. "Machine Learning for Credit Risk in the Reactive Peru Program: A Comparison of the Lasso and Ridge Regression Models," Economies, MDPI, vol. 10(8), pages 1-21, July.
  • Handle: RePEc:gam:jecomi:v:10:y:2022:i:8:p:188-:d:876327
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7099/10/8/188/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7099/10/8/188/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Félix Corredera-Catalán & Filippo Pietro & Antonio Trujillo-Ponce, 2021. "Post-COVID-19 SME financing constraints and the credit guarantee scheme solution in Spain," Journal of Banking Regulation, Palgrave Macmillan, vol. 22(3), pages 250-260, September.
    2. Ahelegbey, Daniel Felix & Giudici, Paolo & Hadji-Misheva, Branka, 2019. "Factorial Network Models To Improve P2P Credit Risk Management," MPRA Paper 92633, University Library of Munich, Germany.
    3. Liu, Ya & Qiu, Buhui & Wang, Teng, 2021. "Debt rollover risk, credit default swap spread and stock returns: Evidence from the COVID-19 crisis," Journal of Financial Stability, Elsevier, vol. 53(C).
    4. Shanker, M. & Hu, M. Y. & Hung, M. S., 1996. "Effect of data standardization on neural network training," Omega, Elsevier, vol. 24(4), pages 385-397, August.
    5. Friedman, Jerome H. & Hastie, Trevor & Tibshirani, Rob, 2010. "Regularization Paths for Generalized Linear Models via Coordinate Descent," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 33(i01).
    6. Matthieu Crozet & Banu Demir & Beata Javorcik, 2022. "International Trade and Letters of Credit: A Double-Edged Sword in Times of Crises," IMF Economic Review, Palgrave Macmillan;International Monetary Fund, vol. 70(2), pages 185-211, June.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Wang, Jimin & Ho, Choy Yeing (Chloe) & Shan, Yuan George, 2024. "Does cybersecurity risk stifle corporate innovation activities?," International Review of Financial Analysis, Elsevier, vol. 91(C).
    2. Lupoae, Oana-Daniela & Cristea, Dragos Sebastian & Petrea, Ștefan Mihai & Iticescu, Cătălina & Radu, Riana Iren & Isai, Violeta Maria, 2025. "A mindset toward greening the blue economy: Analyzing social environmental awareness of aquatic ecosystem protection," Technological Forecasting and Social Change, Elsevier, vol. 210(C).
    3. Haithem Awijen & Sami Ben Jabeur & Julien Pillot, 2026. "Interpretable machine learning models for ESG stock prices under transition and physical climate risk," Annals of Operations Research, Springer, vol. 357(1), pages 191-221, February.
    4. Jomark Noriega & Luis Rivera & Jorge Castañeda & José Herrera, 2025. "From Crisis to Algorithm: Credit Delinquency Prediction in Peru Under Critical External Factors Using Machine Learning," Data, MDPI, vol. 10(5), pages 1-53, April.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Štefan Lyócsa & Petra Vašaničová & Branka Hadji Misheva & Marko Dávid Vateha, 2022. "Default or profit scoring credit systems? Evidence from European and US peer-to-peer lending markets," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 8(1), pages 1-21, December.
    2. Tutz, Gerhard & Pößnecker, Wolfgang & Uhlmann, Lorenz, 2015. "Variable selection in general multinomial logit models," Computational Statistics & Data Analysis, Elsevier, vol. 82(C), pages 207-222.
    3. Gareth Harman & Dakota Kliamovich & Angelica M Morales & Sydney Gilbert & Deanna M Barch & Michael A Mooney & Sarah W Feldstein Ewing & Damien A Fair & Bonnie J Nagel, 2021. "Prediction of suicidal ideation and attempt in 9 and 10 year-old children using transdiagnostic risk features," PLOS ONE, Public Library of Science, vol. 16(5), pages 1-14, May.
    4. Viet Hoang Dinh & Didier Nibbering & Benjamin Wong, 2023. "Random Subspace Local Projections," CAMA Working Papers 2023-34, Centre for Applied Macroeconomic Analysis, Crawford School of Public Policy, The Australian National University.
    5. Hajime Shimao & Sung Joo Kim & Warut Khern-Am-Nuai & Maxime C. Cohen, 2025. "Revisiting the CEO Effect Through a Machine Learning Lens," Management Science, INFORMS, vol. 71(6), pages 5396-5408, June.
    6. Ernesto Carrella & Richard M. Bailey & Jens Koed Madsen, 2018. "Indirect inference through prediction," Papers 1807.01579, arXiv.org.
    7. Kaspar Wuthrich & Ying Zhu, 2019. "Omitted variable bias of Lasso-based inference methods: A finite sample analysis," Papers 1903.08704, arXiv.org, revised Sep 2021.
    8. Rui Wang & Naihua Xiu & Kim-Chuan Toh, 2021. "Subspace quadratic regularization method for group sparse multinomial logistic regression," Computational Optimization and Applications, Springer, vol. 79(3), pages 531-559, July.
    9. Niculaescu, Corina E. & Sangiorgi, Ivan & Bell, Adrian R., 2023. "Does personal experience with COVID-19 impact investment decisions? Evidence from a survey of US retail investors," International Review of Financial Analysis, Elsevier, vol. 88(C).
    10. Mkhadri, Abdallah & Ouhourane, Mohamed, 2013. "An extended variable inclusion and shrinkage algorithm for correlated variables," Computational Statistics & Data Analysis, Elsevier, vol. 57(1), pages 631-644.
    11. David Kohns & Tibor Szendrei, 2021. "Decoupling Shrinkage and Selection for the Bayesian Quantile Regression," Papers 2107.08498, arXiv.org.
    12. Masakazu Higuchi & Mitsuteru Nakamura & Shuji Shinohara & Yasuhiro Omiya & Takeshi Takano & Daisuke Mizuguchi & Noriaki Sonota & Hiroyuki Toda & Taku Saito & Mirai So & Eiji Takayama & Hiroo Terashi &, 2022. "Detection of Major Depressive Disorder Based on a Combination of Voice Features: An Exploratory Approach," IJERPH, MDPI, vol. 19(18), pages 1-13, September.
    13. Anaïs Hamelin & Vivien Lefebvre, 2025. "The Virus and the Citadel: exploring the performance impact of business group affiliation for small businesses throughout the COVID-19 pandemic," Small Business Economics, Springer, vol. 65(2), pages 915-946, August.
    14. Zou, Hongyu & Gao, Junyao & Wu, Wanchun & Huo, Lijuan & Zhang, Wei, 2024. "Which comes first? Comorbidity of depression and anxiety symptoms: A cross-lagged network analysis," Social Science & Medicine, Elsevier, vol. 360(C).
    15. Bak, Kwan-Young & Jhong, Jae-Hwan & Lee, JungJun & Shin, Jae-Kyung & Koo, Ja-Yong, 2021. "Penalized logspline density estimation using total variation penalty," Computational Statistics & Data Analysis, Elsevier, vol. 153(C).
    16. Vincent, Martin & Hansen, Niels Richard, 2014. "Sparse group lasso and high dimensional multinomial classification," Computational Statistics & Data Analysis, Elsevier, vol. 71(C), pages 771-786.
    17. Michael Kostmann & Wolfgang K. Härdle, 2019. "Forecasting in Blockchain-Based Local Energy Markets," Energies, MDPI, vol. 12(14), pages 1-27, July.
    18. Jeremy Rubin & Fan Fan & Laura Barisoni & Andrew R. Janowczyk & Jarcy Zee, 2026. "Novel Scalar-on-matrix Regression for Unbalanced Feature Matrices," Statistics in Biosciences, Springer;International Chinese Statistical Association, vol. 18(1), pages 192-213, March.
    19. James R. Coakley & Carol E. Brown, 2000. "Artificial neural networks in accounting and finance: modeling issues," Intelligent Systems in Accounting, Finance and Management, John Wiley & Sons, Ltd., vol. 9(2), pages 119-144, June.
    20. Chen, Le-Yu & Lee, Sokbae, 2018. "Best subset binary prediction," Journal of Econometrics, Elsevier, vol. 206(1), pages 39-56.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jecomi:v:10:y:2022:i:8:p:188-:d:876327. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager The email address of this maintainer does not seem to be valid anymore. Please ask MDPI Indexing Manager to update the entry or send us the correct address (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.