Back to all projects
Statistics

Predicting Water Resource Availability Using Time Series Models: A Worked Example for a Nigerian River Catchment

Elijah T 0 views 0 downloadsBSc/BA

Notice: This is a sample project for study and reference. Submitting it as your own work violates most universities' academic integrity policies.

Abstract

About This Research Topic

Anyone who plans around a river in Nigeria plans around a calendar. Flows swell in the later part of the rains and shrink sharply in the dry months, and the difference decides whether a reservoir lasts until the next wet season, whether a town's supply keeps up with abstraction, and whether a farmer can irrigate when the crop needs it. Annual averages hide that rhythm completely. What water managers actually need is a month-by-month forecast, with an honest statement of how uncertain it is.

This article rewrites and expands a research study that builds such a forecast from twenty years of monthly river discharge, rainfall, and temperature records, using the classical time series toolkit: decomposition, trend and seasonality tests, regression, and seasonal ARIMA modelling checked against simpler alternatives. One point must be stated at the outset: the dataset is illustrative. It was constructed to reproduce the seasonal behaviour of a humid-tropical southern Nigerian catchment, so the study is best read as a complete, reproducible workflow rather than a finding about any real river. It sits alongside other forecasting work in ScholarNestHub's project topics library, including a study on forecasting business sales using time series models. The sections below cover the study's background, problem, objectives, and scope, then close with answers to common questions about forecasting water availability.

Main Abstract

Reliable forecasts of water availability support reservoir operation, urban water supply planning, and drought preparedness in Nigeria, where rainfall is strongly seasonal and abstraction is rising. This study applied time series models to predict water resource availability, measured as monthly mean river discharge in cubic metres per second, using 240 monthly observations from January 2005 to December 2024. Monthly rainfall and mean air temperature were included as explanatory series. The dataset is illustrative and was constructed to reproduce the seasonal regime of a humid-tropical southern Nigerian catchment.

Descriptive analysis gave a mean discharge of 20.34 m³/s (SD = 7.16) with a coefficient of variation of 35.2%. A one-way ANOVA showed that mean discharge differed significantly across dry, early wet, and peak wet seasons, F(2, 237) = 157.88, p < 0.001. The Mann-Kendall test on deseasonalised discharge indicated a significant downward trend (Z = −5.10, p < 0.001), with a Sen slope of −0.0138 m³/s per month. Multiple regression showed that current rainfall, lagged rainfall, and temperature jointly explained 85.7% of the variation in discharge (F = 350.2, p < 0.001), and a chi-square test confirmed an association between rainfall and discharge categories (χ² = 82.05, df = 4, p < 0.001).

Augmented Dickey-Fuller and KPSS tests showed that the series became stationary after seasonal differencing. A SARIMA(2,0,0)(0,1,1)[12] model was selected by the corrected Akaike criterion on 2005 to 2022 data and passed the Ljung-Box test on its residuals. On the 24-month hold-out period, the rainfall-augmented SARIMAX model gave the lowest error (RMSE = 2.76 m³/s), but pairwise Wilcoxon tests found no significant difference in accuracy among the SARIMA, ARIMA, and Holt-Winters models. Forecasts for 2025 and 2026 place the driest months in February and March, with discharge near 11.6 m³/s and a lower 95% bound below 7 m³/s. The study recommends seasonal monitoring thresholds, routine model re-estimation, and the replacement of the illustrative data with gauge records before any operational use.

Chapter One Preview

Background to the Study

Water is the one natural resource that every sector of the Nigerian economy depends on at the same time. Households use it for drinking and sanitation, farmers for irrigation and livestock, industries for processing and cooling, and power utilities for hydroelectric generation. Nigeria has large surface water endowments in the Niger and Benue basins and in the coastal river systems of the south, yet the volume of water actually available at a given place and month varies widely. Rainfall in most of the country is concentrated in a wet season that lasts between roughly five and nine months, depending on latitude, and the rest of the year is dry. Rivers respond with high flows in the later part of the rains and sharply reduced flows in the dry months.

The practical result is that water managers must plan under uncertainty. A reservoir operator at the start of the dry season needs to know whether the stored volume will last until the rains return. A state water corporation needs to anticipate months in which abstraction may exceed river discharge. A farmer on a floodplain needs to know when the river is likely to rise or fall. In each case, a statistical forecast of future availability, with a measure of its uncertainty, is more useful than a single guess based on last year's experience.

Global assessments underline why timing matters as much as totals. A widely cited study in Science Advances estimated that about 4.0 billion people, two-thirds of the world's population, live under conditions of severe water scarcity for at least one month of the year. The finding is a reminder that scarcity is often a seasonal problem, which is exactly the kind of pattern time series methods are built to capture. It also makes it important to understand not only how much water is available on average, but how availability moves through the year and from one year to the next.

