ORIGINAL RESEARCH

Pastoralism, 21 September 2026

Volume 16 - 2026 | https://doi.org/10.3389/past.2026.17161

Forecasting pastoralist red meat production trajectories in a fragile and climate-vulnerable state: a comparative evaluation of classical, state-space, long-memory, and neural network models in Somalia

  • 1. Faculty of Economics and Business, Beder International University, Hargeisa, Somalia

  • 2. School of Graduate Studies, Amoud University, Borama, Somalia

Abstract

Background:

The national economy of Somalia is significantly reliant on the production of pastoralist red meat, a sector that is increasingly debilitated by severe and recurrent climate-related shocks. Accurate forecasting of supply trajectories is crucial for proactive food security planning. However, empirical evaluations of mathematical and machine learning models in fragile states are notably scarce.

Objectives:

This study aimed to model, evaluate, and project Somalia’s aggregate pastoralist red meat output over a 10-year horizon (2025–2034) using a diverse set of econometric and computational forecasting models.

Methods:

Utilizing a historical dataset spanning 64 years (1961–2024), the out-of-sample validation accuracy for the period 2015–2024 was assessed across seven forecasting frameworks. These frameworks included classical models (ARIMA, Theta), state-space models (ETS, TBATS, BATS), long-memory models (ARFIMA), and autoregressive neural networks (ARNN). Stationarity diagnostics were systematically performed using the Augmented Dickey-Fuller (ADF) and Phillips-Perron (PP) unit-root tests.

Results:

The stationarity diagnostics confirmed that the historical series is integrated of order one, I(1). Over the out-of-sample window, the long-memory ARFIMA model substantially outperformed all other frameworks, achieving the lowest predictive errors (sMAPE = 3.11%, RMSE = 10,836.89, MASE = 0.85, and Theil’s U = 0.69). The non-linear ARNN ranked as the second-best model (sMAPE = 4.49%), while classical and state-space models suffered from systematic bias, predicting overly smoothed trajectories that completely missed real-world shocks. Decadal projections (2025–2034) generated by the fully fitted ARFIMA model forecast a slow, steady decline and stabilization in red meat production, dropping from 175,332.80 to 168,884.30 tons.

Conclusion:

This projected plateau indicates that Somalia’s traditional pastoral system could be nearing dynamic ecological and structural limits under escalating environmental pressures. Transitioning from reactive, crisis-driven aid to proactive climate resilience requires targeted investments in digital index-based livestock insurance, commercial fodder value chains, and mobile veterinary infrastructure.

Introduction

Global agricultural progress depends fundamentally on animal husbandry, a sector that serves as a vital macroeconomic driver in developing regions where agropastoral systems sustain rural populations (). Animal production does not simply yield protein, fat, and essential micronutrients. It shapes the entire socioeconomic fabric of rural communities by offering employment, cushioning household incomes, facilitating asset accumulation, and creating pathways for gender-inclusive poverty alleviation (; ; ). For these reasons, resilient livestock systems remain central to global development agendas. They act as essential vehicles for the Sustainable Development Goals, particularly the targets of ending poverty (SDG 1) and zero hunger (SDG 2) (). Similarly, sustainable animal husbandry aligns directly with regional frameworks like the Agenda 2063, which frames agricultural modernization and food security as the main pillars for continental transformation ().

Globally, the livestock sector has been undergoing a rapid structural transition often conceptualized as the “next food revolution”—a multi-decade shift driven by population growth, rising disposable incomes, and rapid urbanization (; ). Looking ahead, meeting the mid-century global demand for terrestrial animal-source foods remains a critical structural challenge (). In sub-Saharan Africa, this sector contributes between 20% and 50% of the agricultural GDP, employing approximately 65%–70% of the regional labor force (). Within the Horn of Africa, and specifically Somalia, the national economy is fundamentally pastoral. Livestock herding serves as the primary source of livelihood for over 60% of the population, contributing approximately 80% of agricultural GDP, 45% of total national GDP, and upward of 80% of foreign currency earnings through exports to the Gulf States (). Historically, chronic infrastructure deficits and a severe lack of formal credit have restricted the operational efficiency of the livestock value chain (). Furthermore, forecasting in fragile state contexts is inherently compounded by institutional fragility and acute data scarcity, which often obscure localized transactions such as unrecorded cross-border trade and informal pastoral off-take (; ; ). However, this vital sector faces severe, compounding challenges. Chronic infrastructural underdevelopment, lack of access to formal credit markets, volatile transboundary animal disease outbreaks, and frequent import bans from key destination markets constantly disrupt the value chain (; ). Ultimately, recurrent transboundary disease outbreaks and sudden, cyclical import bans from key destination markets routinely paralyze export trade, causing catastrophic income shocks for pastoralists (). These structural vulnerabilities are severely exacerbated by escalating climate-related shocks, including recurrent droughts, temperature extremes, and locust infestations, which decimate pasture biomass, alter disease vector dynamics, and cause catastrophic herd losses (; ; ; ; ). Analyzing historical weather shows that these extreme rainfall and precipitation shifts are part of a broader, century-long pattern of climatic instability that directly threatens pastoral resilience (; ).

