Forecasting the Cost of the Basic Family Food Basket in the Districts of Panama and San Miguelito: A Comparative Analysis of Statistical and Machine Learning Models
Katherine Flores, Clara Cruz, Anabel Ramírez, Mitzi Cubilla-Montilla
Key points
From the paper's conclusion- This study aimed to evaluate and compare the performance of statistical and machine learning models for forecasting the monthly cost of the Basic Family Food Basket (BFFB) in Panama and San Miguelito.
Abstract
Forecasting food costs is an important tool for food security planning and management. This study aimed to evaluate and compare the performance of statistical and machine learning models for forecasting the monthly cost of the Basic Family Food Basket (BFFB) in Panama and San Miguelito. Monthly data from 2009 to 2024 were chronologically divided into training and test sets. A Naïve model was used as a benchmark, while ARIMA, Holt, Random Forest and XGBoost models were evaluated using MAE, RMSE and MAPE. The main evaluation used a fixed-origin multi-step forecasting scheme, complemented by a rolling-origin evaluation. Predictive accuracy was also assessed using the Diebold–Mariano test with Holm correction for multiple comparisons. Random Forest yielded the lowest test-set errors (MAE = 13.82, RMSE = 17.23, MAPE = 3.92%), followed by XGBoost (MAE = 15.84, RMSE = 18.14, MAPE = 4.53%). The rolling-origin evaluation also showed favorable performance for both machine learning models, while the Diebold–Mariano test identified statistically significant differences in four of the ten pairwise comparisons based on the Holm p-values, all involving XGBoost. These results highlight the potential of machine learning models for BFFB cost forecasting and support their usefulness as tools for food security-related monitoring and planning.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Temporal Evolution of the Multivariate Structure of Food Group Cost in the Basic Family Food Basket of the Districts of Panama and San Miguelito, Using X-STATIS (2018-2025).Foods (Basel, Switzerland) · 2026
- A Gaussian Mixture Model-Based Machine Learning Framework for Reference-Food Carbon Footprint Estimation in the Food and Beverage SectorSymmetry · 2026
- Financial Inclusion, Energy Poverty and Food Security in Sub-Saharan Africa: Insights from Machine Learning TechniquesJournal of Risk and Financial Management · 2026
- Directional Forecasting of the BIST Tourism Index and the Incremental Value of Machine Learning over Simple BenchmarksInternational Journal of Financial Studies · 2026
- Household-level food-insecurity prediction from experience-scale surveys and open geospatial data: A reproducible machine-learning pipeline for Nigeria.PloS one · 2026
- Food insecurity and its related indicators in an Iranian population: An application of machine learning methods in data from Golestan Province.PloS one · 2026