Application of artificial intelligence using linear regression and the Naïve Bayes model in forecasting and analyzing the consumer price index in Vietnam
Pham Thi Ha An (),
Truong Quoc Tri () and
Nguyen Thanh Phuc ()
The Economics and Finance Letters, 2025, vol. 12, issue 3, 596-609
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.
Keywords: Artificial intelligence; CPI; Forecast; Inflation; Linear regression; Naïve Bayes. (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:
Downloads: (external link)
https://archive.conscientiabeam.com/index.php/29/article/view/4432/8752 (application/pdf)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:pkp:teafle:v:12:y:2025:i:3:p:596-609:id:4432
Access Statistics for this article
More articles in The Economics and Finance Letters from Conscientia Beam
Bibliographic data for series maintained by Dim Michael ().