1 value at risk modelling for energy commodities using volatility adjusted quantile regression...

58
1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013 Sjur Westgaard Email: [email protected] Tel: 73593183 / 91897096 Web: www.iot.ntnu.no/users/sjurw Department of Industrial Economics Norwegian University of Science and Technology 20 40 60 80 100 120 140 IV I II III IV I II III IV I II III IV I II III IV I II III 2009 2010 2011 2012 2013 CRUDEOIL 60 80 100 120 140 IV I II III IV I II III IV I II III IV I II III IV I II III 2009 2010 2011 2012 2013 COAL 0 5 10 15 20 25 30 IV I II III IV I II III IV I II III IV I II III IV I II III 2009 2010 2011 2012 2013 CARBON 200 400 600 800 1,000 1,200 IV I II III IV I II III IV I II III IV I II III IV I II III 2009 2010 2011 2012 2013 GASOIL 10 20 30 40 50 60 70 80 IV I II III IV I II III IV I II III IV I II III IV I II III 2009 2010 2011 2012 2013 NATURALGAS 20 40 60 80 100 120 140 IV I II III IV I II III IV I II III IV I II III IV I II III 2009 2010 2011 2012 2013 el-U K-M 30 40 50 60 70 80 90 IV I II III IV I II III IV I II III IV I II III IV I II III 2009 2010 2011 2012 2013 el-U K-Q 30 40 50 60 70 80 90 100 IV I II III IV I II III IV I II III IV I II III IV I II III 2009 2010 2011 2012 2013 el-N ed-M 30 40 50 60 70 80 90 100 IV I II III IV I II III IV I II III IV I II III IV I II III 2009 2010 2011 2012 2013 el-N ed-Q 20 30 40 50 60 70 80 90 IV I II III IV I II III IV I II III IV I II III IV I II III 2009 2010 2011 2012 2013 el-G er-M 30 40 50 60 70 80 90 IV I II III IV I II III IV I II III IV I II III IV I II III 2009 2010 2011 2012 2013 el-G er-Q 0 20 40 60 80 100 IV I II III IV I II III IV I II III IV I II III IV I II III 2009 2010 2011 2012 2013 el-N or-M 20 30 40 50 60 70 80 90 IV I II III IV I II III IV I II III IV I II III IV I II III 2009 2010 2011 2012 2013 el-N or-Q

Upload: william-cross

Post on 16-Dec-2015

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

1

Value at Risk Modelling for Energy Commodities using Volatility Adjusted

Quantile Regression

Energy Finance ConferenceEssen Thursday 10th October 2013

Sjur WestgaardEmail: [email protected]

Tel: 73593183 / 91897096Web: www.iot.ntnu.no/users/sjurw

Department of Industrial Economics Norwegian University of Science and Technology

20

40

60

80

100

120

140

IV I II III IV I II III IV I II III IV I II III IV I II III

2009 2010 2011 2012 2013

CRUDEOIL

60

80

100

120

140

IV I II III IV I II III IV I II III IV I II III IV I II III

2009 2010 2011 2012 2013

COAL

0

5

10

15

20

25

30

IV I II III IV I II III IV I II III IV I II III IV I II III

2009 2010 2011 2012 2013

CARBON

200

400

600

800

1,000

1,200

IV I II III IV I II III IV I II III IV I II III IV I II III

2009 2010 2011 2012 2013

GASOIL

10

20

30

40

50

60

70

80

IV I II III IV I II III IV I II III IV I II III IV I II III

2009 2010 2011 2012 2013

NATURALGAS

20

40

60

80

100

120

140

IV I II III IV I II III IV I II III IV I II III IV I II III

2009 2010 2011 2012 2013

el-UK-M

30

40

50

60

70

80

90

IV I II III IV I II III IV I II III IV I II III IV I II III

2009 2010 2011 2012 2013

el-UK-Q

30

40

50

60

70

80

90

100

IV I II III IV I II III IV I II III IV I II III IV I II III

