6.1. Background and Data Description
Accurate forecasting of solar irradiance is a critical enabler of reliable planning and dispatch in solar energy systems [
6,
7]. Saudi Arabia possesses some of the world’s highest solar energy potential, with annual global horizontal irradiance (GHI) routinely exceeding
[
46,
47]. The southern region of Najran is particularly noteworthy: situated at approximately
N latitude, it benefits from persistently high direct-normal irradiance values and a strategic geographic position for the country’s Vision 2030 renewable energy targets [
46]. This resource richness motivates the present application of a probabilistic forecasting model to Najran solar radiation.
We analyze a continuous 80-day record of daily meteorological observations from the Najran ground station, spanning from 1 December 2005 to 18 February 2006 (). This winter sub-sample captures a period of changing solar angles and variable cloud-cover conditions without the strongly deterministic extremes of the Saudi summer, providing a challenging but realistic forecasting environment.
Two time series are employed:
Global Horizontal Irradiance (GHI) [
, endogenous]: the total daily shortwave radiation received on a horizontal surface at ground level, encompassing both direct beam and diffuse components, measured in Wh/m
2 by a pyranometer at the Najran meteorological station. GHI is the primary target variable in solar energy forecasting because it determines the potential electricity yield of a photovoltaic installation [
6,
48].
Clear-Sky GHI [
, exogenous]: the theoretical GHI that would be recorded on a completely cloudless day, computed from a radiative-transfer model using solar geometry (latitude, Earth–Sun distance, hour angle), and a standard atmospheric composition (aerosol optical depth, water vapor, ozone) [
48,
49]. Because clear-sky GHI captures the deterministic astronomical variation in available solar energy, it serves as an ideal external driver for the ARX model. It tracks the slowly changing baseline around which the actual GHI fluctuates due to transient meteorological factors.
The two daily GHI and Clear-Sky GHI series are shown in
Figure 2, and their descriptive statistics are summarized in
Table 14. From
Table 14, the observed mean daily GHI (
) falls considerably below the clear-sky mean (
), quantifying the average atmospheric attenuation from clouds, aerosols, and humidity. Strikingly, the coefficient of variation of GHI (6.76%) is more than that of clear-sky GHI (5.91%), reflecting the dominant role of transient weather variability in driving actual radiation fluctuations, whereas clear-sky GHI evolves slowly according to astronomical cycles alone.
6.3. Bayesian ARX Analysis of Daily Najran Solar Radiation
Algorithm 1 is applied to the training set of the transformed series
with exogenous input
, using
,
, and
for the forecast horizon. The MCMC settings are
,
, and
. Future clear-sky GHI values over the 10-day test window are taken from the observed clear-sky record, which is known in advance from astronomical calculations and represents no forecasting challenge [
48,
49].
Model identification. Table 15 presents the posterior inclusion probabilities of latent indicators of the ARX model from the 1000 retained MCMC draws, reported for each of the four SMN distributions. The latent indicators
govern AR lag inclusion, and
governs clear-sky GHI lag inclusion. Across all four SMN specifications, except of the SMN-cn case, the latent indicators with the highest posterior inclusion probability corresponds to the ARX(2,3) model, comprising the first two AR lags and the first three lags of the clear-sky GHI change. This structure admits a natural physical interpretation. The two AR lags reflect a two-day cloud memory. The three clear-sky lags (
) reflect the multi-day influence of atmospheric conditions. The contemporaneous lag
accounts for the direct modulation of actual GHI by the prevailing clear-sky envelope. The two successive lagged coefficients capture the gradual dissipation of aerosol loading and humidity anomalies that attenuate radiation over consecutive days before the atmosphere returns to its baseline state. The relative disagreement of the SMN-cn specification underscores the sensitivity of variable selection to the assumed tail behavior under the contaminated normal, where the heavier contamination component may absorb part of the signal otherwise attributed to the higher-order lags.
Parameter estimates. Beyond the model-identification results above,
Table 16 additionally reports the full Bayesian posterior summaries of every model parameter estimated directly on the real Najran GHI series, providing an empirical evaluation of the proposed methodology under authentic, non-simulated conditions that complements the controlled simulation results of
Section 5.
Table 16 reports the Bayesian posterior summaries of all model parameters under each of the four SMN distributions. The intercept
carries a posterior mean close to zero and a 95% credible interval that includes zero in all four cases, consistent with the near-zero unconditional mean of the differenced standardized series. Turning to the AR structure, a striking and physically meaningful pattern emerges: the posterior means of all active AR coefficients are negative across every SMN specification. Under SMN-
t, the first three AR lags have 95% credible intervals that exclude zero, i.e., the posterior evidence supports a non-zero effect, with posterior means
,
, and
, while
and
have credible intervals that include zero. A qualitatively similar pattern is observed under the other SMN cases. Under SMN-cn, the AR coefficients are substantially attenuated, and only
’s credible interval lies just outside zero (
), reflecting the fact that the contaminated normal absorbs a larger share of the observed variability through its mixing component. The consistent negativity of the AR coefficients in the differenced series is physically interpretable as mean-reverting oscillatory dynamics in daily GHI changes. An anomalously large positive change on a given day—associated, for instance, with a sudden clearing of cloud cover—tends to be followed by a partial downward correction over subsequent days, as the atmosphere gradually returns to its ambient aerosol and humidity equilibrium.
Among the exogenous clear-sky coefficients,
is by far the dominant driver. Its 95% credible interval excludes zero by a wide margin in all four cases, providing strong posterior evidence for a non-zero effect. This confirms that the contemporaneous change in clear-sky GHI is the single most informative predictor of observed GHI changes. The first lagged coefficient
also has a credible interval that excludes zero under SMN-
t (≈0.533), SMN-sl (≈0.713), and SMN-n (≈0.800), capturing the residual influence of the previous day’s atmospheric state on current radiation levels. The higher lags
,
, and
carry credible intervals that include zero across all specifications, indicating that their contributions are negligible once the contemporaneous and first-lagged clear-sky signals are accounted for. These lags illustrate concretely the joint reading of posterior inclusion probabilities (PIP) and credible intervals set out in
Section 4.2. Under SMN-
t,
has an intermediate PIP of 0.524 (
Table 15) together with a 95% credible interval of
that includes zero (
Table 16). Both quantities agree on the same substantive conclusion, i.e., roughly half of the retained draws support, including this lag, and the BMA-averaged effect, while positive on average, is not sharply distinguishable from zero. So, the two summaries reinforce rather than contradict one another once it is recognized that the reported credible interval already averages over both the included and excluded mixture components.
The SMN-specific parameter estimates provide particularly informative evidence about the distributional character of the radiation residuals. Under SMN-t, the estimated degrees of freedom , which signals extremely heavy-tailed innovations, consistent with abrupt meteorological discontinuities such as dust intrusions and sudden cloud-cover transitions. The SMN-sl estimate similarly places the error distribution near the Cauchy family, corroborating the presence of large occasional deviations. Under SMN-cn, the estimated contamination probability indicates that approximately 36% of daily observations arise from a contaminating component. The estimated contamination scale implies that this component carries a variance of , roughly 167 times larger than the dominant component variance , capturing the high-amplitude outliers produced by episodic extreme weather events. The scale parameter itself varies markedly across distributions—from under SMN-cn to under SMN-n. This is because the heavy-tailed specifications attribute large residuals to the mixing component rather than to , leaving a much tighter residual core. The inflated estimate under SMN-n thus reflects the inadequacy of the Gaussian assumption for this dataset. Despite these distributional differences, all four SMN cases produce broadly concordant estimates of the dynamic and exogenous coefficients, demonstrating that structural inference on the ARX model is robust to the precise choice of tail specification. Across all four SMN cases, MCMC chains pass the Geweke and Raftery–Lewis diagnostics, confirming the convergence of the chains. The Metropolis–Hastings acceptance rates are about 95% and 70% for the SMN-t and the SMN-cn cases, respectively.
Forecasting. Table 17 presents the 10-step-ahead Bayesian forecasts of the standardized-differenced GHI series for the held-out test period, together with the true observed values and forecast accuracy metrics. Under all four SMN distributions, most of the 10 true values fall within the 95% credible intervals, validating the calibration of the predictive distribution. The RMSE values are small in every case—below 1.1 standardized units at all horizons—consistent with the general finding that clear-sky GHI provides an informative structural signal that reduces residual uncertainty. We compute the RMSE of the 10-step-ahead Bayesian forecasts for the anti-transformed daily GHI series; for the ARX model, the RMSEs are approximately 153.9 (SMN-
t), 161.1 (SMN-sl), 159.0 (SMN-cn), and 163.1 (SMN-n), all of which are small relative to the daily GHI series’ standard deviation. Accordingly, based on point RMSE, the ARX specification with SMN-
t attains the lowest anti-transformed forecast error among the four fitted SMN cases for this series. With only ten held-out horizons, however, this ranking should be interpreted as descriptive evidence rather than a strong claim of superiority. The comparison is examined formally and the corresponding caveats made explicit—via the Diebold–Mariano test reported below.
Table 18 presents the 10-step-ahead Bayesian forecasts under SMN-
t together with the observed (anti-transformed) values.
Comparison with a conventional Gaussian Bayesian ARX benchmark. Among the four fitted specifications, SMN-n is, by construction, exactly the conventional Gaussian Bayesian ARX model, so
Table 16 and
Table 17 already report a direct within-sample and out-of-sample comparison against this standard benchmark. To formally test whether the robust SMN specifications forecast significantly better than this Gaussian benchmark, we apply the Diebold–Mariano test [
52] with the small-sample correction of Harvey, Leybourne, and Newbold to the absolute-error loss differentials between each SMN forecast and the Gaussian case (SMN-n), using the ten held-out anti-transformed forecasts.
Table 19 summarizes the results.
None of the three pairwise comparisons is statistically significant at the 5% level, which is unsurprising given the limited power of a Diebold–Mariano test based on only ten held-out horizons. The test should therefore be interpreted as confirmatory rather than as a substitute for the descriptive RMSE ranking reported above. For the SMN-t versus SMN-n comparison, the p-value of offers suggestive evidence that SMN-t may outperform SMN-n. The negative mean loss differential is consistent with the anti-transformed RMSE ranking, though the evidence remains insufficient to establish statistical significance at the 5% level. This outcome highlights the limited sample size and underscores the need for further evaluation over longer horizons.We emphasize that this comparison is confined to the four SMN specifications nested within the proposed Bayesian ARX framework. The forecasting claims of this paper should accordingly be read as relative to the Gaussian Bayesian ARX case and among the SMN family evaluated on a ten-observation holdout, rather than as an established advantage over the broader class of conventional forecasting methods.
Taken together, and for this single 80-day Najran record, the solar radiation results indicate that the proposed ARX-SMN framework captures the short-term stochastic dynamics of daily GHI in this application. The model provides well-calibrated uncertainty intervals for multi-day-ahead forecasts and remains computationally efficient on a dataset of this size. The identification of clear-sky GHI as the dominant exogenous driver, along with the detection of non-Gaussian residuals, are both physically meaningful findings that align with the design intent of the proposed methodology. Given the modest sample size and single-station scope of this application, these findings are best interpreted as an illustrative case study rather than a general demonstration of superiority across solar-forecasting applications.