SlideShare a Scribd company logo
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 1
Chapter 4
Further development and analysis of the
classical linear regression model
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 2
Generalising the Simple Model to
Multiple Linear Regression
• Before, we have used the model
t = 1,2,...,T
• But what if our dependent (y) variable depends on more than one
independent variable?
For example the number of cars sold might plausibly depend on
1. the price of cars
2. the price of public transport
3. the price of petrol
4. the extent of the public’s concern about global warming
• Similarly, stock returns might depend on several factors.
• Having just one independent variable is no good in this case - we want to
have more than one x variable. It is very easy to generalise the simple
model to one with k-1 regressors (independent variables).
t
t
t u
x
y 

 

‘Introductory Econometrics for Finance’ © Chris Brooks 2013 3
Multiple Regression and the Constant Term
• Now we write
, t=1,2,...,T
• Where is x1? It is the constant term. In fact the constant term is usually
represented by a column of ones of length T:
1 is the coefficient attached to the constant term (which we called  before).
t
kt
k
t
t
t u
x
x
x
y 




 


 ...
3
3
2
2
1













1
1
1
1

x
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 4
Different Ways of Expressing
the Multiple Linear Regression Model
• We could write out a separate equation for every value of t:
• We can write this in matrix form
y = X +u
where y is T  1
X is T  k
 is k  1
u is T  1
T
kT
k
T
T
T
k
k
k
k
u
x
x
x
y
u
x
x
x
y
u
x
x
x
y






























...
...
...
3
3
2
2
1
2
2
32
3
22
2
1
2
1
1
31
3
21
2
1
1



‘Introductory Econometrics for Finance’ © Chris Brooks 2013 5
Inside the Matrices of the
Multiple Linear Regression Model
• e.g. if k is 2, we have 2 regressors, one of which is a column of ones:
T 1 T2 21 T1
• Notice that the matrices written in this way are conformable.












































T
T
T u
u
u
x
x
x
y
y
y




2
1
2
1
2
22
21
2
1
1
1
1


‘Introductory Econometrics for Finance’ © Chris Brooks 2013 6
How Do We Calculate the Parameters (the  )
in this Generalised Case?
• Previously, we took the residual sum of squares, and minimised it
w.r.t.  and .
• In the matrix notation, we have
• The RSS would be given by













T
u
u
u
u
ˆ
ˆ
ˆ
ˆ 2
1

  

















 2
2
2
2
2
1
2
1
2
1
ˆ
ˆ
...
ˆ
ˆ
ˆ
ˆ
ˆ
ˆ
ˆ
ˆ
ˆ
'
ˆ t
T
T
T u
u
u
u
u
u
u
u
u
u
u
u 
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 7
The OLS Estimator for the
Multiple Regression Model
• In order to obtain the parameter estimates, 1, 2,..., k, we would
minimise the RSS with respect to all the s.
• It can be shown that
y
X
X
X
k

















 1