2009 2010 2011 2012 2013

el-Ned-M

30

40

50

60

70

80

90

100

IV I II III IV I II III IV I II III IV I II III IV I II III

2009 2010 2011 2012 2013

el-Ned-Q

20

30

40

50

60

70

80

90

IV I II III IV I II III IV I II III IV I II III IV I II III

2009 2010 2011 2012 2013

el-Ger-M

30

40

50

60

70

80

90

IV I II III IV I II III IV I II III IV I II III IV I II III

2009 2010 2011 2012 2013

el-Ger-Q

0

20

40

60

80

100

IV I II III IV I II III IV I II III IV I II III IV I II III

2009 2010 2011 2012 2013

el-Nor-M

20

30

40

50

60

70

80

90

IV I II III IV I II III IV I II III IV I II III IV I II III

2009 2010 2011 2012 2013

el-Nor-Q

Page 2: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

2

Professor Sjur WestgaardDepartment of Industrial Economics and Technology Management,Norwegian University of Science and Technology (NTNU)Alfred Getz vei 3, NO-7491 Trondheim, Norwaywww.ntnu.no/iot

Mail: [email protected]: www.iot.ntnu.no/users/sjurwPhone: +47 73598183 or +47 91897096

Sjur Westgaard is MSc and Phd in Industrial Economics from Norwegian University of Science and Technology and a MSc in Finance from Norwegian School of Business and Economics. He has worked as an investment portfolio manager for an insurance company, a project risk manager for a consultant company and as a credit analyst for an international bank. His is now a Professor at the Norwegian University of Science and Technology and an Adjunct Professor at the Norwegian Center of Commodity Market Analysis UMB Business School. His teaching involves corporate finance, derivatives and real options, empirical finance and commodity markets. His main research interests is within risk modelling of energy markets and he has been a project manager for two energy energy research projects involving power companies and the Norwegian Research Consil. He has also an own consultancy company running executive courses and software implementations for energy companies. Part of this work is done jointly with Montel.

Page 3: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

3

TrondheimTrondheim

Page 4: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

4

www.montelpowernews.com

Page 5: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

5

Montel Online • Up-to-the-minute news

• Live price feeds European Energy Data

• Price-driving fundamentals

• Financial / weather data

• Excel-addin historical data

• Courses and Seminars

Page 6: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

66

• From Burger et al. (2008)*:– Liberalisation of energy markets (oil, gas, coal,

el, carbon) has fundamentally changed the way power companies do business

– Competition has created both strong incentives for improving operational efficiency and as well as the need for effective financial risk management

Why Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression?

* Burger, M., Graeber B., Schindlmayr, G. 2008, Managing energy risk – An integrated view on power and other energy markets, Wiley.

Page 7: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

77

• More volatile energy markets and complex trading/hedging portfolios (long and short positions) has increased the need for measuring risk at

• Individual contract level• Portfolio of contracts level• Enterprise level

• Understanding the dynamics and determinants of volatility and risk (e.g. Value at Risk and Expected Shortfall) for energy commodities are therefore crucial.

• We therefore need to correctly model and forecast the return distribution for energy futures markets

Why Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression?

Page 8: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

8

•Oil/GasOil/Natural Gas/Coal/Carbon/Electricity from ICE, EEX, Nasdaq OMX shows:

• Conditional return distributions various across energy commodities

• Conditional return distributions for energy commodities varies over time

•This makes risk modelling of energy futures markets very challenging!

Why Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile

Regression?

Page 9: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

9

•The problems with existing “standard” risk model (that many energy companies have adopted from the bank industry) are:

• RiskmetricsTM VaR capture time varying volatility but not the conditional return distribution

• Historical Simulation VaR capture the return distribution but not the time varying volatility

•Alternatives:• GARCH with T, Skew T, or GED• CaViaR type models

•Although these models works fine according to several studies, there is a problem of calibrating these non-linear models and therefore they are only used to a very limited extent in practice

Why Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile

Regression?

Page 10: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