Time series analysis offers a coherent set of tools for this task. A monthly discharge record is an ordered sequence in which neighbouring values are related, a repeating annual cycle is present, and a slow trend may be hidden under the noise. The Box-Jenkins approach, developed for exactly this kind of data, breaks the problem into identification, estimation, diagnostic checking, and forecasting; the NIST/SEMATECH e-Handbook of Statistical Methods gives a clear technical account. Seasonal ARIMA (SARIMA) models extend the approach to series with a fixed seasonal period, while exponential smoothing methods such as Holt-Winters provide a simpler alternative that is widely used as a benchmark. Applications to river inflow and drought forecasting have a long history, and recent work compares these classical models with machine learning methods.

This project applies the classical toolkit to a 20-year monthly record of river discharge, rainfall, and air temperature in the setting of a humid-tropical southern Nigerian catchment. It describes the series, tests for seasonality and trend, examines the influence of rainfall and temperature, fits and checks a seasonal ARIMA model, compares it with competing models on a hold-out period, and produces forecasts for the next 24 months. Because the data are illustrative, the project is intended to demonstrate a complete analytical workflow that a student can reproduce with real gauge records.

Statement of the Problem

Water planning in many Nigerian towns and basins still relies on rules of thumb, last year's experience, or short-term reaction to shortages. Where records exist, they are often summarised only as annual averages, which hide the strong seasonal cycle that determines whether water is actually available in the months when demand is highest. Dry-season shortfalls, delayed rains, and years of reduced discharge therefore reach users as surprises, and the cost is borne in rationing, pump failures, reduced irrigation, and conflicts over access.

A second difficulty is methodological. Student and practitioner studies frequently apply a single forecasting model without checking its assumptions, without testing whether trend and seasonality are statistically real, and without comparing the model with simple alternatives on data it has not seen. Without these steps, a model that fits the past well may forecast the future poorly, and users cannot tell how much confidence to place in the output. There is a need for a transparent analysis that links descriptive results, hypothesis tests, and out-of-sample validation to a forecast that managers can act on.

Aim and Objectives of the Study

The aim of the study was to develop and evaluate time series models for predicting water resource availability, measured by monthly river discharge, and to use the best-supported model to produce forecasts with prediction intervals. The specific objectives were to:

●        Describe the distributional characteristics of monthly discharge, rainfall, and temperature over the period 2005 to 2024.

●        Decompose the discharge series into trend, seasonal, and irregular components and test whether the trend is statistically significant.

●        Determine whether mean discharge differs significantly between the dry, early wet, and peak wet seasons.

●        Assess the effect of current rainfall, lagged rainfall, and temperature on discharge.

●        Identify, estimate, and diagnose a seasonal ARIMA model for discharge.

●        Compare the out-of-sample forecasting accuracy of SARIMA, ARIMA, and Holt-Winters models.

●        Generate 24-month forecasts with 95% prediction intervals and propose monitoring thresholds for low-availability months.

Research Questions

●        What are the central tendency, spread, and shape of monthly discharge, rainfall, and temperature?

●        Is there a statistically significant long-term trend in water availability after the seasonal cycle is removed?

●        Does mean discharge differ across the dry, early wet, and peak wet seasons?

●        How strongly do current rainfall, lagged rainfall, and temperature influence discharge?

●        Which SARIMA specification best describes the discharge series, and does it satisfy the diagnostic requirements?

●        Do SARIMA, ARIMA, and Holt-Winters models differ significantly in forecasting accuracy?

●        What discharge levels are expected in 2025 and 2026, and in which months is availability likely to fall below the watch level?

Significance of the Study

For water utilities and basin authorities, the study shows how a monthly forecast with prediction intervals can be turned into a watch level that triggers early action such as demand management or tanker deployment. For planners in agriculture and energy, the seasonal results indicate the months in which discharge is reliably low, which informs the scheduling of planting, irrigation, and hydropower dispatch. For policy makers, the study illustrates why decisions on water allocation should rest on seasonal and trend-adjusted information and not on annual averages alone.

For students and researchers in statistics, the project provides a worked example of the full time series workflow: data screening, decomposition, stationarity testing, model selection, diagnostic checking, benchmark comparison, and forecasting. The outputs are presented in the formats of several statistical packages, so that a reader using SPSS, Minitab, R, Stata, or Excel can follow the same analysis. Students planning a comparable analysis can find additional support through ScholarNestHub's research coaching service, which helps learners refine their model selection, validation approach, and results chapters.

Scope of the Study

The study covers a single catchment represented by one gauging station and one rainfall and temperature series, observed monthly from January 2005 to December 2024, giving 240 observations per variable. The response variable is mean monthly river discharge in cubic metres per second, with rainfall (millimetres) and mean air temperature (degrees Celsius) as explanatory variables. The models considered are SARIMA, non-seasonal ARIMA, Holt-Winters exponential smoothing, a SARIMA model with rainfall as an external regressor, and a seasonal naive benchmark. Machine learning methods are discussed in the literature review but are not fitted. Real discharge and groundwater records for Nigeria are held by the Nigeria Hydrological Services Agency, which accepts requests for hydrological data.

