betaFeedback

WorksMathematics

Wind Speed Forecasting Using a Spatio-Temporal Hybrid Model: A Case Study of South African Wind Stations

Abstract

In this paper, we propose a hybrid forecasting framework that combines temporal ARIMA models and spatial NNGP corrections to improve wind speed predictions at 19 wind stations in South Africa. The proposed framework develops temporal baselines with ARIMA models, applies an NNGP correction to residual spatial dependencies and then combines the two components to produce improved forecasts. RMSE of the hybrid model is reduced by 17.4% (1.416 vs 1.715 m/s) compared to ARIMA baseline (station-wise improvements up to 48.9%); rolling-origin forecast evaluation over five origins with ten-day horizon was used (spatial correlation range = 103km, temporal persistence = 0.46), blockwise conformal prediction intervals cover 99.5% and Diebold-Mariano tests show statistical significance of improvements (DM = 6.44, p < 0.001). Spatial dependencies should be accounted for in temporal forecasting to improve prediction accuracy, especially at high-elevation stations, where spatial effects are strongest.

Introduction

Background and Motivation

Wind speed forecasting is becoming increasingly important for VRE integration and operation in South Africa as the country moves towards a less carbon-intensive electricity system: accurate forecasts of wind power production are needed to support grid stability, energy planning, and renewable generation operations. Landwehr et al. [36] highlight that short-, medium- and long-term forecasting of VRE needs to be accurate in South Africa, as renewable penetration increases and climatic conditions change.

However, wind conditions in South Africa cannot be forecast because wind variability is strongly driven by regional and synoptic-scale atmospheric circulation. Landwehr et al. [36] show this complexity in the Eastern Cape where wind energy production varies seasonally and is strongly linked to weather systems (mid-latitude cyclones, ridging high-pressure systems, cut-off lows and tropical disturbances). They find that different synoptic circulation patterns can lead to substantially different levels of wind energy production, highlighting the strong spatial and temporal variability of the South African wind resource. These results indicate that wind speed forecasting in South Africa needs to take account of large spatio-temporal variability due to regional weather systems and local geographic features.

Forecasting methods (autoregressive models, machine learning) have typically been more concerned with either temporal dynamics or nonlinear predictive relationships and spatial dependence has been comparatively less addressed. If spatial dependence is not considered, then information from neighbouring stations may be lost in the estimation process, and predictive accuracy will be reduced (if nearby stations are subject to similar atmospheric conditions). Therefore, forecasting approaches should take into account both temporal information at individual stations and spatial information shared among neighbouring locations.

Gaussian Process (GP) models offer a flexible probabilistic framework for modelling spatial dependence and quantifying uncertainty. However, conventional GP models are computationally expensive for large datasets, since their complexity scales cubically with the number of observations. This is especially the case for high-resolution spatio-temporal wind data measured at multiple monitoring stations over long time periods.

Several scalable approximations have been proposed to overcome the computational limitations of full Gaussian process models for large spatial datasets. These include Nearest Neighbour Gaussian Processes (NNGP), Hilbert Space Gaussian Processes (HSGP), and Stochastic Partial Differential Equation (SPDE) approaches. HSGP approximates the Gaussian process using a finite basis expansion, typically constructed from eigenfunctions of the covariance operator over a bounded spatial domain. This approach can provide substantial computational savings and is particularly attractive when the spatial domain and covariance structure are well-suited to a basis-function representation. However, the quality of the approximation depends on the choice of basis functions and the spatial domain used in the approximation ([19]). SPDE-based approaches represent a Gaussian process through a sparse Gaussian Markov random field obtained from a stochastic partial differential equation. They are particularly attractive for continuous spatial domains and irregular spatial meshes. However, their implementation requires the construction and validation of an appropriate spatial mesh, which introduces additional modelling and computational considerations ([20]).

In contrast, NNGP constructs a sparse approximation directly from conditional relationships among spatial locations. For a station sis_i, the spatial process is conditioned only on a predefined set of nearby stations. This formulation is particularly suitable for the present study because the spatial domain consists of a relatively small network of geographically distributed meteorological stations, rather than a dense spatial field observed over a continuous grid ([7]).

The NNGP approach was therefore selected because it preserves local spatial dependence while substantially reducing the computational burden associated with full Gaussian process inference. The use of a fixed number of nearest neighbours also provides a transparent and reproducible approximation for the irregular station network considered in this study.

Some existing hybrid models focus on either spatio-temporal kriging [16] or machine-learning ensembles [4] with less attention given to the systematic integration of established temporal models with scalable spatial processes. This gap is particularly pronounced in the context of African wind data, where limited station networks and complex terrain create unique modelling challenges. A need remains for a computationally scalable framework that combines temporal forecasting with spatial dependence and provides reliable predictive uncertainty. Against this background, this study investigates a hybrid spatial-temporal approach that combines ARIMA with NNGP spatial modelling to improve wind-speed forecasting across geographically distributed meteorological stations.

Literature Review

Traditional wind speed forecasting methods can be broadly categorised into physical models, statistical models, and machine learning approaches.

Physical Models

Physical models are the basis of operational weather forecasting through NWP systems. Physical models solve the fundamental equations of atmospheric dynamics to predict future wind conditions. Physically based models are theoretically complete but require huge amounts of computing power, are not well suited to fine spatial scales and rarely capture local topographic effects [21]. In SA, the South African Weather Service has NWP models, but their resolutions are too coarse for station-level wind prediction. Machine learning methods have been used to post-process NWP outputs (to improve their skill at local scales). Machine learning methods are increasingly being applied to downscale coarse NWP predictions (to address some of the limitations of purely physical models) [17].

Statistical Models

Statistical models have been widely used because they are computationally efficient and can capture local patterns. ARIMA models and seasonal variants have been the most popular ones [3]. Box introduced the ARIMA framework, which has been applied to wind speed forecasting many times [15]. ARIMA models capture the temporal structure of wind series (autocorrelation and trends are modelled by autoregressive and moving average components).

The order of the model is also very important in ARIMA applications. Recently, it was shown that lower-order ARIMA models are often sufficient for hourly wind speed forecasting (AR⁡(1)\operatorname{AR}(1) or AR⁡(2)\operatorname{AR}(2) structures are usually sufficient [22]). However, the optimal order may vary greatly between stations depending on local wind climatology; this station-specific variability has motivated adaptive implementations of ARIMA where orders are selected based on observed patterns.

Gong et al. [14] studied predictability limits of time series with characteristic temporal scales using first-order autoregressive AR⁡(1)\operatorname{AR}(1) processes, and showed that temporal correlation structures greatly affect forecast horizons and intrinsic predictability limits of stochastic systems.

These results motivate the theoretical inclusion of AR(1) dynamics in wind speed forecasting models to capture temporal persistence and short-term dependence.

Hybrid models (ARIMA with GARCH-type structures for volatility modelling) have also been considered to model the heteroscedasticity of wind speed Nurhayati and Fitriawati [23]. Even though they are widely used, purely statistical models (e.g., ARIMA) have one major limitation: they treat each station separately, ignoring the spatial continuity of wind fields. The station-wise approach also ignores information from neighbouring stations, which is particularly important in data-sparse regions such as South Africa, where the station network is limited.

Machine Learning Approaches

Machine learning approaches have received considerable attention in recent years. Artificial neural networks (ANNs), support vector machines (SVMs), random forests, and, more recently, deep learning models such as LSTM networks have been used for wind speed forecasting Lahouar and Slama [24]; Liu et al. [25]. These models can handle nonlinear relationships that linear ARIMA models may miss, but they require large training datasets and are prone to overfitting.

Abdelsattar et al. [1] performed a comprehensive comparison of machine learning and deep learning models for wind turbine power prediction using twelve algorithms, including Random Forest, XGBoost, Extra Trees, ANN, LSTM, CNN, and RNN. Their results showed that ANN achieved the best performance among deep learning models, slightly outperforming the best machine learning method (Extra Trees), and highlighted the ability of neural networks to capture nonlinear relationships in multivariate wind data better. Hoang and Ul Hassan [18] proposes a stacking-based ensemble deep learning framework for forecasting offshore wind farm power output. The study combines predictions from multiple deep learning models using a stacking ensemble strategy, where a meta-learner integrates the outputs of the individual base models to produce the final forecast. This approach aims to capture different patterns in wind power generation more effectively than any single model.

Internationally, recent studies have moved towards increasingly sophisticated architectures. Band et al. [2], who uses a two-stage decomposition and deep-learning framework, while Namboodiri and Goyal (2025) combined wavelet transformation with several deep-learning models and optimisation techniques.

Short-term wind forecasting is among the most advanced techniques today, thanks to deep learning architectures, particularly those based on attention mechanisms and transformer models. However, their computational and data requirements can be prohibitive for some applications (Qu et al., 2022). Machine learning algorithms are good at capturing nonlinear patterns, but they often require large training datasets and careful hyperparameter tuning. Additionally, many ML methods, similar to their statistical counterparts, are generally applied on a station-by-station basis, without leveraging spatial dependencies that could improve forecasts at individual sites.

Spatial Modelling of Wind

Spatial modelling recognises that wind observations at nearby locations are inherently correlated due to the continuity of atmospheric processes. Traditional spatial statistics provides a framework for modelling such dependencies through Gaussian processes (GP). A GP is defined by a mean function and a covariance function, with the covariance typically depending on the distance between locations [5]. Datta et al. [7] introduced the Nearest Neighbour Gaussian Process (NNGP) methodology for scalable GP inference. The NNGP uses a sparse Cholesky factorisation based on nearest neighbours, reducing computational complexity. from O(n3)O(n^3) to O(nm3)O(nm^3) where mm is the number of neighbours (typically 10-15). This foundational paper enables spatial modelling with moderate-sized station networks while maintaining near-full GP accuracy.

For Software Implementation, Finley et al. [10] described the spNNGP R package for fitting spatial regression models using NNGP. The paper covers model specification, prior selection, MCMC implementation, and practical considerations for spatial data analysis. The package has become the standard tool for implementing NNGP models in environmental and ecological applications. Datta [27] extended the Nearest Neighbour Gaussian Process (NNGP) framework to spatio-temporal settings by developing online updating algorithms for dynamic NNGP models. This extension enables real-time updates to spatial predictions as new observations become available, making the approach suitable for streaming environmental data, such as wind speed measurements. Katzfuss [28] proposed the Multi-Resolution Approximation (MRA) for scalable Gaussian process modelling of large spatial datasets. The method uses a hierarchical basis-function decomposition to approximate a Gaussian processes with linear computational complexity, offering an alternative to NNGP for large-scale spatial inference.

Spatio-Temporal Hybrid Models

Temporal and spatial modelling has been combined in various ways. Spatio-temporal kriging extends traditional kriging by incorporating temporal dimensions and space-time covariance structures ([6]). They can model both spatial and temporal dependencies but require complex covariance specifications and are computationally expensive.

Hierarchical Bayesian models combine multiple data sources and model dependencies. For wind speed, they can include physical constraints, uncertainty quantification and spatial and temporal dependencies ([13]). However, implementing such models requires expertise in Bayesian computation. On the other hand, ensemble methods combine multiple models to improve predictive performance. In the case of wind speed forecasting, ensembles could be temporal models, spatial models or a combination thereof. The advantages of ensembles are that they are insensitive to misspecification in individual models and can be more accurate ([29]).