10

•In this paper we propose a robust and “easy to implement” approach for Value at Risk estimation based on;

• First running an exponential weighted moving average volatility model (similar to the adjustment done in RiskmetricsTM) and then

• Run a linear quantile regression model based on this conditional volatility as input/explanatory variable

•The model is easy to implement (can be done in a spreadsheet)

•This model also shows an excellent fit when backtesting VaR

Why Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile

Regression?

Page 11: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

11

Loss for a consumer or trader having a short position in German front Quarter Futures.

Oil prices ($/Ton)

One important task is to model and forecast the upper and lower tail of the price distribution using standard risk measures such as Value at Risk and Conditional Value at Risk for different quantiles (e.g. 0.1%, 1%, 5%, 10%, 90%, 95%, 99%, 99.9%).

Measuring Value at Risk / Quantiles

30

40

50

60

70

80

90

IV I II III IV I II III IV I II III IV I II III IV I II III

2009 2010 2011 2012 2013

el-Ger-Q

0

40

80

120

160

200

30 35 40 45 50 55 60 65 70 75 80 85 90

Loss for a producer or trader having a long position in German front Quarter Futures.

Page 12: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

12

•Previous work/literature of risk modelling of (energy) commodities•European Energy Futures Markets (crude oil, gas oil, natural gas, coal, carbon, and electricity) and Data/Descriptive Statistics

• ICE • ICE-ENDEX • EEX• Nasdaq OMX Commodities

•Volatility Adjusted Quantile Regression •Comparing / Backtesting Value at Risk analysis for Energy Commodities

• RiskMetricsTM

• Historical Simulation• Volatility Adjusted Quantile Regression

•Conclusions and further work

Layout for the presentation

Page 13: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

13

Literature

• Value at Risk analysis for energy and other commodities::

– Andriosopoulos and Nomikos (2011)– Aloui (2008)– Borger et al (2007)– Bunn et al. (2013)– Chan and Gray (2006)– Cabedo and Moya (2003)– Costello et al. (2008)– Fuss et al. (2010)– Giot and Laurent (2003)– Hung et al. (2008) – Mabrouk (2011)

• Quantile regression in general and applications in financial risk management:

– Alexander (2008)– Engle and Manganelli (2004)– Hao and Naiman (2007)– Koenker and Hallock (2001)– Koenker (2005)– Taylor (2000, 2008a, 2008b,2011)

We want to fill the gap in the literature by performing Value at Risk analysis for European Energy Futures using volatility adjusted quantile regression.

• Discussion weaknesses RiskMetrics and Historical Simulation during Financial Crises

– Sheedy (2008a, 2008b)

Page 14: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

14

Literature

TEXTBOOKS ENERGY MARKET MODELLING • Bunn D., 2004, Modelling Prices in Competitive Electricity Markets , Wiley• Burger, M., Graeber B., Schindlmayr, G. 2008, Managing energy risk – An integrated view on power and other energy markets, Wiley. • Eydeland A. and Wolyniec K., 2003, Energy and power risk management, Wiley• Geman H., 2005, Commoditites and commodity derivatives – Modelling and pricing for agriculturas, metals and energy, Wiley• Geman H., 2008, Risk Management in commodity markets – From shipping to agriculturas and energy, Wiley• Kaminski V., 2005, Managing Energy Price Risk – The New Challenges and Solutions, Risk Books• Kaminski V., 2005, Energy Modelling, Risk Books• Kaminski V., 2013, Energy Morkets, Risk Books• Pilipovic D., 2007, Energy risk – Valuation and managing energy derivatives, McGrawHill• Serletis A., 2007. Quantitative and empirical analysis of energy markets, Word Scientific• Weron R., 2006, Modeling and Forecasting Electricity Loads and Prices: A Statistical Approach, Wiley

Page 15: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

15

European Energy Futures and Options Markets

ICE: www.theice.com

ICE-ENDEX: www.iceendex.com

EEX: www.eex.com