To navigate the volatile nature of agricultural supply chains, researchers must project these production trends using quantitative time-series forecasting. Historically, forecasting methodologies have evolved from classical statistical formulations to highly sophisticated computational paradigms. Classical univariate models, most notably the Autoregressive Integrated Moving Average (ARIMA) framework, remain widely utilized due to their parsimonious structure and robust capacity to model linear trends and stochastic dependencies in stationary or first-differenced data (; ; ). The Theta model is another widely used tool that separates a time series into multiple curves to capture both long-term trajectories and short-term movements (). To capture more complex data patterns, researchers developed state-space systems like exponential smoothing (ETS) and its advanced versions, BATS and TBATS. These models are excellent at handling bimodal seasonality and changing variance over time (; ). For agricultural data that shows long-term dependencies spanning several decades, long-memory frameworks like the autoregressive fractionally integrated moving average (ARFIMA) model offer a stronger mathematical solution by allowing fractional differencing (; ). More recently, computational intelligence has entered the field. Autoregressive Neural Networks (ARNN or NNAR) are now used to map highly non-linear patterns, sudden structural changes, and erratic volatility that linear frameworks usually miss (; ; ). Nevertheless, each of these forecasting approach possesses certain compromises. while classical and state-space models offer high interpretability and moderate data requirements, they are prone to systematic bias and over-forecasting under extreme structural shocks, whereas neural network architectures offer exceptional predictive flexibility but require extensive memory and carry a high risk of overfitting when applied to short-term or highly volatile historical records (; ).

Even with these advanced forecasting tools available, very few empirical studies focus on aggregate livestock and meat production in fragile, conflict-affected countries. Most studies in Somalia focus on predicting environmental outcomes, like tracking carbon dioxide and methane emissions, or modeling macroeconomic trends using rigid linear assumptions (; ; ). While some researchers have used biophysical simulations—such as system dynamics to model small ruminant sales in Somaliland—these studies do not compare the actual predictive accuracy of different mathematical and machine learning models over the long term (), which leaves a major gap in both methodology and practice. No published research has compared classical, state-space, long-memory, and neural network models to forecast pastoralist red meat production in Somalia. This study directly addresses this gap. By evaluating traditional linear econometric systems against flexible, non-linear machine learning models, this research seeks to identify which tools perform best in volatile, data-poor, and crisis-prone environments (; ).

Using time-series tools for agricultural forecasting rests on the theory of stochastic data-generating processes. This theory states that past production data contains hidden, repeating patterns—such as deterministic trends, cyclical shifts, and structural breaks—that can be modeled to predict future states (). In livestock economics, these trajectories are shaped by physical constraints like biological growth cycles, herd demographic structures, and climatic feed-feedback loops (; ). While sudden environmental shocks cause short-term spikes in the data, the long-term trend is driven by deeper structural changes that can be captured using integrated, state-space, or neural network algorithms (; ; ; ). Transitioning from reactive, crisis-driven aid to proactive, evidence-based agricultural planning requires these forecasting principles (; ). By establishing robust, mathematically validated baseline projections of aggregate meat output, policymakers can formulate target livestock interventions, design optimal import-export regulatory protocols, allocate development resources efficiently, and construct adaptive climate-smart early warning systems (; ).

Given these complex challenges, this study aims to model, evaluate, and project pastoralist red meat production in Somalia over a 10-year period from 2025 to 2034 using a diverse set of forecasting models. For a country highly vulnerable to climate shifts and political instability, having reliable, data-driven livestock projections is vital for national planning, food security preparations, economic stabilization, and building climate resilience (; ; ). Specifically, the objectives of this research are to: (a) evaluate the stationarity and structural breaks in historical Somali pastoralist red meat production; (b) build and compare the out-of-sample forecasting accuracy of classical (ARIMA, Theta), state-space (ETS, TBATS, BATS), long-memory (ARFIMA), and neural network (NNAR) models; and (c) generate long-term forecasts with clear uncertainty bounds. This research offers both theoretical and practical value. On a theoretical level, it pushes the empirical boundaries of agricultural forecasting in fragile settings by testing whether machine learning can improve upon classic econometric models. From a practical standpoint, it provides Somali policymakers, development partners, and non-governmental organizations with a reliable decision-making tool. This tool is designed to help them shift away from short-term emergency relief and toward proactive, climate-smart food security planning (; ; ).

Materials and methods

Research design and study area

To examine historical patterns and project aggregate meat production trajectories in Somalia, this study employs a quantitative, comparative, time-series research design. Sourced from the Crops and Livestock Products (QCL) database of the Food and Agriculture Organization of the United Nations (FAOSTAT), the dataset represents the national annual aggregate meat production expressed in metric tons over a 64-year historical horizon from 1961 to 2024 ().

The study area, Somalia, is characterized as a fragile, drought-prone, and climate-sensitive country in the Horn of Africa, where livestock production constitutes the cornerstone of both pastoral livelihoods and macroeconomic stabilization (). Given the high frequency of severe droughts and geopolitical shocks, constructing a robust quantitative framework is crucial to evaluate how physical and non-linear climate perturbations translate into long-term dependencies within agricultural supply chains ().

Data reshaping and preprocessing

To establish a rigorous and transparent modeling baseline, all data cleaning, reshaping, and preprocessing steps were performed programmatically using the R programming language (). Unlike previous studies that utilize pre-aggregated meat indicators, the raw disaggregated annual production series (expressed in metric tons) was downloaded directly from FAOSTAT. To focus strictly on the pastoralist red meat sector, the dataset was filtered using the dplyr and tidyr packages in R to include only the four primary pastoral livestock species: camels (Meat of camels, fresh or chilled), cattle (Meat of cattle with the bone, fresh or chilled), sheep (Meat of sheep, fresh or chilled), and goats (Meat of goat, fresh or chilled).

Poultry and chicken meat (Meat of chickens, fresh or chilled) were explicitly excluded from the aggregate series. This exclusion is justified because commercial poultry in Somalia is highly underdeveloped, relies heavily on imported inputs, and does not operate within the traditional rangeland-based pastoral systems of the country.

After filtering, the long-format data was reshaped into a wide-format matrix using the pivot_wider() function. The strictly pastoralist total red meat production series () was then calculated by taking the row-wise sum of the four pastoral species for each year using the rowSums() function. Any potential missing entries were handled using listwise deletion via na.omit(), yielding a continuous, unbroken series of 64 observations.

For model estimation, diagnostic checking, and predictive accuracy evaluation, the analysis utilized several R packages, including forecast (for ARIMA, ETS, TBATS, ARFIMA, and NNAR models), tseries (for unit-root tests), TSstudio (for train-test partitioning), psych (for descriptive statistics), and Metrics (for forecast evaluation metrics).

