IDEAS home Printed from https://ideas.repec.org/a/bpj/statpp/v17y2026i1p109-140n1003.html

Predicting Cocoa Prices in Ghana Using Machine Learning and Decomposition Based Hybrid Models

Author

Listed:
  • Wahab Mashud

    (Department of Statistics, Faculty of Physical Sciences, University for Development Studies, Tamale, Ghana)

  • Abubakari Abdul Ghaniyyu

    (Department of Applied Statistics, Faculty of Social Science and Arts, 362695 University of Business and Integrated Development Studies , Wa, Ghana)

  • Amadu Yakubu

    (Department of Statistics, Faculty of Physical Sciences, University for Development Studies, Tamale, Ghana)

  • Nasiru Suleman

    (Department of Statistics and Actuarial Science, School of Mathematical Sciences, C. K. Tedam University of Technology and Applied Sciences, Navrongo, Ghana)

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.

Suggested Citation

  • Wahab Mashud & Abubakari Abdul Ghaniyyu & Amadu Yakubu & Nasiru Suleman, 2026. "Predicting Cocoa Prices in Ghana Using Machine Learning and Decomposition Based Hybrid Models," Statistics, Politics and Policy, De Gruyter, vol. 17(1), pages 109-140.
  • Handle: RePEc:bpj:statpp:v:17:y:2026:i:1:p:109-140:n:1003
    DOI: 10.1515/spp-2025-0042
    as

    Download full text from publisher

    File URL: https://doi.org/10.1515/spp-2025-0042
    Download Restriction: For access to full text, subscription to the journal or payment for the individual article is required.

    File URL: https://libkey.io/10.1515/spp-2025-0042?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Zaghum Umar & Mariya Gubareva & Muhammad Naeem & Ayesha Akhter, 2021. "Return and volatility transmission between oil price shocks and agricultural commodities," PLOS ONE, Public Library of Science, vol. 16(2), pages 1-18, February.
    2. Samuel Asante Gyamerah & Clement Asare & Henry Ofoe Agbi-Kaeser & Frank Baffour-Ata, 2024. "Assessing the impact of climate variability on maize yields in the different regions of Ghana—A machine learning perspective," PLOS ONE, Public Library of Science, vol. 19(6), pages 1-24, June.
    3. Kuhn, Max, 2008. "Building Predictive Models in R Using the caret Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 28(i05).
    4. Sanlei Dang & Long Peng & Jingming Zhao & Jiajie Li & Zhengmin Kong, 2022. "A Quantile Regression Random Forest-Based Short-Term Load Probabilistic Forecasting Method," Energies, MDPI, vol. 15(2), pages 1-20, January.
    5. Martin Kuradusenge & Eric Hitimana & Damien Hanyurwimfura & Placide Rukundo & Kambombo Mtonga & Angelique Mukasine & Claudette Uwitonze & Jackson Ngabonziza & Angelique Uwamahoro, 2023. "Crop Yield Prediction Using Machine Learning Models: Case of Irish Potato and Maize," Agriculture, MDPI, vol. 13(1), pages 1-19, January.
    6. Ranjit Kumar Paul & Md Yeasin & Pramod Kumar & Prabhakar Kumar & M Balasubramanian & H S Roy & A K Paul & Ajit Gupta, 2022. "Machine learning techniques for forecasting agricultural prices: A case of brinjal in Odisha, India," PLOS ONE, Public Library of Science, vol. 17(7), pages 1-17, July.
    7. David Boansi & Michael Gyasi & Stephen Nuamah & Enoch Kwame Tham-Agyekum & Fred Ankuyi & Richmond Frimpong & Albert Gbafah & Charles Bosompem Gyan, 2024. "Impact of agricultural credit on productivity, cost and returns from cocoa production in Ghana," Cogent Economics & Finance, Taylor & Francis Journals, vol. 12(1), pages 2402035-240, December.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Prabal Das & D. A. Sachindra & Kironmala Chanda, 2022. "Machine Learning-Based Rainfall Forecasting with Multiple Non-Linear Feature Selection Algorithms," Water Resources Management: An International Journal, Published for the European Water Resources Association (EWRA), Springer;European Water Resources Association (EWRA), vol. 36(15), pages 6043-6071, December.
    2. Jie Zhao & Ji Chen & Damien Beillouin & Hans Lambers & Yadong Yang & Pete Smith & Zhaohai Zeng & Jørgen E. Olesen & Huadong Zang, 2022. "Global systematic review with meta-analysis reveals yield advantage of legume-based rotations and its drivers," Nature Communications, Nature, vol. 13(1), pages 1-9, December.
    3. Piaopiao Chen & Agnès H. Michel & Jianzhi Zhang, 2022. "Transposon insertional mutagenesis of diverse yeast strains suggests coordinated gene essentiality polymorphisms," Nature Communications, Nature, vol. 13(1), pages 1-15, December.
    4. Paulo Infante & Gonçalo Jacinto & Anabela Afonso & Leonor Rego & Pedro Nogueira & Marcelo Silva & Vitor Nogueira & José Saias & Paulo Quaresma & Daniel Santos & Patrícia Góis & Paulo Rebelo Manuel, 2023. "Factors That Influence the Type of Road Traffic Accidents: A Case Study in a District of Portugal," Sustainability, MDPI, vol. 15(3), pages 1-16, January.
    5. Li, Li & Li, Han & Panagiotelis, Anastasios, 2025. "Boosting domain-specific models with shrinkage: An application in mortality forecasting," International Journal of Forecasting, Elsevier, vol. 41(1), pages 191-207.
    6. Ephrem Habyarimana & Faheem S Baloch, 2021. "Machine learning models based on remote and proximal sensing as potential methods for in-season biomass yields prediction in commercial sorghum fields," PLOS ONE, Public Library of Science, vol. 16(3), pages 1-23, March.
    7. Banks, Jonathan & Rabbani, Arif & Nadkarni, Kabir & Renaud, Evan, 2020. "Estimating parasitic loads related to brine production from a hot sedimentary aquifer geothermal project: A case study from the Clarke Lake gas field, British Columbia," Renewable Energy, Elsevier, vol. 153(C), pages 539-552.
    8. Crespo, Cristian, 2020. "Two become one: improving the targeting of conditional cash transfers with a predictive model of school dropout," LSE Research Online Documents on Economics 123139, London School of Economics and Political Science, LSE Library.
    9. María Adelaida Gómez & Ashton Trey Belew & Deninson Alejandro Vargas & Lina Giraldo-Parra & Neal Alexander & David E. Rebellón-Sánchez & Theresa A. Alexander & Najib M. El-Sayed, 2025. "Innate biosignature of treatment failure in human cutaneous leishmaniasis," Nature Communications, Nature, vol. 16(1), pages 1-14, December.
    10. Alexander Wettstein & Gabriel Jenni & Ida Schneider & Fabienne Kühne & Martin grosse Holtforth & Roberto La Marca, 2023. "Predictors of Psychological Strain and Allostatic Load in Teachers: Examining the Long-Term Effects of Biopsychosocial Risk and Protective Factors Using a LASSO Regression Approach," IJERPH, MDPI, vol. 20(10), pages 1-20, May.
    11. Tang, Kayu & Parsons, David J. & Jude, Simon, 2019. "Comparison of automatic and guided learning for Bayesian networks to analyse pipe failures in the water distribution system," Reliability Engineering and System Safety, Elsevier, vol. 186(C), pages 24-36.
    12. Daifeng Xiang & Gangsheng Wang & Jing Tian & Wanyu Li, 2023. "Global patterns and edaphic-climatic controls of soil carbon decomposition kinetics predicted from incubation experiments," Nature Communications, Nature, vol. 14(1), pages 1-14, December.
    13. Zhuo Chen & Bo Yan & Hanwen Kang, 2022. "Dynamic correlation between crude oil and agricultural futures markets," Review of Development Economics, Wiley Blackwell, vol. 26(3), pages 1798-1849, August.
    14. Joel Podgorski & Oliver Kracht & Luis Araguas-Araguas & Stefan Terzer-Wassmuth & Jodie Miller & Ralf Straub & Rolf Kipfer & Michael Berg, 2024. "Groundwater vulnerability to pollution in Africa’s Sahel region," Nature Sustainability, Nature, vol. 7(5), pages 558-567, May.
    15. Bellotti, Anthony & Brigo, Damiano & Gambetti, Paolo & Vrins, Frédéric, 2021. "Forecasting recovery rates on non-performing loans with machine learning," International Journal of Forecasting, Elsevier, vol. 37(1), pages 428-444.
    16. Tranos, Emmanouil & Incera, Andre Carrascal & Willis, George, 2022. "Using the web to predict regional trade flows: data extraction, modelling, and validation," OSF Preprints 9bu5z, Center for Open Science.
    17. Štefan Lyócsa & Petra Vašaničová & Branka Hadji Misheva & Marko Dávid Vateha, 2022. "Default or profit scoring credit systems? Evidence from European and US peer-to-peer lending markets," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 8(1), pages 1-21, December.
    18. Lu, Ran & Xu, Wen & Zeng, Hongjun & Zhou, Xiangjing, 2023. "Volatility connectedness among the Indian equity and major commodity markets under the COVID-19 scenario," Economic Analysis and Policy, Elsevier, vol. 78(C), pages 1465-1481.
    19. Bazyli Czyżewski & Jakub Staniszewski & Joanna Staniszewska & Marta Guth, 2025. "Does Increasing Agricultural Efficiency Contribute to Food Security—Trade‐Offs of Value Addition in Crop Production?," Sustainable Development, John Wiley & Sons, Ltd., vol. 33(S1), pages 939-970, November.
    20. Arjan S. Gosal & Janine A. McMahon & Katharine M. Bowgen & Catherine H. Hoppe & Guy Ziv, 2021. "Identifying and Mapping Groups of Protected Area Visitors by Environmental Awareness," Land, MDPI, vol. 10(6), pages 1-14, May.

    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:bpj:statpp:v:17:y:2026:i:1:p:109-140:n:1003. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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: Peter Golla (email available below). General contact details of provider: https://www.degruyterbrill.com .

    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.