Testing Day-Of-The-Week Persistence and Seasonality in Spanish Electricity Energy Prices

Day-of-the-week persistence and seasonality of electricity prices in Spain, spanning 01/ 01/2006 to 04/11/2021, are investigated by employing updated fractional persistence frameworks in non-linear settings. The results show marginal higher persistence in electricity prices during the working days (Tuesday, Wednesday, Thursday, and Friday) compared to weekend days. In all cases, electricity prices are mean-reverting with long-range dependence properties. Results also show that the monthly electricity price series contain no seasonal effect.


I. Introduction
In this paper, we investigate the day-of-the-week price persistence and seasonality in Spanish energy prices using an updated fractional persistence framework.We employ two recent nonlinear approaches, i.e., nonlinear I(d) frameworks recently proposed.The first is the Cuestas and Gil-Alana (2016) [CG2016] nonlinear I(d) method which is based on the Chebyshev polynomials in time, while the second is the Gil-Alana and Yaya (2021) [GY2021] method that relies on Fourier-form nonlinearity, a mimic of Enders and Lee (2012), in the fractional persistence framework.These two nonlinear functions allow for the smooth modelling of structural breaks in the time series.Bai and Perron's (2003) multiple break test considers a maximum of five instantaneous breaks to be detected and in reality, breaks could be more than five in a given long time series, so, this test is restrictive, and in reality, some breaks are smoothly changing with time.Enders and Lee (2012) have found that a model with trigonometric function could have more power than the Bai-Perron break test in terms of modelling as many multiple breaks in a smooth fashion.
Fractional persistence allows for a given time series (i.e., energy price in this case) to be checked for the possibility of mean reversion or non-mean reversion.Another subset of the mean reversion case is long memory where a certain real value, lies in the interval i.e., where future values closely depend on the past lagged values since the autocorrelation function of the time series decay exponentially slowly, unlike the case of Autoregressive Moving Average (ARMA) process.Thus, this is the case of stationary mean reversion.Generally, mean reversion implies d lying in the range including both stationary and nonstationary ranges.Thus, once the external shock triggers the time series process, there is the tendency for the series to revert to its mean level after a short time.The case of non-mean reversion is where it is unlikely for the series to revert to its mean level, even with strong government and regulator policies, and if at all, it will take a very long time.These are the appealing properties of the fractional persistence framework, which makes it distinguishable among classical unit root tests in the literature.Meanwhile, the Dickey-Fuller-like unit root test has been found to lack power in the presence of fractional unit root alternatives (Lee & Schmidt, 1996).
Energy pricing and its distribution, as it affects households and businesses, is one of the major global discussions.The present work is motivated by the alarmingly rising electricity prices in Spain since July 2021 due to the global gas crisis.Findings here will therefore guide regulators and the government on the price dynamics of electricity in Spain.

II. Nonlinear Fractional I(d) frameworks
Following Granger and Joyeux (1980) and Hosking (1981), we define fractional integration in time series as, where is the lag operator, i.e., is the fractional integration parameter operating on the differencing operator on the time series to produce a stable/ stationary series that has the properties of white noise.In some cases of highly autocorrelated series, we can consider the possibility of Autoregressive [AR(1)] error disturbance, i.e.where is the AR(1) parameter for which is the first lag of and is some noise process.Much recently, the applicability of the operator d (1) has gone beyond unit root testing of time series to testing persistence of series in terms of mean or non-mean reversions.By extending the above to using the deterministic term of a linear trend with constant, and intercept, one obtains the Robinson (1994) fractional persistence modelling framework, which is estimated using the Ordinary Least Square (OLS) estimation method, i.e, and with the complex Lagrange Multiplier test statistic, where is the sample size, and and implies that the sums are taken over all frequencies that are bounded in the spectrum, with periodogram for and .The linear I(d) framework of Robinson (1994)  Then, in the absence of nonlinearity, the I(d) model in ( 6) is expressed with only a constant, if the model becomes a linear I(d) model of Robinson (1994) with a linear trend.For the model becomes nonlinear such that the higher the order of the higher the nonlinearity.We can re-express the model in ( 7) for a truncation order of .For simplicity of OLS estimation, (y7) in Equation ( 6) is expressed as, where As a follow-up to Cuestas and Gil-Alana's (2016) method, Gil-Alana and Yaya (2021) considered using flexible Fourier fractional (FFF) form in the I(d) structure in Equation ( 6) to mimic the nonlinearity induced by function where is the optimal FFF value, a particular frequency which could be fractional or unit; and determine the amplitude and displacement of the sine/cosine in the Fourier function.Thus, the nonlinear I(d) is, Empirically, (9) can be re-expressed as, where with and defined in (7) above.