Data partitioning and stationarity diagnostics

To ensure a rigorous and unbiased evaluation of the forecasting models, the complete time-series dataset () was partitioned into a training sample (, ) and a holdout testing sample (, ) using a programmatic split (). The out-of-sample testing partition served as a blind validation window to assess the predictive accuracy of each forecasting paradigm.

Because covariance stationarity is a prerequisite for classical univariate statistical forecasting models, the stationarity of the aggregate meat production series () was systematically evaluated. The analysis applied the Augmented Dickey-Fuller (ADF) and Phillips-Perron (PP) unit-root tests (). The mathematical formulation of the ADF test involves fitting an autoregressive model to control for higher-order serial correlation in the series, expressed as:where is the first-difference operator defined as:and is a constant, is the coefficient on a time trend , is the lag order of the autoregressive process, and is a zero-mean white noise error term (). The null hypothesis of non-stationarity () is tested against the alternative hypothesis of stationarity () using the t-statistic of . Symmetrically, the PP test was implemented as a non-parametric correction to control for heteroskedasticity and autocorrelation in the error term (). The optimal differencing order () was verified using the automatic unit root differencing algorithm (ndiffs), establishing that a first-order difference () was sufficient to achieve stationarity, ().

To further ensure robustness against potential test-decade bias, an expanding-window rolling-origin cross-validation (tsCV) was operationalized alongside the primary single-split holdout evaluation (). This method iteratively recalculates forecast errors across multiple sequential training partitions, providing a stringent check on model stability ().

Theoretical formulations of forecasting models

Classical baselines: ARIMA and Theta

The Autoregressive Integrated Moving Average, with drift model, is formulated to capture linear stochastic dependencies in first-differenced data (). The general mathematical structure of the stationary differenced series is expressed as:where is the backshift operator defined as ; represents the autoregressive (AR) polynomial of order ; represents the moving average (MA) polynomial of order ; is the drift parameter; and is assumed to be white noise (; ).

The Theta model decomposes the raw time series into two or more -lines, , by scaling the local second-order differences of the series (). The second-order difference at time is expressed as:where for . For a standard two-line decomposition, captures the long-term deterministic linear trend via simple regression, while represents the short-term curvatures and is extrapolated using a Simple Exponential Smoothing (SES) formulation ().

State-space formulations: ETS, BATS, and TBATS

The Exponential Smoothing (ETS) framework represents the underlying components of the time series—specifically level (), trend (), and seasonality ()—within a state-space formulation (). For the selected model (Multiplicative Error, Additive Trend, No Seasonality), the measurement and state transition equations are defined as:where represents the multiplicative error term, and and are smoothing parameters constrained such that ().

To accommodate non-constant variance and autocorrelation in the residuals, the TBATS model incorporates Box-Cox transformations (), ARMA mathematical errors, trend damping (), and trigonometric seasonal representations ().The general formulation is expressed as:where is modeled as an process to resolve short-term autocorrelations in the residuals, and the state variables () are updated dynamically via smoothing transitions ().

Long-memory modeling: ARFIMA

Where time-series data exhibit long-range persistence and slow-decaying autocorrelations over multiple decades, the Autoregressive Fractionally Integrated Moving Average () model is utilized (). The integration parameter is allowed to take non-integer, fractional values, expanding the differentiation operator via binomial expansion:

The fractional differencing operator is mathematically expanded as an infinite lag polynomial:where represents the standard gamma function (). When , the process is stationary and invertible, exhibiting long-memory properties where the autocorrelation function decays hyperbolically rather than exponentially (; ).

Computational intelligence: autoregressive neural networks (ARNN)

To capture potential non-linearities, structural breaks, and high-frequency volatility, an Autoregressive Neural Network—specifically a feedforward single hidden-layer structure—is established (). The inputs to the network consist of lagged values of the time series, , which are mapped to a hidden layer of nodes using a non-linear activation function (logistic sigmoid). The mathematical representation of the forecast value is defined as:where and represent the bias terms; and denote the connection weights; and is the sigmoid transfer function (; ). The weights are iteratively optimized using backpropagation to minimize the sum of squared errors over the in-sample training partition.

Model diagnostics and information criteria

To verify the statistical adequacy of the estimated models and ensure that residuals behave as white noise, the Ljung-Box portmanteau diagnostic test was applied (). The Ljung-Box -statistic evaluates the joint null hypothesis that all autocorrelations of the residuals up to lag are equal to zero (). Symmetrically, the -statistic can be expressed as:where represents the sample size; denotes the sample autocorrelation of the residuals at lag ; and represents the total number of lags tested (typically for non-seasonal annual data). Under the null hypothesis, asymptotically follows a chi-squared distribution, , where represents the number of estimated parameters in the underlying forecasting model ().

To balance model fit and parsimony during the optimization phase, candidate models were compared using information criteria derived from likelihood theory. The Akaike Information Criterion (AIC) and Bayesian Information Criterion (BIC) were derived as:where is the maximized value of the likelihood function for the estimated model; represents the total number of estimated parameters; and denotes the number of observations (). The optimal model is selected by identifying the specification that minimizes both criteria, preventing overfitting while ensuring adequate data representation.

Model evaluation and predictive accuracy metrics

To conduct a rigorous, head-to-head comparison of classical, state-space, long-memory, and neural network models during the out-of-sample testing period (), six robust error metrics were calculated. These metrics are mathematically defined as:where represents the forecast horizon; represents the length of the in-sample training partition; represents the actual meat production volume; and denotes the predicted meat production volume ().

Results

Data preprocessing and cleaning

