Topic2 Reg Handout
Topic2 Reg Handout
Topic2 Reg Handout
Semester 2, 2023/24
Introduction
CAPM introduction
CAPM
rit − rft is the return on asset i relative to risk-free rate rft . We call this excess
return.
rmt − rft is market return relative to the risk-free rate.
We can use, e.g., treasury bill rate as rft and S&P 500 returns as rmt .
Does this expression look familiar?
What is the support of β? β ∈ R.
Characterising β-risk
Aggressive: β>1
Benchmark: β=1
Conservative: 0<β<1
Uncorrelated: β=0
Imperfect Hedge: −1 < β < 0
Perfect Hedge: β = −1.
With which type do we earn the market return? Benchmark. Which type gives
us the risk-free return? Uncorrelated. (Independent of the market.)
The model
How to estimate β?
We use the linear regression model
Model parameters
Decomposing risk
Which assumption did we rely on? Zero conditional mean so that the
correlation between rmt − rft and ut is zero.
Systematic risk = risk inherent to the entire market → nondiversifiable
Idiosyncratic risk → diversifiable R2
In general ...
yt = α + βxt + ut .
E(ut ) = 0,
E(ut2 ) = σu2 ,
E(ut ut−j ) = 0,
E(xt ut ) = 0.
If a series satisfies the first three conditions, we call it... white noise.
E(ut ) = 0 implies that the additional movements in yt that are in excess of the
movements predicted by CAPM balance out to be zero on average.
How does it differ from α? Note the subscript t.
E(ut2 ) = σu2 means that idiosyncratic risk as given by the variance of ut is
taken to be constant over time. What is the technical term we have for it?
Homoskedasticity.
E(xt ut ) = 0, the fourth and final property, ensures that movements in the
market (xt ) are independent of other factors (manifesting via ut ) caused by
non-market movements.
Is it a very realistic assumption?
yt = α + βxt + ut ,
we have that
b = y − βb x.
α
and that
v
u PT
u bu2
σ t=1 xt2
se(b
α) = t PT ,
T t=1 (xt − x)2
s
bu2
σ
se(β)
b = PT ,
t=1 (xt − x)2
in which
T
1 X
bu2 =
σ (yt − α b t )2 .
b − βx
T
t=1
b = y − βx
α b = 0.6942 − 0.757 × 0.6449 = 0.2055,
T T
1 X b t )2 = 1
X 5026.2404
bu2 =
σ (yt − α
b − βx bt2 =
u = 4.8236.
T −2 T −2 1044 − 2
t=1 t=1
How would you categorise the β-risk? What about abnormal returns? Why
T − 2?
y = X β + u.
T
X
S = ut2 = u ′ u = (y − X β)′ (y − X β)
t=1
= y y − y ′ X β − β ′ X ′ y + β ′ (X ′ X )β
′
= y ′ y − 2y ′ X β + β ′ (X ′ X )β .
∂S
= 0 − 2X ′ y + 2(X ′ X )β.
∂β
Pre-multipling both sides of the equation with (X ′ X )−1 , we have the least
squares solution
βb = (X ′ X )−1 X ′ y .
−1
This follows because by definition, (X ′ X ) (X ′ X ) = I, and I is a k × k identity
matrix so I β̂ = β̂.
It can be shown that
b = σ 2 (X ′ X )−1 .
Var(β)
Nondurables portfolio
The estimates of the CAPM model for the Nondurables portfolio are now computed
using the matrix formulation. The y and X matrices respectively are
−0.92 1 −0.11
3.16 1 4.11
1 −0.15
2.46
3.12 1 0.52
7.88 1 5.40
−2.03 1 −2.04
y = ... , X = ... .. .
.
2.95 1 5.65
−4.00 1 −2.69
1.94 1 3.76
4.75 1 4.17
1.29 1 3.12
2.65 1 2.81
The following matrices are needed
1044.0000 673.3100 724.7300
X ′X = , X ′y = .
673.3100 31147.2117 23740.9082
Applied Financial Econometrics Topic 2. Linear Regression Models Semester 2, 2023/24 23 / 61
Linear Regression
Nondurables portfolio
βb = (X ′ X )−1 X ′ y
−1
1044.0000 673.3100 724.7300
=
673.3100 31147.2117 23740.9082
0.000971 −0.000021 724.7300
=
−0.000021 0.000033 23740.9082
0.2055
= ,
0.7578
In Stata
------------------------------------------------------------------------------
e_ind1 | Coefficient Std. err. t P>|t| [95% conf. interval]
-------------+----------------------------------------------------------------
mktrf | .7577539 .0125078 60.58 0.000 .7332107 .782297
_cons | .207834 .0681665 3.05 0.002 .0740756 .3415923
------------------------------------------------------------------------------
Extensions of CAPM
Size, or “Small minus big” (SMB) accounts for the spread in returns between
small- and large-sized firms.
Size is determined by market capitalisation = share price × number of shares
outstanding.
Incorporating SMB into the CAPM shows whether management/investors are
relying on the small firm effect (investing in stocks with low market
capitalisation) to earn an abnormal return.
Taken together with the ”market factor”, SMB and HML form the multi-factor,
or three-factor, CAPM:
Other factors
Diagnostics
Background
Coefficient of determination, R 2
We use R̄ 2 for comparing models with the same dependent variable, but
different number of explanatory variables.
Adding explanatory variables will always increase R 2 .
Penalty adjustment in R̄ 2 gets larger with each additional model parameter:
T −1
R̄ 2 = 1 − (1 − R 2 )
T −K −1
Ordinary least squares estimates of the CAPM using 10 industry portfolios using
monthly data for the United States beginning January 1927 and ending December
2013.
2
Industry α
b βb R2 R RSS
Nondurables 0.205 0.758 0.778 0.7780 5026.2
(0.068 ) (0.013)
Durables 0.003 1.244 0.747 0.747 16110.2
(0.123) (0.022 )
Manufacturing 0.008 1.128 0.924 0.923 3234.9
(0.055) (0.010)
Energy 0.231 0.856 0.595 0.595 15289.8
(0.119 ) (0.022)
Tech 0.009 1.236 0.825 0.825 9939.8
(0.096) (0.018)
Telecom 0.152 0.657 0.591 0.591 9176.5
(0.092) (0.017)
Retail 0.107 0.969 0.789 0.788 7734.7
(0.085) (0.016)
Health 0.255 0.841 0.650 0.650 11696.9
(0.104) (0.019)
Utilities 0.089 0.782 0.576 0.576 13805.6
(0.113) (0.021)
Other -0.103 1.126 0.876 0.876 5524.7
(0.072) (0.013)
Consider
yt = α + β1 x1t + β2 x2t + . . . + βK xKt + ut
H0 : β = c
H1 : β ̸= c
β̂ − c
Test statistic and distribution: t= ∼ tT −K −1
se(β̂)
Recall that in large samples the distribution is nearly Normal, and so Normal
distribution critical values may be used:
right tail 10% 5% 2.5% 1% 0.5%
1.282 1.645 1.960 2.326 2.576
H0 : β = 0
H1 : β ̸= 0
β̂
Test statistic and distribution: t= ∼ tT −K −1
se(β̂)
Special case:
yt = α + β1 x1t + β2 x2t + . . . + βK xKt + ut
Disturbance diagnostics
The third set of diagnostic tests concerns the properties of the disturbance
term ut .
If CAPM is correctly specified, there should be no information left in the ut .
The adoption of tests concerning ut is especially important for those situations
where the coefficient of determination is found to be extremely small.
But, a low R 2 ↛ misspecification. Data could be noisy (high frequency).
An R 2 lower than 5% is common. According to EMH, there is no effective
predictor of future returns.
Disturbance diagnostics
Recall two of the crucial regression model assumptions on the disturbance term
E(ut ut−j ) = 0, j ̸= 0 (no autocorrelation)
E(ut2 ) = σ 2 (constant variance)
Diagnostics on the disturbance term are concerned with its mean (autocorrelation),
variance (heteroskedasticity), and distributional shape (normality).
Autocorrelation
Breusch-Godfrey test:
H0 : No autocorrelation in the disturbances
H1 : Autocorrelation up to lag p in the disturbances
Autocorrelation
Details:
Estimate
yt = α + β1 x1t + β2 x2t + . . . + βK xKt + ut
and get the residuals ût .
We want to test if the residuals have autocorrelation up to lag p. Estimate
Heteroskedasticity
White’s test:
H0 : Homoskedastic disturbances (σu2 is constant)
H1 : Heteroskedastic disturbances (σu2 is time-varying)
Heteroskedasticity
Details:
Estimate
yt = α + β1 x1t + β2 x2t + . . . + βK xKt + ut
and get the residuals ût .
We want to test if the variance of the residuals (use squared residuals as a proxy)
is influenced by the explanatory variables. Estimate
ARCH
ARCH
Details:
Estimate
yt = α + β1 x1t + β2 x2t + . . . + βK xKt + ut
and get the residuals ût .
We want to test if the variance of the residuals is influenced by the past variance of
the residuals. Estimate
ût2 = γ0 + γ1 ût−1
2 2
+ γ2 ût−2 2
+ . . . + γp ût−p + vt
Normality
We first calculate the measures of skewness and kurtosis for the disturbances:
T 3 T 4
1 X ût 1 X ût
SK = KT =
T σ̂u T σ̂u
t=1 t=1
SK 2 (KT − 3)2
Test statistic and distribution: JB = T + ∼ χ22
6 24
Event Analysis
Introduction
Dummy variable
rt = β0 + β1 rmt
| {z }
Normal return
Which indicator(s) measure the reactions before, during, and after the event
takes place?
Results
Market anticipated the event with the October dummy being statistically
significant.
The market corrects itself, as the coefficients have alternating signs.
Overall, market viewed the event unfavourably. The net effect of the retirement
package on the market is negative with the total abnormal return equalling
Total = −0.121 + 0.007 − 0.041 + 0.086 − 0.059 = −0.128 with p-value = 0.16.
Statistical significance
We next test the hypothesis that the parameters on the 5 event indicator
variables are jointly zero.
The null and alternative hypotheses are
Portfolio Performance
Sharpe ratio
µp − rf
S=
σp
Since William Sharpe’s creation of the Sharpe ratio in 1966, it has been one
of the most referenced risk/return measures used in finance, and much of this
popularity is attributed to its simplicity.
The advantage is that the Sharpe ratio considers both systematic and
idiosyncratic risks.
The Sharpe ratio assumes that returns follow a normal distribution, which is
often not true.
It does not quantify the value added compared to the market return.
Treynor index
µp − r f
T =
β
The Treynor index also does not quantify the value added.
The Treynor index considers only systematic risk, since β is in the
denominator. Portfolios with identical systematic risk, but different total risk,
will be rated the same.
Jensen’s alpha
α = µp − rf − β(µm − rf )
Jensen’s alpha quantifies the added return as the excess return above that
predicted by the CAPM.
Rankings based on Jensen’s alpha take account of systematic risk alone, so it
will rank portfolios in a similar way to the Treynor index.
Jensen’s alpha is perhaps the most widely used among the three, as a
positive α is a necessary condition for good performance.
Industry portfolios
Industry Mean Std. Dev. Sharpe Treynor Jensen’s Rank Rank Rank
µ
bp σ
bp Ratio Index Alpha Sharpe Treynor Jensen
Nondur. 0.981 4.661 0.149 0.916 0.205 1 2 3
Durables 1.093 7.794 0.103 0.648 0.003 9 9 9
Manuf. 1.023 6.355 0.116 0.652 0.008 6 8 7
Energy 1.070 6.009 0.130 0.915 0.231 3 3 2
Tech. 1.094 7.371 0.109 0.653 0.009 7 7 7
Telecom. 0.863 4.639 0.124 0.876 0.152 4 4 4
Retail 1.019 5.914 0.124 0.755 0.107 5 6 5
Health 1.085 5.658 0.141 0.948 0.255 2 1 1
Utilities 0.881 5.591 0.106 0.759 0.089 8 5 6
Other 0.910 6.523 0.096 0.553 -0.103 10 10 10
What is the ranking criterion? With all three measures, the larger the value, the better the
performance.
Health has the highest Treynor index and Jensen’s alpha.
Nondurable sector is also highly ranked.
The worst performing portfolio is Other.
References I
Fama, E. F. & K. R. French (Feb. 1993). “Common risk factors in the returns on stocks and bonds”. J. financ.
econ. 33.1, pp. 3–56. ISSN: 0304-405X. DOI: 10.1016/0304-405X(93)90023-5.