Forecasting Spanish Olive Oil Prices Using Machine Learning: A Comprehensive Analysis of Contributing Factors and Model Performance

Abstract The main goal of this study was to create a strong predictive model for forecasting olive oil prices. To do this, we applied four machine learning models in Python: Random Forest, Gradient Boosting, Decision Tree, and Support Vector Regression, using 164 monthly price observations along with factors like temperature, precipitation, consumer price index, IBEX35 stock market prices, EUR/USD exchange rate, and import/export quantities. The results showed that Random Forest and Gradient Boosting models performed the best. The Spearman correlation analysis revealed that the exchange rate had a strong negative correlation with prices, while the consumer price index and import quantity had moderate positive correlations. Random Forest highlighted the consumer price index as the most important factor in predicting olive oil prices. This study fills a gap in existing research and provides practical insights for companies in the olive oil industry to better monitor and forecast prices, helping with profitability, risk management, stock optimization, and investment decisions.

Authors

Institutions

Publication Details

Journal
Journal of Agricultural & Food Industrial Organization
Published
2025-03-28
DOI
https://doi.org/10.1515/jafio-2024-0067
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Forecasting Spanish Olive Oil Prices Using Machine Learning: A Comprehensive Analysis of Contributing Factors and Model Performance

Mohamed Rochdi Keffala, Safoua Mahjoub
Journal of Agricultural & Food Industrial Organization
Stock Market Forecasting Methods
article

Forecasting Spanish Olive Oil Prices Using Machine Learning: A Comprehensive Analysis of Contributing Factors and Model Performance

Mohamed Rochdi Keffala, Safoua Mahjoub
article en

Abstract

Abstract The main goal of this study was to create a strong predictive model for forecasting olive oil prices. To do this, we applied four machine learning models in Python: Random Forest, Gradient Boosting, Decision Tree, and Support Vector Regression, using 164 monthly price observations along with factors like temperature, precipitation, consumer price index, IBEX35 stock market prices, EUR/USD exchange rate, and import/export quantities. The results showed that Random Forest and Gradient Boosting models performed the best. The Spearman correlation analysis revealed that the exchange rate had a strong negative correlation with prices, while the consumer price index and import quantity had moderate positive correlations. Random Forest highlighted the consumer price index as the most important factor in predicting olive oil prices. This study fills a gap in existing research and provides practical insights for companies in the olive oil industry to better monitor and forecast prices, helping with profitability, risk management, stock optimization, and investment decisions.

Journal of Agricultural & Food Industrial OrganizationVol. 23(2)
Manouba University (TN)
Openalex Percentile: Top 93%
Stock Market Forecasting Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.