Before the forecasting models were constructed, the historical dataset was systematically cleaned and prepared. Raw annual livestock production data for Somalia was obtained from the Crops and Livestock Products (QCL) database of the Food and Agriculture Organization of the United Nations (FAOSTAT), spanning from 1961 to 2024. To prevent mathematical and structural anomalies during differencing or lag calculations, a complete, unbroken series was required. Listwise deletion was applied to identify any missing entries or gaps in the annual reporting. Fortunately, diagnostics indicated zero missing values (NA = 0). This verification process yielded a clean, continuous dataset of 64 annual observations (T = 64) representing the aggregate metric tonnage of pastoralist red meat production in Somalia. We used this verified series for both training and testing.

Descriptive and exploratory data analysis

Table 1 shows the basic descriptive statistics for Somalia’s annual pastoralist red meat production, measured in metric tons.

TABLE 1

VariablenMSDMedianMinMaxSkewnessKurtosis
Production64144,214.2040,268.65149,102.0077,582.00204,660.00−0.15−1.52

Descriptive statistics of somalia’s pastoralist red meat production (1961–2024).

M = mean; SD, standard deviation. Values are expressed in metric tons.

On average, the country produced 144,214.20 tons of meat annually (SD = 40,268.65) between 1961 and 2024. The standard error of the mean (SE) is 5,033.58. The calculated median value of 149,102.00 tons is close to the mean, with a near-symmetric distribution (skewness = −0.15), indicating that historical production levels remained relatively balanced over the long term despite intermittent crisis-driven fluctuations. The kurtosis is −1.52. This negative kurtosis points to a platykurtic distribution, meaning the historical data has a flatter peak and lighter tails than a standard normal bell curve. This shape reflects prolonged periods of stable but low production in the early decades, followed by a transition to higher output levels in the later decades.

The historical trend of meat production was also mapped to see how it changed over the years (Figure 1). Vertical dashed lines were incorporated to mark major drought and shock years: 1974, 1983, 1991, 2011, 2016, and 2022. Sharp drops in the aggregate production curve are visible immediately following these environmental and political perturbations.

FIGURE 1

To investigate species-specific dynamics, aggregate production was decomposed into individual trajectories for camels, cattle, sheep, and goats (Figure 2).

FIGURE 2

This comparison reveals a prominent socio-ecological pattern. Camel meat production (the orange line) has risen steadily and demonstrates remarkable resilience over the 64-year horizon, barely dropping during droughts and reflecting the species’ high climate adaptation and survival capacity. In contrast, cattle meat production (the dark blue line) is highly unstable, collapsing dramatically during the 1991 civil conflict and the multi-season meteorological drought of 2022. Goats (dark red line) and sheep (green line) remain comparatively stable, with goats exhibiting stronger post-drought recovery rates.

Stationarity and differencing analysis

Most classic time series models assume that the underlying data generating process is covariance stationary. To test this assumption, Augmented Dickey-Fuller (ADF) and Phillips-Perron (PP) unit-root tests were systematically executed. These tests evaluated both the raw level series and the first-differenced series, as summarized in Table 2.

TABLE 2

SeriesADF statisticADF pPP statisticPP pDecision
Level series [I(0)]−2.080.544−11.610.424Nonstationary
First difference [I(1)]−4.82<0.001−71.36<0.001Stationary

Unit-root test results for somalia’s pastoralist red meat production.

Rejection of the null hypothesis indicates covariance stationarity.

The level series failed to reject the null hypothesis of a unit root under both the ADF (p = 0.544) and PP (p = 0.424) tests, indicating nonstationarity. Following first differencing, both tests strongly rejected the null hypothesis (p < 0.001), confirming that the transformed series was stationary. The differencing order recommended by the automated procedure (d = 1) was therefore adopted for subsequent modeling. The stationarity conclusion was further supported by the rapid decay observed in the ACF and PACF plots of the differenced series (Figure 1).

To rigorously account for potential structural shifts in the historical series (1961–2024)—as highlighted by recurrent climatic shocks—the Zivot-Andrews unit-root test allowing for a break in both intercept and trend was implemented. The test statistic of –4.3992 indicates that the series exhibits unit-root behavior with a structural breakpoint identified around the year 2000 (position 40), as summarized in Table 3. This formal breakpoint aligns with structural adjustments following regional shifts and precedes subsequent decadal shocks, reinforcing the integration order I(1) established by the standard ADF and PP diagnostics and validating the historical crisis markers incorporated in Figure 1.

TABLE 3

Test specificationTest statistic1% critical value5% critical value10% critical valueIndicated breakpointDecision/Result
Zivot-Andrews (intercept and trend)−4.3992−5.57−5.08−4.82Year 2000 (position 40)Non-stationary with break

Zivot-Andrews unit root test results with structural break.

The test allows for a structural break in both the intercept and the trend (“both” model specification) with a lag order of 1.

Model estimation and residual diagnostics