The most important limitation is that the dataset is illustrative. It was generated to mimic the seasonal regime, persistence, and noise level of a humid-tropical catchment, so the substantive findings cannot be generalised to any real river. The analysis also uses a single station, which does not capture spatial variation within a basin. Monthly averaging hides short flood and low-flow events that matter for operations, and the 24-month hold-out period is short, so accuracy comparisons are subject to sampling variation. Finally, abstraction, dam operation, and land-use change are not modelled directly, and any effect they have is absorbed into the trend and error terms.

Operational Definition of Terms

Water Resource Availability: Mean monthly river discharge at the gauging station, in m³/s, used as an indicator of the volume of surface water available for use.

Discharge: The volume of water passing a river cross-section per unit time, averaged over each calendar month.

Time Series: A set of observations on a variable recorded at equally spaced points in time, here monthly.

Seasonality: A pattern that repeats with a fixed period; here, a 12-month cycle, as described in the NIST/SEMATECH e-Handbook.

Trend: A persistent long-term upward or downward movement in the series after seasonal effects are removed.

Stationarity: A property in which the mean, variance, and autocovariances of a series do not change over time.

Dry Season: The months of November to February.

Early Wet Season: The months of March to June.

Peak Wet Season: The months of July to October.

Watch Level: The 25th percentile of the historical monthly discharge series (14.32 m³/s), below which a month is flagged for closer monitoring.

Hold-Out Period: The last 24 months of the record (2023 to 2024), reserved to test forecasts and not used in model estimation.

Conclusion

The study's results tell a coherent story about a strongly seasonal river. Discharge differs sharply across the dry, early wet, and peak wet seasons, rainfall and temperature explain most of its variation, and a seasonal ARIMA model captures its rhythm well enough to pass diagnostic checks. The most useful finding may be the cautionary one: on a 24-month hold-out, the SARIMA, ARIMA, and Holt-Winters models were not significantly different in accuracy, so a more elaborate model is not automatically a better forecast. Everything here rests on illustrative data, so the forecasts are a demonstration, and the study itself recommends replacing the data with gauge records before operational use. For a related look at choosing between seasonal models, see ScholarNestHub's study of forecasting sales with SARIMA and Holt-Winters, or explore further studies in the project topics library.

Frequently Asked Questions

1. Why forecast water availability month by month instead of using annual averages?

Annual averages hide the seasonal cycle that decides whether water is available when demand is highest. A monthly forecast shows when shortfalls are likely, so managers can act before they happen.

2. What is the dataset used in this study?

It is an illustrative dataset of 240 monthly observations from January 2005 to December 2024, constructed to reproduce the seasonal regime of a humid-tropical southern Nigerian catchment. The findings therefore demonstrate a method and cannot be generalised to any real river.

3. How different is discharge between seasons?

Very different. A one-way ANOVA found that mean discharge differed significantly across the dry, early wet, and peak wet seasons, F(2, 237) = 157.88, p < 0.001.

4. Did the study find a trend in water availability?

The Mann-Kendall test on deseasonalised discharge indicated a significant downward trend (Z = −5.10, p < 0.001), with a Sen slope of −0.0138 m³/s per month. Because the data are illustrative, this shows how the test works rather than describing a real river.

5. How much of the variation in discharge do rainfall and temperature explain?

Current rainfall, lagged rainfall, and temperature jointly explained 85.7% of the variation in discharge in the multiple regression model (F = 350.2, p < 0.001).

6. What does SARIMA(2,0,0)(0,1,1)[12] mean?

The first set of orders describes the non-seasonal autoregressive, differencing, and moving average parts, here two autoregressive terms. The second set describes the seasonal parts, here one seasonal difference and one seasonal moving average term, and [12] is the seasonal period of twelve months.

7. Which model forecast best on the hold-out period?

The rainfall-augmented SARIMAX model gave the lowest error (RMSE = 2.76 m³/s), but pairwise Wilcoxon tests found no significant difference in accuracy among the SARIMA, ARIMA, and Holt-Winters models.

8. What is a watch level?

In this study it is the 25th percentile of the historical monthly discharge series, 14.32 m³/s. Months forecast below it are flagged for closer monitoring and early action.

9. Which months does the study forecast to be driest?

The 2025 and 2026 forecasts place the driest months in February and March, with discharge near 11.6 m³/s and a lower 95% bound below 7 m³/s.

10. Where can I find real hydrological data and a sample project for reference?

Real discharge and groundwater records can be requested from the Nigeria Hydrological Services Agency, and ScholarNestHub's project topics library includes related sample studies applying statistical methods to real-world datasets.

Purchase to unlock the full material.