TCH442E Quantitative Methods For Finance
TCH442E Quantitative Methods For Finance
TCH442E
QUANTITATIVE
METHODS FOR FINANCE
Quantitative
methods for Applied Econometrics is the application of mathematics and
statistical methods to data in order to:
1
2
10/30/2021
Course learning
outcomes
• Become familiar with the basic
econometrics techniques to conduct and
evaluate a wide range of applied
econometric research and to apply them in
finance research area.
Textbooks:
W. H. Greene. Econometric Analysis, 5th Edition, Prentice Hall
International, 2003.
J. Wooldridge. Introductory Econometrics: A Modern Approach, 4th
Edition, South-Western Cengage Learning, 2006. (Simple/Less Math)
4
2
4
10/30/2021
Data
Data used by
econometricians Experimental (e.g. controlled
can be:
experiment).
Observational (e.g. survey).
Data are
typically Cross-section data.
organised in
different forms:
Time series data.
Panel data.
6
3
6
10/30/2021
2000 x x
2001 x x
2002 x x
4
8
10/30/2021
Panel Data
Year id Income Hours
2000 1 x x
2000 2 x x
2000 3 x x
2001 1 x x
2001 2 x x
2001 3 x x
2002 1 x x
2002 2 x x
2002 3 x x
LINEAR
REGRESSION
MODEL
10
5
10
10/30/2021
Estimation.
Inference includes: Hypothesis testing.
Confidence intervals.
11
11
6
12
10/30/2021
13
13
7
14
10/30/2021
n 2
min yi ( ˆ0 ˆ1x)i
ˆ0,ˆ1 i1
1
15
15
1
16
8
16
10/30/2021
First Derivative:
ui
2( y i ˆ0 ˆ1x i) 0
ˆ
0
ui
2 ( y i ˆ0 ˆ1 xi )x i 0
ˆ1
1
17
17
yi
i nˆ0 ˆ1 xi
i
i i i
n y i x i y i x i (x i x) ( y i y)
̂1 i i i
i i
n xi ( x i ) (x
2 2 2
i x)
i i i
ˆ0 y ˆ1x
18
9
18
10/30/2021
19
The slope implies that districts with one more student per
teacher on average have test scores that are 2.28 points lower.
Test score
That is, = –2.28
STR
The intercept implies that districts with zero STR would have
a (predicted) test score of 698.9. The intercept is not always
economically meaningful.
1
20
10
20
10/30/2021
One of the districts in the data set is Antelope, CA, for which
STR = 19.33 and Test Score = 657.8
Predicted value: Yˆ
Antelope= 698.9 – 2.2819.33 = 654.8
Residual: uˆAntelope = 657.8 – 654.8 = 3.0 22
21
Questions: How well does the model fit the data? Is OLS
a “good” estimator, what are its properties?
• Measures of fit.
• Sampling distribution of OLS estimator.
22
11
22
10/30/2021
Measures of Fit
How well does the regression line fit the data?
23
23
Derivation of R2
R2 measures the fraction of the sample variance of Y that is
“explained” by the regression model.
R2 = 1-RSS/TSS= = i1
n
TSS
(Y i Y )2
i1
12
24
10/30/2021
Example of R2
25
Adjusted R2
Problem: adding regressors with any additional explanatory
power necessarily raises the R2, but this increase is artificial and
inflates the apparent explanatory power of the model.
Adjusted R2 :
2 n 1 SSR
R 1
n k 1 TSS
13
26
10/30/2021
28
27
14
28
10/30/2021
Assumption 1: E(u|X = x) = 0
For any given value of X, the mean value of u is zero:
29
15
30
10/30/2021
31
31
32
16
32
10/30/2021
33
34
17
34
10/30/2021
Summary
Linear regression model with one variable:
• OLS estimator.
• Measures of fit.
• Sampling distribution of OLS estimator.
Next:
• Linear regression model with many variables.
35
35
( X i X )(Yi Y )
̂1 = i1
n
( X i X )2
i1
n
( X i X )[1 ( X i X ) (ui u )]
= i1
n
( X i X )2 37
i1
18
36
10/30/2021
n n
( X i X )(X i X ) ( X i X )(ui u )
̂1 = 1 i1
n
i1
n
( X i X) 2
( X
i1
i X )2
i1
n
( X i X )(ui u )
so ̂1 – 1 = i1
n
.
( X i X) 2
i1
n n
n
Now i ( X X )(u i u ) = ( X i X )u i – ( X i X ) u
i1 i1 i1
n
n
= ( X i X )ui – X i nX u
i1 i1
n
= ( X i X )ui 38
i1
37
n n
Substitute ( X i X )(ui u ) = ( X i X)ui into the
i1 i1
( X i X )(ui u )
̂1 – 1 = i1
n
( X i X )2
i1
so
n
( X X )u i i
ˆ1 – 1 = i1
n
( X i X )2
i1
38
19
38
10/30/2021
Is ˆ1 unbiased?
n
( X i X )ui
E(ˆ1) – 1 = E i1n
( X X )2
i1 i
n
( X i X )ui
= E E i1n X 1 ,..., X n
( X i X )2
i1
=0
If Assumption 1 holds, then E(ˆ1) = 1
Hence, ˆ1 is an unbiased estimator of 1.
39
39
Derivation of Var(ˆ1)
Let us write
n
1 n
( X i X )ui vi
n i1
̂1 – 1 = i1
=
n
n 1 2
( X i X) 2
n
sX
i1
n1
where vi = (Xi – X )ui. If n is large, s2X X2 and 1, so
n
1 n
vi
n i1
ˆ1 – 1 ,
X2
41
where vi = (Xi – X )ui
20
40
10/30/2021
1 n
vi
n i1
̂1 – 1
X2
so var(ˆ1 – 1) = var(ˆ1)
var(v) / n
=
( X2 ) 2
so
1 var[( X i x )ui ]
var(ˆ1 – 1)= .
n X4
Hence:
Var(ˆ 1) is inversely proportional to n
41
41
n
When n is large, 1 vi is approximately distributed N(0, v2 / n)
n i1
Hence,
2
ˆ1 ~ N 1 , v4 , where vi = (Xi – X)ui
n X
42
21
42