Forecasting models were estimated using the in-sample training partition (1961–2014, n = 54). The automatic selection process using the AICc criterion chose an ARIMA (0,1,0) model with drift as our best baseline. The estimated drift coefficient is 2,127.85 (SE = 1,221.37). This shows that there was a modest upward trend of about 2,127.85 tons of red meat per year during this training period. The statistical significance of this drift is marginal (t = 1.74, p ≈0 .082), which reflects the high volatility of the series. For diagnostics, this baseline model has a residual variance () of 80,582,454, a log-likelihood of −557.13, an AIC of 1118.25, and a BIC of 1122.19. Diagnostic checks were run on the residuals to ensure that the estimated models are statistically sound and errors behave as white noise. First, the training ARIMA (0,1,0) with drift was evaluated. The Ljung-Box test showed no significant serial correlation ( , confirming that the residuals are random. Next, the full-sample ARIMA (0,1,0) was tested. The Ljung-Box test again confirmed model adequacy (. To investigate further, a 6-panel composite plot was constructed to compare the residuals of the two best-performing models, ARFIMA and ARNN (Figure 3).

FIGURE 3

Comparative evaluation of forecasting performance

The forecasting performance of the estimated models was evaluated over a 10-year blind test window (2015–2024). Six robust accuracy metrics were calculated to compare model performance side-by-side, as summarized in Table 4 and illustrated in Figure 4.

TABLE 4

ModelFamilyRMSEMAEMAPE (%)sMAPE (%)MASETheil’s U
ARFIMALong-memory10,836.895,387.343.343.110.850.69
ARNNNeural network12,825.757,962.894.804.491.260.82
ThetaClassical20,880.5016,614.789.698.952.631.36
ARIMAClassical26,071.0421,604.0712.5111.413.411.71
BATSState-space26,799.1322,257.5612.8811.723.521.76
TBATSState-space26,799.1322,257.5612.8811.723.521.76
ETSState-space27,732.6523,242.0113.4312.203.671.82

Out-of-sample forecast accuracy comparison (2015–2024).

Lower values indicate superior forecasting performance. BATS, and TBATS, produced identical accuracy metrics because the annual non-seasonal frequency (s = 1) caused the trigonometric seasonal components of TBATS, to drop out during algorithmic convergence, resulting in an identical state-space specification to the BATS, model.

FIGURE 4

The ARFIMA model consistently achieved the best performance across all accuracy measures. Specifically, it produced the lowest RMSE (10,836.89), MAE (5,387.34), MAPE (3.34%), and sMAPE (3.11%). Its Theil’s U statistic (0.69) was substantially below 1.0, indicating superior predictive accuracy relative to a naïve random-walk benchmark.

The ARNN model ranked second overall, achieving an RMSE of 12,825.75 and an sMAPE of 4.49%. Although the neural network model successfully captured nonlinear patterns, its predictive accuracy remained inferior to that of the ARFIMA model. Classical and state-space models generally produced larger forecasting errors, suggesting limited ability to capture the long-memory characteristics and structural variability of Somalia’s livestock production system.

To ensure that the out-of-sample superiority of the ARFIMA model is robust beyond a single train/test split (2015–2024), an expanding-window rolling-origin cross-validation (tsCV) was executed. The cross-validation root mean squared errors robustly confirm this ranking, yielding an aggregate RMSE of 10,595.91 for the long-memory ARFIMA model compared to 11,900.06 for the runner-up non-linear ARNN model. This confirms that ARFIMA’s predictive dominance is stable across expanding estimation windows and not an artifact of specific test-decade idiosyncrasies.

Decadal forecasts of pastoralist red meat production (2025–2034)

Given its superior forecasting performance, the ARFIMA model was fitted to the full historical dataset (1961–2024) to generate projections for the period 2025–2034. Forecast estimates and associated prediction intervals are presented in Table 5.

TABLE 5

YearForecastLower 80%Upper 80%Lower 95%Upper 95%
2025175,332.80162,430.50188,235.10155,600.40195,065.20
2026174,540.20156,524.00192,556.30146,986.90202,093.50
2027173,767.70151,979.00195,556.40140,444.80207,090.60
2028173,014.90148,168.10197,861.70135,015.00211,014.80
2029172,281.30144,844.00199,718.70130,319.50214,243.20
2030171,566.40141,877.30201,255.60126,160.80216,972.10
2031170,869.70139,189.90202,549.60122,419.60219,319.90
2032170,190.80136,729.80203,651.80119,016.60221,365.00
2033169,529.10134,460.20204,598.00115,895.80223,162.40
2034168,884.30132,353.80205,414.80113,015.70224,752.90

Projected pastoralist red meat production in somalia (2025–2034) based on the ARFIMA model.

Forecasts were generated using the ARFIMA, model fitted to the complete historical series.

As Figure 5 shows, the ARFIMA model predicts a slow, steady decline and stabilization in pastoralist red meat production. The point estimates drop from 175,332.80 tons in 2025 to 168,884.30 tons by 2034. The gray confidence bands widen over time, which aligns with statistical expectations since forecasting further into the future naturally accumulates greater uncertainty.

FIGURE 5

In short, the forecasts suggest the sector is stabilizing with a slight downward trend. This behavior could indicate that Somalia’s traditional pastoral system is nearing its natural ecological carrying capacity under escalating environmental stress. Actual future production will remain heavily dependent on rainfall patterns, veterinary infrastructure investments, and international market access.

Discussion

The empirical findings reveal that aggregate pastoralist red meat production in Somalia is governed by long-memory dependencies that require advanced univariate forecasting frameworks. The long-memory ARFIMA model exhibited clear superiority over the 10-year out-of-sample validation period (2015–2024), achieving the lowest error metrics across all criteria (, , and ). This statistical dominance over classical ARIMA and state-space models highlights the mathematical importance of the fractional differencing parameter () in representing long-range dependencies in dryland agrarian datasets. In a fragile environment like Somalia, pastoralist livestock metrics are heavily determined by animal growth cycles, reproductive capacities, and rangeland biomass carrying capacity. When extreme climatic or political shocks occur—such as the historic multi-season droughts of 2011, 2016, and 2022—their impacts do not quickly dissipate. Instead, they linger as multi-year dependencies in national herd structures, depressing off-take and meat production capacity for several subsequent years (; ). The ARFIMA model successfully represents this slow-decaying shock persistence, whereas traditional models like the ARIMA(0,1,0) with drift assume that shock impacts are either infinitely persistent or rapidly decay, leading to much larger forecast errors.

These results directly challenge a prominent body of agricultural forecasting literature. Several studies argue that parsimonious, short-memory models, such as classical ARIMA or simple exponential smoothing (ETS), are sufficient for agricultural forecasting in sub-Saharan Africa, suggesting that complex long-memory parameters add unnecessary parameterization without improving accuracy (; ). Specifically, the findings of this study challenge the traditional, unconditional use of short-memory Box-Jenkins models for East African livestock metrics, which suffer from severe systematic bias when applied to shock-prone arid zones (). Additionally, these findings challenge recent assertions in the forecasting literature that highly flexible machine learning architectures, particularly Autoregressive Neural Networks (ARNN/NNAR), are always superior to statistical models in modeling highly volatile agrarian data. While the ARNN model performed as the second-best forecasting instrument in this study (; ), the absolute superiority of the ARFIMA model contradicts the general assumption that neural networks always outperform statistical models. This reveals that in data-scarce, highly volatile, and finite historical datasets (), neural networks remain highly prone to overfitting, highlighting the structural limitations of machine learning in small-sample time series regimes ().

This statistical performance can be traced to the unique biophysical and socio-political dynamics of the Somali livestock sector. The biological recovery of camel, cattle, sheep, and goat populations following severe droughts is a multi-year process that cannot be adequately modeled by short-memory frameworks. During extreme climatic anomalies, mass livestock mortality occurs alongside pasture depletion, which disrupts breeding cycles and depresses meat production for several subsequent years (). This biological reality is supported by historical evidence indicating that the 2016/17 drought in Somalia caused a massive deficit of 14.8 million births (with goats losing 10.5 million and sheep losing 4 million births) and 4 million excess animal deaths (). This massive reproductive gap directly explains the prolonged, slow-decaying lags observed in the disaggregated species trajectories (Figure 2). While cattle meat production (the dark blue line) is highly vulnerable and took years to recover after the 1991 civil war and the 2022 drought, camel meat production (the orange line) exhibited high climate resilience and a steady upward trend, driven by the biological capacity of camels to maintain milk and meat offtake under extreme water scarcity where other ruminants typically experience severe production declines ().

Furthermore, this study provides distinct contributions to the empirical literature on agricultural forecasting in fragile states. While previous modeling efforts in Somalia have heavily focused on macroeconomic variables or environmental indicators under rigid linear assumptions, this research represents the first comprehensive, head-to-head comparison of classical, state-space, long-memory, and machine learning models for aggregate red meat production. By demonstrating the absolute mathematical superiority of the fractionally integrated ARFIMA process over highly complex neural networks, this study pushes the empirical boundaries of time-series analysis in data-scarce and volatile environments. Additionally, the programmatic preprocessing baseline established in R () and the strict exclusion of commercial poultry provide a highly targeted, replicable methodology for evaluating dryland pastoral systems, filling a major methodological gap noted in previous regional agricultural assessments (; ).

Despite these contributions, several strengths and limitations of this study must be acknowledged. A primary strength of this research is the use of a comprehensive 64-year historical dataset () validated over a rigorous 10-year out-of-sample testing window (), which minimized the risk of in-sample overfitting and simulated real-world predictive performance. Another strength is the integration of both parametric statistical algorithms and computational networks, balancing econometric interpretability and non-linear flexibility. Conversely, a prominent limitation of this univariate design is the inability to explicitly incorporate exogenous, climate-driven covariates, such as the Normalized Difference Vegetation Index (NDVI) or precipitation anomalies (). Furthermore, data scarcity and the finite sample size ( training observations) restricted the architectural depth of the autoregressive neural network, preventing the implementation of deep learning configurations (); though this constraint is methodologically managed through a single hidden-layer structure suited to small-sample regimes (). In addition, as a single-country analysis focused exclusively on Somalia’s pastoral economy, the empirical findings reflect specific socio-ecological dynamics; consequently, while the methodological framework is broadly transferable, direct generalizability of these specific production trajectories to other regional pastoral systems should be approached with appropriate context (). Finally, a critical methodological consideration relates to the underlying macro-level data source. The FAOSTAT (QCL) production series relies on national aggregations that, within the Somali pastoral context, heavily incorporate informal cross-border trade, unrecorded subsistence slaughter, and traditional off-take—variables that are notoriously difficult to capture via direct accounting (; ). While FAOSTAT provides the longest continuous macro-level baseline available () and remains standard for macro-comparisons, these estimation methods introduce inherent reporting uncertainties. Consequently, our decadal projections reflect broader structural and systemic trajectories rather than localized transactional ledgers, necessitating a nuanced interpretation by food-security policymakers

At the local level, the forecasting results of this study align closely with recent empirical surveys of pastoralist asset depletion. Meteorological droughts in Southwest Somalia (Bay, Bakool, and Lower Shabelle) are documented to have caused catastrophic herd losses of up to 62.1% for goats, 68.6% for cattle, 74.7% for sheep, and 63.5% for camels (). Widespread asset collapse and the drying up of conventional water catchments reported by local pastoralists directly explain the gradual contraction and stabilization predicted by the ARFIMA model (declining from 175,332.80 tons in 2025 to 168,884.30 tons by 2034). This projected plateau suggests that traditional pastoral systems in Somalia may be approaching critical rangeland carrying capacities under compounding anthropogenic and environmental pressures. Specifically, chronic pasture depletion, reduced biomass regeneration, and multi-season droughts systematically constrain the long-term demographic and biological expansion of herds, forcing agropastoral systems toward a dynamic ecological equilibrium (; ). Under these conditions, the massive collapse of livestock assets forces pastoralists into distress decisions, disrupting the long-term stability of domestic meat production and driving chronic food insecurity(; ). In this context, transitioning from reactive emergency relief to proactive planning requires mathematically validated baselines to construct climate-smart early warning systems (; ).

Conclusion

Synthesizing the empirical evaluations, this study demonstrates that long-memory frameworks are fundamentally better suited than classical or machine learning paradigms for projecting aggregate livestock trajectories in fragile dryland environments. By capturing slow-decaying shock persistence, the ARFIMA model establishes a robust, mathematically validated baseline indicating a structural production plateau through 2034. To preempt potential ecological thresholds and safeguard food security, institutional stakeholders must leverage these quantitative baselines—shifting away from reactive emergency interventions toward proactive investments in commercial fodder systems, mobile veterinary infrastructure, and index-based livestock insurance. Future extensions should build upon these univariate findings by integrating high-resolution spatial and climatic covariates within hybrid architectures.

Statements

Data availability statement

Publicly available datasets were analyzed in this study. This data can be found here: https://www.fao.org/faostat/en/#data/QCL.

Author contributions

AB: Conceptualization, Methodology, Formal analysis, Software, Writing – review and editing. DS: Conceptualization, Project administration, Resources, Writing – review and editing. AM: Validation, Supervision Writing – original draft. SH: Data curation, Investigation, Visualization, Writing – original draft. All authors contributed to the article and approved the submitted version.

Funding

The author(s) declared that financial support was not received for this work and/or its publication.

Conflict of interest

The author(s) declared that this work was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Generative AI statement

The author(s) declared that generative AI was not used in the creation of this manuscript.

Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.

References

  • 1

    AbdallahF. D. M.GoudaH. F. (2025). Forecasting sheep lamb productivity using short-term time series: a comparison of ARIMA, ETS, and neural network autoregressive models. Alexandria J. Veterinary Sci.87, 82. 10.5455/ajvs.265570

  • 2

    AbdullahiM. A.MuseA. H.AdenH. A.NadarajahS. (2025). Forecasting methane emissions in Somalia: a hybrid time-series approach for climate and public health insights. Earth Syst. Environ.10, 1–14. 10.1007/s41748-025-00993-5

  • 3

    African Union (2015). Agenda 2063: the Africa We Want. Addis Ababa, Ethiopia: African Union.

  • 4

    AhmedA.AbdisamadM. S.MahamedM.HassanA. (2026). Forecasting Cereal Production and Its Implications for Food Security in Somalia: A Comparative Analysis of ARIMA, ETS and Neural Network Models. 10.4236/as.2026.172009

  • 5

    AlasowA. A.HersiA. A.NadarajahS. (2025). Climate rhythms in a fragile region: decoding Somalia’s 120-year rainfall patterns through spatial econometrics. Earth Syst. Environ.9 (3), 2045–2060. 10.1007/s41748-025-00738-4

  • 6

    AssimakopoulosV.NikolopoulosK. (2000). The theta model: a decomposition approach to forecasting. Int. J. Forecast.16 (4), 521–530. 10.1016/S0169-2070(00)00066-2

  • 7

    BalehegnM.AdesoganA. T.DahlG. E. (2025). Interventions for improving livestock productivity in developing countries. Front. Media SA6, 1628166. 10.3389/fanim.2025.1628166

  • 8

    BoxG. E. P.JenkinsG. M.ReinselG. C.LjungG. M. (2015). Time Series Analysis: Forecasting and Control. John Wiley and Sons.

  • 9

    CatleyA.LindJ.ScoonesI. (2013). “Development at the margins: pastoralism in The Horn Of Africa,” in Pastoralism and Development in Africa (Abingdon, Oxon: Routledge), 1–26. 10.4324/9780203105979-1

  • 10

    De LiveraA. M.HyndmanR. J.SnyderR. D. (2011). Forecasting time series with complex seasonal patterns using exponential smoothing. J. Am. Stat. Assoc.106 (496), 1513–1527. 10.1198/jasa.2011.tm09771

  • 11

    DelgadoC. L.RosegrantM. W.SteinfeldH.EhuiS. K.CourboisC. (1999). Livestock to 2020: the next food revolution. Intl Food Policy Res. Inst.61, 27–29. 10.5367/000000001101293427

  • 12

    EgehO. M.ChesneauC.MuseA. H. (2023). Exploring hybrid models for forecasting CO 2 emissions in drought-prone Somalia: a comparative analysis. Earth Sci. Inf.16 (4), 3895–3912. 10.1007/s12145-023-01126-0

  • 13

    ElmezouarZ. C.AlmanjahieI. M.AhmadI.LaksaciA. (2021). Comparison of arfima, arima and artificial neural models to forecast the total fisheries production in India. JAPS J. Animal and Plant Sci.31 (5), 1477–1484. 10.36899/JAPS.2021.5.0349

  • 14

    ErdawM. M. (2023). Contribution, prospects and trends of livestock production in Sub-Saharan Africa: a review. Int. J. Agric. Sustain.21 (1), 2247776. 10.1080/14735903.2023.2247776

  • 15

    EsseA. A.OsmanA. A.MuseA. H. (2025). Modeling and predicting livestock export in Somaliland: a comparative hybrid model approach. Operations Res. Forum6 (4), 161. 10.1007/s43069-025-00558-2

  • 16

    FarahA. M. (2026). Trade competitiveness of Somali livestock exports: trends, pitfalls and prospects. Int. J. Res. Sci. Innovation (IJRSI)12 (12), 1048–1055. 10.51244/IJRSI.2025.12120091

  • 17

    GrangerC. W. J.JoyeuxR. (1980). An introduction to long‐memory time series models and fractional differencing. J. Time Ser. Analysis1 (1), 15–29. 10.1111/j.1467-9892.1980.tb00297.x

  • 18

    HassanM. A.DarodA. F.YousufI. M.SeimanS. M. K.JamaY. A.NyamweyaN. M. (2026). Comparative time series forecasting of unemployment in Somalia (1991–2024): evidence from single and hybrid models. Open Res. Afr.9 (24), 24. 10.12688/openresafrica.16544.1

  • 19

    HerreroM.HavlíkP.ValinH.NotenbaertA.RufinoM. C.ThorntonP. K.et al (2013). Biomass use, production, feed efficiencies, and greenhouse gas emissions from global livestock systems. Proc. Natl. Acad. Sci.110 (52), 20888–20893. 10.1073/pnas.1308149110

  • 20

    HusseinJ.BilottoF.SircelyJ.MbuiD.OmondiP.FerreiraC. S. S.et al (2024). From crisis to opportunity: climate change benefits livestock production in Somalia. Environ. Res. Food Syst.1 (2), 25004. 10.1088/2976-601x/ad6fa0

  • 21

    HyndmanR. J.AthanasopoulosG. (2018). Forecasting: Principles and Practice. Melbourne, Australia: OTexts.

  • 22

    JainontheeC.SivapirunthepP.PirompudP.PunyapornwithayaV.SrisawangS.ChaosapC. (2025). Modeling and forecasting dead-on-arrival in broilers using time series methods: a case study from Thailand. Animals15 (8), 1179. 10.3390/ani15081179

  • 23

    MakridakisS.SpiliotisE.AssimakopoulosV. (2020). The M4 competition: 100,000 time series and 61 forecasting methods. Int. J. Forecast.36 (1), 54–74. 10.1016/j.ijforecast.2019.04.014

  • 24

    MgayaJ. F. (2019). Application of ARIMA models in forecasting livestock products consumption in Tanzania. Cogent Food and Agric.5 (1), 1607430. 10.1080/23311932.2019.1607430

  • 25

    MohamedJ.AliD. A.WarsameA. A.AdamM. B. (2022). Two phases of long-term shift in extreme precipitation in Somalia. Meteorology Atmos. Phys.134 (3), 54. 10.1007/s00703-022-00896-4

  • 26

    MuigaiA.MateteG.AdenH. H.TapioM.OkeyoA. M.MarshallK. (2016). The Indigenous Farm Genetic Resources of Somalia: Preliminary Phenotypic and Genotypic Characterization of Cattle, Sheep and Goats. Nairobi, Kenya: International Livestock Research Institute (ILRI).

  • 27

    NegassaA.BakerD.MugunieriL. G.CostagliR.WanyoikeF. N.AbdulleM. H.et al (2012). The Somali Chilled Meat Value Chain: Structure, Operation, Profitability and Opportunities to Improve the Competitiveness of Somalia’s Chilled Meat Export Trade.

  • 28

    NgongoloK.GayoL. (2025). Climate change impacts and mitigation strategies in sub-saharan Africa’s livestock production sector. A brief review. Pastor. Res. Policy Pract.15, 14225. 10.3389/past.2025.14225

  • 29

    OjanjiW.WrightI. A. (2023). Report on Round Table on the Potential for Investment in the Livestock Sector in Somalia.

  • 30

    OtteJ.AkiluY.WisserD.RajagopalanP.ZaidiZ. (2023). Impact of the 2016/17 drought on somali livestock keepers. Food and Agric. Org10.4060/cc8138en

  • 31

    R Core Team (2023). R: A language and Environment for Statistical Computing. Vienna, Austria: R Foundation for Statistical Computing.

  • 32

    RakshitD.PaulR. K. (2025). Hybrid ARFIMA-LRNN Model for Forecasting Commodity Prices. 10.56093/jisas.v78i03.171405

  • 33

    SatyanarayanaS. D. V.RisheenG. D. (2023). Current trends and innovations in livestock production: a critical review. Int. J. Vet. Sci. Anim. Husb.8 (3S), 22–24.

  • 34

    SrivastavaA. K.RahimiJ.AlsafadiK.ViannaM.EndersA.ZhengW.et al (2025). Modelling mixed crop-livestock systems and climate impact assessment in Sub-Saharan Africa. Sci. Rep.15 (1), 1399. 10.1038/s41598-024-81986-8

  • 35

    TashmanL. J. (2000). Out-of-sample tests of forecasting accuracy: an analysis and review. Int. J. Forecast.16 (4), 437–450. 10.1016/S0169-2070(00)00065-0

  • 36

    ThorntonP. K. (2010). Livestock production: recent trends, future prospects. Philosophical Trans. R. Soc. B Biol. Sci.365 (1554), 2853–2867. 10.1098/rstb.2010.0134

  • 37

    United Nations General Assembly (2015). Transforming Our World: The 2030 Agenda for Sustainable Development (A/RES/70/1). New York, NY: United Nations.

  • 38

    Van EenennaamA. L. (2024). Addressing the 2050 demand for terrestrial animal source food. Proc. Natl. Acad. Sci.121 (50), e2319001121. 10.1073/pnas.2319001121

  • 39

    WaiswaD. (2023). Modeling and forecasting Uganda’s beef and cattle milk production using the box-jenkins methodology. J. Agric. Prod. (Online)4 (1), 16–29. 10.56430/japro.1197299

  • 40

    WanyoikeF.RichK. M.MtimetN.BahtaS.GodiahL. (2023). An assessment of small ruminant production, marketing, and investment options in Somaliland: a system dynamics approach. Small Ruminant Res.218, 106882. 10.1016/j.smallrumres.2022.106882

  • 41

    WardhereM. A. H.MahamedM. A. S. (2026). Impact of meteorological drought on pastoralist livelihood assets in the southwest of Somalia. Discov. Sustain.7, 230. 10.1007/s43621-026-02616-z

  • 42

    WarsameA. A.MohamedJ.MohamedA. A. (2023). The relationship between environmental degradation, agricultural crops, and livestock production in Somalia. Environ. Sci. Pollut. Res.30 (3), 7825–7835. 10.1007/s11356-022-22595-8

Summary

Keywords

ARFIMA, climate-smart agriculture, livestock forecasting, long-memory, neural networks

Citation

Bade AO, Shire DM, Hassan SM and Muse AH (2026) Forecasting pastoralist red meat production trajectories in a fragile and climate-vulnerable state: a comparative evaluation of classical, state-space, long-memory, and neural network models in Somalia. Pastoralism 16:17161. doi: 10.3389/past.2026.17161

Received

17 June 2026

Revised

17 August 2026

Accepted

03 September 2026

Published

21 September 2026

Volume

16 - 2026

Edited by

Carol Kerven, Odessa Centre Ltd., United Kingdom

Updates

Copyright

*Correspondence: Abdirisak Osman Bade,

Disclaimer

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

Outline

Figures

Cite article

Copy to clipboard


Export citation file


Share article