Nasdaq OMX commodities: www.nasdaqcommodities.com

Page 16: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

16

Page 17: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

17

Data and descriptive statistics

Front Futures Contracts

20

40

60

80

100

120

140

IV I II III IV I II III IV I II III IV I II III IV I II III

2009 2010 2011 2012 2013

CRUDEOIL

200

400

600

800

1,000

1,200

IV I II III IV I II III IV I II III IV I II III IV I II III

2009 2010 2011 2012 2013

GASOIL

Page 18: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

18

10

20

30

40

50

60

70

80

IV I II III IV I II III IV I II III IV I II III IV I II III

2009 2010 2011 2012 2013

NATURALGAS

60

80

100

120

140

IV I II III IV I II III IV I II III IV I II III IV I II III

2009 2010 2011 2012 2013

COAL

Data and descriptive statisticsFront Futures Contracts

Page 19: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

19

0

5

10

15

20

25

30

IV I II III IV I II III IV I II III IV I II III IV I II III

2009 2010 2011 2012 2013

CARBON

Data and descriptive statistics Phase II Dec 2013 Futures Contract

Page 20: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

20

20

40

60

80

100

120

140

IV I II III IV I II III IV I II III IV I II III IV I II III

2009 2010 2011 2012 2013

el-UK-M el-UK-Q

Data and descriptive statisticsUK Base Front Month and Quarter Futures Contracts

Page 21: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

21

30

40

50

60

70

80

90

100

IV I II III IV I II III IV I II III IV I II III IV I II III

2009 2010 2011 2012 2013

el-Ned-M el-Ned-Q

Data and descriptive statisticsDutch Base Front Month and Quarter Futures Contracts

Page 22: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

22

20

30

40

50

60

70

80

90

IV I II III IV I II III IV I II III IV I II III IV I II III

2009 2010 2011 2012 2013

el-Ger-M el-Ger-Q

Data and descriptive statistics German Base Front Month and Quarter Futures Contracts

Page 23: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

23

10

20

30

40

50

60

70

80

90

100

IV I II III IV I II III IV I II III IV I II III IV I II III

2009 2010 2011 2012 2013

el-Nor-M el-Nor-Q

Data and descriptive statistics Nordic Base Front Month and Quarter Futures Contracts

Page 24: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

24

Data and descriptive statistics

• Returns are calculated as relative price changes ln(Pt/Pt-1) for crude oil, gas oil, natural gas, coal, carbon, month and quarter base contracts for UK, Nederland, Germany, and the Nordic market

• Returns when contract rolls over are deleted

Page 25: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

25

Data and descriptive statistics• Mean, Stdev, Skew, Kurt, Min, Max, Empirical 5% and 95%

quantiles are estimated for all series in the following periods:– 13Oct2008 to 30Dec2008– 2009– 2010– 2011– 2012– 02Jan2013 to 30Sep2013– 13Oct2008 to 30Sep2013

• Questions in mind: – How do return distributions varies across energy

commodities?– How do energy commodity distributions changes over

time?

Page 26: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

26

Data and descriptive statisticsExample of analysis: German and Nordic Rolling Base Front Quarter Contracts

EL_GER_QPeriod Average Stdev Skew Kurtosis Min 5% VaR 95% VaR Max

13Oct08 - 30Dec08 -0.74 % 2.05 % 0.00 -0.57 -4.38 % -4.13 % 2.26 % 3.68 %2009 -0.20 % 1.68 % 0.01 4.81 -8.50 % -2.56 % 2.30 % 7.23 %2010 0.08 % 1.20 % 1.41 4.30 -2.87 % -1.36 % 2.53 % 6.64 %2011 -0.10 % 1.06 % -0.26 5.72 -5.97 % -1.52 % 1.51 % 4.82 %2012 -0.05 % 1.06 % 2.40 16.31 -3.08 % -1.44 % 1.30 % 8.11 %