Nthangeni et al. [30] proposed a short-term wind energy forecasting framework that combines XGBoost with conformal prediction to improve forecast accuracy and uncertainty quantification. The study showed that integrating machine learning with distribution-free uncertainty estimation provides reliable prediction intervals alongside accurate forecasts, enhancing the robustness of wind energy forecasting for operational applications. Other studies have demonstrated the applicability of statistical and machine-learning approaches to wind-speed forecasting in South Africa. Daniel et al. [31] used South African Wind Atlas data to evaluate artificial neural networks, stochastic gradient boosting and generalised additive models for two-day-ahead wind-speed forecasting, finding differences in predictive performance across the competing methods.

Mbuvha et al. [32] investigated Bayesian neural networks (BNNs) for wind-speed forecasting and proposed a separable shadow Hamiltonian hybrid Monte Carlo method to improve the efficiency of Bayesian inference. Their study demonstrated the application of advanced machine learning and Bayesian techniques to wind-speed forecasting, particularly for addressing uncertainty in model estimation and prediction.

More recently, Makubyane and Maposa [33] investigated short- and long-term wind-speed forecasting in Limpopo Province using LSTM and CNN models together with extreme value theory, demonstrating the potential of machine learning for wind-speed prediction and extreme-wind assessment in the region. Although machine-learning and statistical methods have been applied to South African wind-speed forecasting, existing studies have largely focused on mod elling temporal patterns and improving predictive accuracy, with less emphasis on explicitly modelling the spatial dependence that remains after temporal forecasting.

In their paper, Tshisikhawe et al. (2026) found that Gaussian process residual modelling improved forecast accuracy by up to 16.3% at high-elevation inland stations but was ineffective at low-elevation coastal stations, suggesting that spatial heterogeneity in wind regimes fundamentally affects model performance. This limitation motivated the development of a more robust spatial modelling framework that can capture residual dependencies across heterogeneous wind climates. The present study proposes the ARIMA–NNGP framework, in which ARIMA is first used to model temporal dependence in wind speed. At the same time, NNGP is applied to capture the remaining spatial dependence in the ARIMA residuals. The proposed approach, therefore, extends existing South African wind-speed forecasting research by explicitly incorporating the spatial structure of wind-speed observations.

Summary of Reviewed Literature

A summary of the relevant literature is presented in Table 1, highlighting the methodologies, contributions, limitations, and relevance of previous studies to the proposed framework.

AuthorsMethodKey FindingsLimitationsRelevance
Box and Jenkins [3]ARIMAFoundational time-series forecasting frameworkNo spatial dependence; linear assumptionsBasis for the temporal ARIMA component
Cressie [5]Spatial statistics/GPEstablished covariance-based modelling of spatial dependenceFull GP has O(n3)O(n^3) complexityFoundation for spatial modelling
Diebold and Mariano [8]DM testProvides a framework for comparing forecast accuracyDependent on loss-function and asymptotic assumptionsUsed to assess forecast improvements
Gneiting et al. [13]Hierarchical BayesianProvides principled modelling of multiple sources and dependenciesComputationally intensive; requires Bayesian expertiseContext for probabilistic spatial modelling
Lange and Focken [21]Physical models/NWPNWP provides physically based wind forecastsCoarse resolution and limited local-scale representationMotivates station-level statistical forecasting
Cressie and Wikle [6]Spatio-temporal modellingJointly represents spatial and temporal dependenceComplex covariance specification and computationTheoretical basis for spatial-temporal modelling

Table 1. Summary of Key Literature.

Continued on next page

AuthorsMethodKey FindingsLimitationsRelevance
Datta et al. [7]NNGPProvides a scalable GP approximation with near-full-GP accuracyNeighbour selection and spatial structure specificationCore spatial methodology
Katzfuss [28]MRAProvides a scalable hierarchical approximation to large GPsApproximation and implementation choicesAlternative scalable GP approach
Lahouar and Slama [24]ANN, SVM, RFML models capture nonlinear wind-speed relationshipsLarge data requirements; overfitting riskProvides ML forecasting benchmark
Finley et al. [10]spNNGPProvides software implementation of NNGP modelsRequires MCMC and software familiaritySupports NNGP implementation
Daniel et al. [31]Statistical and MLDemonstrated wind-speed forecasting approaches in South AfricaPerformance varies across locationsEstablishes the South African context
Mbuvha et al. [32]Bayesian neural networksSupports wind forecasting with uncertainty quantificationHigher complexity and computational costMotivates probabilistic forecasting
Gong et al. [14]AR(1) theoretical analysisShows the influence of temporal correlation on forecast horizonsLimited empirical validationSupports modelling temporal dependence
Landwehr et al. [37]Synoptic systems/wind potentialShows spatial and seasonal variability in South African wind potentialFocuses on resource assessment rather than forecastingHighlights South African spatial variability
Makubyane and Maposa [33]ML and EVTDemonstrates wind forecasting applications in LimpopoSpatial dependence not explicitly modelledProvides a regional benchmark
Landwehr et al. [36]VRE forecasting frameworkHighlights the need for improved VRE forecasting in South AfricaStrategic framework; no specific forecasting modelMotivates improved South African forecasting
Band et al. [2]Deep reinforcement learningCaptures nonlinear wind-speed dynamicsComputationally complex; mainly temporalAdvanced ML benchmark
Namboodiri and Goyal (2025)Wavelet–DL ensembleImproves short-term wind-speed forecasting through hybrid modellingHigh complexity; no explicit spatial dependenceSupports hybrid forecasting
AuthorsMethodKey FindingsLimitationsRelevance
Abdelsattar et al. [1]ML/DL comparisonShows competitive nonlinear forecasting performanceLarge data and tuning requirementsContemporary ML benchmark
Hieta and Partio [17]ML post-processing of NWPImproves station-level forecasts through NWP downscalingRequires NWP inputComplementary forecasting approach
Nthangeni et al. [30]XGBoost + conformal predictionImproved forecast accuracy and provided reliable prediction intervalsDoes not explicitly model spatial dependenceSupports conformal uncertainty quantification; complements the proposed ARIMA–NNGP framework
Tshisikhawe et al. (2026)Linear regression mean model + Gaussian Process (GP) residual modellingGP residual modelling improved forecast accuracy by up to 16.3% at high-elevation inland stationsEffectiveness depends on local wind regimeProvides the empirical foundation for the present research
This studyARIMA-NNGPIntegrates temporal, spatial, and uncertainty modellingRequires temporal and spatial specificationProvides a scalable spatial-temporal probabilistic framework

Table 1 (continued).

Note on terminology: Although the term "ARIMA" is used in the broader forecasting discussion to describe the temporal modelling component, the model implemented in this study is a regression model with AR(1) errors.

To fill these research gaps, the present research proposes a hybrid forecasting approach that incorporates ARIMA time series modelling with NNGP spatial corrections in order to achieve the following six research objectives: First, to define the non-spatial regression and Autoregressive Integrated Moving Average (ARIMA) benchmark models; Second, to construct an NNGP spatial model for ARIMA errors; Third, to formulate the hybrid ARIMA-NNGP forecasting model; Fourth, to evaluate improvement through station-by-station and horizon-wise comparison of forecasting methods; Fifth, to produce probabilistic forecasts by applying conformal prediction technique; Sixth, to test the statistical significance of these gains.

Research OpportunityHow AddressedSpecific Contribution
Integration of temporal and spatial dependenciesTwo-stage framework combining ARIMA with NNGPY^Hybrid=Y^ARIMA+w^(s)\hat{Y}_{\mathrm{Hybrid}} = \hat{Y}_{\mathrm{ARIMA}} + \hat{w}(s); ARIMA captures temporal dependence, while NNGP models spatial dependence in the residuals
Computationally scalable spatial modellingNNGP reduces GP computation from O(n3)O(n^3) to O(nm3)O(nm^3) with m=8m = 8Provides a computationally feasible spatial framework for the 19-station South African network using spNNGP with 30,000 MCMC iterations
Evaluation under operational forecasting conditionsRolling-origin validation using five forecast origins over 1,818 daysRepresents sequential forecasting conditions and enables horizon-specific assessment using DM tests
Application to spatially distributed South African wind stationsApplication to a network of meteorological stations in South AfricaDemonstrates the application of NNGP-based spatial residual modelling to station-level wind-speed forecasting in the South African context
Probabilistic wind-speed forecastingBlockwise conformal predictionProvides distribution-free predictive intervals with q0.90=3.509q_{0.90} = 3.509 m/s, 99.5% coverage, and 7.018 m/s width
Incorporation of geographic covariatesCovariate-enhanced NNGP: r(s,t)=X(s)β+w(s)+ξ(s,t)r(s,t) = X(s)\beta+ w(s) + \xi(s,t)Incorporates elevation and cluster indicators alongside the latent spatial process
Assessment of spatial persistence across forecast horizonsHorizon-decay analysis: λh=exp⁡(−ρh)\lambda_h = \exp(-\rho h)Examines how the contribution of spatial information changes with forecast horizon and evaluates its persistence over 10-day forecasts
Formal statistical comparison of forecasting performanceDiebold–Mariano tests conducted by forecast horizon and for pooled forecastsProvides statistical evidence for differences in forecasting performance across h=1,…,10h = 1,\ldots,10
South African spatial wind forecastingARIMA-NNGP spatial correctionDemonstrates the integration of temporal forecasting with scalable NNGP spatial residual modelling across a network of South African meteorological stations

Table 2. Research Opportunities Addressed by the Current Study.

The remainder of this paper is organised as follows. § 2 describes the study area and data used in the analysis. § 3 presents the methodological framework, including the temporal, spatial, hybrid, and probabilistic forecasting approaches. § 4 reports the empirical results, while § 5 discusses the findings in relation to the existing literature. § 6 concludes the paper and outlines implications for future research.

Study Area and Data

Historical weather data were obtained from the Open-Meteo Historical Weather API, which provides gap-free reanalysis-based meteorological variables derived from ERA5 and ERA5-Land datasets ([35]). The API provides hourly-resolution data, including wind speed, temperature, and relative humidity, from 1940 onwards, enabling long-term spatio-temporal analysis of wind dynamics. Data analysis was performed in R software version 4.5.2 using the spNNGP package for spatial modelling based on nearest-neighbour Gaussian processes (NNGP).

Study Region: South Africa

South Africa exhibits strong spatio-temporal heterogeneity in wind regimes due to its diverse topography and exposure to both Atlantic and Indian Ocean weather systems. This makes it ideal for spatio-temporal wind modelling using hierarchical Bayesian frameworks. The terrain was classified into three elevation-based zones by using hierarchical clustering methods:

  • Coastal regions: Western, Southern, and Eastern Cape coastlines (0 – 300m above sea level), strongly influenced by marine boundary-layer flows and sea-breeze circulations.

  • Mid-altitude regions: The Great Escarpment (300 – 1200m), characterised by orographic uplift, channelled flow, and enhanced wind shear variability.

  • Interior regions: The Highveld plateau (> 1200m), where Large-scale synoptic systems dominate wind variability and surface roughness The effects are more pronounced.

These elevation gradients induce spatial non-stationarity in wind speed fields, motivating the use of flexible spatial models such as Nearest Neighbour Gaussian Processes (NNGPs). South Africa experiences four distinct climatic seasons, which introduce strong temporal variability in wind regimes Table 3.

SeasonMonthsCharacteristics
SummerDecember-FebruaryWarm, occasional thunderstorms
AutumnMarch-MayTransitional, calmer winds
WinterJune-AugustCold fronts, strong winds
SpringSeptember-NovemberIncreasing wind activity

Table 3. Seasonal definitions for South Africa.

The pronounced seasonal cycle introduces temporal dependence in wind speed processes, motivating the incorporation of autoregressive structures such as AR(1) within the hierarchical modelling framework.

Meteorological Stations

Nineteen meteorological stations were selected to capture spatial variability in wind speed across different climatic and topographic zones. The network is stratified by elevation to ensure representation of coastal, mid-altitude, and interior wind regimes.