2
1
)
(
ˆ
ˆ
ˆ
ˆ





‘Introductory Econometrics for Finance’ © Chris Brooks 2013 8
Calculating the Standard Errors for the
Multiple Regression Model
• Check the dimensions: is k  1 as required.
• But how do we calculate the standard errors of the coefficient estimates?
• Previously, to estimate the variance of the errors, 2, we used .
• Now using the matrix notation, we use
• where k = number of regressors. It can be proved that the OLS estimator of
the variance of is given by the diagonal elements of , so that
the variance of is the first element, the variance of is the second
element, and …, and the variance of is the kth diagonal element.


s
u u
T k
2 

' 

 s X X
2 1
( ' )

1 
2

 k
2
ˆ2
2



T
u
s t
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 9
Calculating Parameter and Standard Error Estimates
for Multiple Regression Models: An Example
• Example: The following model with k=3 is estimated over 15 observations:
and the following data have been calculated from the original X’s.
Calculate the coefficient estimates and their standard errors.
• To calculate the coefficients, just multiply the matrix by the vector to obtain
.
• To calculate the standard errors, we need an estimate of 2.
( ' )
. . .
. . .
. . .
,( ' )
.
.
.
, '  .
X X X y u u
 





















1
20 35 10
35 10 65
10 65 43
30
22
06
1096
s
RSS
T k
2 1096
15 3
091





.
.
u
x
x
y 


 3
3
2
2
1 


  y
X
X
X '
'
1

‘Introductory Econometrics for Finance’ © Chris Brooks 2013 10
Calculating Parameter and Standard Error Estimates
for Multiple Regression Models: An Example (cont’d)
• The variance-covariance matrix of is given by
• The variances are on the leading diagonal:
• We write:


s X X X X
2 1 1
091
183 320 091
320 091 594
091 594 393
( ' ) . ( ' )
. . .
. . .
. . .
 
 










Var SE
Var SE
Var SE
(  ) . (  ) .
(  ) . (  ) .
(  ) . (  ) .
 
 
 
1 1
2 2
3 3
183 135
0 91 0 96
393 198
 
  
 
     
98
.
1
96
.
0
35
.
1
88
.
19
40
.
4
10
.
1
ˆ 3
2 t
t x
x
y 


‘Introductory Econometrics for Finance’ © Chris Brooks 2013 11
Testing Multiple Hypotheses: The F-test
• We used the t-test to test single hypotheses, i.e. hypotheses involving only
one coefficient. But what if we want to test more than one coefficient
simultaneously?
• We do this using the F-test. The F-test involves estimating 2 regressions.
• The unrestricted regression is the one in which the coefficients are freely
determined by the data, as we have done before.
• The restricted regression is the one in which the coefficients are restricted,
i.e. the restrictions are imposed on some s.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 12
The F-test:
Restricted and Unrestricted Regressions
• Example
The general regression is
yt = 1 + 2x2t + 3x3t + 4x4t + ut (1)
• We want to test the restriction that 3+4 = 1 (we have some hypothesis
from theory which suggests that this would be an interesting hypothesis to
study). The unrestricted regression is (1) above, but what is the restricted
regression?
yt = 1 + 2x2t + 3x3t + 4x4t + ut s.t. 3+4 = 1
• We substitute the restriction (3+4 = 1) into the regression so that it is
automatically imposed on the data.
3+4 = 1  4 = 1- 3
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 13
The F-test: Forming the Restricted Regression
yt = 1 + 2x2t + 3x3t + (1-3)x4t + ut
yt = 1 + 2x2t + 3x3t + x4t - 3x4t + ut
• Gather terms in ’s together and rearrange
(yt - x4t) = 1 + 2x2t + 3(x3t - x4t) + ut
• This is the restricted regression. We actually estimate it by creating two new
variables, call them, say, Pt and Qt.
Pt = yt - x4t
Qt = x3t - x4t so
Pt = 1 + 2x2t + 3Qt + ut is the restricted regression we actually estimate.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 14
Calculating the F-Test Statistic
• The test statistic is given by
where URSS = RSS from unrestricted regression
RRSS = RSS from restricted regression
m = number of restrictions
T = number of observations
k = number of regressors in unrestricted regression
including a constant in the unrestricted regression (or the total number
of parameters to be estimated).
test statistic
RRSS URSS
URSS
T k
m




‘Introductory Econometrics for Finance’ © Chris Brooks 2013 15
The F-Distribution
• The test statistic follows the F-distribution, which has 2 d.f.
parameters.
• The value of the degrees of freedom parameters are m and (T-k)
respectively (the order of the d.f. parameters is important).
• The appropriate critical value will be in column m, row (T-k).
• The F-distribution has only positive values and is not symmetrical. We
therefore only reject the null if the test statistic > critical F-value.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 16
Determining the Number of Restrictions in an F-test
• Examples :
H0: hypothesis No. of restrictions, m
1 + 2 = 2 1
2 = 1 and 3 = -1 2
2 = 0, 3 = 0 and 4 = 0 3
• If the model is yt = 1 + 2x2t + 3x3t + 4x4t + ut,
then the null hypothesis
H0: 2 = 0, and 3 = 0 and 4 = 0 is tested by the regression F-statistic. It
tests the null hypothesis that all of the coefficients except the intercept
coefficient are zero.
• Note the form of the alternative hypothesis for all tests when more than one
restriction is involved: H1: 2  0, or 3  0 or 4  0
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 17
What we Cannot Test with Either an F or a t-test
• We cannot test using this framework hypotheses which are not linear
or which are multiplicative, e.g.
H0: 2 3 = 2 or H0: 2
2 = 1
cannot be tested.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 18
The Relationship between the t and the F-
Distributions
• Any hypothesis which could be tested with a t-test could have been
tested using an F-test, but not the other way around.
For example, consider the hypothesis
H0: 2 = 0.5
H1: 2  0.5
We could have tested this using the usual t-test:
or it could be tested in the framework above for the F-test.
• Note that the two tests always give the same result since the t-
distribution is just a special case of the F-distribution.
• For example, if we have some random variable Z, and Z  t (T-k) then
also Z2  F(1,T-k)
test stat
SE


 .
(  )


2
2
05
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 19
F-test Example
• Question: Suppose a researcher wants to test whether the returns on a company
stock (y) show unit sensitivity to two factors (factor x2 and factor x3) among three
considered. The regression is carried out on 144 monthly observations. The
regression is yt = 1 + 2x2t + 3x3t + 4x4t+ ut
- What are the restricted and unrestricted regressions?
- If the two RSS are 436.1 and 397.2 respectively, perform the test.
• Solution:
Unit sensitivity implies H0:2=1 and 3=1. The unrestricted regression is the one
in the question. The restricted regression is (yt-x2t-x3t)= 1+ 4x4t+ut or letting
zt=yt-x2t-x3t, the restricted regression is zt= 1+ 4x4t+ut
In the F-test formula, T=144, k=4, m=2, RRSS=436.1, URSS=397.2
F-test statistic = 6.68. Critical value is an F(2,140) = 3.07 (5%) and 4.79 (1%).
Conclusion: Reject H0.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 20
Data Mining
• Data mining is searching many series for statistical relationships
without theoretical justification.
• For example, suppose we generate one dependent variable and twenty
explanatory variables completely randomly and independently of each
other.
• If we regress the dependent variable separately on each independent
variable, on average one slope coefficient will be significant at 5%.
• If data mining occurs, the true significance level will be greater than
the nominal significance level.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 21
Goodness of Fit Statistics
• We would like some measure of how well our regression model actually fits
the data.
• We have goodness of fit statistics to test this: i.e. how well the sample
regression function (srf) fits the data.
• The most common goodness of fit statistic is known as R2. One way to define
R2 is to say that it is the square of the correlation coefficient between y and .
• For another explanation, recall that what we are interested in doing is
explaining the variability of y about its mean value, , i.e. the total sum of
squares, TSS:
• We can split the TSS into two parts, the part which we have explained (known
as the explained sum of squares, ESS) and the part which we did not explain
using the model (the RSS).

y
 
 

t
t y
y
TSS
2
y
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 22
Defining R2
• That is, TSS = ESS + RSS
• Our goodness of fit statistic is
• But since TSS = ESS + RSS, we can also write
• R2 must always lie between zero and one. To understand this, consider two
extremes
RSS = TSS i.e. ESS = 0 so R2 = ESS/TSS = 0
ESS = TSS i.e. RSS = 0 so R2 = ESS/TSS = 1
R
ESS
TSS
2 
R
ESS
TSS
TSS RSS
TSS
RSS
TSS
2
1
 

 
    
  



t
t
t t
t
t u
y
y
y
y 2
2
2
ˆ
ˆ
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 23
The Limit Cases: R2 = 0 and R2 = 1
t
y
y
t
x
t
y
t
x
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 24
Problems with R2 as a Goodness of Fit Measure
• There are a number of them:
1. R2 is defined in terms of variation about the mean of y so that if a model
is reparameterised (rearranged) and the dependent variable changes, R2
will change.
2. R2 never falls if more regressors are added. to the regression, e.g.
consider:
Regression 1: yt = 1 + 2x2t + 3x3t + ut
Regression 2: y = 1 + 2x2t + 3x3t + 4x4t + ut
R2 will always be at least as high for regression 2 relative to regression 1.
3. R2 quite often takes on values of 0.9 or higher for time series
regressions.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 25
Adjusted R2
• In order to get around these problems, a modification is often made
which takes into account the loss of degrees of freedom associated
with adding extra variables. This is known as , or adjusted R2:
• So if we add an extra regressor, k increases and unless R2 increases by
a more than offsetting amount, will actually fall.
• There are still problems with the criterion:
1. A “soft” rule
2. No distribution for or R2
2
R










 )
1
(
1
1 2
2
R
k
T
T
R
2
R
2
R
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 26
A Regression Example:
Hedonic House Pricing Models
• Hedonic models are used to value real assets, especially housing, and view the
asset as representing a bundle of characteristics.
• Des Rosiers and Thérialt (1996) consider the effect of various amenities on rental
values for buildings and apartments 5 sub-markets in the Quebec area of Canada.
• The rental value in Canadian Dollars per month (the dependent variable) is a
function of 9 to 14 variables (depending on the area under consideration). The
paper employs 1990 data, and for the Quebec City region, there are 13,378
observations, and the 12 explanatory variables are:
LnAGE - log of the apparent age of the property
NBROOMS - number of bedrooms
AREABYRM - area per room (in square metres)
ELEVATOR - a dummy variable = 1 if the building has an elevator; 0 otherwise
BASEMENT - a dummy variable = 1 if the unit is located in a basement; 0
otherwise
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 27
Hedonic House Pricing Models:
Variable Definitions
OUTPARK - number of outdoor parking spaces
INDPARK - number of indoor parking spaces
NOLEASE - a dummy variable = 1 if the unit has no lease attached to it; 0
otherwise
LnDISTCBD - log of the distance in kilometres to the central business district
SINGLPAR - percentage of single parent families in the area where the
building stands
DSHOPCNTR- distance in kilometres to the nearest shopping centre
VACDIFF1 - vacancy difference between the building and the census figure
• Examine the signs and sizes of the coefficients.
– The coefficient estimates themselves show the Canadian dollar rental price
per month of each feature of the dwelling.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 28
Hedonic House Price Results
Dependent Variable: Canadian Dollars per Month
Variable Coefficient t-ratio A priori sign expected
Intercept 282.21 56.09 +
LnAGE -53.10 -59.71 -
NBROOMS 48.47 104.81 +
AREABYRM 3.97 29.99 +
ELEVATOR 88.51 45.04 +
BASEMENT -15.90 -11.32 -
OUTPARK 7.17 7.07 +
INDPARK 73.76 31.25 +
NOLEASE -16.99 -7.62 -
LnDISTCBD 5.84 4.60 -
SINGLPAR -4.27 -38.88 -
DSHOPCNTR -10.04 -5.97 -
VACDIFF1 0.29 5.98 -
Notes: Adjusted R2
= 0.65l; regression F-statistic = 2082.27. Source: Des Rosiers and
Thérialt
(1996). Reprinted with permission of the American Real Estate Society.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 29
Tests of Non-nested Hypotheses
• All of the hypothesis tests concluded thus far have been in the context
of “nested” models.
• But what if we wanted to compare between the following models?
• We could use R2 or adjusted R2, but what if the number of explanatory
variables were different across the 2 models?
• An alternative approach is an encompassing test, based on examination
of the hybrid model:
t
t
t
t
t
t
v
x
y
u
x
y






3
2
1
2
2
1
:
2
Model
:
1
Model




t
t
t
t w
x
x
y 


 3
3
2
2
1
:
3
Model 


‘Introductory Econometrics for Finance’ © Chris Brooks 2013 30
Tests of Non-nested Hypotheses (cont’d)
• There are 4 possible outcomes when Model 3 is estimated:
– 2 is significant but 3 is not
– 3 is significant but 2 is not
– 2 and 3 are both statistically significant
– Neither 2 nor 3 are significant
• Problems with encompassing approach
– Hybrid model may be meaningless
– Possible high correlation between x2 and x3.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 31
Quantile Regression - Background
• Standard regression approaches effectively model the (conditional)
mean of the dependent variable
• We could calculate from the fitted regression line the value that y
would take for any values of the explanatory variables
• But this would be an extrapolation of the behaviour of the relationship
between y and x at the mean to the remainder of the data
• This approach will often be suboptimal
• For example, there might be a non-linear (e.g., ∩-shaped) relationship
between x and y
• Estimating a standard linear regression model may lead to seriously
misleading estimates of this relationship as it will ‘average’ the
positive and negative effects.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 32
Quantile Regression – Background 2
• It would be possible to include non-linear (i.e. polynomial) terms in the
regression model (for example, squared, cubic, . . . terms)
• But quantile regressions represent a more natural and flexible way to
capture the complexities by estimating models for the conditional
quantile functions
• Quantile regressions can be conducted in both time-series and cross-
sectional contexts
• It is usually assumed that the dependent variable, often called the
response variable, is independently distributed and homoscedastic
• Quantile regressions are more robust to outliers and non-normality
than OLS regressions
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 33
Quantile Regression – Background 3
• Quantile regression is a non-parametric technique since no
distributional assumptions are required to optimally estimate the
parameters
• The notation and approaches commonly used in quantile regression
modelling are different to those that we are familiar with in financial
econometrics
• Increased interest in modelling the ‘tail behaviour’ of series have
spurred applications of quantile regression in finance
• A common use of the technique here is to value at risk modelling
• This seems natural given that the models are based on estimating the
quantile of a distribution of possible losses.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 34
Quantiles – A Definition
• Quantiles, denoted τ , refer to the position where an observation falls
within an ordered series for y , for example:
– The median is the observation in the very middle
– The (lower) tenth percentile is the value that places 10% of observations
below it (and therefore 90% of observations above)
• More precisely, we can define the τ -th quantile, Q(τ ), of a random
variable y having cumulative distribution F(y) as
Q(τ ) = inf y : F(y) ≥ τ
where inf refers to the infimum, or the ‘greatest lower bound’, which is
the smallest value of y satisfying the inequality
• By definition, quantiles must lie between zero and one
• Quantile regressions effectively model the entire conditional
distribution of y given the explanatory variables.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 35
Estimation of Quantile Functions
• The OLS estimator finds the mean value that minimises the RSS and
minimising the sum of the absolute values of the residuals will yield
the median
• The absolute value function is symmetrical so that the median always
has the same number of data points above it as below it
• If the absolute residuals are weighted differently depending on whether
they are positive or negative, we can calculate the quantiles of the
distribution
• To estimate the τ -th quantile, we would set the weight on positive
observations to τ and that on negative observations to 1 − τ
• We can select the quantiles of interest and common choices would be
0.05, 0.1, 0.25, 0.5, 0.75, 0.9, 0.95
• The fit is not good for values of τ too close to its limits of 0 and 1.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 36
Estimation of Quantile Functions 2
• We could write the minimisation problem for a set of quantile
regression parameters , each element of which is a k × 1 vector, as
• As above, for the median, τ = 0.5 and the weights are symmetric but
for all other quantiles they will be asymmetric
• This optimisation problem can be solved using a linear programming
representation via the simplex algorithm or within the generalised
method of moments framework.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 37
Quantile Regression – How not to do it
• As an alternative to quantile regression, it would be tempting to think
of partitioning the data and running separate regressions on each of
them
– For example, dropping the top 90% of the observations on y and the
corresponding data points for the xs, and running a regression on the
remainder
• However, this process, tantamount to truncating the dependent
variable, would be wholly inappropriate
– It could lead to potentially severe sample selection biases
• In fact, quantile regression does not partition the data
– All observations are used in the estimation of the parameters for every
quantile
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 38
Quantile Regression Example
• A study by Bassett and Chen (2001) performs a style attribution
analysis for a mutual fund and, for comparison, the S&P500 index
• To examine how a portfolio’s exposure to various styles varies with
performance, they use a quantile regression approach
• They conduct a style analysis by regressing the returns of a fund on the
returns of a large growth portfolio, the returns of a large value
portfolio, the returns of a small growth portfolio, and the returns of a
small value portfolio
• These style portfolio returns are based on the Russell style indices
• The parameter estimates on each of these style-mimicking portfolio
returns will measure the extent to which the fund is exposed to that
style.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 39
Quantile Regression Example – Discussion of Results
• We can determine the actual investment style of a fund without
knowing anything about its holdings purely based on an analysis of its
returns ex post and their relationships with the returns of style indices
• The results are shown from a standard OLS regression and quintile
regressions for τ = 0.1, 0.3, 0.5 (i.e. the median), 0.7, and 0.9
• The data are observed over the five years to December 1997 with
standard errors based on a bootstrapping procedure
• Notice that the sum of the style parameters for a given regression is
always one (except for rounding errors)
• The OLS results (column 2) show that the mean return has by far its
biggest exposure to large value stocks (and this parameter estimate is
also statistically significant).
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 40
Quantile Regression Example – Discussion of Results 2
• Comparing the mean (OLS) results with those for the median, Q(0.5),
the latter show much higher exposure to large value, less to small
growth and none at all to large growth.
• We can examine the factor tilts as we move through the quantiles from
left (Q(0.1)) to right (Q(0.9))
– The loading on large growth monotonically falls from 0.31 at Q(0.1) to
0.01 at Q(0.9) while the loadings on large value and small growth
substantially increase
– The loading on small value falls from 0.31 at Q(0.1) to -0.51 at Q(0.9)
– It is obvious that the intercept (coefficient on the constant) estimates
should be monotonically increasing from left to right since the quantile
regression effectively sorts on average performance
– The intercept can be interpreted as the performance expected if the fund
had zero exposure to all of the styles.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 41
Quantile Regression Example – Table of Results
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 42
Factor Models and Principal Components Analysis
• Factor models are employed as dimensionality reduction techniques in
situations where we have a large number of closely related variables
• They decompose the structure of a set of series into factors that are
common and a proportion that is specific to each series (idiosyncratic)
• There are two types of such models: economic and mathematical factor
models
• The key distinction between the two is that the factors are observable for
the former but are latent (unobservable) for the latter
• Observable factor models include the APT model of Ross (1976)
• The most common mathematical model is principal components analysis
• PCA may be useful where explanatory variables are closely related – for
example, in the context of near multicollinearity.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 43
How PCA Works
• If there are k explanatory variables in the regression model, PCA will
transform them into k uncorrelated new variables
• Suppose that the original explanatory variables are denoted x1, x2, . . . ,
xk, and denote the principal components by p1, p2, . . . , pk
• These principal components are independent linear combinations of
the original data:
where αij are coefficients to be calculated, representing the coefficient
on the jth explanatory variable in the ith principal component
• These coefficients are factor loadings.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 44
PCA – More Details
• The sum of the squares of the coefficients for each component will be
one
• Constructing the components is a purely mathematical exercise in
constrained optimisation, and thus no assumption is made concerning
the structure, distribution, or other properties of the variables
• The principal components are derived in such a way that they are in
descending order of importance.
• Although there are k principal components, if there is some collinearity
between the original explanatory variables, it is likely that some of the
principal components will account for so little of the variation that they
can be discarded.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 45
Principal Components as Eigenvalues
• The principal components can also be understood as the eigenvalues of
(X′X), where X is the matrix of observations on the original variables
• If the ordered eigenvalues are denoted λi (i = 1, . . . , k), the ratio:
gives the proportion of the total variation in the original data explained
by the principal component i
• If only the first r (0 < r < k) principal components are useful in
explaining the variation of (X′X) and are retained, the remaining k−r
components would be discarded.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 46
Principal Components as Eigenvalues
• The regression finally estimated, after the principal components have
been formed, would be one of y on the first r principal components:
yt = γ0 + γ1p1t + · · · + γrprt + ut
• In this way, the principal components are argued to keep most of the
important information contained in the original explanatory variables,
but are orthogonal
• The principal component estimates from this regression will be
biased, although they will be more efficient than the OLS ones since
redundant information has been removed
• The principal component coefficient estimates will simply be linear
combinations of the original OLS estimates.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 47
PCA Example: An Application to Interest Rates
• Researchers may wish to include interest rates on a large number of
different assets in order to reflect the variety of investment
opportunities open to investors
• However, market interest rates are likely to be highly correlated
• One approach would be to use PCA on several related interest rate
series to determine whether they are actually closely related or not
• Fase (1973) conducted a study of monthly Dutch market interest rates
from January 1962 until December 1970 (108 months)
• The money market instruments investigated were:
– Call money, 3-month Treasury paper, 1-year T-paper, 2-year T-paper, 3-
year T-paper, 5-year T-paper, 3-month loans to local authorities, 1-year
loans to local authorities, Eurodollar deposits, Netherlands Bank official
discount rate.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 48
PCA Example: The Principal Components
• Prior to analysis, each series was standardised to have zero mean and unit
variance
• The three largest of the ten eigenvalues are given in the following table
• The first principal component is sufficient to describe the common variation
in these Dutch interest rates
• The 1st component is able to explain over 90% of the variation for all samples
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 49
PCA Example: The Factor Loadings
• The factor loadings (coefficient estimates) for the first two ordered
components are given in the table below
• The loadings on each factor making up the first principal component are
all positive
• Since each series has been standardised, the coefficients αj1 and αj2 can
be interpreted as the correlations between the interest rate j and the first
and second principal components, respectively
• The factor loadings for each interest rate series on the first component are
all very close to one
• Fase (1973) therefore argues that the first component can be interpreted
simply as an equally weighted combination of all of the market interest
rates.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 50
PCA Example: The Factor Loadings 2
• The second component, which explains much less of the variability of
the rates, shows a factor loading pattern of positive coefficients for the
Treasury paper series and negative or almost zero values for the other
series
• Fase (1973) argues that this is owing to the characteristics of the Dutch
Treasury instruments that they rarely change hands and have low
transactions costs, and therefore have less sensitivity to general interest
rate movements
• Also, they are not subject to default risks in the same way as, for
example, Eurodollar deposits
• Therefore, the second principal component is broadly interpreted as
relating to default risk and transactions costs.
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 51
PCA Example: The Factor Loadings Presented
‘Introductory Econometrics for Finance’ © Chris Brooks 2013 52
Limitations of PCA
• A change in the units of measurement of x will change the principal
components
• It is thus usual to transform all of the variables to have zero mean and
unit variance prior to applying PCA
• The principal components usually have no theoretical motivation or
interpretation whatsoever
• The r principal components retained from the original k are the ones that
explain most of the variation in x, but these components might not be the
most useful as explanations for y.

More Related Content

PPT
Ch2 slides
PPT
Ch6 slides
PPT
Ch5 slides
PPT
Ch3 slides
PPT
Ch7 slides
PPT
Ch9 slides
PPT
Ch11 slides
PPTX
Econometrics _1.pptx
Ch2 slides
Ch6 slides
Ch5 slides
Ch3 slides
Ch7 slides
Ch9 slides
Ch11 slides
Econometrics _1.pptx

What's hot (20)

PPT
Ch1 slides
PPT
Chapter 14
PPT
20150404 rm - autocorrelation
PPTX
Introduction to Econometrics
PPT
Ch12 slides
PPTX
Multicolinearity
PPT
ekonomi-internansional-2.ppt
PPT
Gregory mankiw macroeconomic 7th edition chapter (16)
PPTX
Unit 3 b ch 10 s3 future of biodiversity
PPTX
Dummy variable model
PDF
Dummyvariable1
PDF
Hypothesis Testing
PPTX
DYNAMIC ECONOMETRIC MODELS BY Ammara Aftab
PPTX
Multicollinearity PPT
PPTX
Introduction to time series.pptx
PDF
Selection Bias with Linear Probability Models
PDF
Autocorrelation (1)
PPT
Econometrics ch2
PPT
Autocorrelation- Detection- part 1- Durbin-Watson d test
PPT
Multicollinearity
Ch1 slides
Chapter 14
20150404 rm - autocorrelation
Introduction to Econometrics
Ch12 slides
Multicolinearity
ekonomi-internansional-2.ppt
Gregory mankiw macroeconomic 7th edition chapter (16)
Unit 3 b ch 10 s3 future of biodiversity
Dummy variable model
Dummyvariable1
Hypothesis Testing
DYNAMIC ECONOMETRIC MODELS BY Ammara Aftab
Multicollinearity PPT
Introduction to time series.pptx
Selection Bias with Linear Probability Models
Autocorrelation (1)
Econometrics ch2
Autocorrelation- Detection- part 1- Durbin-Watson d test
Multicollinearity
Ad

Similar to Ch4 slides (20)

PPT
A brief overview of the classical linear regression model
PPT
Ch2_slides.ppt
PPT
Ch5_slides Qwertr12234543234433444344.ppt
PPT
Ch5_slides.ppt
PPT
Ch5_slides.ppt
PPT
Macroeconometric forecasting IMF MOOC slides
PPTX
Chapter 4 (1).pptx applied Econometrics SlideShare
PPT
Ch13 slides
PDF
ch7_slidesB.pdf
PDF
Chapter4
PPT
modelling lon run relationship in finance
PPTX
Mathematical and Statistical Foundations.pptx
PPT
Ch10 slides
PPT
Mathematical and Statistical Foundation Chapter 2
PPT
Ch8 slides
PPT
Ch8_slides.ppt
PPT
Business management lecture Notes 01.ppt
PPT
Econometrics_ch13.ppt
PPTX
Topic 2b .pptx
PPT
Dummy variables xd
A brief overview of the classical linear regression model
Ch2_slides.ppt
Ch5_slides Qwertr12234543234433444344.ppt
Ch5_slides.ppt
Ch5_slides.ppt
Macroeconometric forecasting IMF MOOC slides
Chapter 4 (1).pptx applied Econometrics SlideShare
Ch13 slides
ch7_slidesB.pdf
Chapter4
modelling lon run relationship in finance
Mathematical and Statistical Foundations.pptx
Ch10 slides
Mathematical and Statistical Foundation Chapter 2
Ch8 slides
Ch8_slides.ppt
Business management lecture Notes 01.ppt
Econometrics_ch13.ppt
Topic 2b .pptx
Dummy variables xd
Ad

Recently uploaded (20)

PDF
Cours de Système d'information about ERP.pdf
PDF
Nante Industrial Plug Factory: Engineering Quality for Modern Power Applications
PPTX
TRAINNING, DEVELOPMENT AND APPRAISAL.pptx
PDF
Building a Smart Pet Ecosystem: A Full Introduction to Zhejiang Beijing Techn...
PPTX
Negotiation and Persuasion Skills: A Shrewd Person's Perspective
PDF
Outsourced Audit & Assurance in USA Why Globus Finanza is Your Trusted Choice
PDF
Solaris Resources Presentation - Corporate August 2025.pdf
PPTX
operations management : demand supply ch
PDF
Booking.com The Global AI Sentiment Report 2025
PDF
1911 Gold Corporate Presentation Aug 2025.pdf
PDF
Deliverable file - Regulatory guideline analysis.pdf
PDF
pdfcoffee.com-opt-b1plus-sb-answers.pdfvi
PDF
Keppel_Proposed Divestment of M1 Limited
PDF
ANALYZING THE OPPORTUNITIES OF DIGITAL MARKETING IN BANGLADESH TO PROVIDE AN ...
PDF
NEW - FEES STRUCTURES (01-july-2024).pdf
PDF
NewBase 12 August 2025 Energy News issue - 1812 by Khaled Al Awadi_compresse...
PDF
SIMNET Inc – 2023’s Most Trusted IT Services & Solution Provider
PPTX
sales presentation، Training Overview.pptx
PDF
Technical Architecture - Chainsys dataZap
PDF
Solara Labs: Empowering Health through Innovative Nutraceutical Solutions
Cours de Système d'information about ERP.pdf
Nante Industrial Plug Factory: Engineering Quality for Modern Power Applications
TRAINNING, DEVELOPMENT AND APPRAISAL.pptx
Building a Smart Pet Ecosystem: A Full Introduction to Zhejiang Beijing Techn...
Negotiation and Persuasion Skills: A Shrewd Person's Perspective
Outsourced Audit & Assurance in USA Why Globus Finanza is Your Trusted Choice
Solaris Resources Presentation - Corporate August 2025.pdf
operations management : demand supply ch
Booking.com The Global AI Sentiment Report 2025
1911 Gold Corporate Presentation Aug 2025.pdf
Deliverable file - Regulatory guideline analysis.pdf
pdfcoffee.com-opt-b1plus-sb-answers.pdfvi
Keppel_Proposed Divestment of M1 Limited
ANALYZING THE OPPORTUNITIES OF DIGITAL MARKETING IN BANGLADESH TO PROVIDE AN ...
NEW - FEES STRUCTURES (01-july-2024).pdf
NewBase 12 August 2025 Energy News issue - 1812 by Khaled Al Awadi_compresse...
SIMNET Inc – 2023’s Most Trusted IT Services & Solution Provider
sales presentation، Training Overview.pptx
Technical Architecture - Chainsys dataZap
Solara Labs: Empowering Health through Innovative Nutraceutical Solutions

Ch4 slides

  • 1. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 1 Chapter 4 Further development and analysis of the classical linear regression model
  • 2. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 2 Generalising the Simple Model to Multiple Linear Regression • Before, we have used the model t = 1,2,...,T • But what if our dependent (y) variable depends on more than one independent variable? For example the number of cars sold might plausibly depend on 1. the price of cars 2. the price of public transport 3. the price of petrol 4. the extent of the public’s concern about global warming • Similarly, stock returns might depend on several factors. • Having just one independent variable is no good in this case - we want to have more than one x variable. It is very easy to generalise the simple model to one with k-1 regressors (independent variables). t t t u x y     
  • 3. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 3 Multiple Regression and the Constant Term • Now we write , t=1,2,...,T • Where is x1? It is the constant term. In fact the constant term is usually represented by a column of ones of length T: 1 is the coefficient attached to the constant term (which we called  before). t kt k t t t u x x x y           ... 3 3 2 2 1              1 1 1 1  x
  • 4. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 4 Different Ways of Expressing the Multiple Linear Regression Model • We could write out a separate equation for every value of t: • We can write this in matrix form y = X +u where y is T  1 X is T  k  is k  1 u is T  1 T kT k T T T k k k k u x x x y u x x x y u x x x y                               ... ... ... 3 3 2 2 1 2 2 32 3 22 2 1 2 1 1 31 3 21 2 1 1   
  • 5. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 5 Inside the Matrices of the Multiple Linear Regression Model • e.g. if k is 2, we have 2 regressors, one of which is a column of ones: T 1 T2 21 T1 • Notice that the matrices written in this way are conformable.                                             T T T u u u x x x y y y     2 1 2 1 2 22 21 2 1 1 1 1  
  • 6. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 6 How Do We Calculate the Parameters (the  ) in this Generalised Case? • Previously, we took the residual sum of squares, and minimised it w.r.t.  and . • In the matrix notation, we have • The RSS would be given by              T u u u u ˆ ˆ ˆ ˆ 2 1                       2 2 2 2 2 1 2 1 2 1 ˆ ˆ ... ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ ' ˆ t T T T u u u u u u u u u u u u 
  • 7. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 7 The OLS Estimator for the Multiple Regression Model • In order to obtain the parameter estimates, 1, 2,..., k, we would minimise the RSS with respect to all the s. • It can be shown that y X X X k                   1 2 1 ) ( ˆ ˆ ˆ ˆ     
  • 8. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 8 Calculating the Standard Errors for the Multiple Regression Model • Check the dimensions: is k  1 as required. • But how do we calculate the standard errors of the coefficient estimates? • Previously, to estimate the variance of the errors, 2, we used . • Now using the matrix notation, we use • where k = number of regressors. It can be proved that the OLS estimator of the variance of is given by the diagonal elements of , so that the variance of is the first element, the variance of is the second element, and …, and the variance of is the kth diagonal element.   s u u T k 2   '    s X X 2 1 ( ' )  1  2   k 2 ˆ2 2    T u s t
  • 9. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 9 Calculating Parameter and Standard Error Estimates for Multiple Regression Models: An Example • Example: The following model with k=3 is estimated over 15 observations: and the following data have been calculated from the original X’s. Calculate the coefficient estimates and their standard errors. • To calculate the coefficients, just multiply the matrix by the vector to obtain . • To calculate the standard errors, we need an estimate of 2. ( ' ) . . . . . . . . . ,( ' ) . . . , '  . X X X y u u                        1 20 35 10 35 10 65 10 65 43 30 22 06 1096 s RSS T k 2 1096 15 3 091      . . u x x y     3 3 2 2 1      y X X X ' ' 1 
  • 10. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 10 Calculating Parameter and Standard Error Estimates for Multiple Regression Models: An Example (cont’d) • The variance-covariance matrix of is given by • The variances are on the leading diagonal: • We write:   s X X X X 2 1 1 091 183 320 091 320 091 594 091 594 393 ( ' ) . ( ' ) . . . . . . . . .               Var SE Var SE Var SE (  ) . (  ) . (  ) . (  ) . (  ) . (  ) .       1 1 2 2 3 3 183 135 0 91 0 96 393 198              98 . 1 96 . 0 35 . 1 88 . 19 40 . 4 10 . 1 ˆ 3 2 t t x x y   
  • 11. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 11 Testing Multiple Hypotheses: The F-test • We used the t-test to test single hypotheses, i.e. hypotheses involving only one coefficient. But what if we want to test more than one coefficient simultaneously? • We do this using the F-test. The F-test involves estimating 2 regressions. • The unrestricted regression is the one in which the coefficients are freely determined by the data, as we have done before. • The restricted regression is the one in which the coefficients are restricted, i.e. the restrictions are imposed on some s.
  • 12. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 12 The F-test: Restricted and Unrestricted Regressions • Example The general regression is yt = 1 + 2x2t + 3x3t + 4x4t + ut (1) • We want to test the restriction that 3+4 = 1 (we have some hypothesis from theory which suggests that this would be an interesting hypothesis to study). The unrestricted regression is (1) above, but what is the restricted regression? yt = 1 + 2x2t + 3x3t + 4x4t + ut s.t. 3+4 = 1 • We substitute the restriction (3+4 = 1) into the regression so that it is automatically imposed on the data. 3+4 = 1  4 = 1- 3
  • 13. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 13 The F-test: Forming the Restricted Regression yt = 1 + 2x2t + 3x3t + (1-3)x4t + ut yt = 1 + 2x2t + 3x3t + x4t - 3x4t + ut • Gather terms in ’s together and rearrange (yt - x4t) = 1 + 2x2t + 3(x3t - x4t) + ut • This is the restricted regression. We actually estimate it by creating two new variables, call them, say, Pt and Qt. Pt = yt - x4t Qt = x3t - x4t so Pt = 1 + 2x2t + 3Qt + ut is the restricted regression we actually estimate.
  • 14. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 14 Calculating the F-Test Statistic • The test statistic is given by where URSS = RSS from unrestricted regression RRSS = RSS from restricted regression m = number of restrictions T = number of observations k = number of regressors in unrestricted regression including a constant in the unrestricted regression (or the total number of parameters to be estimated). test statistic RRSS URSS URSS T k m    
  • 15. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 15 The F-Distribution • The test statistic follows the F-distribution, which has 2 d.f. parameters. • The value of the degrees of freedom parameters are m and (T-k) respectively (the order of the d.f. parameters is important). • The appropriate critical value will be in column m, row (T-k). • The F-distribution has only positive values and is not symmetrical. We therefore only reject the null if the test statistic > critical F-value.
  • 16. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 16 Determining the Number of Restrictions in an F-test • Examples : H0: hypothesis No. of restrictions, m 1 + 2 = 2 1 2 = 1 and 3 = -1 2 2 = 0, 3 = 0 and 4 = 0 3 • If the model is yt = 1 + 2x2t + 3x3t + 4x4t + ut, then the null hypothesis H0: 2 = 0, and 3 = 0 and 4 = 0 is tested by the regression F-statistic. It tests the null hypothesis that all of the coefficients except the intercept coefficient are zero. • Note the form of the alternative hypothesis for all tests when more than one restriction is involved: H1: 2  0, or 3  0 or 4  0
  • 17. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 17 What we Cannot Test with Either an F or a t-test • We cannot test using this framework hypotheses which are not linear or which are multiplicative, e.g. H0: 2 3 = 2 or H0: 2 2 = 1 cannot be tested.
  • 18. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 18 The Relationship between the t and the F- Distributions • Any hypothesis which could be tested with a t-test could have been tested using an F-test, but not the other way around. For example, consider the hypothesis H0: 2 = 0.5 H1: 2  0.5 We could have tested this using the usual t-test: or it could be tested in the framework above for the F-test. • Note that the two tests always give the same result since the t- distribution is just a special case of the F-distribution. • For example, if we have some random variable Z, and Z  t (T-k) then also Z2  F(1,T-k) test stat SE    . (  )   2 2 05
  • 19. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 19 F-test Example • Question: Suppose a researcher wants to test whether the returns on a company stock (y) show unit sensitivity to two factors (factor x2 and factor x3) among three considered. The regression is carried out on 144 monthly observations. The regression is yt = 1 + 2x2t + 3x3t + 4x4t+ ut - What are the restricted and unrestricted regressions? - If the two RSS are 436.1 and 397.2 respectively, perform the test. • Solution: Unit sensitivity implies H0:2=1 and 3=1. The unrestricted regression is the one in the question. The restricted regression is (yt-x2t-x3t)= 1+ 4x4t+ut or letting zt=yt-x2t-x3t, the restricted regression is zt= 1+ 4x4t+ut In the F-test formula, T=144, k=4, m=2, RRSS=436.1, URSS=397.2 F-test statistic = 6.68. Critical value is an F(2,140) = 3.07 (5%) and 4.79 (1%). Conclusion: Reject H0.
  • 20. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 20 Data Mining • Data mining is searching many series for statistical relationships without theoretical justification. • For example, suppose we generate one dependent variable and twenty explanatory variables completely randomly and independently of each other. • If we regress the dependent variable separately on each independent variable, on average one slope coefficient will be significant at 5%. • If data mining occurs, the true significance level will be greater than the nominal significance level.
  • 21. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 21 Goodness of Fit Statistics • We would like some measure of how well our regression model actually fits the data. • We have goodness of fit statistics to test this: i.e. how well the sample regression function (srf) fits the data. • The most common goodness of fit statistic is known as R2. One way to define R2 is to say that it is the square of the correlation coefficient between y and . • For another explanation, recall that what we are interested in doing is explaining the variability of y about its mean value, , i.e. the total sum of squares, TSS: • We can split the TSS into two parts, the part which we have explained (known as the explained sum of squares, ESS) and the part which we did not explain using the model (the RSS).  y      t t y y TSS 2 y
  • 22. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 22 Defining R2 • That is, TSS = ESS + RSS • Our goodness of fit statistic is • But since TSS = ESS + RSS, we can also write • R2 must always lie between zero and one. To understand this, consider two extremes RSS = TSS i.e. ESS = 0 so R2 = ESS/TSS = 0 ESS = TSS i.e. RSS = 0 so R2 = ESS/TSS = 1 R ESS TSS 2  R ESS TSS TSS RSS TSS RSS TSS 2 1                 t t t t t t u y y y y 2 2 2 ˆ ˆ
  • 23. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 23 The Limit Cases: R2 = 0 and R2 = 1 t y y t x t y t x
  • 24. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 24 Problems with R2 as a Goodness of Fit Measure • There are a number of them: 1. R2 is defined in terms of variation about the mean of y so that if a model is reparameterised (rearranged) and the dependent variable changes, R2 will change. 2. R2 never falls if more regressors are added. to the regression, e.g. consider: Regression 1: yt = 1 + 2x2t + 3x3t + ut Regression 2: y = 1 + 2x2t + 3x3t + 4x4t + ut R2 will always be at least as high for regression 2 relative to regression 1. 3. R2 quite often takes on values of 0.9 or higher for time series regressions.
  • 25. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 25 Adjusted R2 • In order to get around these problems, a modification is often made which takes into account the loss of degrees of freedom associated with adding extra variables. This is known as , or adjusted R2: • So if we add an extra regressor, k increases and unless R2 increases by a more than offsetting amount, will actually fall. • There are still problems with the criterion: 1. A “soft” rule 2. No distribution for or R2 2 R            ) 1 ( 1 1 2 2 R k T T R 2 R 2 R
  • 26. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 26 A Regression Example: Hedonic House Pricing Models • Hedonic models are used to value real assets, especially housing, and view the asset as representing a bundle of characteristics. • Des Rosiers and Thérialt (1996) consider the effect of various amenities on rental values for buildings and apartments 5 sub-markets in the Quebec area of Canada. • The rental value in Canadian Dollars per month (the dependent variable) is a function of 9 to 14 variables (depending on the area under consideration). The paper employs 1990 data, and for the Quebec City region, there are 13,378 observations, and the 12 explanatory variables are: LnAGE - log of the apparent age of the property NBROOMS - number of bedrooms AREABYRM - area per room (in square metres) ELEVATOR - a dummy variable = 1 if the building has an elevator; 0 otherwise BASEMENT - a dummy variable = 1 if the unit is located in a basement; 0 otherwise
  • 27. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 27 Hedonic House Pricing Models: Variable Definitions OUTPARK - number of outdoor parking spaces INDPARK - number of indoor parking spaces NOLEASE - a dummy variable = 1 if the unit has no lease attached to it; 0 otherwise LnDISTCBD - log of the distance in kilometres to the central business district SINGLPAR - percentage of single parent families in the area where the building stands DSHOPCNTR- distance in kilometres to the nearest shopping centre VACDIFF1 - vacancy difference between the building and the census figure • Examine the signs and sizes of the coefficients. – The coefficient estimates themselves show the Canadian dollar rental price per month of each feature of the dwelling.
  • 28. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 28 Hedonic House Price Results Dependent Variable: Canadian Dollars per Month Variable Coefficient t-ratio A priori sign expected Intercept 282.21 56.09 + LnAGE -53.10 -59.71 - NBROOMS 48.47 104.81 + AREABYRM 3.97 29.99 + ELEVATOR 88.51 45.04 + BASEMENT -15.90 -11.32 - OUTPARK 7.17 7.07 + INDPARK 73.76 31.25 + NOLEASE -16.99 -7.62 - LnDISTCBD 5.84 4.60 - SINGLPAR -4.27 -38.88 - DSHOPCNTR -10.04 -5.97 - VACDIFF1 0.29 5.98 - Notes: Adjusted R2 = 0.65l; regression F-statistic = 2082.27. Source: Des Rosiers and Thérialt (1996). Reprinted with permission of the American Real Estate Society.
  • 29. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 29 Tests of Non-nested Hypotheses • All of the hypothesis tests concluded thus far have been in the context of “nested” models. • But what if we wanted to compare between the following models? • We could use R2 or adjusted R2, but what if the number of explanatory variables were different across the 2 models? • An alternative approach is an encompassing test, based on examination of the hybrid model: t t t t t t v x y u x y       3 2 1 2 2 1 : 2 Model : 1 Model     t t t t w x x y     3 3 2 2 1 : 3 Model   
  • 30. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 30 Tests of Non-nested Hypotheses (cont’d) • There are 4 possible outcomes when Model 3 is estimated: – 2 is significant but 3 is not – 3 is significant but 2 is not – 2 and 3 are both statistically significant – Neither 2 nor 3 are significant • Problems with encompassing approach – Hybrid model may be meaningless – Possible high correlation between x2 and x3.
  • 31. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 31 Quantile Regression - Background • Standard regression approaches effectively model the (conditional) mean of the dependent variable • We could calculate from the fitted regression line the value that y would take for any values of the explanatory variables • But this would be an extrapolation of the behaviour of the relationship between y and x at the mean to the remainder of the data • This approach will often be suboptimal • For example, there might be a non-linear (e.g., ∩-shaped) relationship between x and y • Estimating a standard linear regression model may lead to seriously misleading estimates of this relationship as it will ‘average’ the positive and negative effects.
  • 32. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 32 Quantile Regression – Background 2 • It would be possible to include non-linear (i.e. polynomial) terms in the regression model (for example, squared, cubic, . . . terms) • But quantile regressions represent a more natural and flexible way to capture the complexities by estimating models for the conditional quantile functions • Quantile regressions can be conducted in both time-series and cross- sectional contexts • It is usually assumed that the dependent variable, often called the response variable, is independently distributed and homoscedastic • Quantile regressions are more robust to outliers and non-normality than OLS regressions
  • 33. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 33 Quantile Regression – Background 3 • Quantile regression is a non-parametric technique since no distributional assumptions are required to optimally estimate the parameters • The notation and approaches commonly used in quantile regression modelling are different to those that we are familiar with in financial econometrics • Increased interest in modelling the ‘tail behaviour’ of series have spurred applications of quantile regression in finance • A common use of the technique here is to value at risk modelling • This seems natural given that the models are based on estimating the quantile of a distribution of possible losses.
  • 34. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 34 Quantiles – A Definition • Quantiles, denoted τ , refer to the position where an observation falls within an ordered series for y , for example: – The median is the observation in the very middle – The (lower) tenth percentile is the value that places 10% of observations below it (and therefore 90% of observations above) • More precisely, we can define the τ -th quantile, Q(τ ), of a random variable y having cumulative distribution F(y) as Q(τ ) = inf y : F(y) ≥ τ where inf refers to the infimum, or the ‘greatest lower bound’, which is the smallest value of y satisfying the inequality • By definition, quantiles must lie between zero and one • Quantile regressions effectively model the entire conditional distribution of y given the explanatory variables.
  • 35. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 35 Estimation of Quantile Functions • The OLS estimator finds the mean value that minimises the RSS and minimising the sum of the absolute values of the residuals will yield the median • The absolute value function is symmetrical so that the median always has the same number of data points above it as below it • If the absolute residuals are weighted differently depending on whether they are positive or negative, we can calculate the quantiles of the distribution • To estimate the τ -th quantile, we would set the weight on positive observations to τ and that on negative observations to 1 − τ • We can select the quantiles of interest and common choices would be 0.05, 0.1, 0.25, 0.5, 0.75, 0.9, 0.95 • The fit is not good for values of τ too close to its limits of 0 and 1.
  • 36. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 36 Estimation of Quantile Functions 2 • We could write the minimisation problem for a set of quantile regression parameters , each element of which is a k × 1 vector, as • As above, for the median, τ = 0.5 and the weights are symmetric but for all other quantiles they will be asymmetric • This optimisation problem can be solved using a linear programming representation via the simplex algorithm or within the generalised method of moments framework.
  • 37. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 37 Quantile Regression – How not to do it • As an alternative to quantile regression, it would be tempting to think of partitioning the data and running separate regressions on each of them – For example, dropping the top 90% of the observations on y and the corresponding data points for the xs, and running a regression on the remainder • However, this process, tantamount to truncating the dependent variable, would be wholly inappropriate – It could lead to potentially severe sample selection biases • In fact, quantile regression does not partition the data – All observations are used in the estimation of the parameters for every quantile
  • 38. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 38 Quantile Regression Example • A study by Bassett and Chen (2001) performs a style attribution analysis for a mutual fund and, for comparison, the S&P500 index • To examine how a portfolio’s exposure to various styles varies with performance, they use a quantile regression approach • They conduct a style analysis by regressing the returns of a fund on the returns of a large growth portfolio, the returns of a large value portfolio, the returns of a small growth portfolio, and the returns of a small value portfolio • These style portfolio returns are based on the Russell style indices • The parameter estimates on each of these style-mimicking portfolio returns will measure the extent to which the fund is exposed to that style.
  • 39. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 39 Quantile Regression Example – Discussion of Results • We can determine the actual investment style of a fund without knowing anything about its holdings purely based on an analysis of its returns ex post and their relationships with the returns of style indices • The results are shown from a standard OLS regression and quintile regressions for τ = 0.1, 0.3, 0.5 (i.e. the median), 0.7, and 0.9 • The data are observed over the five years to December 1997 with standard errors based on a bootstrapping procedure • Notice that the sum of the style parameters for a given regression is always one (except for rounding errors) • The OLS results (column 2) show that the mean return has by far its biggest exposure to large value stocks (and this parameter estimate is also statistically significant).
  • 40. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 40 Quantile Regression Example – Discussion of Results 2 • Comparing the mean (OLS) results with those for the median, Q(0.5), the latter show much higher exposure to large value, less to small growth and none at all to large growth. • We can examine the factor tilts as we move through the quantiles from left (Q(0.1)) to right (Q(0.9)) – The loading on large growth monotonically falls from 0.31 at Q(0.1) to 0.01 at Q(0.9) while the loadings on large value and small growth substantially increase – The loading on small value falls from 0.31 at Q(0.1) to -0.51 at Q(0.9) – It is obvious that the intercept (coefficient on the constant) estimates should be monotonically increasing from left to right since the quantile regression effectively sorts on average performance – The intercept can be interpreted as the performance expected if the fund had zero exposure to all of the styles.
  • 41. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 41 Quantile Regression Example – Table of Results
  • 42. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 42 Factor Models and Principal Components Analysis • Factor models are employed as dimensionality reduction techniques in situations where we have a large number of closely related variables • They decompose the structure of a set of series into factors that are common and a proportion that is specific to each series (idiosyncratic) • There are two types of such models: economic and mathematical factor models • The key distinction between the two is that the factors are observable for the former but are latent (unobservable) for the latter • Observable factor models include the APT model of Ross (1976) • The most common mathematical model is principal components analysis • PCA may be useful where explanatory variables are closely related – for example, in the context of near multicollinearity.
  • 43. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 43 How PCA Works • If there are k explanatory variables in the regression model, PCA will transform them into k uncorrelated new variables • Suppose that the original explanatory variables are denoted x1, x2, . . . , xk, and denote the principal components by p1, p2, . . . , pk • These principal components are independent linear combinations of the original data: where αij are coefficients to be calculated, representing the coefficient on the jth explanatory variable in the ith principal component • These coefficients are factor loadings.
  • 44. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 44 PCA – More Details • The sum of the squares of the coefficients for each component will be one • Constructing the components is a purely mathematical exercise in constrained optimisation, and thus no assumption is made concerning the structure, distribution, or other properties of the variables • The principal components are derived in such a way that they are in descending order of importance. • Although there are k principal components, if there is some collinearity between the original explanatory variables, it is likely that some of the principal components will account for so little of the variation that they can be discarded.
  • 45. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 45 Principal Components as Eigenvalues • The principal components can also be understood as the eigenvalues of (X′X), where X is the matrix of observations on the original variables • If the ordered eigenvalues are denoted λi (i = 1, . . . , k), the ratio: gives the proportion of the total variation in the original data explained by the principal component i • If only the first r (0 < r < k) principal components are useful in explaining the variation of (X′X) and are retained, the remaining k−r components would be discarded.
  • 46. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 46 Principal Components as Eigenvalues • The regression finally estimated, after the principal components have been formed, would be one of y on the first r principal components: yt = γ0 + γ1p1t + · · · + γrprt + ut • In this way, the principal components are argued to keep most of the important information contained in the original explanatory variables, but are orthogonal • The principal component estimates from this regression will be biased, although they will be more efficient than the OLS ones since redundant information has been removed • The principal component coefficient estimates will simply be linear combinations of the original OLS estimates.
  • 47. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 47 PCA Example: An Application to Interest Rates • Researchers may wish to include interest rates on a large number of different assets in order to reflect the variety of investment opportunities open to investors • However, market interest rates are likely to be highly correlated • One approach would be to use PCA on several related interest rate series to determine whether they are actually closely related or not • Fase (1973) conducted a study of monthly Dutch market interest rates from January 1962 until December 1970 (108 months) • The money market instruments investigated were: – Call money, 3-month Treasury paper, 1-year T-paper, 2-year T-paper, 3- year T-paper, 5-year T-paper, 3-month loans to local authorities, 1-year loans to local authorities, Eurodollar deposits, Netherlands Bank official discount rate.
  • 48. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 48 PCA Example: The Principal Components • Prior to analysis, each series was standardised to have zero mean and unit variance • The three largest of the ten eigenvalues are given in the following table • The first principal component is sufficient to describe the common variation in these Dutch interest rates • The 1st component is able to explain over 90% of the variation for all samples
  • 49. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 49 PCA Example: The Factor Loadings • The factor loadings (coefficient estimates) for the first two ordered components are given in the table below • The loadings on each factor making up the first principal component are all positive • Since each series has been standardised, the coefficients αj1 and αj2 can be interpreted as the correlations between the interest rate j and the first and second principal components, respectively • The factor loadings for each interest rate series on the first component are all very close to one • Fase (1973) therefore argues that the first component can be interpreted simply as an equally weighted combination of all of the market interest rates.
  • 50. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 50 PCA Example: The Factor Loadings 2 • The second component, which explains much less of the variability of the rates, shows a factor loading pattern of positive coefficients for the Treasury paper series and negative or almost zero values for the other series • Fase (1973) argues that this is owing to the characteristics of the Dutch Treasury instruments that they rarely change hands and have low transactions costs, and therefore have less sensitivity to general interest rate movements • Also, they are not subject to default risks in the same way as, for example, Eurodollar deposits • Therefore, the second principal component is broadly interpreted as relating to default risk and transactions costs.
  • 51. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 51 PCA Example: The Factor Loadings Presented
  • 52. ‘Introductory Econometrics for Finance’ © Chris Brooks 2013 52 Limitations of PCA • A change in the units of measurement of x will change the principal components • It is thus usual to transform all of the variables to have zero mean and unit variance prior to applying PCA • The principal components usually have no theoretical motivation or interpretation whatsoever • The r principal components retained from the original k are the ones that explain most of the variation in x, but these components might not be the most useful as explanations for y.