Professional Documents
Culture Documents
EFB334 Lecture02, Financial Statistics
EFB334 Lecture02, Financial Statistics
Derivatives
Lecture 02
Financial Statistics
Unit Content
Week 1: Introduction to Risk, Risk Management and Derivatives
Week 2: Financial Statistics
Week 3: Value-at-Risk 1
Week 4: No Classes Ekka Public Holiday
Week 5: Value-at-Risk 2
Week 6: Forwards and Futures: commodity and equity
Week 7: Forwards and Futures: interest rates
Week 8: Mid-Semester Exam and Reflective Practices
Week 9: Swaps: interest rate
Week 10: Options: introduction and pricing with the binomial
model
Week 11: Options: pricing with the Black-Scholes model
Week 12: Options: trading strategies and risk management
Week 13: Derivative Disasters
2
Week 14: Revision
Lecture Outline
Prices and Returns:
Definitions
Measuring Returns
Preference to using Returns
Downloading Data
Distributional Characteristics
Simulating Prices and Returns
Time Varying volatility
Readings:
RiskMetrics (1996) Technical Document, pp. 5-9, 45-56, 64-72, 77-88 and
93-101. Skim pp.21-30. Note: use the lecture notes as a guide to what to
focus on.
Hull et al. (2013) Fundamentals of Futures and Options, Ch. 20, pp. 419-431
and 436-442. Mathematical Appendix, pp-531-538.
Note: use the lecture notes as a guide to what to focus on through these
topics.
3
Definitions
Price Definition
The current price at which an asset or service can be
bought or sold (Investopedia http://
www.investopedia.com/terms/m/market-price.asp ).
Note that Investopedia defines market price. I would
contend that price is the amount at which a transaction
can occur (quoted price) or has occurred (historical price).
Return Definition
When a price change is defined relative to some initial
price, it is known as a return (RiskMetrics, 1996, p. 45).
A measure of the price change over a holding period.
Measuring Returns
Given
the price at , , and price from previous period, ,
Measuring Returns
Log Returns are also known as continuously
compounding returns. This is shown from
,
continuous compounding
,
,
,
and
Downloading Data
Time to get some prices and calculate some
returns:
Source:
http://finance.yahoo.com/
Stock:
CBA cba.ax in yahoofinance
Go to:
Historical Data
Download:Daily prices from now to sometime a long, long
time
ago (e.g. 90s).
Open/Save: Open CSV file then save as XLSX file
Information: Date, Open, High, Low, Close, Volume and
Adjusted Close (dividend and split adjusted)
Sort:
Default is for last date quoted first. Change this to
first date first.
Clean:
Frequency issues and formatting
Note:
Start and end dates and no. of observations
8
Downloading Data
No trade day
Date order
Formatting
9
Downloading Data
are not daily prices and theres no volume. Maybe a data issue given that the da
so so long ago the 90s Need to clean data for poor collection and non-tradin
el, I will use an IF function to clean data. For example =IF(F2=0,1,0)
10
Downloading Data
Ive used the
Filter to
display nontrade days
=IF(F7=0,1,0)
Downloading Data
Calculate Returns
Price Used:
To start, we will use adjusted close price.
This
ensures that the returns calculated adjust for
dividends and splits. Note that in adjusting these prices,
they do not reflect actual market prices.
Returns: To start, we will calculate dollar, simple and log
returns for comparison.
Plot: A line graph of prices and returns (log).
Characteristics include: Prices meander (dont
mean
revert), Returns have a mean and finite variance,
although variance changes through
time.
Plot: A histogram of prices and returns (log)
Highlight price distribution changes through time and is
non-symmetric while the return
distribution is somewhat
stable and symmetric.
12
Downloading Data
Minor difference in Rt and rt
can be noted.
13
Distributional
Characteristics
have a sample mean but do we expect prices to consistently revert back to this
No! More to say later
14
Distributional
Characteristics
All show similar patterns up to and including
Distributional
Characteristics
Creating Histograms / Using Array Functions
Frequency(Data, Bins)
It is an array function, and theyre hard to use.
When finished writing the function, you have to hit
CTRL, SHIFT and ENTER at the same time to get it to
work
You then highlight your whole output range, hit F2
and then press CTRL, SHIFT and ENTER again to
complete.
Practice, practice, practice and then practice some
more
16
Distributional
Characteristics
The characteristics of the price distribution
Distributional
Characteristics
Things to
note:
stdev measures sample standard deviation
kurt measures excess kurtosis, i.e. kurtosis in excess of the normal dist.s 3
mean p.a. = mean daily x 252 there are 252 trading days
Stdev p.a. = stdev daily x - it is variance that scales by 252
18
Distributional
Characteristics
A
random walk is a special statistical model that
describes the movement of a random variable over time
where the change over successive steps is a random
shock.
We use the terminology loosely in finance, as a true
random walk has specific requirements around the
random shock.
Anyway, the model in terms of prices is:
where:
is the mean return
scales the shocks standard deviation
19
Distributional
Characteristics
Price:
Conditional Mean
20
Distributional
Characteristics
Price: Unconditional Mean
Result: Prices are non-stationary as their mean and variance change through time
and blow-up as .
21
Distributional
Characteristics
Returns:
Conditional Mean
22
Distributional
Characteristics
Returns:
Unconditional Mean
23
24
where:
25
Returns,
where:
note:
28
Returns,
29
33
34