IDEAS home Printed from https://ideas.repec.org/p/osf/africa/vpuac_v1.html
   My bibliography  Save this paper

Nowcasting Madagascar's real GDP using machine learning algorithms

Author

Listed:
  • Ramaharo, Franck Maminirina

    (Ministry of Economy and Finance (Ministère de l'Economie et des Finances))

  • Rasolofomanana, Gerzhino H

    (Ministry of Economy and Finances)

Abstract

We investigate the predictive power of different machine learning algorithms to nowcast Madagascar's gross domestic product (GDP). We trained popular regression models, including linear regularized regression (Ridge, Lasso, Elastic-net), dimensionality reduction model (principal component regression), k-nearest neighbors algorithm (k-NN regression), support vector regression (linear SVR), and tree-based ensemble models (Random forest and XGBoost regressions), on 10 Malagasy quarterly macroeconomic leading indicators over the period 2007Q1-2022Q4, and we used simple econometric models as a benchmark. We measured the nowcast accuracy of each model by calculating the root mean square error (RMSE), mean absolute error (MAE), and mean absolute percentage error (MAPE). Our findings reveal that the Ensemble Model, formed by aggregating individual predictions, consistently outperforms traditional econometric models. We conclude that machine learning models can deliver more accurate and timely nowcasts of Malagasy economic performance and provide policymakers with additional guidance for data-driven decision making.

Suggested Citation

  • Ramaharo, Franck Maminirina & Rasolofomanana, Gerzhino H, 2023. "Nowcasting Madagascar's real GDP using machine learning algorithms," AfricArxiv vpuac_v1, Center for Open Science.
  • Handle: RePEc:osf:africa:vpuac_v1
    DOI: 10.31219/osf.io/vpuac_v1
    as

    Download full text from publisher

    File URL: https://osf.io/download/65899a9b2a656037490bf176/
    Download Restriction: no

    File URL: https://libkey.io/10.31219/osf.io/vpuac_v1?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
    ---><---

    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:osf:africa:vpuac_v1. 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: OSF (email available below). General contact details of provider: https://osf.io/preprints/africarxiv/discover .

    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.