Figure 1 illustrates the stations’ spatial distribution across South Africa. This spatial configuration enables the modelling of local dependence structures while accounting for regional-scale atmospheric drivers using the NNGP framework.

South Africa – Terrain Elevation and Weather Stations

Figure 1. Spatial distribution of meteorological stations across South Africa.

Data Description

Hourly meteorological data were collected over five years (2021-2025), resulting in approximately 43,800 observations per station. Although this high-frequency dataset provides a detailed spatio-temporal representation of near-surface atmospheric dynamics across heterogeneous terrain, the full hourly resolution was computationally infeasible for model estimation on the available hardware. Therefore, data was aggregated to daily averages to ensure computational tractability while preserving the dominant temporal dependence structure required for the proposed NNGP-AR(1) framework.

Variable selection was carried out using Lasso to identify the most appropriate set of predictors of wind speed dynamics, resulting in a model that includes wind speed (m/s) as the response variable, the main variable of interest within the spatio-temporal setting. Several meteorological covariates (gust wind speed, air pressure, humidity and temperature) that reflect short-term atmospheric forcing, some spatial covariates such as elevation and cluster variables corresponding to mid-elevation and interior areas to address topography and regional differences, respectively, along with temporal persistence through the inclusion of first- and second-order lagged wind speed (wind_lag1 and wind_lag2), thus representing AR(1) type dependence. Seasonality is accounted for by introducing dummy variables for autumn, winter, and spring; finally, a time trend variable reflects long-term changes in wind speed behaviour.

Data Preprocessing

Temporal Aggregation

To reduce high-frequency noise and improve computational efficiency for the hierarchical Bayesian model, hourly observations were aggregated into daily means. Only days with at least 20 valid hourly observations were retained to ensure data reliability:

wˉd=1nh∑t=1nhwt,nh≥20\bar{w}_d = \frac{1}{n_h}\sum_{t=1}^{n_h} w_t,\qquad n_h \ge20

This aggregation yields a final dataset of 19 stations over 1,818 days, resulting in 34,542 observations for model estimation.

Lagged Temporal Structure

To explicitly capture temporal dependence, lagged wind speed variables were constructed:

wt−1,wt−2,wt−7w_{t-1},\quad w_{t-2},\quad w_{t-7}

These lags are designed to capture short-term persistence (daily memory) and weekly atmospheric cycles, thereby motivating the AR(1) temporal structure within the hierarchical model.

Methodology

Notation

Let Y(s,t)Y(s,t) denote the observed wind speed at station location ss on day tt, where s=1,…,Ss = 1,\ldots,S indexes the 19 meteorological stations and t=1,…,Tt = 1,\ldots,T indexes the time points in the study period. All models and forecasts are defined with respect to this fundamental quantity.

Flowchart of the process Figure 2 shows the flowchart of the structure of the paper. The flowchart outlines the steps of a hybrid approach for predicting wind speed. It begins with the input data, builds a regression model, and computes the residuals. There is an evaluation of stationarity at a decision point that takes a ‘o’ output to the loop to modify the model, while a ‘yes’ output proceeds to build a temporal model (AR(1)). After that, the spatial residuals are derived and passed to the NNGP model with the Matérn covariance function to build spatial models. The temporal and spatial components come together to build a hybrid prediction.

Flowchart: Start: Wind Speed Data $Y(s,t)$; Step 1: Regression Baseline, fit regression with covariates and obtain residuals $e(s,t)$; decision: Residuals stationary?; Step 2: AR(1) Temporal Model, fit per-station AR(1) to residuals and generate forecasts $\widehat{Y}_{AR(1)}$; Step 3: Compute Spatial Residuals, $r(s,t)=Y(s,t)-\widehat{Y}_{AR(1)}(s,t)$; Step 4: NNGP Spatial Model, fit NNGP with Matérn covariance and estimate spatial effects $\widehat{w}(s)$; Step 5: Hybrid Forecast, $\widehat{Y}_{Hybrid}=\widehat{Y}_{AR(1)}+\widehat{w}(s)$; Step 6: Validation, rolling origin, RMSE, DM test, block conformal intervals; Final Output: Forecasts & Intervals

Figure 2. Flowchart of the structure of the paper.

Hierarchical Spatio-Temporal Modelling Framework

The proposed framework decomposes wind speed forecasting into temporal and spatial components. The objective is to exploit temporal persistence within individual stations while capturing spatial dependence among stations through a scalable Gaussian process formulation. Let Y(s,t)Y(s,t) denote the observed wind speed at station location ss on day tt. The proposed two-stage model is defined as:

Y(s,t)=Y^AR(1)(s,t)+w(s)+ε(s,t),(1)Y(s,t)=\widehat{Y}_{\mathrm{AR}(1)}(s,t)+w(s)+\varepsilon(s,t), \tag*{(1)}

where:

  • Y^AR(1)(s,t)\widehat{Y}_{\mathrm{AR}(1)}(s,t) represents the station-specific temporal forecast,

  • w(s)w(s) is a spatial Gaussian process capturing spatially-structured residual variation,

  • ε(s,t)∼N(0,σε2)\varepsilon(s,t) \sim N(0,\sigma_{\varepsilon}^{2}) is an independent error term.

In other words, the errors that remain to be forecast possess spatial structure that can be modelled independently of temporal dependence. The framework consists of four elements:

  1. Regression baseline - to capture deterministic relationships between meteorological variables and wind speed,

  2. AR(1) temporal model - to capture station-level temporal dependence,

  3. NNGP spatial residual model - to capture remaining spatial structure,

  4. Hybrid forecast - obtained by combining temporal and spatial components.

Regression Baseline

The initial model evaluates the contribution of meteorological and geographic covariates to wind speed variability. The regression model is specified as:

Y(s,t)=x(s,t)Tβ+ε(s,t),(2)Y(s,t)=\mathbf{x}(s,t)^{\mathsf{T}}\boldsymbol{\beta}+\varepsilon(s,t), \tag*{(2)}

where x(s,t)\mathbf{x}(s,t) contains covariates and β\boldsymbol{\beta} are regression coefficients. The covariate set includes wind gusts, pressure, humidity, temperature, lagged wind speeds (Yt−1,Yt−2Y_{t-1},Y_{t-2}), elevation, seasonal indicators, cluster membership, and a time trend. Fitted values provide a deterministic baseline:

Y^reg(s,t)=x(s,t)Tβ^.(3)\widehat{Y}_{\mathrm{reg}}(s,t)=\mathbf{x}(s,t)^{\mathsf{T}}\widehat{\boldsymbol{\beta}}. \tag*{(3)}

This model provides a deterministic benchmark before introducing temporal and spatial dependence structures.

Elevation-Season Interaction

To investigate whether the relationship between elevation and wind speed varies across seasons, the fixed-effects regression model was extended to include interaction terms between elevation and seasonal indicators. The model is specified as:

Y(s,t)=β0+β1E(s)+∑k=13γkSk(s,t)+∑k=13δk{E(s)×Sk(s,t)}+x(s,t)Tα+ε(s,t),(4)\begin{aligned} Y(s,t)={}&\beta_{0}+\beta_{1}E(s)+\sum_{k=1}^{3}\gamma_{k}S_{k}(s,t)\\ &+\sum_{k=1}^{3}\delta_{k}\{E(s)\times S_{k}(s,t)\}+\mathbf{x}(s,t)^{\mathsf{T}}\boldsymbol{\alpha}+\varepsilon(s,t), \tag*{(4)} \end{aligned}

where E(s)E(s) is elevation and Sk(s,t)S_{k}(s,t) are seasonal indicators (summer as reference). The interaction coefficients δk\delta_{k} quantify whether the effect of elevation on wind speed changes across seasons. The null hypothesis H0:δ1=δ2=δ3=0H_0 : \delta_1 = \delta_2 = \delta_3 = 0 is tested via F-test to assess the joint significance of elevation-season interactions.

Although exploratory analysis indicated pronounced seasonal variation in wind speed, a seasonal ARIMA structure was not introduced into the residual temporal model. Seasonal effects were explicitly represented in the regression component through seasonal indicator variables and their interactions with elevation. Consequently, the AR(1) component was applied to the residual series after the deterministic seasonal structure had been removed. This specification separates systematic seasonal variation from short-term temporal persistence.

Stationarity and Temporal Dependence Assessment

Stationarity Testing

To validate the temporal modelling approach, we assess stationarity of the residual series using two complementary tests:

  • Augmented Dickey-Fuller (ADF) Test: Tests the null hypothesis that a unit root exists (non-stationary):

H0:ρ=1vs.H1:ρ<1,(5)H_0 : \rho= 1 \quad\text{vs.} \quad H_1 : \rho< 1, \tag*{(5)}

where the test regression is:

Δet=α+ρet−1+∑j=1pψjΔet−j+εt.(6)\Delta e_t = \alpha+ \rho e_{t-1} + \sum_{j=1}^{p} \psi_j \Delta e_{t-j} + \varepsilon_t. \tag*{(6)}
  • KPSS Test: Tests the null hypothesis that the series is stationary around a deterministic trend:

H0:ση2=0vs.H1:ση2>0,(7)H_0 : \sigma_{\eta}^{2} = 0 \quad\text{vs.} \quad H_1 : \sigma_{\eta}^{2} > 0, \tag*{(7)}

with the decomposition:

et=μ+∑j=1tηj+εt,(8)e_t = \mu+ \sum_{j=1}^{t} \eta_j + \varepsilon_t, \tag*{(8)}

where ηj∼(0,ση2)\eta_j \sim(0, \sigma_{\eta}^{2}) and εt∼(0,σε2)\varepsilon_t \sim(0, \sigma_{\varepsilon}^{2}).

The KPSS test statistic is:

KPSS=1T2∑t=1TSt2σ^ε2,(9)\mathrm{KPSS} = \frac{1}{T^2} \sum_{t=1}^{T} \frac{S_t^2}{\hat{\sigma}_{\varepsilon}^{2}}, \tag*{(9)}

where St=∑j=1tε^jS_t = \sum_{j=1}^{t} \hat{\varepsilon}_j are partial sums of residuals.

Temporal Dependence Structure

The temporal autocorrelation structure is examined via the autocorrelation function (ACF):

ρ(h)=Cov⁡(et,et−h)Var⁡(et)Var⁡(et−h),(10)\rho(h) = \frac{\operatorname{Cov}(e_t,e_{t-h})}{\sqrt{\operatorname{Var}(e_t)\operatorname{Var}(e_{t-h})}}, \tag*{(10)}

and the partial autocorrelation function (PACF), which measures the correlation between ete_t and et−he_{t-h} after removing the effects of intermediate lags.

The optimal autoregressive order is determined using Akaike’s Information Criterion corrected for small samples (AICc):

AICc=−2log⁡L(θ^)+2p+2p(p+1)T−p−1,(11)\mathrm{AICc} = -2\log\mathcal{L}(\hat{\theta}) + 2p + \frac{2p(p+1)}{T-p-1}, \tag*{(11)}

where L(θ^)\mathcal{L}(\hat{\theta}) is the maximized likelihood, pp is the number of parameters, and TT is the sample size.

AR(1) Temporal Component

For each station independently, the residual series from the regression model was modelled using an autoregressive process. The temporal component is given by:

e(s,t)=ϕ(s)e(s,t−1)+η(s,t),(12)e(s,t) = \phi(s)e(s,t-1) + \eta(s,t), \tag*{(12)}

with η(s,t)∼N(0,ση2(s))\eta(s,t) \sim\mathcal{N}(0,\sigma_{\eta}^{2}(s)). The global autoregressive parameter is estimated as:

