ECON90033 Quantitative Analysis of Finan
ECON90033 Quantitative Analysis of Finan
ECON90033 Quantitative Analysis of Finan
Barry Rafferty
Semester 2, 2015
1 / 43
Course information
Prerequisite:
ECON20003 Quantitative Methods 2 or equivalent
Contact:
Lecture: One 2-hour lecture per week
One 1-hour tutorial per week, beginning in the second week
Tutor consultation hours (see LMS and subject guide)
Lecturer consultation hours (Wednesday 10am-12pm, FBE
352)
Online tutor (link on the LMS)
Lecture recordings (link on the LMS)
2 / 43
Course information
Main reading:
- Lecture slides
Prescribed text:
- None
Optional reading:
Brooks, C. (2014) Introductory Econometrics for Finance, 3rd
Edition, Cambridge
Background reading
Stock, J.H. and Watson, M.H. (2011) Introduction to
Econometrics, 3rd Edition, Addison-Wesley, Boston.
Hill, R.C., Griffiths, W.E. and Lim, G.C. (2011) Principles of
Econometrics, 4th Edition, Wiley.
3 / 43
Course information
Tutorials:
Start in week 2
Sign up now, using the student portal
Tutorial exercises will involve the use of the computer software
package EViews
AIM: Develop practical skills implementing the techniques
learnt in the lectures to applications in finance and properly
interpreting the results
Assessment:
1-hour mid-semester exam in class in week 7 (worth 15%)
Assignment due in week 9 (worth 25%)
2-hour final exam to be held during the exam period (worth
60%)
5 / 43
Mid-semester assignment
6 / 43
Course outline
Lecture Schedule (Tentative)
Lecture Slides
7 / 43
Financial data: An introduction
Financial variables: Stock prices, dividends, earnings, stock
returns, exchange rates, commodity prices, bond yields,
trading volumes, etc
9 / 43
Time series data in finance
10 / 43
A first look at the data: Prices
Asset prices are very important in finance:
The cost of a financial instrument
Any change in price results in a profit or loss for an investor
2,000
1,600
1,200
800
400
0
1950 1960 1970 1980 1990 2000 2010
12 / 43
A first look at the data: Prices
Some things to pay attention to:
Prices (Pt ) are rising over the sample period, from 17.05 in
January 1950 to 1859.45 in February 2014
The time path seems to be trending upwards, with long run
growth. The rate of increase in Pt looks to be increasing
As a first approximation, this general shape could be captured
by an exponential trend:
Pt = Pt−1 exp(r )
where r is viewed as a constant growth rate in Pt
To see why, it is viewed as a growth rate, rearranging gives
Pt − Pt−1
= exp(r ) − 1 ≈ r
Pt−1
since exp(r ) ≈ (1 + r ) for small values of r
13 / 43
A first look at the data: Prices
14 / 43
A first look at the data: Prices
1868.983 − 1859.45
100 × = 0.513%
1859.45
15 / 43
A first look at the data: Prices
We can also analyse the long run time series behaviour of
asset prices, by plotting the logarithm of price over time. The
figure below shows the log of the S&P 500 index
Log Equity Price Index
8
2
1950 1960 1970 1980 1990 2000 2010
log Pt = log P0 + rt
pt = p0 + rt
17 / 43
A first look at the data: Returns
18 / 43
A first look at the data: Returns
Discrete returns:
The simple return on an asset between time t − 1 and t is
Pt − Pt−1 Pt
Rt = = −1
Pt−1 Pt−1
The compound return for n periods, Rn,t , is
Pt
Rn,t = −1
Pt−n
Pt Pt−1 Pt−(n−2) Pt−(n−1)
= × × ··· × × −1
Pt−1 Pt−2 Pt−(n−1) Pt−n
= (1 + Rt ) × (1 + Rt−1 ) × · · · × (1 + Rt−(n−1) ) − 1
n−1
Y
= (1 + Rt−j ) − 1
j=0
19 / 43
A first look at the data: Returns
20 / 43
A first look at the data: Returns
Continuous returns:
It is often easier to work with continuous or log returns than
with discrete returns
The log return on an asset is
For small values of Rt , the two measures (rt and Rt ) are very
close to each other, since log(1 + Rt ) ≈ Rt
Log returns are also referred to as continuously compounded
returns. This makes compounding returns extremely simple
21 / 43
A first look at the data: Returns
22 / 43
A first look at the data: Returns
Some examples:
If rt is a monthly return, the annual return is
23 / 43
A first look at the data: Returns
24 / 43
A first look at the data: Returns
The following figure gives the monthly log returns on the S&P
500 index for the U.S. over the period January 1950 to
February 2014
.1
.0
-.1
-.2
-.3
1951 1961 1971 1981 1991 2001 2011
25 / 43
A first look at the data: Returns
26 / 43
A first look at the data: Financial distributions
An important assumption in many theoretical and empirical
models in finance is that returns are normally distributed
Important in portfolio allocation models, in Value-at-Risk
(VaR) calculations, in pricing options, and other applications
An example of an empirical return distribution is given by the
histogram of log returns to the S&P 500 index below
RETURNS
12
10
8
Density
0
-.3 -.2 -.1 .0 .1 .2 .3 27 / 43
A first look at the data: Financial distributions
28 / 43
Importance of return distributions
.2
.1
.0
-.1
-.2
-.3
1950 1960 1970 1980 1990 2000 2010
1,600
1,200
800
400
0
1950 1960 1970 1980 1990 2000 2010
34 / 43
Summary statistics: Sample skewness
rt − E (rt ) 3
SK = E
σr
35 / 43
Summary statistics: Sample skewness
RETURNS
12
10
Density 6
0
-.3 -.2 -.1 .0 .1 .2 .3
38 / 43
Summary statistics: Sample covariance
It is often important to understand the interrelationships
between two or more financial time series
For example, in constructing diversified portfolios, the aim is
to include assets that are not perfectly correlated
A measure of the co-movements between the returns on two
assets, rit and rjt , is the sample covariance:
T
1 X
σ̂ij = (rit − r¯i )(rjt − r¯j )
T
t=1
where r¯i and r¯j are the sample means of the log returns on
assets i and j
This is an estimate of the population covariance:
σij = E {[rit − E (rit )][rjt − E (rjt )]}
39 / 43
Summary statistics: Sample correlation
where
T T
1 X 1 X
σ̂i2 = (rit − r¯i )2 , σ̂j2 = (rjt − r¯j )2
T T
t=1 t=1
−1 ≤ ρ̂ij ≤ 1
40 / 43
The efficient markets hypothesis: Return predictability
41 / 43
The efficient markets hypothesis: Return predictability
The autocorrelation statistic measures the strength of
co-movements between current returns (rt ) and returns on the
same asset k periods earlier (rt−k )
1 PT
ˆ (k) = T t=k+1 (rt − r¯)(rt−k − r¯)
acf 1 PT 2
T t=1 (rt − r¯)
The numerator represents the autocovariance of returns k
periods apart and the denominator represents the variance of
returns
If returns exhibit no autocorrelation, then future returns are
unpredictable
If returns exhibit positive (negative) autocorrelation, then
successive values of returns tend to have the same (opposite)
sign and this pattern can be exploited in predicting the future
behaviour of returns
42 / 43
The efficient markets hypothesis: Return predictability
43 / 43