02Jan13 - 30Sep13 -0.04 % 0.93 % 1.10 5.88 -2.66 % -1.38 % 1.38 % 5.39 %13Oct08 - 30Sep13 -0.09 % 1.28 % 0.38 6.63 -8.50 % -1.87 % 1.94 % 8.11 %

EL_NOR_MPeriod Average Stdev Skew Kurtosis Min 5% VaR 95% VaR Max

13Oct08 - 30Dec08 -0.46 % 3.50 % 0.48 -0.63 -5.56 % -5.09 % 6.15 % 7.26 %2009 0.01 % 2.72 % -0.34 3.20 -14.21 % -4.31 % 4.27 % 7.97 %2010 0.31 % 3.09 % -0.19 2.05 -10.66 % -4.48 % 5.62 % 10.57 %2011 -0.49 % 3.17 % 0.02 2.41 -12.76 % -5.53 % 4.97 % 10.61 %2012 -0.16 % 3.62 % -0.19 2.20 -16.71 % -6.29 % 4.81 % 12.22 %

02Jan13 - 30Sep13 0.09 % 2.18 % -0.17 2.20 -7.80 % -3.29 % 3.45 % 7.75 %13Oct08 - 30Sep13 -0.07 % 3.06 % -0.16 2.44 -16.71 % -4.88 % 5.09 % 12.22 %

Page 27: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

27

• High return volatility for energy commodities. Annualized values much higher than for stocks and currency markets, specially for short term natural gas and electricity contracts

• Fat tails for all energy commodities. Some energy commodities have mainly negative skewness (e.g. crude oil), others positive (e.g natural gas)

• Return distribution of energy commodities varies a lot over time, hence the evolution of empirical VaR over time

Data and descriptive statistics

• Risk modeling of energy commodities will be very challenging. Need models that capture the dynamics of changing return distribution over time

Page 28: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

2828

• Quantile regression was introduced by a paper in Econometrica with Koenker and Bassett (1978) and is fully described in books by Koenker (2005) and Hao and Naiman (2007)

• Applications in financial risk management (stocks / currency markets) can be found by Engle and Manganelli (2004), Alexander (2008), Taylor (2008)

Quantile regression

Page 29: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

2929

Quantile regression

,1

( )( ( ))

where

1 if

0 otherwise

t t

t t

T

Y X t tt

t tY X

Min q Y X

Y X

1

1

-0.15

-0.1

-0.05

0

0.05

0.1

0.15

-0.15 -0.1 -0.05 0 0.05 0.1 0.15

0.1, 0.5, and 0.9 quantile regression lines.

The lines are found by the following minimizing the weighted absolute distance to the qth regression line:

Yqt = αq+βqXt+εq

t

Page 30: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

30

1) Calculate Exponentially Weighted Moving Average of Volatility

2) Run a Quantile Regression Regression with the Exponentially Weighted Moving Average of Volatility as the explanatory variable

3) Predict the VaRqt+1 from the model

Volatility Adjusted Quantile Regression

Page 31: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

3131

Returns and EWMA VolatilityExample El_Ger_Q

This is just an Excel illustration. Qreg procedures in R, Stata, Eviews etc. should be used instead

Page 32: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

32

Returns and EWMA VolatilityExample GasOil

-.12

-.08

-.04

.00

.04

.08

.12

.00 .01 .02 .03 .04 .05

VOL_GASOIL

GASO

IL

Page 33: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

33

Returns and EWMA VolatilityExample GasOil Distribution forecast from

volatility adjusted quantile regression

Quantile Process EstimatesEquation: UNTITLEDSpecification: GASOIL C VOL_GASOILEstimated equation quantile tau = 0.5User-specified process quantiles: 0.05 0.95Display all coeffi cients

Quantile Coeffi cientStd. Error t-Statistic Prob.

C 0.05 -0.00659 0.002382 -2.76633 0.00580.5 1.91E-17 0.00121 1.58E-14 1

0.95 -0.00211 0.002865 -0.73558 0.4621VOL_GASOIL 0.05 -1.2908 0.143908 -8.96964 0