ϕ^=1S∑s=1Sϕ^(s).(13)\hat{\phi} = \frac{1}{S}\sum_{s=1}^{S}\hat{\phi}(s). \tag*{(13)}

The hh-step-ahead forecast:

Y^AR(1)(s,t+h)=Y^reg(s,t+h)+ϕ(s)he(s,t).(14)\hat{Y}_{\mathrm{AR}(1)}(s,t+h) = \hat{Y}_{\mathrm{reg}}(s,t+h) + \phi(s)^{h}e(s,t). \tag*{(14)}

The AR(1) forecasts therefore account for temporal persistence and short-term station-specific dynamics.

Spatial Residual Process

After AR(1) forecasting, spatial residuals are:

r(s,t)=Y(s,t)−Y^ARIMA(s,t).(15)r(s,t) = Y(s,t) - \hat{Y}_{\mathrm{ARIMA}}(s,t). \tag*{(15)}

These are modelled via a Gaussian process:

w(s)∼GP(μ,C(s,s′;θ)),(16)w(s) \sim\mathcal{GP}\left(\mu,C(s,s';\theta)\right), \tag*{(16)}

with Matérn covariance:

C(s,s′)=σ2ρ(h;ϕ,ν)+τ21(s=s′),(17)C(s,s') = \sigma^{2}\rho(h;\phi,\nu) + \tau^{2}\mathbf{1}(s=s'), \tag*{(17)}

where h=∥s−s′∥h = \lVert s-s'\rVert is the distance between stations, σ2\sigma^{2} is spatial variance, τ2\tau^{2} is nugget variance, ϕ\phi controls spatial decay, and ν\nu controls smoothness. The Matérn correlation function is:

ρ(h;ϕ,ν)=12ν−1Γ(ν)(ϕh)νKν(ϕh),(18)\rho(h;\phi,\nu) = \frac{1}{2^{\nu-1}\Gamma(\nu)}(\phi h)^{\nu}K_{\nu}(\phi h), \tag*{(18)}

where Kν(⋅)K_{\nu}(\cdot) is the modified Bessel function of the second kind. The spatial range is:

R=3ϕ×111 km,(19)R = \frac{3}{\phi} \times111\ \mathrm{km}, \tag*{(19)}

where 111 km converts degrees to kilometers.

Nearest Neighbour Gaussian Process Approximation

Because Gaussian process inference scales cubically with the number of spatial locations, a Nearest Neighbour Gaussian Process (NNGP) approximation was used. For station location sis_i, the conditional distribution was approximated as:

w(si)∣w(s−i)≈w(si)∣w(N(si)),(20)w(s_i) \mid w(s_{-i}) \approx w(s_i) \mid w(\mathcal{N}(s_i)), \tag*{(20)}

where N(si)\mathcal{N}(s_i) denotes the set of mm nearest neighbours of location sis_i. The neighbour set is defined by Euclidean distance:

N(si)={sj:∥si−sj∥ is among the m smallest distances}.(21)\mathcal{N}(s_i) = \{s_j : \lVert s_i - s_j\rVert\text{ is among the } m \text{ smallest distances}\}. \tag*{(21)}

The NNGP likelihood factorization is:

p(w)≈∏i=1Sp(w(si)∣{w(sj):sj∈N(si)}).(22)p(\mathbf{w}) \approx\prod_{i=1}^{S} p\left(w(s_i) \mid\{w(s_j) : s_j \in\mathcal{N}(s_i)\}\right). \tag*{(22)}

Eight nearest neighbours were used in the spatial approximation. This produces a sparse representation of the spatial covariance structure while retaining the dominant spatial dependence among stations.

Hybrid Forecast

This forecasting model will then be the combination of the temporal forecast and the spatial residual estimate:

Y^Hybrid(s,t+h)=Y^AR(1)(s,t+h)+w^(s),(23)\widehat{Y}_{\mathrm{Hybrid}}(s,t+h) = \widehat{Y}_{\mathrm{AR}(1)}(s,t+h) + \widehat{w}(s), \tag*{(23)}

where w^(s)\widehat{w}(s) represents the posterior mean for the spatial residual effect at each station level using the NNGP approach.

The above formula decomposes the data into temporal and spatial components, assuming that temporal dynamics and spatial bias are independent sources of variation. The former accounts for changes in winds, while the latter corrects for systematic station-level biases.

Covariate-Enhanced NNGP Spatial Model

To investigate whether known geographic characteristics could further explain spatial variation, an extended NNGP model incorporating elevation and terrain clusters was evaluated. The spatial residual process was modified to include spatial covariates:

r(s,t)=X(s)β+w(s)+ξ(s,t),(24)r(s,t) = \mathbf{X}(s)\boldsymbol{\beta} + w(s) + \xi(s,t), \tag*{(24)}

where X(s)=(E(s),C1(s),C2(s))\mathbf{X}(s) = (E(s), C_1(s), C_2(s)) includes elevation and cluster indicators (coastal as reference). The enhanced hybrid forecast:

Y^Hybrid(s,t+h)=Y^AR(1)(s,t+h)+X(s)β^+w^(s).(25)\widehat{Y}_{\mathrm{Hybrid}}(s,t+h) = \widehat{Y}_{\mathrm{AR}(1)}(s,t+h) + \mathbf{X}(s)\widehat{\boldsymbol{\beta}} + \widehat{w}(s). \tag*{(25)}

This model was evaluated to determine whether explicitly modelling geographic characteristics improved upon the latent spatial correction provided by the NNGP.

Horizon-Dependent Spatial Correction

An additional sensitivity analysis was conducted to examine whether the contribution of spatial information decreases with lead time. The alternative formulation with decay parameter was:

Y^Hybrid(s,t+h)=Y^AR(1)(s,t+h)+λhw^(s),(26)\widehat{Y}_{\mathrm{Hybrid}}(s,t+h)=\widehat{Y}_{\mathrm{AR}(1)}(s,t+h)+\lambda_h\widehat{w}(s), \tag*{(26)}

where:

λh=exp⁡(−ρh),(27)\lambda_h=\exp(-\rho h), \tag*{(27)}

where λh=exp⁡(−ρh)\lambda_h=\exp(-\rho h) and ρ\rho controls temporal decay rate. The optimal decay rate is found by minimizing RMSE over a grid of ρ\rho values.

Bayesian Parameter Estimation and MCMC Implementation

The NNGP model was estimated using Bayesian inference implemented through Markov chain Monte Carlo (MCMC) sampling. The prior distributions were specified as:

σ2∼IG(2,1),(28)\sigma^2 \sim\mathcal{IG}(2,1), \tag*{(28)}
τ2∼IG(2,0.5),(29)\tau^2 \sim\mathcal{IG}(2,0.5), \tag*{(29)}
ϕ∼U(0.5,10),(30)\phi\sim\mathcal{U}(0.5,10), \tag*{(30)}
ν∼U(0.5,2).(31)\nu\sim\mathcal{U}(0.5,2). \tag*{(31)}

The inverse gamma priors provide weakly informative distributions for variance components, while the uniform priors constrain the spatial decay and smoothness parameters to physically plausible ranges. The decay parameter range was chosen to allow both short-range and regional-scale spatial dependence across the South African station network. Posterior samples are obtained via Markov Chain Monte Carlo (MCMC) with 30,000 iterations and a burn-in period of 15,000 samples. Convergence is assessed using the Gelman-Rubin diagnostic:

R^=Var⁡^(θ)W,(32)\widehat{R}=\sqrt{\frac{\widehat{\operatorname{Var}}(\theta)}{W}}, \tag*{(32)}

where WW is the within-chain variance and Var⁡^(θ)\widehat{\operatorname{Var}}(\theta) is the estimated posterior variance. Values of R^<1.1\widehat{R}<1.1 indicate convergence.

Forecast Validation

Forecast performance was assessed using a rolling-origin evaluation procedure designed to mimic operational forecasting. Five forecast origins were selected throughout the 1,818-day study period, with the first forecast origin occurring after 100 days of available observations. At each forecast origin, the observations available up to that point were divided into a proper training period and a calibration period, with approximately 20% of the available observations allocated to calibration and the remaining observations used for model estimation. Ten consecutive one-day-ahead forecasts (h=1,…,10h=1,\ldots,10) were then generated, providing a 10-day out-of-sample evaluation period at each forecast origin.

The validation design is summarised in Table 4.

OriginTraining DaysCalibration DaysForecast OriginTest Days
11–8081–100100101–110
21–422423–527527528–537
31–764765–954954955–964
41–11051106–138113811382–1391
51–14471448–180818081809–1818

Table 4. Rolling-origin validation design.

The expanding training windows allow progressively more historical observations to be incorporated as the forecast origin advances, thereby providing a validation framework that approximates operational forecasting conditions. For each horizon hh, forecasts were compared between the AR(1) baseline and the proposed AR(1)–NNGP model. The primary evaluation metric was root mean square error:

RMSE⁡=1n∑i=1n(Yi−Y^i)2.(33)\operatorname{RMSE} = \sqrt{\frac{1}{n}\sum_{i=1}^{n}(Y_i-\widehat{Y}_i)^2}. \tag*{(33)}

Block-Wise Conformal Prediction Intervals

Calibration and Block Construction

Prediction uncertainty for the final AR(1)-NNGP hybrid forecasts was quantified using blockwise conformal prediction. Let S=19S = 19 denote the number of meteorological stations and let TcalT_{\mathrm{cal}} denote the number of calibration days. For each station s=1,…,Ss = 1,\ldots,S and calibration day t=1,…,Tcalt = 1,\ldots,T_{\mathrm{cal}}, the absolute calibration error was calculated as

e(s,t)=∣Y(s,t)−Y^Hybrid(s,t)∣,(34)e(s,t) = \left|Y(s,t)-\widehat{Y}_{\mathrm{Hybrid}}(s,t)\right|, \tag*{(34)}

where Y(s,t)Y(s,t) denotes the observed wind speed at station ss on day tt, and Y^Hybrid(s,t)\widehat{Y}_{\mathrm{Hybrid}}(s,t) denotes the corresponding AR(1)-NNGP hybrid forecast. These absolute errors serve as the nonconformity scores used to construct the conformal prediction intervals.

To account for temporal dependence in the calibration errors, the calibration period was partitioned into non-overlapping blocks of BB consecutive days. For a given block size BB, the kkth block is defined as

Tk={tk,…,tk+B−1},k=1,…,K,(35)\mathcal{T}_k = \{t_k,\ldots,t_k+B-1\}, \qquad k=1,\ldots,K, \tag*{(35)}

where, K=⌊TcalB⌋K = \left\lfloor\frac{T_{\mathrm{cal}}}{B}\right\rfloor is the number of complete calibration blocks. If any calibration days remain that do not make up an entire block, they are not used to calculate the block score.

For each block, a conservative block score was calculated as the maximum calibration error of all sites in the block:

sk=max⁡s=1,…,Smax⁡t∈Tke(s,t),k=1,…,K.(36)s_k = \max_{s=1,\ldots,S}\max_{t\in\mathcal{T}_k} e(s,t), \qquad k=1,\ldots,K. \tag*{(36)}

Therefore, each block has a single score: the maximum calibration error within that block of time and space. Such an approach results in a uniform error threshold that accounts for both temporal dependencies within blocks and spatial dependencies between stations.

Block Size Selection

Several block sizes were investigated to assess the effect of temporal aggregation on the empirical coverage and sharpness of the conformal prediction intervals. The candidate block sizes were B={3,5,7,8,9}B = \{3, 5, 7, 8, 9\}. For each candidate block size BB, the calibration period was partitioned into non-overlapping blocks and block-level nonconformity scores were calculated. Prediction intervals were then constructed using the corresponding empirical conformal quantile and evaluated on the out-of-sample observations.

The empirical coverage for a given block size was calculated as

Coverage⁡^(B)=1SH∑s=1S∑h=1HI{Y(s,t+h)∈PI1−α(B)(s,t+h)}.(37)\widehat{\operatorname{Coverage}}(B) = \frac{1}{SH} \sum_{s=1}^{S} \sum_{h=1}^{H} \mathbb{I}\left\{Y(s,t+h) \in\mathrm{PI}_{1-\alpha}^{(B)}(s,t+h)\right\}. \tag*{(37)}

where S=19S = 19 denotes the number of stations and HH denotes the forecast horizon. A nominal miscoverage level of α=0.10\alpha= 0.10 was used, corresponding to a target coverage of 90%.

Prediction Interval Construction

The block-level conformal quantile was obtained as the empirical (1−α)(1-\alpha) quantile of the KK block scores:

q^1−α=inf⁡{q:1K∑k=1KI(sk≤q)≥1−α}.(38)\widehat{q}_{1-\alpha} = \inf\left\{q : \frac{1}{K}\sum_{k=1}^{K}\mathbb{I}(s_k \le q) \ge1-\alpha\right\}. \tag*{(38)}

For a new hybrid forecast at station ss and forecast horizon hh, the corresponding two-sided conformal prediction interval is given by

PI1−α(s,t+h)=[Y^Hybrid(s,t+h)−q^1−α, Y^Hybrid(s,t+h)+q^1−α].(39)\mathrm{PI}_{1-\alpha}(s,t+h) = \left[\widehat{Y}_{\mathrm{Hybrid}}(s,t+h) - \widehat{q}_{1-\alpha},\ \widehat{Y}_{\mathrm{Hybrid}}(s,t+h) + \widehat{q}_{1-\alpha}\right]. \tag*{(39)}

Because wind speed is physically non-negative, the lower bound was truncated at zero. The final prediction interval was therefore defined as

PI1−α(s,t+h)=[max⁡{0,Y^Hybrid(s,t+h)−q^1−α}, Y^Hybrid(s,t+h)+q^1−α].(40)\mathrm{PI}_{1-\alpha}(s,t+h) = \left[\max\left\{0,\widehat{Y}_{\mathrm{Hybrid}}(s,t+h) - \widehat{q}_{1-\alpha}\right\},\ \widehat{Y}_{\mathrm{Hybrid}}(s,t+h) + \widehat{q}_{1-\alpha}\right]. \tag*{(40)}

The resulting intervals provide distribution-free uncertainty quantification around the AR(1)-NNGP hybrid forecasts while accounting for temporal dependence through the block construction.

Diebold-Mariano Test

The predictive accuracy of the AR(1) benchmark and the proposed AR(1)-NNGP hybrid model was compared using the Diebold–Mariano (DM) test [8]. The test was applied to determine whether differences in predictive accuracy between the two models were statistically significant at each forecast horizon.

For station ss and forecast horizon hh, the forecast errors for the AR(1) and hybrid models were defined as

eAR(1)(s,h)=Y(s,t+h)−Y^AR(1)(s,t+h),(41)e_{\mathrm{AR}(1)}(s,h) = Y(s,t+h) - \widehat{Y}_{\mathrm{AR}(1)}(s,t+h), \tag*{(41)}

and

eHybrid(s,h)=Y(s,t+h)−Y^Hybrid(s,t+h),(42)e_{\mathrm{Hybrid}}(s,h)=Y(s,t+h)-\widehat{Y}_{\mathrm{Hybrid}}(s,t+h), \tag*{(42)}

where Y(s,t+h)Y(s,t+h) denotes the observed wind speed at station ss and forecast horizon hh, while Y^AR(1)(s,t+h)\widehat{Y}_{\mathrm{AR}(1)}(s,t+h) and Y^Hybrid(s,t+h)\widehat{Y}_{\mathrm{Hybrid}}(s,t+h) denote the corresponding forecasts from the AR(1) and AR(1)-NNGP hybrid models.

Squared-error loss was used in the DM test. The loss differential was therefore defined as

d(s,h)=eAR(1)2(s,h)−eHybrid2(s,h).(43)d(s,h)=e_{\mathrm{AR}(1)}^{2}(s,h)-e_{\mathrm{Hybrid}}^{2}(s,h). \tag*{(43)}

Under this definition, a positive loss differential indicates that the hybrid model has a smaller squared forecast error than the AR(1) model.

The null hypothesis of equal predictive accuracy is

H0:E[d(s,h)]=0,(44)H_{0}:\mathbb{E}[d(s,h)]=0, \tag*{(44)}

while the two-sided alternative hypothesis is

H1:E[d(s,h)]≠0.(45)H_{1}:\mathbb{E}[d(s,h)]\ne0. \tag*{(45)}

The DM statistic is given by

DM=dˉVar⁡^(dˉ),(46)\mathrm{DM}=\frac{\bar{d}}{\sqrt{\widehat{\operatorname{Var}}(\bar{d})}}, \tag*{(46)}

where dˉ\bar{d} is the mean loss differential and Var⁡^(dˉ)\widehat{\operatorname{Var}}(\bar{d}) is its estimated variance.

The DM test was conducted separately for each forecast horizon, h=1,…,10h=1,\ldots,10. At each horizon, the forecast errors from the 19 meteorological stations were compared between the AR(1) and AR(1)-NNGP hybrid models. In addition to the DM statistic and corresponding pp-value, the root mean squared error (RMSE) was calculated for each model:

RMSEk,h=1S∑s=1Sek2(s,h),k∈{ARIMA,Hybrid},(47)\mathrm{RMSE}_{k,h}=\sqrt{\frac{1}{S}\sum_{s=1}^{S}e_k^2(s,h)},\qquad k\in\{\mathrm{ARIMA},\mathrm{Hybrid}\}, \tag*{(47)}

where S=19S=19 is the number of meteorological stations. The forecast error magnitude, measured by horizon-specific RMSE values, indicates the magnitude of forecast error. At the same time, the DM test determines whether there is a significant difference in predictive accuracy between the two models.

Finally, we applied a pooled DM test, combining the forecast errors of all the considered stations and forecast horizons. This provided one test of the overall predictive performance of the AR(1) and AR(1)-NNGP model hybrids over the entire forecast evaluation period.

Results

Exploratory data analysis

Clustering Clusters were selected based on Partitioning Around Medoids, often referred to as K-Medoids. We used the Silhouette approach for selecting the number of clusters. From the clustering results, it is evident that there are three groups of elevations with 6, 7, and 6 stations each. Figure 3 supports the selection of three optimal clusters. Box plots of the elevations of the stations are shown in Figure 4.

Figure 3. Silhouette plot showing the optimal number of clusters.

Boxplot showing station clusters by elevation across South Africa

Figure 4. Boxplot showing station clusters by elevation across South Africa.

Table 5 provides the complete list of monitoring stations.

StationNoStationLongitude (°)Latitude (°)Elevation (m)Cluster
WM1Alexander Bay16.7-28.61521
WM8Humansdorp (medoid)24.5-34.11101
WM13Jozini32.2-27.4801
WM5Napier19.7-34.62881
WM4Vredenburg18.1-32.8221
WM3Vredendal18.4-31.72421
WM7Beaufort West22.6-33.010472
WM10Butterworth (medoid)28.1-32.19252
WM2Calvinia19.4-31.58242
WM12Eston30.5-29.87702
WM16Pofadder19.4-29.410732
WM17Strydenburg23.5-29.811962
WM19Upington20.6-27.78482
WM18Kuruman23.7-27.614783
WM14Memel29.5-27.920453
WM9Noupoort (medoid)25.0-31.218063
WM11Rhodes28.1-30.825753
WM6Sutherland20.7-32.615813
WM15Winburg27.1-28.615053
Summary of clusters
ClusterLon. range (°)Lat. range (°)Elev. range (m)No. stations
Cluster 116.66–32.17−34.61 to −27.4322–2886
Cluster 219.36–30.53−32.97 to −27.73770–11967
Cluster 320.69–29.54−32.56 to −27.601478–25756

Table 5. Station clusters and summary of cluster characteristics. Coordinates are in decimal degrees; elevation is in metres.

Raw wind speed by season. Figure 5 illustrates the distribution of raw wind speed (m/s) across four seasons (Autumn, Spring, Summer, and Winter), categorized by three geographic clusters: Coastal (blue), Mid-altitude (green), and Interior (orange).

Boxplot showing station clusters by season across South Africa

Figure 5. Boxplot showing station clusters by season across South Africa.

Fixed-Effects Regression Results

The estimated coefficients of the fixed-effects regression model are reported in Table 6. The model includes meteorological variables, geographical characteristics, seasonal indicators, lagged wind speed, a temporal trend and interaction terms between elevation and season.

VariableEstimateStd. Errortt-valuepp-value
Intercept−90.220-90.2203.6723.672−24.574-24.574<0.001< 0.001
Wind gusts0.79340.79340.00160.0016497.182497.182<0.001< 0.001
Pressure0.09030.09030.00360.003625.36025.360<0.001< 0.001
Humidity−0.0513-0.05130.00090.0009−57.490-57.490<0.001< 0.001
Elevation−0.004844-0.0048440.000070.00007−73.009-73.009<0.001< 0.001
Autumn2.0362.0360.0650.06531.34331.343<0.001< 0.001
Winter3.6503.6500.0720.07250.88050.880<0.001< 0.001
Spring0.8270.8270.0660.06612.52612.526<0.001< 0.001
Temperature−0.0146-0.01460.00450.0045−3.247-3.2470.0010.001
Wind lag1_10.01680.01680.00200.00208.3108.310<0.001< 0.001
Wind lag2_2−0.0047-0.00470.00180.0018−2.555-2.5550.0110.011
Mid cluster4.8874.8870.0580.05883.95183.951<0.001< 0.001
Interior cluster6.1596.1590.1010.10161.10461.104<0.001< 0.001
Time trend1.5111.5110.0470.04732.26432.264<0.001< 0.001
Elevation ×\times Autumn−0.000268-0.0002680.0000530.000053−5.065-5.065<0.001< 0.001
Elevation ×\times Winter−0.001034-0.0010340.0000540.000054−18.984-18.984<0.001< 0.001
Elevation ×\times Spring−0.000587-0.0005870.0000530.000053−11.067-11.067<0.001< 0.001

Table 6. Fixed-effects regression model with elevation–season interactions.

The regression model explained 91.3% of the variance in wind speed, with the coefficient of determination R2=0.9129R^2 = 0.9129 and the adjusted R2=0.9129R^2 = 0.9129. The regression analysis was statistically significant for the full model (p<0.001p < 0.001). Thus, the set of chosen explanatory variables provides a good description of the deterministic part of wind speed. Among all predictors, wind gust had the highest positive correlation with wind speed (β^=0.7934\hat{\beta} = 0.7934, p<0.001p < 0.001). This means that if there is a change of 1 unit in wind gust, the average change in wind speed is 0.79 m/s, ceteris paribus. Besides, atmospheric pressure had a positive and statistically significant relationship with wind speed (β^=0.0903\hat{\beta} = 0.0903, p<0.001p < 0.001), while relative humidity had a negative and statistically significant relationship (β^=−0.0513\hat{\beta} = -0.0513, p<0.001p < 0.001).

Elevation had a significant negative main effect (β^=−0.004844\hat{\beta} = -0.004844, p<0.001p < 0.001), indicating that, during the reference season (summer), wind speed decreases by approximately 0.004844 m/s for every one-metre increase in elevation. However, this effect varied significantly across seasons.

All the seasonal dummies were statistically significant. Compared to summer, the average wind speed increased by approximately 2.04 m/s in autumn, by 3.65 m/s in winter, and by 0.83 m/s in spring.

The temperature variable showed a statistically significant but very small negative effect on the dependent variable (β^=−0.0146\hat{\beta} = -0.0146, p=0.001p = 0.001). The lagged wind speed variables had significant effects in the model, indicating some persistence in wind speed.

Both geographical cluster indicators were highly significant. Compared with the coastal reference cluster, stations located in the mid-region experienced average wind speeds approximately 4.89 m/s higher, while stations in the interior experienced average wind speeds approximately 6.16 m/s higher after accounting for the remaining covariates.

Elevation-Season Interaction Effects

To determine whether the influence of elevation changes across seasons, interaction terms between elevation and seasonal indicators were incorporated into the regression model.

The estimated interaction coefficients were

β^E×Autumn=−0.000268,(48)\hat{\beta}_{E \times\mathrm{Autumn}} = -0.000268, \tag*{(48)}
β^E×Winter=−0.001034,(49)\hat{\beta}_{E \times\mathrm{Winter}} = -0.001034, \tag*{(49)}
β^E×Spring=−0.000587.(50)\hat{\beta}_{E \times\mathrm{Spring}} = -0.000587. \tag*{(50)}

All interaction coefficients were highly statistically significant (p<0.001p < 0.001), indicating that the relationship between elevation and wind speed is season dependent. Consequently, the marginal effect of elevation differs by season. The resulting seasonal effects are shown in Table 7.

SeasonMarginal effect (m/s per metre)
Summer (baseline)−0.004844-0.004844
Autumn−0.005112-0.005112
Winter−0.005878-0.005878
Spring−0.005431-0.005431

Table 7. Marginal effect of elevation on wind speed by season.

The strongest negative effect of elevation occurred during winter, where each one-metre increase in elevation reduced average wind speed by approximately 0.00588 m/s. Autumn and spring also exhibited stronger negative elevation effects than summer, although the winter effect was substantially larger. To assess whether the interaction terms jointly improved the regression model, an overall FF-test was performed. The test yielded

F=134.78,p<0.001,F = 134.78,\qquad p < 0.001,

providing overwhelming evidence that the elevation-season interaction terms are jointly significant. Consequently, the interaction model provides a substantially better description of the deterministic component of wind speed than a model assuming a constant elevation effect throughout the year. These findings justify retaining the interaction terms in the deterministic regression model before proceeding to temporal modelling using ARIMA and subsequent spatial modelling using the NNGP.

Seasonal and spatial effects

After performing regression analysis, descriptive and model-based summaries were used to understand the effects of seasons, elevation, and space on wind speed. Observed mean wind speed according to elevation and season is shown in Table 8. Seasonal effects at each space are presented in Table 9.

Elevation categorySeasonMean windSDNumber of observations
High (>1200 m)Autumn21.28.084140
Low (<300 m)Autumn20.37.622760
Medium (300–1200 m)Autumn19.76.821840
High (>1200 m)Spring24.27.664095
Low (<300 m)Spring23.57.832730
Medium (300–1200 m)Spring21.16.551820
High (>1200 m)Summer21.26.063987
Low (<300 m)Summer23.17.532658
Medium (300–1200 m)Summer19.45.171772
High (>1200 m)Winter26.510.94140
Low (<300 m)Winter22.19.282760
Medium (300–1200 m)Winter22.88.971840

Table 8. Observed wind speed summary by elevation category and season.

ClusterAutumnSpringSummerWinterWinter effectSpring effectAutumn effect
Coastal20.3323.5223.1122.12-0.990.42-2.78
Mid-altitude21.3323.0221.3624.803.441.66-0.03
Interior20.0223.4819.8525.986.133.640.18

Table 9. Estimated seasonal effects by spatial cluster.

Table 9 presents the model-based seasonal estimates for the three spatial clusters. Coastal stations exhibited relatively small seasonal variation, with spring having the highest estimated wind speed (23.5223.52 m/s), while autumn recorded the lowest. Mid-altitude stations experienced stronger winter conditions, with an estimated mean wind speed of 24.8024.80 m/s, corresponding to a positive winter effect of 3.443.44 relative to the reference season. Interior stations showed the strongest seasonal contrast, with winter having the highest estimated wind speed (25.9825.98 m/s) and the largest positive winter effect (6.136.13). These results indicate that seasonal influences on wind speed become more pronounced inland, whereas coastal regions experience comparatively moderate seasonal fluctuations, likely due to the moderating influence of the ocean.

In general, the descriptive statistics and model-based analysis indicate that both elevation and spatial location affect seasonal wind speed. Winter tends to have stronger winds, especially in high-elevation and interior areas.

Temporal Residual model using Autoregressive Model (AR(1))

To address temporal correlation in the residual series, an autoregressive model of order 1 (AR(1)) was applied to each station’s residuals. The motivation behind this is the presence of empirical temporal correlation in the residual series and the need to keep the model simple and computationally feasible. The stationarity analysis indicated that the residual processes were broadly stationary, with the ADF test rejecting the unit-root null hypothesis for 18 of the 19 stations

This specification was further strengthened by the results in Figure 12 in the appendix. The ACF and PACF plots in Figure 12, show no significant spikes, which proves that all serial correlation has been successfully removed. Additionally, the residuals fluctuate evenly around zero over time, confirming a constant variance and stationarity. Thirdly, the points on the Q-Q plot lie close to the diagonal, indicating that the errors follow a normal distribution. In addition, [14] established that autoregressive order-1 (AR(1)) processes accurately capture the intrinsic limits of predictability of wind speed time series, whereby the temporal correlation structure determines the forecast horizons. Recent studies have indicated [22] that lower-order autoregressive models are appropriate for hourly and daily wind speed predictions, and autoregressive order one (AR(1)) or autoregressive order two (AR(2)) processes are optimal.

Figure 12. Diagnostics Plot.

AR(1) results for Temporal Residual model

The estimates of the autoregressive coefficient (ϕ\phi) for each station are given in Table 10. The estimates of the autoregressive coefficients ranged from 0.3358 (Winburg) to 0.6411 (Rhodes), with a global mean of 0.4602. Given that all the estimated coefficients were positive and below one, there was a moderate positive temporal correlation in the residual series that satisfied the stationarity assumption for an AR(1) process. Using the global estimate (ϕ^=0.4602\hat{\phi} = 0.4602), the

Stationϕ\phiStationϕ\phi
Alexander Bay0.479Napier0.455
Beaufort West0.527Noupoort0.533
Butterworth0.443Pofadder0.486
Calvinia0.521Rhodes0.641
Eston0.349Strydenburg0.370
Humansdorp0.366Sutherland0.598
Jozini0.540Upington0.431
Kuruman0.446Vredenburg0.401
Memel0.412Vredendal0.413
Winburg0.336Mean0.460

Table 10. AR(1) coefficients by station.

innovations for the temporal components of each station were calculated. Innovations are the unexplained part of the residual series. The average innovations of each station are summarised in Table 11.

StationMean innovationStationMean innovation
Alexander Bay-0.2176Napier0.0769
Beaufort West0.1207Noupoort-0.5259
Butterworth0.2699Pofadder0.5610
Calvinia-0.6744Rhodes-1.1677
Eston-0.9964Strydenburg0.9694
Humansdorp-0.5848Sutherland-0.6960
Jozini-0.2334Upington-0.2516
Kuruman0.5704Vredenburg0.4110
Memel1.4826Vredendal0.5258
Winburg0.3688

Table 11. Mean temporal innovations by station.

The mean innovations specific to each station were typically centred at zero; however, at some stations the mean innovations could be considerably positive or negative, representing local deviations from the temporal behaviour on average. The innovations served as the response variable in the Bayesian NNGP model.

Bayesian NNGP Spatial Modelling

MCMC implementation

The Bayesian latent NNGP model was estimated using three independent Markov chain Monte Carlo (MCMC) chains. Each chain consisted of 30 000 iterations, with the first 15 000 iterations discarded as burn-in. No thinning was applied (thinning interval = 1), allowing all retained posterior samples to be used for inference.

Convergence of the three chains was assessed using the Gelman-Rubin potential scale reduction factor (PSRF). The results are presented in Table 12.

ParameterPSRFUpper 95% CI
σ2\sigma^21.001.00
τ2\tau^21.001.00
ϕ\phi1.001.00
ν\nu1.011.02
Multivariate PSRF1.01

Table 12. Gelman-Rubin convergence diagnostics for the Bayesian NNGP model.

All PSRF values were very close to one, with the largest value being 1.01 for the smoothness parameter (ν\nu).Since all the values were well below the convergence criterion of 1.10, the MCMC chains converged successfully, indicating that the posterior distributions were reliable and independent of any initial values assigned.

The sampling efficiency was tested through the effective sample size (ESS).

The effective sample size indicates that the MCMC procedure generated many independent draws from the posterior for all model parameters. The sampling efficiency of variance parameters (σ2\sigma^2 and τ2\tau^2) was especially high, whereas the sampling efficiency of the spatial decay (ϕ\phi) and smoothness (ν\nu) parameters was relatively low. Figure 13 and Figure 14 illustrate MCMC diagnostics for the spatial parameters in the Bayesian NNGP model. The trace and density plots illustrate very good chain mixing and cross-chain convergence for the parameters, corroborating the high-quality ESS statistics provided in Table 13. The overall convergence diagnostics and effective sample size results imply that the MCMC sampling method produced stable and efficient parameter estimates of the Bayesian NNGP model.

ParameterEffective sample size
σ2\sigma^215 319.5
τ2\tau^210 168.3
ϕ\phi1 988.1
ν\nu810.1

Table 13. Effective sample sizes for the Bayesian NNGP parameters.

Density plots

Figure 13. Density plots.

Trace plots for sigma.sq, tau.sq, phi, and nu

Figure 14. Trace plots.

Posterior parameter estimates

The NNGP spatial model was fit to the AR(1) residuals at all stations. The posterior estimates of the spatial parameters are presented in Table 14.

ParameterMeanSD2.5%97.5%
σ2\sigma^2 (partial sill)0.3910.1710.1600.816
τ2\tau^2 (nugget)0.2460.1340.0820.589
ϕ\phi (decay)5.2602.7310.6739.743
ν\nu (smoothness)1.2510.4220.5431.960
Range (km)102.878100.33934.185423.785

Table 14. Posterior parameter estimates.

The range parameter indicates that spatial correlation decays with distance, with the effective range approximately 103 km. The smoothness parameter ν≈1.25\nu\approx1.25 suggests moderate smoothness of the process, intermediate between exponential (ν=0.5\nu= 0.5) and squared-exponential (ν→∞\nu\to\infty).

Comparison of Forecasting Models

Several forecasting models were considered to identify which model would be appropriate for wind speed predictions. Some of the forecasting models considered include regression models, the AR (1) model and hybrid models which include time and space. The accuracy of the models was based on the RMSE (Root Mean Squared Error).

The results in Table 15 demonstrate that the AR(1)-NNGP residual correction model achieved the lowest RMSE (1.416), indicating the highest forecasting accuracy among the evaluated approaches. The standalone ARIMA model achieved RMSE = 1.715, confirming the importance of modelling temporal dependence in wind speed observations.

RankModelRMSE
1AR(1)-NNGP residual correction1.416
2AR(1)1.715
3AR(1)-NNGP + elevation + cluster1.559
4Regression + NNGP2.147
5Regression2.442

Table 15. Comparison of forecasting models based on RMSE.

The addition of spatial corrections through the NNGP resulted in a substantial improvement over AR(1) alone, reducing the RMSE by approximately 17.4%. This indicates that the residual spatial structure not captured by the temporal model contains valuable predictive information.

Interestingly, the AR(1)-NNGP model including elevation and cluster covariates produced a slightly higher RMSE (1.559) compared with the residual correction approach. This suggests that explicitly including these covariates did not provide additional predictive benefit beyond the spatial residual process captured by the NNGP.

The regression-based approaches performed comparatively worse, with RMSE values of 2.147 and 2.442 for Regression + NNGP and Regression alone, respectively. These results highlight the importance of accounting for temporal dependence when forecasting wind speed, as regression models alone are unable to adequately represent the dynamic behaviour of the wind process.

Based on these results, the AR(1)-NNGP residual correction model was selected as the final forecasting model and was subjected to further evaluation using horizon-specific errors, station-level performance, statistical forecast comparison tests, and conformal prediction intervals.

Evaluation of the Hybrid Model

Station-Specific Spatial Corrections from the NNGP Model Following the identification of the AR(1)-NNGP residual correction model as the best-performing forecasting approach, the estimated spatial corrections were examined to determine whether the NNGP component was capturing meaningful spatial variability. The results for each station are presented in Table 16.

StationSpatial correctionStationSpatial correction
Alexander Bay-0.2090Napier-0.2130
Beaufort West-0.5310Noupoort0.8170
Butterworth-0.8400Pofadder-0.2730
Calvinia-0.6680Rhodes1.7270
Eston-0.4880Strydenburg-0.080
Humansdorp-0.4540Sutherland-0.3180
Jozini0.5400Upington-0.5480
Kuruman-0.2830Vredenburg-0.1220
Memel0.8340Vredendal0.0900
Winburg0.9950

Table 16. Station-specific spatial corrections estimated by the NNGP model.

The estimated spatial corrections varied substantially among stations, ranging from −0.840 at Butterworth to 1.727 at Rhodes. Positive corrections indicate locations where the AR(1) model systematically underestimated wind speed, while negative corrections indicate locations where AR(1) forecasts tended to overestimate wind speed. Therefore, the NNGP component adjusts the forecasts according to the local spatial characteristics of each station.

The presence of both positive and negative corrections demonstrates that the NNGP model is not simply applying a constant bias adjustment. Instead, it captures spatially varying residual patterns associated with station location. This confirms that the improvement achieved by the hybrid model results from modelling residual spatial dependence that remains after accounting for temporal dynamics through AR(1).

The spatial residual correction for the South African wind monitoring network is shown in Figure 6. A positive spatial correction (red) is seen in the location where the AR(1) model underestimated the wind speed. On the other hand, a negative spatial correction (blue) is observed at locations where the AR(1) model overestimated the wind speed. The magnitude of each point corresponds to the value of the spatial correction added to the AR(1) prediction. The geographical patterns in the spatial correction surface show that there are no random errors in the spatial correction. Rhodes shows the largest positive correction, along with positive corrections in Winburg, Memel, Noupoort, and Jozini. The stations mentioned above are mostly located in the high-elevation areas of South Africa. This implies that the AR(1) model failed to capture the topographic effect and regional atmospheric circulation on wind speed.

Posterior mean NNGP spatial residual corrections for the 19 meteorological stations

Figure 6. Posterior mean NNGP spatial residual corrections for the 19 meteorological stations.

Station-Specific Performance Station-specific improvements varied considerably (Table 17) and Figure 11 in the appendix, with the largest gains observed at high-elevation stations.

StationARIMAHybridImprovement (%)
Alexander Bay1.9921.9163.8
Beaufort West1.7991.44619.6
Butterworth2.6352.13419.0
Calvinia1.7131.13433.8
Eston1.7771.47317.1
Humansdorp1.6391.33618.5
Jozini1.2581.2222.8
Kuruman1.7261.5868.1
Memel1.6201.39214.1
Napier1.2871.1619.8
Noupoort1.4351.19916.4
Pofadder1.4291.27111.0
Rhodes2.5361.29748.9
Strydenburg1.2341.1953.1
Sutherland1.3071.08317.1
Upington1.9001.55518.2
Vredenburg1.4291.3743.8
Vredendal1.4731.500-1.8
Winburg1.5901.17726.0

Table 17. Station-level RMSE and improvement

Stationwise RMSE bar chart

Figure 11. Stationwise RMSE.

The substantial improvement at Rhodes (48.9%) reflects the strong spatial signal at this high-altitude station. The minimal improvement at Vredendal (-1.8%) suggests that the spatial correction was not beneficial for this coastal station, possibly due to weaker spatial coherence with other stations.

Horizon-Wise Performance The performance of both models varied with forecast horizon (Table 18) also presented in (Figure 7). The improvement is relatively stable across horizons, with no evidence of decay in the spatial correction’s effectiveness. This result is consistent with the decay analysis, which found that the constant spatial correction (λ=0\lambda= 0) was optimal.

HorizonARIMAHybridImprovement (%)
11.4401.3287.8
21.6451.33818.6
31.2340.96322.0
41.5321.33612.8
51.8531.37525.8
61.6711.28023.4
72.2751.94214.6
81.8391.59713.2
91.5101.24517.6
101.9221.54719.5

Table 18. Horizon-wise RMSE (m/s).

Comparison of RMSE Across Forecast Horizons

Figure 7. Horizon-wise RMSE (m/s).

Conformal Prediction Intervals Blockwise conformal prediction was used to quantify uncertainty and the results are summarised in Table 19. A nominal level of α=0.10\alpha= 0.10 was used, corresponding to a target coverage of 90%. A block size of B=7B = 7 produced lower empirical coverage while remaining above the nominal 90% target. This provided a more favourable balance between coverage and interval sharpness. The 7-day block produced approximately 99.5% coverage against a nominal 90% target, while giving an average interval width of 7.018 m/s.

MetricValue
Best Block size7
Calibration residual quantile (q90)3.509 m/s
Nominal coverage90%
Achieved coverage99.5%
Average interval width7.018 m/s

Table 19. Conformal prediction performance.

The predictive capability of the hybrid model was evaluated using block-wise conformal prediction intervals (Figure 8 and Figure 15). The prediction intervals maintain a consistent width across the 10-day forecast window. This proves that the model stops errors from compounding as it predicts further out. The hybrid forecast in Figure 8, (red line) tracks the actual wind speed data points (black dots) with high precision. It successfully captures sudden regional wind surges, such as the peak at Napier around Day 7. The NNGP model’s spatial adjustments successfully correct localized biases, allowing the forecast to accurately match observations at stations with high spatial variance like Winburg. Although the 99.5% achieved coverage is statistically conservative, it provides absolute security for wind farm grid scheduling by ensuring extreme wind events almost never breach the predicted safety bands.

Figure 8. Conformal prediction plot for selected stations.

Figure 15. Conformal plot for all stations.

Diebold-Mariano Test Results Table 20 and Figure 10 presents the results of the Diebold-Mariano (DM) test comparing the forecasting accuracy of the ARIMA baseline model with that of the proposed hybrid model across the ten forecast horizons. The DM test evaluates whether the difference in forecast errors between two competing models is statistically significant, with a positive and statistically significant DM statistic indicating superior predictive performance of the hybrid model.

HorizonDM Statisticpp-valueSignificant
10.9850.337No
22.1160.048Yes
31.9150.071No
41.5340.142No
53.3980.003Yes
62.0600.054No
72.3560.030Yes
81.7240.102No
91.9050.073No
102.1800.043Yes

Table 20. Diebold-Mariano test by horizon.

Diebold-Mariano horizon plot

Figure 10. Diebold-Mariano horizon plot.

The pooled DM test across all horizons was highly significant:

  • DM statistic: 6.44

  • p-value: < 0.001

Unlike the horizon-specific tests, which evaluate performance independently at each forecast lead time, the pooled analysis assesses the overall predictive ability of the competing models across the complete forecasting horizon. The highly significant pooled result confirms that the observed reductions in forecasting error are systematic rather than occurring by chance. This confirms that the hybrid model provides statistically significant improvements over the AR(1) baseline.

Overall model performance Summary of the AR(1)-NNGP residual correction model performance and parameter estimates.

ComponentMetricValue
Temporal ComponentModel structureARIMA residual modelling
Global AR(1) coefficient (ϕ\phi)0.4602
Station-specific AR(1) range0.3358–0.6411
Spatial NNGP ComponentCovariance modelMatérn NNGP
Number of neighbours8
Partial sill (σ2\sigma^2)0.3903
Nugget variance (τ2\tau^2)0.2451
Decay parameter (ϕ\phi)5.2618
Smoothness parameter (ν\nu)1.2389
Effective spatial range102.9 km
Spatial residual variance proportion61.4%
Forecast PerformanceARIMA + NNGP RMSE1.416 m/s
ARIMA RMSE1.715 m/s
Improvement over ARIMA17.4%
Statistical ValidationDiebold–Mariano statistic6.4804
Significancep<0.001p < 0.001
Uncertainty QuantificationMethodBlockwise Conformal prediction
Empirical coverage99.95%
Mean interval width7.018 m/s

Table 21. Summary of the AR(1)-NNGP residual correction model.

Discussion

Summary of Key Findings

This study developed a hybrid spatio-temporal forecasting framework that combines autoregressive integrated moving average of order 1 (AR(1)) models with Bayesian nearest-neighbour Gaussian process (NNGP) residual correction for wind speed forecasting. The results demonstrate that wind speed variability contains both temporal persistence and spatial dependence. The AR(1) component successfully captured temporal behaviour, while the NNGP model identified and corrected residual spatial patterns that remained after temporal modelling. The integration of these two components resulted in improved forecast accuracy, statistically significant improvements over AR⁡(1)\operatorname{AR}(1) alone, and reliable uncertainty quantification through conformal prediction intervals.

Summary of Major Findings

  • The AR⁡(1)\operatorname{AR}(1)-NNGP residual correction model achieved the best forecasting performance with an overall RMSE of 1.416, outperforming all alternative models.

  • AR⁡(1)\operatorname{AR}(1) alone improved upon regression-based approaches, confirming that wind speed contains significant temporal dependence.

  • Bayesian NNGP modelling identified substantial residual spatial dependence after AR⁡(1)\operatorname{AR}(1) correction, with an estimated effective spatial range of approximately 102.88 km102.88\,\mathrm{km}.

  • Approximately 61% of residual variability was attributed to spatially structured variation, demonstrating that AR⁡(1)\operatorname{AR}(1) errors contain exploitable spatial information rather than random noise alone.

  • The hybrid model significantly outperformed AR⁡(1)\operatorname{AR}(1) according to the Diebold–Mariano test (DM=6.48DM = 6.48, p<0.001p < 0.001).

  • Blockwise Conformal prediction intervals achieved approximately 99.5% empirical coverage, demonstrating reliable uncertainty quantification. A 7-day block aligns with the natural weekly cycle of wind patterns. This alignment lets the algorithm model the time-series dependencies accurately, resulting in a slightly tighter safety band that leaves a 0.5% margin of error.

  • Seasonal analysis indicated stronger wind conditions during winter and spring, particularly in high-elevation and interior regions, suggesting potential periods where maintenance activities may be more challenging.

Overall Discussion

Initially, the analysis involved setting up benchmarks for temporal forecasts through regression and AR⁡(1)\operatorname{AR}(1) models. While regression did well in capturing the general relationships between wind speeds and the environmental predictors, the model was limited in its ability to forecast due to poor capture of temporal persistence. AR⁡(1)\operatorname{AR}(1) addressed this problem by capturing dependence in wind speed anomalies, with autoregressive coefficients estimated to be positive for all stations and a global coefficient of about 0.46. This means that historical wind speeds can predict future states. However, the persistence in the residuals obtained from the AR⁡(1)\operatorname{AR}(1) model indicates that there is a need for spatial correction.

To address this, a Bayesian nearest-neighbour Gaussian process (NNGP) was developed to correct the ARIMA residuals. Posterior results showed spatial dependence, with a partial sill of 0.390, a nugget variance of 0.250, and an effective spatial range of about 103 km, suggesting that the wind pattern residuals are correlated at the regional scale. The spatially structured variance proportion was 0.609, indicating that approximately 61% of the variance is explained by spatial structure, with the remaining 39% attributable to local effects. This proves that the conclusion about the improvements resulting from spatial learning in the hybrid model is valid. In addition, station-specific adjustments varied, suggesting that the NNGP model accounts for local spatial heterogeneity.

The hybrid model was then tested against other models using stringent testing methods. It performed the best among all others in terms of having the least root mean square error for all forecast intervals and locations, even compared to the individual AR(1) model. Significance was established using the Diebold-Mariano tests, with a pooled statistic of 6.48 and an associated p-value of less than 0.001, indicating that the hybrid model is significantly better at forecasting. This shows the importance of breaking down the problem of forecasting into two problems – the temporal and the spatial problem.

Regarding uncertainty quantification, it was performed using conformal prediction intervals, which yielded a coverage rate of around 99.5%, providing sufficient evidence of the model’s calibration. The interval length was 7.018 m/s, providing a good balance between uncertainty and forecast accuracy. Interval predictions are needed in practice because point forecasts might conceal some risks.

The analysis of seasonality yields insights that can help manage wind energy operations. The strongest winds are expected during the winter and spring months in inland and elevated areas. Even though it might facilitate energy production, it also increases maintenance needs. On the contrary, the summer months are usually characterised by weaker winds and therefore might provide better opportunities to carry out planned maintenance operations. However, other factors need to be considered, such as electricity demand, network limitations, precipitation, and the weather forecasts for the next few days. Finally, the estimated correlation range of about 103 km might be useful for network design monitoring.

Conclusion

This study developed a hybrid AR(1)-NNGP forecasting framework for wind speed prediction by combining temporal modelling with Bayesian spatial residual correction. The study demonstrated that wind variability cannot be fully described by temporal models alone because residual spatial dependence remains after AR(1) forecasting.

The first objective was achieved through the development of regression and AR(1) baselines. The results showed that temporal persistence plays an important role in wind forecasting, with AR(1) outperforming regression approaches.

The second objective was achieved through Bayesian NNGP residual modelling. The spatial model successfully identified structured residual variability, with approximately 61% of residual variance explained by spatial dependence and an effective spatial correlation range of approximately 103 km.

The third and fourth goals were achieved through validation. The AR(1)-NNGP residual correction model proved to be the best-performing model, with an RMSE of 1.416, significantly outperforming the AR(1) model according to the Diebold-Mariano test. The fifth goal was accomplished using conformal prediction to obtain calibrated uncertainty estimates for forecasts.

In general, the results clearly show that combining temporal and spatial modelling yields a better solution for wind speed forecasting. The presented framework not only provides better forecasting results but also calibrates forecast uncertainty, making it useful as a decision-support tool for wind energy.

Recommendations for Future Work

Taking into consideration the above-mentioned results, several directions for future research can be suggested:

  1. Application at higher temporal resolution: Application of the framework to the hourly wind speed data will allow us to investigate sub-daily patterns.

  1. Integration with meteorological forecasts: The use of numerical weather predictions as covariates will allow us to improve the baseline model.

  1. Operational implementation: Developing a real-time forecasting system based on the hybrid framework for operational use in wind energy management.

Nevertheless, this study demonstrates that AR(1)-NNGP residual correction provides a powerful and interpretable framework for improving wind speed forecasts across spatially distributed monitoring networks.

Declarations

  • Funding. This research received no specific grant from any funding agency in the public, commercial, or not-for-profit sectors.

  • Conflict of interest. The authors declare no conflicts of interest.

  • Ethical approval. This article does not contain any studies with human participants or animals performed by any of the authors.

  • Codes. The code supporting the findings of this study is available upon request.

  • Author contributions. Conceptualisation, T.H.T. and C.S.; methodology, T.H.T.; software, T.H.T.; validation, T.H.T., C.S., T.B.D., and S.N.; formal analysis, T.H.T.; investigation, T.H.T. and C.S.; writing—original draft preparation, T.H.T.; writing—review and editing, T.H.T., C.S., T.B.D., and S.N.; supervision, C.S., T.B.D., and S.N. All authors have read and agreed to the published version of the manuscript.

Supplementary Figures

Seasonal residuals plot

Figure 9. Seasonal residuals plot.

References

  1. [1]Abdelsattar, M.; Hassan, S.; Ali, R.; Mahmoud, A. 2025. Comparative analysis of machine learning and deep learning models for wind turbine power prediction. PLOS ONE 20: e0317619.
  2. [2]Band, S.S.; Lin, T.J.; Qasem, S.N.; Ameri, R.; Shahmirzadi, D.; Aslam, M.S.; Pai, H.-T.; Salwana, E.; Mosavi, A. 2025. A deep reinforcement learning approach for wind speed forecasting. Engineering Applications of Computational Fluid Mechanics 19(1): 2498355.DOI
  3. [3]Box, G.E.P.; Jenkins, G.M. 1970. Time Series Analysis: Forecasting and Control. Holden-Day, San Francisco.
  4. [4]Chen, Y.; Wang, Y.; Dong, Z.; Su, J.; Han, Z.; Zhou, D.; Zhao, Y. 2021. 2-D regional short-term wind speed forecast based on CNN-LSTM deep learning model. Energy Conversion and Management 244: 114451.DOI
  5. [5]Cressie, N.A.C. 1993. Statistics for Spatial Data. Revised edition. John Wiley & Sons, New York.
  6. [6]Cressie, N.; Wikle, C.K. 2011. Statistics for Spatio-Temporal Data. John Wiley & Sons, Hoboken, NJ.
  7. [7]Datta, A.; Banerjee, S.; Finley, A.O.; Gelfand, A.E. 2016. Hierarchical nearest-neighbor Gaussian process models for large geostatistical datasets. Journal of the American Statistical Association 111(514): 800–812.DOI
  8. [8]Diebold, F.X.; Mariano, R.S. 1995. Comparing predictive accuracy. Journal of Business & Economic Statistics 13(3): 253–263.
  9. [10]Finley, A.O.; Datta, A.; Banerjee, S. 2022. spNNGP R package for nearest neighbor Gaussian process models. Journal of Statistical Software 103(5): 1–40.arxiv.org/abs/2001.09111
  10. [13]Gneiting, T.; Raftery, A.E.; Westveld, A.H.; Goldman, T. 2005. Calibrated probabilistic forecasting using ensemble model output statistics and minimum CRPS estimation. Monthly Weather Review 133(5): 1098–1118.DOI
  11. [14]Gong, H.; Huang, Y.; Fu, Z. 2024. Estimating predictability limit from processes with characteristic timescale, Part I: AR(1) process. Theoretical and Applied Climatology 156(3): 891–901.
  12. [15]Hanifi, S.; Liu, X.; Lin, Z.; Lotfian, S. 2020. A critical review of wind power forecasting methods—past, present and future. Energies 13(15): 3764.DOI
  13. [16]Hering, A.S.; Genton, M.G. 2010. Powering up with space-time wind forecasting. Journal of the American Statistical Association 105(489): 92–104.DOI
  14. [17]Hieta, L.; Partio, M. 2025. Operational machine learning post-processing of short-range temperature, humidity, wind speed and gust forecasts. Meteorological Applications 32(4): e70074.DOI
  15. [18]Hoang, L.; Ul Hassan, U. 2025. A stacking-based ensemble deep learning approach to forecast offshore wind farm power output. In Proceedings of the 2025 IEEE International Conference on Big Data (BigData); pp. 4605–4612.
  16. [19]Riutort-Mayol, G.; Bür kner, P.-C.; Andersen, M.R.; Solin, A.; Vehtari, A. 2023. Practical Hilbert space approximate Bayesian Gaussian processes for probabilistic programming. Statistics and Computing 33(1): 17.
  17. [20]Lindgren, F.; Rue, Håvard; Lindström, J. 2011. An explicit link between Gaussian fields and Gaussian Markov random fields: The stochastic partial differential equation approach. Journal of the Royal Statistical Society: Series B (Statistical Methodology) 73(4): 423–498.DOI
  18. [21]Lange, M.; Focken, U. 2006. Physical Approach to Short-Term Wind Power Prediction. Springer, Berlin.DOI
  19. [22]Lydia, M.; Kumar, G.E.P.; Akash, R. 2025. Wind speed and wind power forecasting models. Energy & Environment 36(8): 3677–3713.DOI
  20. [23]Nurhayati, N.; Fitri awati, A. 2026. ARIMA–GGJR–GARCH modeling of asymmetric conditional volatility in wind speed time series. CAUCHY: Jurnal Matematika Murni dan Aplikasi 11(1): 887–903.DOI
  21. [24]Lahouar, A.; Slama, J.B.H. 2017. Hour-ahead wind power forecast based on random forests. Renewable Energy 109: 529–541.DOI
  22. [25]Liu, H.; Mi, X.; Li, Y. 2018. Comparison of two new intelligent wind speed forecasting approaches based on wavelet packet decomposition, complete ensemble empirical mode decomposition with adaptive noise and artificial neural networks. Energy Conversion and Management 155: 188–200.DOI
  23. [27]Datta, A. 2022. Nearest-neighbor sparse Cholesky matrices in spatial statistics. Wiley Interdisciplinary Reviews: Computational Statistics 14(5): e1574.
  24. [28]Katzfuss, M. 2017. A multi-resolution approximation for massive spatial datasets. Journal of the American Statistical Association 112(518): 757–776.
  25. [29]Ren, Y.; Suganthan, P.N. 2015. Ensemble methods for wind and solar power forecasting—a state-of-the-art review. Renewable and Sustainable Energy Reviews 50: 82–91.DOI
  26. [30]Nthangeni, R.I.; Sigauke, C.; Ravele, T.; Tshisikhawe, T.H. 2026. Enhancing short-term wind energy forecasting with XGBoost and conformal prediction for robust uncertainty quantification. Computation 14(3): 56.DOI
  27. [31]Daniel, L.O.; Sigauke, C.; Chibaya, C.; Mbuvha, R. 2020. Short-term wind speed forecasting using statistical and machine learning methods. Algorithms 13(6): 132.DOI
  28. [32]Mbuvha, R.; Mongwe, W.T.; Marwala, T. 2021. Separable shadow Hamiltonian hybrid Monte Carlo for Bayesian neural network inference in wind speed forecasting. Energy and AI 6: 100108.DOI
  29. [33]Makubyane, K.; Maposa, D. 2024. Forecasting short- and long-term wind speed in Limpopo Province using machine learning and extreme value theory. Forecasting 6(4): 885–907.DOI
  30. [35]Zippenfenig, P. 2023. Open-Meteo.com Weather API. Version 0.2.69. Zenodo.
  31. [36]Landwehr, G.; Lennard, C.; Engelbrecht, F. 2025. Necessity for a variable renewable energy forecasting hub in a changing climate and energy system in South Africa. Theoretical and Applied Climatology 156(1): 189.DOI
  32. [37]Landwehr, G.; Lennard, C.; Engelbrecht, F. 2024. Wind energy potential of weather systems affecting South Africa’s Eastern Cape Province. Theoretical and Applied Climatology 155(5): 3581–3597.DOI

Paper details

vlnc:W_nqvc9823
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents