IDEAS home Printed from https://ideas.repec.org/a/taf/oaefxx/v12y2024i1p2426535.html
   My bibliography  Save this article

Predictive analysis of Somalia’s economic indicators using advanced machine learning models

Author

Listed:
  • Bashir Mohamed Osman
  • Abdillahi Mohamoud Sheikh Muse

Abstract

Accurate Gross Domestic Product (GDP) prediction is essential for economic planning and policy formulation. This paper evaluates the performance of three machine learning models—Random Forest Regression (RFR), XGBoost, and Prophet—in predicting Somalia's GDP. Historical economic data, including GDP per capita, population, inflation rate, and current account balances, were used in training and testing. Among the models, RFR achieved the best accuracy with the lowest MAE (0.6621%), MSE (1.3220%), RMSE (1.1497%), and R-squared of 0.89. The Diebold-Mariano p-value for RFR (0.042) confirmed its higher predictive accuracy. XGBoost performed well but with slightly higher error, yielding an R-squared of 0.85 and p-value of 0.063. In contrast, Prophet had the highest forecast errors, with an R-squared of 0.78 and p-value of 0.015. For enhanced interpretability, SHapley Additive exPlanations (SHAP) were applied to RFR, identifying lagged current account balance, GDP per capita, and lagged population as key predictors, along with total population and government net lending/borrowing. SHAP plots provided insights into these features' contributions to GDP predictions. This study highlights RFR's effectiveness in economic forecasting and emphasizes the importance of current and lagged economic indicators.This study presents a critical advancement in economic forecasting for Somalia by comparing the performance of three machine learning models—Random Forest Regression, XGBoost, and Prophet—in predicting Gross Domestic Product (GDP) based on historical economic data. The findings underscore the superior accuracy of the Random Forest Regression model, which yielded the lowest error rates and highest interpretability through SHapley Additive exPlanations (SHAP). Key economic indicators, including lagged current account balances, GDP per capita, and population data, were identified as significant predictors of GDP. By enhancing the accuracy and interpretability of GDP forecasts, this research provides valuable insights for policymakers, aiding in data-driven economic planning and policy formulation to support sustainable development in Somalia.

Suggested Citation

  • Bashir Mohamed Osman & Abdillahi Mohamoud Sheikh Muse, 2024. "Predictive analysis of Somalia’s economic indicators using advanced machine learning models," Cogent Economics & Finance, Taylor & Francis Journals, vol. 12(1), pages 2426535-242, December.
  • Handle: RePEc:taf:oaefxx:v:12:y:2024:i:1:p:2426535
    DOI: 10.1080/23322039.2024.2426535
    as

    Download full text from publisher

    File URL: http://hdl.handle.net/10.1080/23322039.2024.2426535
    Download Restriction: Access to full text is restricted to subscribers.

    File URL: https://libkey.io/10.1080/23322039.2024.2426535?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    More about this item

    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:taf:oaefxx:v:12:y:2024:i:1:p:2426535. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Chris Longhurst (email available below). General contact details of provider: http://www.tandfonline.com/OAEF20 .

    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.