UPSpace will be temporarily unavailable on Sunday, 5 October 2025 between 11:00 and 13:00 (South African Time) due to scheduled maintenance. We apologise for any inconvenience this may cause and appreciate your understanding
 

Forecasting South African grain prices and assessing the non-linear impact of inflation and rainfall using a dynamic Bayesian generalized additive model

dc.contributor.authorAntwi, Albert
dc.contributor.authorKammies, Emelia Thembile
dc.contributor.authorChaka, Lyson
dc.contributor.authorArasomwan, Martins Akugbe
dc.date.accessioned2025-10-03T09:18:24Z
dc.date.available2025-10-03T09:18:24Z
dc.date.issued2025-07
dc.descriptionDATA AVAILABILITY STATEMENT : Publicly available datasets were analyzed in this study. The datasets were extracted and compiled from different sources including www.sagis.org.za/safex_historic.html, www.investing.com and https://giovanni.gsfc.nasa.gov/giovanni/. The compiled list is available upon request.
dc.description.abstractINTRODUCTION : Accurate price forecasts and the evaluation of some of the factors that affect the prices of grains are crucial for proper planning and food security. Various methods have been designed to model and forecast grain prices and other time-stamped data. However, due to some inherent limitations, some of these models do not produce accurate forecasts or are not easily interpretable. Although dynamic Bayesian generalized additive models (GAMs) offer potential to overcome some of these problems, they do not explicitly model local trends. This may lead to biased fixed effects estimates and forecasts, thus highlighting a significant gap in literature. METHODS : To address this, we propose the use of random intercepts to capture localized trends within the dynamic Bayesian GAM framework to forecast South African wheat and maize prices. Furthermore, we examine the complex underlying relationships of the prices with inflation and rainfall. RESULTS : Evidence from the study suggests that the proposed method is able to adequately capture the dynamic localized trends consistent with the underlying local trends in the prices. It was observed that the estimated localized variations are significant, which led to improved and efficient fixed-effect parameter estimates. This led to better posterior predictions and forecasts. A comparison to the static trend Bayesian GAMs and the autoregressive integrated moving average (ARMA) models indicates a general superiority of the proposed approach for the posterior predictions and long-term posterior forecasts and has potential for short-term forecasts. The static trend Bayesian GAMs were found to generally outperform the ARMA models in long-term posterior forecasts and also have potential for short-term forecasts. However, for 1-step ahead posterior forecasts, the ARMA models consistently outperformed all the Bayesian models. The study also unveiled a significant direct nonlinear impact of inflation on wheat and maize prices. Although the impacts of rainfall on wheat and maize prices are indirect and nonlinear, only the impact on maize prices is significant. DISCUSSION : The improved efficiency and forecasts of our proposed method suggest that researchers and practitioners may consider the approach when modelling and forecasting long-term prices of grains, other agricultural commodities, speculative assets and general single-subject time series data exhibiting non-stationarity.
dc.description.departmentStatistics
dc.description.librarianhj2025
dc.description.sdgSDG-02: Zero Hunger
dc.description.sdgSDG-08: Decent work and economic growth
dc.description.sponsorshipThe Centre for Global Change at Sol Plaatje University, Kimberley, South Africa.
dc.description.urihttps://www.frontiersin.org/journals/applied-mathematics-and-statistics
dc.identifier.citationAntwi A, Kammies ET, Chaka L and Arasomwan MA (2025) Forecasting South African grain prices and assessing the non-linear impact of inflation and rainfall using a dynamic Bayesian generalized additive model. Frontiers in Applied Mathematics and Statistics 11:1582609. doi: 10.3389/fams.2025.1582609.
dc.identifier.issn2297-4687 (online)
dc.identifier.other10.3389/fams.2025.1582609
dc.identifier.urihttp://hdl.handle.net/2263/104611
dc.language.isoen
dc.publisherFrontiers Media
dc.rights© 2025 Antwi, Kammies, Chaka and Arasomwan. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY).
dc.subjectLocal trend
dc.subjectBayesian GAM
dc.subjectGeneralized additive model (GAM)
dc.subjectGrain prices
dc.subjectNonlinearity
dc.subjectNon-stationarity
dc.titleForecasting South African grain prices and assessing the non-linear impact of inflation and rainfall using a dynamic Bayesian generalized additive model
dc.typeArticle

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Antwi_Forecasting_2025.pdf
Size:
2.19 MB
Format:
Adobe Portable Document Format
Description:
Article

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: