Price Dynamics, Seasonality and Food-Price Linkages in Somalia's Livestock Market: Time Series Evidence from Goat Prices in Mogadishu, 2007–2026
This working paper analyses monthly goat prices at Bakaara Market, Mogadishu, from January 2007 to November 2026 (239 months), together with the prices of rice, maize, cooking oil and milk, using World Bank Real Time Food Prices data. It applies ADF and KPSS unit root tests, a Chow structural break test, STL decomposition, SARIMA and SARIMAX models with Islamic-calendar dummies for Eid al-Adha and Ramadan, Holt-Winters exponential smoothing (ETS), Diebold-Mariano forecast comparison, Granger causality tests, a vector autoregression (VAR) and the Johansen cointegration test. All price series are integrated of order one. Goat prices follow an ARIMA(0,1,1) process with drift, close to a random walk, with about 30% of each monthly shock reversed the following month. Seasonality is weak, and Eid al-Adha and Ramadan effects are positive (+0.9% and +1.7%) but not statistically significant. Food prices do not Granger-cause goat prices, and goat and food prices are not cointegrated. In a 24-month walk-forward backtest, the models reduce RMSE by about 10% relative to a naive benchmark, but the difference is not statistically significant. The combined SARIMAX–ETS model forecasts a 2.8% rise in goat prices to about 2.91 million Somali shillings by November 2027. The goat-to-rice terms of trade fell by almost half between 2024 and 2026, eroding pastoral purchasing power. Files included: Paper (PDF) timeseries_analysis.py: Python code that reproduces all results, tables and figures (requires pandas, numpy, scipy, matplotlib, statsmodels) bakaara_prices.csv: monthly prices for goat, maize, rice, cooking oil and milk at Bakaara Market, January 2007 – November 2026, extracted from the World Bank RTFP dataset Data source: World Bank (2026). Monthly food price estimates by product and market: Somalia (SOM_2021_RTFP_v02_M, version 2026-11-17). World Bank Microdata Library. https://microdata.worldbank.org/catalog/4504
Authors
- Nuradin Abdi (ORCID: https://orcid.org/0009-0005-7548-8383)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-02
- DOI
- https://doi.org/10.5281/zenodo.24754047
- Primary Topic
- Economics of Agriculture and Food Markets
- Type
- article
- Field-Weighted Citation Impact
- 0.00