Abstract The contribution of cocoa to the economies of countries, especially producing countries cannot be understated. However, volatility in the prices of commodities affect all stakeholders in the production value chain as it affects planning, policy implementation and mitigation of risks. Thus, it is very crucial to be able to forecast cocoa prices with a high degree of certainty. Hence, this study modeled cocoa prices in Ghana using 15 machine learning models and their corresponding decomposition based hybrid models. The machine learning models incorporated input variables, including interest rates, inflation rates and crude oil prices. Variational mode decomposition (VMD) and ensemble empirical mode decomposition (EEMD) techniques were applied to the data and the 15 models were further used to model the data, thus obtaining 30 hybrid models. The results of the study revealed that among the 15 machine learning models, quantile random forest model was the best for the data set. Generally, EEMD hybrid models performed better than the VMD based models, with EEMD-generalized additive model with splines being the best hybrid model. The findings show that interest rates play a major role in the prediction of cocoa prices in Ghana. This was closely followed by crude oil prices. Hence, it is recommended that policies that would reflect favorable interest rates and crude oil prices are implemented by policy makers.
Wahab et al. (Tue,) studied this question.