IDEAS home Printed from https://ideas.repec.org/a/pkp/teafle/v12y2025i3p596-609id4432.html
   My bibliography  Save this article

Application of artificial intelligence using linear regression and the Naïve Bayes model in forecasting and analyzing the consumer price index in Vietnam

Author

Listed:
  • Pham Thi Ha An

  • Truong Quoc Tri

  • Nguyen Thanh Phuc

Abstract

The investigation of applying Artificial Intelligence (AI) and Naïve Bayes to forecast the Consumer Price Index (CPI) in Vietnam marks a significant contribution to advancing accurate inflation prediction capabilities. The study leverages rigorous methodological standards and reliable data sources by utilizing a comprehensive 2003 to 2023 dataset comprising seven input variables and the CPI as the output variable. A correlation coefficient of 0.99 indicates a robust correlation between the predicted value and the actual value. The model demonstrates efficacy in forecasting the CPI in both the training dataset and the testing dataset. Furthermore, the histogram visually represents the distribution of errors. The errors are primarily clustered at a minimal magnitude, predominantly falling within the range of -0.05 to 0.03. This suggests that the model tends to make predictions that are quite close to the actual value. The achieved Mean Squared Error (MSE) value of 0.03 demonstrates the model's remarkable accuracy, validating the effectiveness of AI in capturing intricate patterns within CPI data. This research paves the way for further exploration of advanced machine-learning techniques tailored to Vietnam's economic landscape, contributing to improved economic forecasting, proactive policy decisions, and sustainable growth.

Suggested Citation

  • Pham Thi Ha An & Truong Quoc Tri & Nguyen Thanh Phuc, 2025. "Application of artificial intelligence using linear regression and the Naïve Bayes model in forecasting and analyzing the consumer price index in Vietnam," The Economics and Finance Letters, Conscientia Beam, vol. 12(3), pages 596-609.
  • Handle: RePEc:pkp:teafle:v:12:y:2025:i:3:p:596-609:id:4432
    as

    Download full text from publisher

    File URL: https://archive.conscientiabeam.com/index.php/29/article/view/4432/8752
    Download Restriction: no
    ---><---

    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:pkp:teafle:v:12:y:2025:i:3:p:596-609:id:4432. 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: Dim Michael (email available below). General contact details of provider: https://archive.conscientiabeam.com/index.php/29/ .

    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.