Skip to content
Research Article Open access CC BY 4.0

Commodity Price Prediction with TAR and Markov-Switching Models. Evidence from Gold and Cocoa Markets

Simon Cudjoe, Peter K. Nyarko, Benjamin Odoi

Asian Journal of Economics, Business and Accounting · pp. 340–361 · Published 18 Aug 2025

10.9734/ajeba/2025/v25i81938

Abstract

Accurate forecasting of commodity prices remains a crucial challenge due to inherent market volatility and regime-dependent behaviour. This study examines the predictive performance of two nonlinear time series models, the Threshold Autoregressive (TAR) model and the Markov Switching Model (MSM), in modeling and forecasting the prices of gold and cocoa. These commodities exhibit complex dynamics characterized by abrupt structural breaks and asymmetric responses to economic shocks, features that are inadequately captured by linear models. The TAR model is employed to detect endogenous threshold effects, while the MSM accounts for unobservable regime shifts through a probabilistic framework. Monthly average prices of International Cocoa (US$ /tonne) and International Gold (US$ /fine ounce) spanning the period from January 2003 to December 2022 (a 20-year window) were subjected to unit root testing, transformation, and differencing to ensure stationarity prior to modeling. The models’ forecasting accuracy was evaluated using Root Mean Square Error (RMSE) and Mean Absolute Error (MAE). Results indicate that both TAR and MSM significantly improve out-of-sample forecasts by capturing both abrupt and smooth nonlinear transitions. Notably, the gold market showed stronger regime-switching dynamics, while cocoa prices exhibited clearer threshold-based behaviour. MSM model outperforms the TAR model in forecasting gold prices, as it records lower values for both MAE and RMSE, indicating higher predictive accuracy. For Cocoa, TAR slightly outperforms MSM in both MAE and RMSE, though the difference is minimal. Thus, both models perform comparably for Cocoa, with a marginal edge for TAR. Model suitability is observed to be commodity-specific. These findings underscore the utility of regime-sensitive models in commodity price forecasting and offer valuable insights for market participants and policy decision-makers operating in volatile economic environments.

Regime-switching TAR markov-switching model gold cocoa forecasting

Cited by 1

1 citation reported by external sources — individual citing-article records aren't available to list yet.

Article metrics

Real usage data collected on this platform.

0

Page views

0

PDF downloads

0

Outbound clicks

1

Citations

Views by country

Approximate, from request IP at view time — not citizenship or institution. Countries with fewer than 5 views are grouped as "Other".

No views recorded yet.

Traffic sources

Referring site, by host.

No traffic recorded yet.

Views and downloads exclude known bots/crawlers. Citations combines this platform's own DOI-resolved index with each external source's own reported total — see Cited by above for individually listed citing works. Last refreshed 0 seconds ago.