volatility, sd and ewma

28
Volatility & Approaches to estimating volatility Books: 1. Jhon C Hull , Options, futures and other derivatives – Chapter 21 OR 2. Quantifying volatility in value at risk models - Linda, Jacob, and Saunders (Ch 2)

Upload: hassan-tariq

Post on 15-Oct-2014

130 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: Volatility, SD and EWMA

Volatility &Approaches to estimating

volatility

Books:1. Jhon C Hull , Options, futures and other derivatives – Chapter 21

OR2. Quantifying volatility in value at risk models - Linda, Jacob, and Saunders

(Ch 2)

Page 2: Volatility, SD and EWMA

What is Volatility

• Volatility is a statistical measure of the tendency of a market or security to rise or fall sharply within a period of time

• Volatility has a huge use in finance and at a basic level is a proxy for the riskiness of an asset.

• Measure of volatility includes standard deviation, variance rate, beta etc

Page 3: Volatility, SD and EWMA

Why study volatility

• Volatility is important in• value-at-risk models• valuation of derivatives• And capital assets pricing models

Page 4: Volatility, SD and EWMA

How to measure current volatility

• Current volatility can be measured• A. From current market prices (implied

volatility)• B. From historical data

Page 5: Volatility, SD and EWMA

A. Implied Volatility

• Using black-scholes model, we can solve for volatility

• Given the current market price, model can generate a volatility value

• This value is implied by market price

Page 6: Volatility, SD and EWMA

B. Historical

• Another approach is to use historical data and calculate volatility

• Under historical approach, volatility can be either:– B.1Unconditional or– B.2 Conditional

Page 7: Volatility, SD and EWMA

B.1 Unconditional

• If today’s volatility does not depend upon yesterday’s volatility, it is said to be unconditional

• Empirical research shows that volatility is conditional in many cases

Page 8: Volatility, SD and EWMA

B.2 Conditional

• Conditional volatility is more realistic• Conditional volatility value depends to some

extent on the previous periods volatility• Conditional volatility can be:– B.2.1 unweighted (simple sta. Deviation)– B.2.2 Weighted (EWMA, GARCH)

Page 9: Volatility, SD and EWMA

B.2.1 Unweighted (Simple Standard Deviation)

• This measure computes the variance of the series (and the square root of the variance will be the standard deviation, or volatility)

• Gives equal weight to all past data points• Too democratic

Page 10: Volatility, SD and EWMA

B.2.2 Weighted (EWMA, GARCH)

• These measures assign more weights to recent data points and less weights to distant data points

• The reason is that current volatility is more related to recent past than to distant past

Page 11: Volatility, SD and EWMA
Page 12: Volatility, SD and EWMA

Method of calculating volatility - Historic al

• Volatility can be calculated from past data using three most widely used methods

• 1. Simple variance method• 2. EWMA• 3. GARCH(x,y)• The first step in all three method is calculate a

series of periodic returns

Page 13: Volatility, SD and EWMA

Calculating returns

• Daily market returns can be expressed either in the form of percentage increase in log form

• The percentage method =• Ui = Periodic return

• Si = Today’s price

• Si-1 = Previous period’s price of a security

1

1

i

iii S

SSU

Page 14: Volatility, SD and EWMA

Continuously compounded returns

• Continously compounded returns are expressed in log form as follows:

• ui= ln(Si / Si-1)

• Ui is expressed in continuously compounded terms

Page 15: Volatility, SD and EWMA

1. Simple variance

• The most commonly used measure for variability (volatility) in return is variance or standard deviation

m

iin

m

iinn

um

u

uum

1

1

22

1

)(1

1

Page 16: Volatility, SD and EWMA

• Statisticians show that the variance formula can be reduce to the following form

• The above measure is simply the average of the squared returns

• In calculating the variance, each squared return is given equal weight

m

i in um 1

22 1

1. Simple variance

Page 17: Volatility, SD and EWMA

Tip: Weighted average and simple average

• Where weights of each observation is equal, we can calculate the weighted average through simple average

• OR• When we use simple average, every

observation is given equal weight by default

Page 18: Volatility, SD and EWMA

• So if alpha is a weight factor, then simple variance look like

• The problem with this method is that the yesterday return has the same weight as the last month’s return

1. Simple variance

Page 19: Volatility, SD and EWMA

Weighting scheme

• Since we are interested in current level of volatility, it makes more sense to give more weight to recent returns

• A model that does so look like

n i n ii

m

ii

m

u2 2

1

1

1

where

Page 20: Volatility, SD and EWMA

Exponentially weighted moving average

• The problem of equal weights is fixed by the exponentially weighted moving average (EWMA)

• More recent returns have greater weights on the variance

• The exponentially weighted moving average (EWMA) introduces lambda, called the smoothing parameter

• Under that condition, instead of equal weights, each squared return is weighted by a multiplier as follows

Page 21: Volatility, SD and EWMA

The commonly used measure of lambda is 0.94. in that case, the first (most recent) squared periodic return is weighted by (1-0.94)(.94)0 = 6%. The next squared return is simply a lambda-multiple of the prior weight; in this case, 6% multiplied by (.94)1 = 5.64%. And the third prior day’s weight equals (1-0.94)(0.94)2= 5.30%.

Page 22: Volatility, SD and EWMA

• That’s the meaning of “exponential” in EWMA: each weight is a constant multiplier of the prior day’s weight

• This ensures a variance that is weighted or biased toward more recent data.

• As we increase lambda, the weight of recent returns in volatility decreases

Page 23: Volatility, SD and EWMA

EWMA Model

Steps for carrying out EWMA, of daily returns

• Calculate periodic returns• Square the periodic returns to get the

variance (square of the Standard Deviation)• Since simple variance is the average of

squares of periodic returns, so we square the periodic returns

Page 24: Volatility, SD and EWMA

m

i in um 1

22 1

• Assign a value of lambda which should be greater than zero and less than one, basically implying how much effect the previous day’s information will have on today’s volatility

• Now we calculate the weights of the periodic returns according to the recency

• So the most recent periodic return, which is perhaps yesterday’s return is weighted as 6% . i.e. (1-0.94)o.94^0

• This weight decreases as we move from most recent to relatively older returns, and over a significant number of observations, (may be 2 to 3 years’ data) the sum of these weights will become 100%

Page 25: Volatility, SD and EWMA

• Multiply each periodic return with its respective weight to get recency weighted periodic return, (remember in simple variance this weight was ONE)

• Finally add the products above to get the variance , to get volatility we shall take the square root of this variance.

Page 26: Volatility, SD and EWMA

EWMA Model• The weighting scheme leads us to a formula for updating

volatility estimates

• The first term shows volatility in the previous period and the second term shows news shock of the previous period

• Suppose there is a big move in the market variable on day n-1, so the U2

n-1 is large

• This will cause estimate of the current volatility to move upward

21

21

2 )1( nnn u

Page 27: Volatility, SD and EWMA

Recency or Sample Size?

• Weighted schemes assign greater weights to more recent data points (variances).

• There is a trade-off between sample size and recency.

• Larger sample sizes are better but they require more distant variances, which are less relevant.

• On the other hand, if we only use recent data, our sample size is smaller.

Page 28: Volatility, SD and EWMA

Lambda

• The value of lambda governs how responsive the estimate of the daily volatility is to the most recent daily percentage change

• A low value of lambda leads to a great deal of weight being given to the u2

• RiskMetrics database, created by J. P. Morgan uses a value of lambda =0.94