III. Data and Results
Daily historical spot prices of electricity for Spain, spanning 01/01/2006 to 04/11/2021, covering a total of 5788 data points, are obtained from the website of Iberian Energy Market Operator/Operador del Mercado Ibérico de la Energía-Polo Portugués (OMIP) at https://www.omip.pt/en/electricity.Plots of daily and monthly electricity prices are given in Figure 1.For daily prices, there are fluctuations over time and occasional price swings that are pronounced to both up and down prices.Between 2006 and June 2021, prices hover between 50 and 150 euro/MWh while prices started increasing astronomically in the middle of 2021.price, and the essence of this is to check for possible monthly seasonal movement.By looking at the plot, the monthly seasonality is not observed.
Table 1 presents the results of persistence using nonlinear smooth trend functions by employing the Chebyshev polynomial in time and Fourier function.In the case of the Chebyshev polynomial, the nonlinear trigonometric parameters, cos1, cos2 and cos3 are not significant, while in the case of Fourier function, the trigonometric parameter sin k is only significant with the optimal Fourier frequency k = 0.46.For both the Chebyshev polynomial and Fourier function, fractional persistence values are 0.6739 and 0.6702 respectively under white noise disturbance and each estimate with an upper CI bound of about 0.69.To check for the possible interference of unchecked serial correlations in the model residuals which could bias our results, we allow for an AR(1) error disturbance instead of the white noise error disturbance, with the specification given in Equation ( 2).The results for both nonlinear I(d) are then re-presented in the lower panel of Table 1.In this case, cos2 parameter in the Chebyshev function is found to be significant, while sin k parameter in the Fourier function is also significant.For both nonlinear functions, the AR(1) parameter estimates are low, around 0.20, but this is significant at 5% level.The persistence values estimated for both nonlinear I(d) models are found to be lower compared to the corresponding values under the white noise error disturbances.These values are found to be 0.5601 and 0.5548 respectively, which is around 0.5 implying mean reversion with long-range dependence characteristics in the electricity prices.
The analysis is extended by obtaining the day-of-theweek series persistence using the two nonlinear I(d) frameworks and the results, as presented in Table 2, are only reported for the case of AR(1) error disturbance.In the upper panel of the results table for the case of Chebyshev polynomial I(d), it is found that none of the nonlinear parameters for the days-of-the-week series (i.e., Monday-Friday) is significant while for Wednesday, Saturday and Sunday series, nonlinear parameters are significant.The AR(1) parameters are significant for Wednesday, Saturday and Sunday series.The persistence estimates for the seven series are 0.65 (Monday), 0.73 (Tuesday), 0.78 (Wednesday), 0.77 (Friday), -0.30 (Saturday) and -0.39 (Sunday).By looking at the results in the lower panel of the table for the Fourier function, with optimal Fourier frequency k recorded in the last column of the table, the significance of Fourier form parameters (sine and cosine) are observed.Thus, the results in Table 2 confirm the nonlinear nature of day-of-the-week in Spanish electricity prices.The persistence results, though, all in mean reverting ranges, are in the interval 0.62-0.77.The persistence on Monday, Saturday and Sunday are 0.64, 0.69 and 0.64 respectively while others (Tuesday-Friday) are in the range of 0.71-0.77.
To probe further for possible monthly seasonality, the monthly dataset is estimated by employing a seasonal AR model in the nonlinear I(d) frameworks.Thus, we re-specify (2) as where the seasonal AR parameter in the case of monthly time series, and is the lag 12 of the resulting fractionally differenced series.Thus, determines the monthly seasonal autoregression between the previous 12th observation (i.e., and the current observation, The model in Equation ( 11) is then analyzed with Equations ( 8) and ( 10) to obtain results for the Chebyshev polynomial and Fourier function respectively.The results of the Chebyshev polynomial reported in the upper panel of the results table indicated non-significance of seasonal AR pa- rameter with a very low coefficient (0.0816).Meanwhile, the fractional persistence estimate is computed as 0.9323 which is quite higher than that obtained for the case of daily pricing.results are obtained in the case of the Fourier function presented in the last panel of Table 3, where the non-significance of the seasonal AR parameter with nonlinearity detected as is found to be significant at the 5% level.

IV. Concluding remarks
Energy pricing and its distribution are some of the major global discussions because they affect households and businesses.This study is motivated by the alarmingly rising electricity prices in Spain since July 2021 due to the global gas crisis.Thus, the findings in this study guide regulators and the government to know the price dynamics of electricity in Spain.We employed updated fractional persistence frameworks in nonlinear settings in investigating how dayof-the-week affects persistence and seasonality in the pricing from 01/01/2006 to 04/11/2021.Results obtained indicate mean reversion in prices across all days of the week and there is a fair increase in persistence during the working days (Tuesday, Wednesday, Thursday and Friday) compared to weekend days.No evidence of seasonality is found in the monthly price series.It is hoped that the results ob-tained here will guide in making energy usage policies in Spain.
is extended to the nonlinear I(d) framework in Cuestas and Gil-Alana (2016) by using the function which depends on unknown parameters in the I(d) framework, where is the constant and are the parameters of the m th order expansion of the Chebyshev polynomial and

1
Figure 1.Plot of electricity prices in Spain based on daily energy auctions

Table 1 . Results based on nonlinear I(d) frameworks
Testing Day-Of-The-Week Persistence and Seasonality in Spanish Electricity Energy Prices Notes: In bold are significant parameters at a 5% level of significance for one-sided t-test, while values of t-statistic are in parenthesis.

Table 3 . Results based on Seasonal AR(1) models a. Nonlinear
Chebyshev polynomial with Seasonal AR Testing Day-Of-The-Week Persistence and Seasonality in Spanish Electricity Energy Prices Energy RESEARCH LETTERS This is an open-access article distributed under the terms of the Creative Commons Attribution 4.0 International License Testing Day-Of-The-Week Persistence and Seasonality in Spanish Electricity Energy Prices Energy RESEARCH LETTERS (CCBY-SA-4.0).View this license's legal deed at https://creativecommons.org/licenses/by-sa/4.0 and legal code at https://creativecommons.org/licenses/by-sa/4.0/legalcodefor more information.