Bayesian Time-Series Modelling of Cotton Yield in Burundi
Abstract
Cotton is an important cash crop in Burundi, but its productivity has declined over recent decades under the combined influence of climatic variability, agronomic and socio-economic constraints. This study aimed to analyze the temporal dynamics of cotton yield and generate probabilistic forecasts using a time-series modelling framework. Annual cotton yield and weather measurements for the period 1995-2025 were analyzed. Stationarity was assessed using the Kwiatkowski-Phillips-Schmidt-Shin (KPSS) test. Bayesian ARIMA and ARIMAX models were estimated using Markov chain Monte Carlo (MCMC) methods in stan R package. Model performance was evaluated using Bayesian model selection criteria (LOOIC and WAIC), point forecast accuracy metrics (RMSE and MAE), and probabilistic predictive assessment (CRPS and 95 % prediction interval coverage). Probabilistic forecasts were generated for 2026-2029. As a result, cotton yield showed marked interannual variability and an overall declining trend during the study period (1995-2025). Although rainfall exhibited greater variability than temperature and relative humidity, the posterior distribution showed that 95% credible intervals of the climatic variables included zero. The Bayesian ARIMA(2,1,0) + RAINF model outperformed the ARIMA and other ARIMAX specifications, while residual diagnostics confirmed an adequate model fit. The model suggested relatively stable cotton yields over the 2026-2029 period, with a temporary peak in 2027 and progressively wider credible intervals, indicating increasing uncertainty over longer forecasting horizons.
Downloads
PlumX Statistics
References
Adebiyi, A. A., Adewumi, A. O., & Ayo, C. K. (2014). Comparison of ARIMA and Artificial Neural Networks Models for Stock Price Prediction. Journal of Applied Mathematics, 2014, 1–7. https://doi.org/10.1155/2014/614342
Alam, W., Ray, M., Kumar, R. R., Sinha, K., Rathod, S., & Singh, K. N. (2018). Improved ARIMAX modal based on ANN and SVM approaches for forecasting rice yield using weather variables. The Indian Journal of Agricultural Sciences, 88(12), 1909–1913. https://doi.org/10.56093/ijas.v88i12.85446
Bado, V. B., & Bationo, A. (2018). Integrated Management of Soil Fertility and Land Resources in Sub-Saharan Africa: Involving Local Communities. In Advances in Agronomy (Vol. 150, pp. 1–33). Elsevier. https://doi.org/10.1016/bs.agron.2018.02.001
Baumeister, C. J. S., & Hamilton, J. D. (2018). Structural Interpretation of Vector Autoregressions with Incomplete Identification: Revisiting the Role of Oil Supply and Demand Shocks. (24167).
Blanc, E., Quirion, P., & Strobl, E. (2008). The climatic determinants of cotton yields: Evidence from a plot in West Africa. Agricultural and Forest Meteorology, 148(6), 1093–1100. https://doi.org/10.1016/j.agrformet.2008.02.005
Box, G. E. P., Jenkins, G. M., & Reinsel, G. C. (2015). Time Series Analysis Forecasting and Control.
Brooks, S., Gelman, A., Jones, G., & Meng, X.-L. (2011). Handbook of Markov Chain Monte Carlo. CRC Press.
Carter, C. K., & Kohn, R. (1994). On Gibbs sampling for state space models. Biometrika, 81(3), 541–553. https://doi.org/10.1093/biomet/81.3.541
Gahungu, A., & Lebailly, P. (2012). Dynamique et perspectives de la filière cotonnière du Burundi. https://agris.fao.org/search/fr/records/67484ea07625988a371a0462?utm_source=chatgpt.com
Gelman, A. (2006). Prior distributions for variance parameters in hierarchical models (comment on article by Browne and Draper). Bayesian Analysis, 1(3). https://doi.org/10.1214/06-BA117A
Gelman, A. (2008). Scaling regression inputs by dividing by two standard deviations. Statistics in Medicine, 27(15), 2865–2873. https://doi.org/10.1002/sim.3107
Gelman, A., Carlin, J. B., Stern, H. S., Dunson, D. B., Vehtari, A., & Rubin, D. B. (2025). Bayesian Data Analysis Third edition (with errors fixed as of 20 February 2025).
Goyal, M., Agarwal, S., Ghalawat, S., & Malik, J. S. (2024a). ARIMA and ARIMAX Analysis on the Effect of Variability of Rainfall, Temperature on Wheat Yield in Haryana. Indian Journal of Extension Education, 60(1), 95–99. https://doi.org/10.48165/IJEE.2024.60118
Hamjah, M. A., & Chowdhury, A. K. (2014). Measuring Climatic and Hydrological Effects on Cash Crop Production and Production Forecasting in Bangladesh Using ARIMAX Model. Mathematical Theory and Modelling, 4(6).
Han, W., Liu, S., Wang, J., Lei, Y., Zhang, Y., Han, Y., Wang, G., Feng, L., Li, X., Li, Y., & Wang, Z. (2022). Climate variation explains more than half of cotton yield variability in China. Industrial Crops and Products, 190, 115905. https://doi.org/10.1016/j.indcrop.2022.115905
Hyndman, R. J., & Athanasopoulos, G. (2018). Forecasting: Principles and practice. OTexts.
Joseph, A., Mwakisisile, A. J., Sinkwembe, E. E., & Mbare, N. S. (2025). Modelling weather variability effects on maize production in Tanzania using ARIMAX. Scientific African, 30, e03030. https://doi.org/10.1016/j.sciaf.2025.e03030
Kaushik, S. (2024). Forecasting Mustard Yield Using Weather Parameters: An Application of the ARIMAX Model. Journal of Computational Analysis and Applications, 33(8).
Li, N., Yao, N., Li, Y., Chen, J., Liu, D., Biswas, A., Li, L., Wang, T., & Chen, X. (2021). A meta-analysis of the possible impact of climate change on global cotton yield based on crop simulation approaches. Agricultural Systems, 193, 103221. https://doi.org/10.1016/j.agsy.2021.103221
Lin, S., Wang, Q., Deng, M., Su, L., Wei, K., Guo, Y., & Zhang, J. (2024). Assessing the influence of water fertilizer, and climate factors on seed cotton yield under mulched drip irrigation in Xinjiang Agricultural Regions. European Journal of Agronomy, 152, 127034. https://doi.org/10.1016/j.eja.2023.127034
Link, W. A., & Eaton, M. J. (2012). On thinning of chains in MCMC. Methods in Ecology and Evolution, 3(1), 112–115. https://doi.org/10.1111/j.2041-210X.2011.00131.x
Muhammed, N., & Athar, A. K. (2023, June). Bayesian Analysis of ARMA and BSTS models for COVID-19 data using R and Stan. RT&A, 18(2(73)).
Njanji, M., & Parwada, C. (2023). Impact of climate change on cotton production: The case of three major cotton producing provinces in Zimbabwe. African Journal of Agricultural Research, 19(7), 756–765. https://doi.org/10.5897/AJAR2023.16359
Paul, R. K., & Ghosh, H. (2013). Statistical modelling for forecasting of wheat yield based on weather variables. Indian Journal of Agricultural Sciences, 83(2), 180–183.
Rob, H., & George, A. (n.d.). Forecasting: Principles and Practice (3rd ed). Retrieved May 25, 2026, from https://otexts.com/fpp3/
Sanjeev, A., Verma, P., & Verma, U. (2018). Arimax Models for Cotton Yield Forecasting in Haryana. International Journal of Current Microbiology and Applied Sciences, 7(12), 2968–2972. https://doi.org/10.20546/ijcmas.2018.712.339
Shumway, R. H., & Stoffer, D. S. (2016). Time Series Analysis and Its Applications.
Sultan, B., Baron, C., Dingkuhn, M., Sarr, B., & Janicot, S. (2005). Agricultural impacts of large-scale variability of the West African monsoon. Agricultural and Forest Meteorology, 128(1), 93–110. https://doi.org/10.1016/j.agrformet.2004.08.005
Sultan, B., Bella-Medjo Tsogo, M., Berg, A., Quirion, P., & Janicot, S. (2010). Multi-scales and multi-sites analyses of the role of rainfall in cotton yields in West Africa (Post-Print) [Working paper]. HAL. https://doi.org/10.1002/joc.1872
Thornton, P. K., Ericksen, P. J., Herrero, M., & Challinor, A. J. (2014). Climate variability and vulnerability to climate change: A review. Global Change Biology, 20(11), 3313–3328. https://doi.org/10.1111/gcb.12581
Traore, B., Corbeels, M., van Wijk, M. T., Rufino, M. C., & Giller, K. E. (2013). Effects of climate variability and climate change on crop production in southern Mali. European Journal of Agronomy, 49, 115–125. https://doi.org/10.1016/j.eja.2013.04.004
Vehtari, A., Gelman, A., & Gabry, J. (2017a). Practical Bayesian model evaluation using leave-one-out cross-validation and WAIC. Statistics and Computing, 27(5), 1413–1432. https://doi.org/10.1007/s11222-016-9696-4
Welsh, J. M., Taschetto, A. S., & Quinn, J. P. (2022). Climate and agricultural risk: Assessing the impacts of major climate drivers on Australian cotton production. European Journal of Agronomy, 140, 126604. https://doi.org/10.1016/j.eja.2022.126604
Wesner, J. S., & Pomeranz, J. P. F. (2021). Choosing priors in Bayesian ecological models by simulating from the prior predictive distribution. Ecosphere, 12(9), e03739. https://doi.org/10.1002/ecs2.3739
Zhang, T., Xie, Z., Zhou, J., Feng, H., & Zhang, T. (2024). Temperature impacts on cotton yield superposed by effects on plant growth and verticillium wilt infection in China. International Journal of Biometeorology, 68(2), 199–209. https://doi.org/10.1007/s00484-023-02583-4
Zhou, Y., Li, F., Xin, Q., Li, Y., & Lin, Z. (2024). Historical variability of cotton yield and response to climate and agronomic management in Xinjiang, China. Science of The Total Environment, 912, 169327. https://doi.org/10.1016/j.scitotenv.2023.169327
Copyright (c) 2026 Samuel Hatungimana, Emmanuel Barankanira, Edouard Musabanganji, Menus Nkurunziza, Jean de Dieu Nkurunziza

This work is licensed under a Creative Commons Attribution 4.0 International License.