0.5 -8.88E-16 0.080785 -1.10E-14 10.95 1.817529 0.196083 9.269201 0

Todays EWMA vol is 2% on a daily basis.What is 5%, 95% 1 day VaR given our model?

Var5% = -0.006589 % - 1.290804*2% = -2.59%Var5% = -0.002108 % + 1.817529 *2% = 3.63%

Similar equations are found for all the quantiles

Page 34: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

34

Comparing Value at Risk models for energy

commodities

•VaR Models • RiskMetricsTM

• Historical Simulation • Volatility Adjusted Quantile Regression

•Backtesting Value at Risk Models• Kupiec Test• Christoffersen Test

Page 35: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

35

• It is easy to estimate VaR once we have the return distribution

• The only difference between the VaR models are due to the manner in which this distribution is constructed

Comparing Value at Risk models for energy

commodities

Page 36: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

36

– RiskMetricsTM

•Analytically tractable, adjustment for time-varying volatility, but assumption of normally distributed returns for energy commodities is not suitable

Comparing Value at Risk models for energy

commodities

Page 37: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

37

• VaRα=Ф-1(α)*σt

• Volatility changes dynamically over time and needs to be updated. For this reason many institutions use an exponentially weighted moving average (EWMA) methodology for VaR estimation, e.g. using EWMA to estimate volatility in the normal linear VaR formula

• These estimates take account of volatility clustering so that EWMA VaR estimates are more risk sensitive

RiskMetricsTM

Page 38: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

38

Example: RiskMetricsTM for gasoil

Page 39: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

39

– Historical simulation •Makes no assumptions about the

parametric form of the return distribution, but do not make the distribution conditional upon market conditions / volatility

Comparing Value at Risk models for energy

commodities

Page 40: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

40

Historical Simulation1. Choose a sample size to reflect current market

conditions (Banks usually use 3-5 years)

2. Draw returns from the empirical distribution and calculate VaR for each simulation

3. Use the average VaR for all simulation (you alsp get the distribution of VaR as an outcome)

– Also called bootstrapping

Page 41: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

41

Example:Historical Simulation for

gasoil

Page 42: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

42

• Volatility Adjusted Quantile Regression •Allows for all kinds of distributions (semi

non-parametric method) and allow the distribution to be conditional upon the volatility/changing market condition

Comparing Value at Risk models for energy

commodities

Page 43: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

43

1) Calculate Exponentially Weighted Moving Average of Volatility

2) Run a Quantile Regression Regression with the Exponentially Weighted Moving Average of Volatility as the explanatory variable

3) Predict the VaRqt+1 from the model

Volatility Adjusted Quantile Regression

Page 44: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

44

Example:Vol-adjusted QREG for gasoil

Page 45: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

45

• Backtesting refers to testing the accuracy of a VaR model over a historical period when the true outcome (return) is known

• The general approach to backtesting VaR for an asset is to record the number of occasions over the period when the actual loss exceeds the model predicted VaR and compare this number to the pre-specified VaR level

Backtesting VaR ModelsIn sample analysis

Page 46: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

46

Backtesting VaR ModelsExample Front Quarter Futures Nordic

Page 47: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

47

Backtesting Value at Risk Models

• A proper VaR model has:• The number of exceedances as close

as possible to the number implied by the VaR quantile we are trying to model

• Exceedances that are randomly distributed over the sample (that is no “clustering” of exceedances). We do not want the model to over/under predict VaR in certain periods

Page 48: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

48

• To validate the predictive performance of the models, we consider two types of test:

• The unconditional test of Kupiec (1995)

• The conditional coverage test of Christoffersen (1998)

• Kupiec (1995) test whether the number of exceedances or hits are equal to the predefined VaR level. Christoffersen (1998) also test whether the exceedances/hits are randomly distributed over the sample

Backtesting VaR Models

Page 49: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

49

Backtesting Value at Risk Models – Kupiec Test

