Regime-Switching Model on Hourly Electricity Spot Price Dynamics

Abstract

A robust time-varying regime-switching model for price dynamics of hourly spot price of electricity on the electricity market is developed. We propose a two-state Markov Regime Switching (MRS) model that gives weight to the existence of different variance for each regime. Our model is tractable as it integrates the main features exhibited in the hourly spot price dynamics on the electricity market. The parameters of our hourly spot price of electricity market model are estimated using the Expectation Maximization algorithm. Based on this model, an efficient and tractable pricing technique can be developed to price the dynamics of the hourly spot price of electricity.

Share and Cite:

Gyamerah, S. and Ngare, P. (2018) Regime-Switching Model on Hourly Electricity Spot Price Dynamics. Journal of Mathematical Finance, 8, 102-110. doi: 10.4236/jmf.2018.81008.

1. Introduction

Electricity, among other commodities, is one of the most important blessings science has given to the world. It is an essential commodity for social and economic development of developing countries. Most small household and manufacturing industries depend on electricity for their activities. According to the World Banks Global Tracking Framework (GTF), released in April 2017, 1.06 billion people live without electricity―a negligible improvement since 2012 (http://www.worldbank.org/en/topic/energy/overview, accessed on 02/09/2017) and this impedes the growth of countries economy due to the over-reliance of most activities on electricity. Crousillat, Hamilton, and Antmann (2010) stated that “eventhough electricity alone is not sufficient to spur economic growth, it is certainly necessary for human development” [1] .

The electricity market facilitates the purchase of electricity through bids to buy; sales, through offers to sell; and short-term trades. In the early 1990s, the deregulation of the energy market (electricity market in our case) started in some countries (among others were the United Kingdom, Australia, and Norway) and gradually spread out to the European Union and the United States. This has created competitive markets that boost wholesale trading in most countries. This deregulation instigated substantial elements of risk such as uncertain demand, price risk, and volumetric risk; the principal of them being electricity price volatility. In result of this, there is the need to understand and model the spot price dynamics of the electricity market accurately to aid in an efficient pricing of electricity spots.

2. Electricity Spot Prices: Markets and Models

The spot price dynamics of electricity show signs of strong seasonality, high volatility, and generally unexpected extreme changes known as “spike” or “jumps” [2] [3] . Electricity spot prices (the underlying) show forms of nonlinear dynamics. Among the nonlinearities of the series of the price dynamics are the clustering of large shocks, and non-constant variance. These distinctive characteristics make it difficult for practitioners and researchers to model accurately the spot price of electricity on the electricity market. Most researchers have modelled electricity spot price dynamics using single regime stochastic models where it is assumed that there is no changes in state of the underlying spot price dynamics. But a single stochastic model may not be able to incorporate the dynamics of these electricity spot price dynamics accurately [4] [5] [6] . In reality, the underlying can go through different unobservable (latent) states in a particular period of interval. The underlying exhibits switching mechanism that needs different stochastic model for each switching state. Hence, the need to formulate appropriate models that can capture efficiently the electricity price dynamics to help in the proper pricing of spot and futures contract. From Figure 1, it is clear that mean-reversion is the optimal choice for electricity spot price dynamics. To build up the efficiency of Markov Regime Switching (MRS) models to electricity spot price dynamics, we proposed a model that gives weight to the existence of different variance for two Markov Regime Switching (MRS) models. The dynamics of electricity are more complex than normal spot price models allow and it can be noted that in the deregulated market, the dynamics of electricity prices are characterized with a combination of low price behavior and sharp price spikes as illustrated in Figure 1.

Ethier and Mount (1998) presented MRS models to electricty prices [7] . Huisman and Mahieu (2003) presented a three regime-switching model that separates price spikes from normal price [8] . They indicated that power spikes are short-lived and that stochastic jumps process cannot adequately model the electricity price behaviour. To substantiate their proposed model, they stated

Figure 1. Hourly spot price of the NordPool Electricity market from 01/01/2017- 31/04/2017.

that the mean-reverting rate of the long-run price level and the normal periods are not the same. Weron, Bierbrauer, and Trück (2004) modelled spot electricity prices by reviewing different electricity spot models [3] . Bierbrauer, Trück, and Weron (2010) addressed the problem of modeling spot electricity prices from the Nordic power exchange with a regime switching model [9] . The performance of the regime switching model was evaluated by comparing simulated and market prices. De Jong (2006) presented a two-regime MRS model by considering an autoregressive, spike regime dynamics driven by a Poisson distribution [10] . Weron (2008) also presented a model that decreases the computational time induced by independent regimes [11] .

In this paper, we develop a robust two state regime-switching model with time-varying volatility for the price dynamics of the electricity spot price on the electricity market. The model is mathematically tractable to represent well the characteristics of the spot price dynamics of the electricity market.

3. Regime-Switching Brownian-“Jump” Model

Suppose in a two independent state regime switching, each state undergoes discrete shifts between states S t of the process. Then S t follows a first order Markov chain with the transition matrix:

P = [ ( S t = 1 | S t 1 = 1 ) ( S t = 1 | S t 1 = 2 ) ( S t = 2 | S t 1 = 1 ) ( S t = 2 | S t 1 = 2 ) ]

P = [ P 11 P 12 P 21 P 22 ] = [ 1 P 12 P 12 P 21 1 P 21 ]

The transition matrix P contains the probabilities P i j ( i , j = 0 , 1 ) = P { S t = j | S t 1 = 1 } , 0 P i j 1 , P i j = 1 and satisfying P i 0 + P i 1 = 1 , i = 0 , 1

Keeping the stylized features of the spot price dynamics of electricity in mind, we propose a two-state Markov regime-Switching model with base regime driven by a mean-reverting process and a shifted regime driven by a Brownian- “Jump” process. In both regimes, we assume that the volatility of the current spot price is dependent on the current spot price level X t . The “jump” behaviour is as a result of an “extreme” Brownian motion with a greater extreme drift and volatility than the standard mean-reverting regime. The “jump” regime is modelled with a simple Itô process. Given a time interval [ 0, T ] at a finite time horizon [ T < ] , assume there is trading activities in the electricty market. Suppose, given a probability space ( Ω , F , )

X ( t ) = { X t , 1 : d X t , 1 = ( α 1 λ X t , 1 ) d t + σ 1 X t γ d W t M , if X ( t ) is in regime 1 X t , 2 : d X t , 2 = μ 2 d t + σ 2 X t γ d W t J , if X ( t ) is in regime 2 (1)

where λ is the mean-reversion rate of the base regime, α 1 λ is the long-term

mean for the spot price reverting to, σ 1 X t γ and σ 2 are the daily price volatility of the base and shifted regimes respectively, W t M and W t J are the standard Brownian motion and a Brownian-”Jump” process respectively, T t is the temperature at time t. Let p 1 and 1 p 1 be the probabilities that the process is in regime 1 and 2, respectively. The base regime model is based on the mean-reverting constant elasticity variance developed by [12] . There is a strong positive correlation between the price level and the price change for a psoitive γ . Assume γ = 1 , then model (1) can be reformulated as

X ( t ) = { X t , 1 : d X t , 1 = ( α 1 λ X t , 1 ) d t + σ 1 X t ,1 d W t M , if X ( t ) is in regime 1 X t , 2 : d X t , 2 = α 2 d t + σ 2 X t , 2 d W t J , if X ( t ) is in regime 2 (2)

By the application of Itô’s lemma to model (2), the integral form to the base regime and shifted regime is explicitly given in integral form as

X t , 1 = α 1 λ + e λ t [ X 0 , 1 α 1 λ ] + σ 1 t 0 X s , 1 e λ ( t s ) d W s M (3)

X t , 2 = X 0 , 2 + μ 2 t + 0 t σ 2 d W s J (4)

4. Parameter Estimation

The EM algorithm was first introduced by Dempster, Laird, and Rubin (1977) [13] . Estimating the parameters in a MRS models is not trivial since the regime is not directly observable(latent). Hamilton (1990) was the first to apply Expectation-Maximization (EM)-algorithm [14] . The EM-algorithm is a comprehensive procedure for finding the maximum-likelihood estimate of the parameters of a distribution from a specified data given that the data is either incomplete or have missing (or hidden) values. The optimal set of unknown parameters to be estimated in the base and shifted regime are θ 1 = { α 1 , λ , σ 1 , P 1 } and θ 2 = { α 2 , σ 2 , P 2 } respectively. The optimal set of the unknown parameters in the model to estimate is Θ = { θ 1 , θ 2 } .

4.1. Discretization

The discretized version of model 1 in the base and shifted regime is respectively given as

X t + 1 , 1 = α 1 + X t , 1 ( 1 λ ) + σ 1 X t , 1 ϵ t + 1 , 1 (5)

X t + 1 , 2 = α 2 + X t , 2 + σ 2 X t , 2 ϵ t + 1 , 2 (6)

where ϵ t + 1 ~ N ( 0,1 ) . Let F t k X be the vector of past k + 1 last values of (5) and (6), i.e. F t k X = ( X t 0 , X t 1 , X t 2 , , X t k ) . Also, let H + 1 be the size of the past data and Ψ be the equivalent increasing pattern of time at which the data is recorded, i.e. Ψ = { t j ; 0 = t 0 t 1 t 2 t H 1 t H = T } .

4.2. E-Step

As stated earlier, the regime switching model is latent, hence the inference of the regimes are given by the equations below:

i = { 1 , 2 } , k = 1 , 2 , 3 , , H , and n = number of iterations.

A i , t k n = ( S t k = i | F t k X ; Θ ^ ( n ) ) = ( S t k , X t k | F t k 1 X ; Θ ^ ( n ) ) f ( X t k | F t k 1 X ; Θ ^ ( n ) ) (7)

= ( S t k = i | F t k 1 X ; Θ ^ ( n ) ) f ( X t k | S t k = i ; F t k 1 X ; Θ ^ ( n ) ) i = 1 2 ( S t k = i | F t k 1 X ) f ( X t k | S t k = i ; F t k 1 X ; Θ ^ ( n ) ) (8)

with

(9)

(10)

is the density process at time, conditional on

the process in regime i. From (2) and (5), the base regime has a conditional Gaussian distribution with mean and standard deviation. The shifted regime has a conditional Gaussian distribution with mean and standard deviation.

The probability density functions (pdf) of the base and shifted regimes are respectively given as

(11)

(12)

4.3. M-Step

We compute the maximum likelihood estimates for the unknown parameters in (5) and (6).

The transition probabilities and are estimated based on the formula below

(13)

(14)

From (11) and (12), the log-likelihood functions of the base and shifted regimes are given respectively as

(15)

(16)

From (15), each of the parameter in the base regime can be estimated by differentiating the log-likelihood with respect to that parameter.

(17)

(18)

where

(19)

From (16), each of the parameter in the shifted regime can be estimated by differentiating the log-likelihood with respect to that parameter.

(20)

(21)

5. Data Description, Results, and Discussion

Historical electricity hourly spot price on the NordPool market is used, specifically we took an hourly data of Oslo. The data set consist of 764 hours spanning from 01/03/2017-31/03/2017. From Table 1, the kurtosis of the data was found to be 24.6572 which is by far greater than the kurtosis of a gaussian distributed data, hence the existence of extreme data points in hourly spot price of the NordPool Electricity. These extreme data points can be described as “jumps”. The presence of extreme data points in the hourly electricity data are clearly illustrated in Figure 2, as the normal curve was not able to fit well on the histograph. This shows that the consumption of electricity depends largely on the peak hours and normal hours in a day, hence the need to model electricity spot price dynamics hourly. Also from Table 1, with a skewness of 3.9056, the data is skewed to the right. This also shows that the hourly spot price of the NordPool Electricity is not normally distributed. The parameter estimates for both regimes depends on the hourly spot price of the NordPool Electricity market from 01/03/2017-31/03/2017.

The estimated results of the model is found in Table 2. The probability of hourly price remaining in the base regime is very high, 0.8471. With a lower but

Figure 2. The distribution fit of the hourly spot price of the NordPool Electricity market from 01/03/2017-31/03/2017.

significant probability of 0.1529, the hourly price will remain in the shifted regime.

6. Conclusion

In this paper, a two-state Markov Regime switching model for the dynamics of the hourly spot price of electricity is developed. It is clear from the illustrated Figure 3 and Figure 1 that electricity hourly spot price exhibits mean reversion, heteroscedastic volatility in both regimes, price spikes and jumps. Our model is tractable as it integrates the main features exhibited in the hourly spot price on the electricity market. The parameters of our hourly spot price electricity market model are estimated using the EM algorithm. Based on this model, an efficient and tractable pricing technique can be developed to price the dynamics of the hourly spot price of electricity. To the best of our knowledge, our proposed model is the first to consider hourly spot price of electricity. From Figure 2, it is evident that the distribution of hourly spot price of the NordPool Electricity is not normal; hence it will be appropriate to use other distributions like the Normal Inverse Gaussian (NIG) or the Gamma distribution to capture this effect.

Table 1. The distribution (skewness and kurtosis) of hourly spot price of the NordPool Electricity market from 01/03/2017-31/03/2017.

Table 2. Parameter estimates for the two state MRS model. The parameters are estimated using the EM algorithm based on the hourly spot price of the NordPool Electricity market for 01/03/2017-31/03/2017.

Figure 3. Calibration of two state MRS model with independent regimes fitted to deseasonalized hourly electricity spot price from the NordPool Electricity market.

NIG and Gamma distributions can capture the extreme and skewed features of the hourly spot price of the NordPool Electricity data.

Acknowledgements

We thank Pan African University, Instutute of Basic Sciences Technology and Innovation for their support for this research.

Conflicts of Interest

The authors declare no conflicts of interest.

References

[1] Crousillat, E., Hamilton, R. and Antmann, P. (2010) Addressing the Electricity Access Gap. World Bank, Washington DC.
[2] Park, H., Mjelde, J.W. and Bessler, D.A. (2006) Price Dynamics among U.S. Electricity Spot Markets. Energy Economics, 30, 1098-1115.
[3] Weron, R., Bierbrauer, M. and Trück, S. (2004) Modeling Electricity Prices: Jump Diffusion and Regime Switching. Physica A: Statistical Mechanics and Its Applications, 336, 39-48.
https://doi.org/10.1016/j.physa.2004.01.008
[4] Benth, F.E., Kallsen, J. and Meyer-Brandis, T. (2007) A Non-Gaussian Ornstein-Uhlenbeck Process for Electricity Spot Price Modeling and Derivatives Pricing. Applied Mathematical Finance, 14, 153-169.
https://doi.org/10.1080/13504860600725031
[5] Benth, F.E. and Saltyte-Benth, J. (2004) The Normal Inverse Gaussian Distribution and Spot Price Modelling in Energy Markets. International Journal of Theoretical and Applied Finance, 7, 177-192.
https://doi.org/10.1142/S0219024904002360
[6] Branger, N., Reichmann, O. and Wobben, M. (2009) Pricing Electricity Derivatives. Working Paper, Westflische Wilhelms-Universitt Munster, Germany World Scientific.
[7] Ethier, R. and Mount, T. (1998) Estimating the Volatility of Spot Prices in Restructured Electricity Markets and the Implications for Option Values. Cornell University, Ithaca, New York.
[8] Huisman, R. and Mahieu, R. (2003) Regime Jumps in Electricity Prices. Energy Economics, 25, 425-434.
https://doi.org/10.1016/S0140-9883(03)00041-0
[9] Bierbrauer, M., Trück, S. and Weron, R. (2010) Modeling Electricity Prices with Regime Switching Models. Computational Science-ICCS, 2004, 859-867.
[10] De Jong, C. (2006) The Nature of Power Spikes: A Regime-Switch Approach. Studies in Nonlinear Dynamics & Econometrics, 10, 1-28.
https://doi.org/10.2202/1558-3708.1361
[11] Weron, R. (2008) Market Price of Risk Implied by Asian-Style Electricity Options and Futures. Journal of Econometrics, 30, 98-1115.
https://doi.org/10.1016/j.eneco.2007.05.004
[12] Jones, C.S. (2003) Nonlinear Mean Reversion in the Short-Term Interest Rate. The Review of Financial Studies, 6, 793-843.
https://doi.org/10.1093/rfs/hhg014
[13] Dempster, A.P., Laird, N.M. and Rubin, D.B. (1977) Maximum Likelihood from Incomplete Data via the EM Algorithm. Journal of the Royal Statistical Society. Series B (Methodological), 39, 1-38.
[14] Hamilton, J.D. (1990) Analysis of Time Series Subject to Changes in Regime. Journal of Econometrics, 45, 39-70.
https://doi.org/10.1016/0304-4076(90)90093-9

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.