The Kupiec (1995) test is a likelihood ratio test designed to reveal whether the model provides the correct unconditional coverage.

More precisely, let Ht be a indicator sequence where Ht takes the value 1 if the observed return, Yt, is below the predicted VaR quantile, Qt, at time t

1 if

0 if Yt t

tt t

Y QH

Q

Page 50: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

50

Backtesting Value at Risk Models – Kupiec Test

Under the null hypothesis of correct unconditional coverage the test statistic is

Where n1 and n0 is the number of violations and non-violations respectively, πexp is the expected proportion of exceedances and πobs = n1/(n0+n1) the observed proportion of exceedances.

20 exp 1 exp 0 obs 1 obs 12ln 2 ln 1 π ln π ln 1 π ln π ~χucLR n n n n

Page 51: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

51

Backtesting Value at Risk Models – Christoffersen test

• In the Kupiec (1995) test only the total number of ones in the indicator sequence counts, and the test does not take into account whether several quantile exceedances occur in rapid succession, or whether they tend to be isolated.

• Christoffersen (1998) provides a joint test for correct coverage and for detecting whether a violations are clustered or not.

Page 52: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

52

Backtesting Value at Risk Models – Christoffersen test

The test statistic is defined as follows:

where nij represents the number of times an observations with value i is followed by an observation with value j (1 is a hit, 0 is no hit). Π01=n01/(n00+n01) and Π11=n11/(n11+n10). Note that the LRcc test is only sensible to one violation immediately followed by other, ignoring all other patterns of clustering. There has now been established tests that test for other forms of patters.

Page 53: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

53

Kupiec (95) and Christoffersen (98) tests Example Front Quarter Futures Nordic

Page 54: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

5454

Backtesting Value at Risk Models Model Comparison

Example Front Quarter Futures Nordic

el_nor_q

Model VaR Level Kupiec ChristoffersenRiskMetrics 5.00 % 0.98 7.69

95.00 % 0.01 5.31Historical Sim 5.00 % 0.74 5.61

95.00 % 0.74 3.97Vol Adjusted Qreg 5.00 % 0.01 7.66

95.00 % 0.04 3.62

Critical Values Kupiec1 % 5 % 10 %6.63 3.84 2.71Critical Values Christoffersen1 % 5 % 10 %9.21 5.99 4.61

Page 55: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

55

Backtesting Value at Risk Models

Model Comparison

55

• Preliminary results show:

• RiskMetricsTM capture the conditional coverage for crude oil, gas oil, natural gas, coal, carbon but not for most of electricity contracts.

• Historical Simulation gives a better unconditional coverage but fails (largely) on the unconditional coverage (exceedances are clustered)

• Volatility Adjusted Quantile Regression gives the best unconditional and conditional coverage. For some of the electricity contracts there are some indication of clustering of exceedances though.

Page 56: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

56

Conclusion

56

• Stylized facts shows that European Energy Futures returns have very different dynamics regarding the return distribution.

• For a given energy commodity, the conditional distribution changes over time.

• RiskmetricsTM most of the volatility dynamics but not the distribution. Historical Simulation capture the unconditional distribution but not the volatility dynamics. Volatility Adjusted Quantile Regression capture to a large extend both properties as the distribution is made conditional upon volatility/market conditions.

Page 57: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

57

Further Work• Non-Linear Copula Quantile Regression for investigating the returns-volatility relationship following ideas of Alexander (2008)

• Multivariate risk analysis for portfolios (e.g. many electricity futures contracts) using Borger et al (2007) as a starting point. One idea is to apply the following setup:

1. First run Principal Component Analysis for the factors2. Then run volatility filtering (e.g. EWMA) on the components3. Then run Quantile Regression on the filtered components

Page 58: 1 Value at Risk Modelling for Energy Commodities using Volatility Adjusted Quantile Regression Energy Finance Conference Essen Thursday 10 th October 2013

58

Questions?

Mail: [email protected]: www.iot.ntnu.no/users/sjurw

Phone: +47 73598183 or +47 91897096