Professional Documents
Culture Documents
Chapter 2 FECON
Chapter 2 FECON
Chapter 2 FECON
Regression
Outline
✓ Concept of regression function
✓ Simple Linear Regression
✓ Assumptions of CLRM
✓ Method of Estimations
✓ Properties of LS estimates
✓ Goodness of fit
✓ Confidence Intervals and Hypothesis Testing
Compiled By: Getaneh Y.(Assi. Prof.)
Econometrics for Finance Teaching Material
Introduction
• Theories in finance, business and economics are mainly concerned
with the relationships among various variables.
• When relationships, phrased in mathematical terms, can predict the
effect of one variable on another.
• The functional relationships of these variables define the dependence
of one variable upon the other variable (s) in the specific form.
• The specific functional forms may be linear, quadratic, logarithmic,
exponential, hyperbolic, or any other form.
• In this chapter we shall consider a simple linear regression model, i.e.
a relationship between two variables related in a linear form.
• We shall first discuss two important forms of relation: stochastic and
non-stochastic, among which we shall be using the former in
econometric analysis. Econometrics for Finance Teaching Material
Stochastic and Non-stochastic Relationships
• A relationship between X and Y, characterized as Y = f(X) is said to be
deterministic or non-stochastic if for each value of the independent
variable (X) there is one and only one corresponding value of
dependent variable (Y).
• On the other hand, a relationship between X and Y is said to be
stochastic if for a particular value of X there is a whole probabilistic
distribution of values of Y. In such a case, for any given value of X,
the dependent variable Y assumes some specific value only with some
probability.
40 y = 1.6417x - 1.7366
35
B. Random behavior of human beings
30
25
C. Imperfect specification of the mathematical form of
20
15
the model
10
5 D. Error of aggregation
0
0 5 10 15 20 25 E. Error of measurement
EXCESS MARKET RETURN
where i = 1,2,3,4,5
• The first component in the bracket is the part of Y explained by the
changes in X and the second is the part of Y not explained by X, that is
to say the change in Y is due to the random influence of εi
11
Simple Linear Regression model…
❑ The scatter of observations represents the true relationship
between Y and X.
❑ The line represents the exact part of the relationship and the
deviation of the observation from the line represents the
random component of the relationship.
Compiled by Adino 12
Simple Linear Regression model…
Compiled by Adino 13
Assumptions of the Classical Linear Stochastic
Regression Model
❑ The classical economists made important assumption in their analysis of regression
C. The mean value of the random variable(U) in any particular period is zero
• Mathematically, E (U i ) = 0
= E (u i u j ) = 0
❑The next step is the estimation of the numerical values of the parameters of
economic relationships.
✓ α û i
✓ Yi = ˆ + ˆX i denote the fitted value from the regression line ŷi
XY − nXY
ˆ = ..........eq6
X i − nX 2
2
−
= XY − n X Y
• The denominator X 2 − nX 2 = ( X − X ) 2
• Substituting the numerator and denominator equivalents, we get
ˆ ( X − X )(Y − Y )
=
( X − X ) 2
• Thus using OLS method α are: ˆ = Y − ˆX
ෝ&𝜷 ( X − X )(Y − Y )
and ˆ =
( X − X ) 2
Econometrics for Finance Teaching Material
The OLS method…Determining α
ෝ&𝜷
Example
• Determine the coefficients of the estimated line that best fits the
following data
Remember to use
ˆ = y − ˆx
σ(𝑥𝑡 − 𝑥)(𝑦
lj 𝑡 − 𝑦)lj 𝐶𝑜𝑣(𝑥, 𝑦)
መ
𝛽= = and
σ(𝑥𝑡 − 𝑥)lj 2 𝜎 𝑥2
Econometrics for Finance Teaching Material
Example
• Solution: use the following formula or
Excel: Slope or Intercept functions:
x= σ 𝑋𝑖
𝑛
=
72.9
5
= 𝟏𝟒. 𝟓𝟖
σ 𝑦𝑖 111
= = 𝟐𝟐. 𝟐
y 𝑛
=
5
ˆ = ( x − x )( y − y )
t t
(x − x)
t
2
45
EXCESS ASSET RETURN
236.72
ˆ = = 1.64
40 y = 1.6417x - 1.7366
35
30 144.188
ˆ = y − ˆx
25
20
yˆ t = −1.74 + 1.64 x t
• Question: If an analyst tells you that she expects the market to yield a return 20%
higher than the risk-free rate next year, what would you expect the return on fund
XXX to be?
• Solution: We can say that the expected value of y = “-1.74 + 1.64 * value of x”, so
plug x = 20 into the equation to get the expected value for y:
• Linear in the parameters means that the parameters are not multiplied together,
divided, squared or cubed etc.
Yt = e X t eut ln Yt = + ln X t + ut
• Then let yt=ln Yt and xt=ln Xt
yt = + xt + ut
Linear and Non-linear Models
σ 𝑒𝑡 2
=
(𝑛 − 2) σ(𝑥 − 𝑥)ҧ 2
2 𝑆𝐸 𝛼ො = 𝑉𝑎𝑟(𝛼)
ො
σ𝑥
𝑉𝑎𝑟 𝛼ො = 𝑉𝑎𝑟 𝑒𝑡 ∗
𝑛 σ(𝑥 − 𝑥)ҧ 2
σ 𝑒𝑡 2 σ 𝑥 2
=
𝑛(𝑛 − 2) σ(𝑥 − 𝑥)ҧ 2
Econometrics for Finance Teaching Material
…Variance of ei, 𝜶
ෝ and 𝜷
Example: consider the previous example to compute variance and SE
of the parameters
X
Econometrics for Finance Teaching Material
Goodness… WITH R2
• As can be seen from fig. above, Y − Y measures the variation of the
sample observation value of the dependent from its mean, which is
attributable to:
1. the variation in Y as a result of the influence of X, (i.e. the
regression line) is given by the vertical distance Yˆ − Y
2. The residual variation e = Y − Yˆ
− Y )= (Yˆ − Y ) + (Y − Yˆ )
i.e. (Y
• Since the sum of residuals is zero, squaring and summing the total
variation provides the following:
= (Yˆ −Y ) + (Y −Yˆ )
2 2
(Y −Y )
2
Where.
• TSS: Total sum of squares
TSS = ESS + RSS • ESS: Explained sum of squares
• RSS: Residual sum of squares
Econometrics for Finance Teaching Material
Goodness… WITH R2
• TSS = ESS + RSS
= (Yˆ −Y ) + e
2
(Y −Y )
2 2
xt xt
Financial Econometrics 45
Goodness… WITH R2
•• Interpretation of R2
• Suppose R 2 = 0.9 , this means that the regression line gives a good fit to
the observed data since this line explains 90% of the total variation of
the Y value around their mean. The remaining 10% of the total
variation in Y is unaccounted for by the regression line and is
attributed to the factors included in the disturbance variable
(Y −Yˆ )
2
𝟓𝟖+𝟏𝟎𝟓+⋯…..+𝟐𝟎𝟐 RSS =
Y =
𝟏𝟎
= 𝟏𝟑𝟎
Econometrics for Finance Teaching Material
3. Solution: Computations of R2…
• From the above tables TSS & RSS are computed to be
TSS= 15,730
RSS=1,530
ESS= 15,730-1,530= 14,200
𝐸𝑆𝑆 14,200
R2 = = = 𝟎. 𝟗𝟎𝟐𝟕
𝑇𝑆𝑆 15,730
f(x)
H0 : β =β∗,
H1 : β>β∗
95% non-rejection
region 5% rejection region
2.5% 95% non-rejection 2.5%
rejection region region rejection region
+tCrit.
-tCrit. +tCrit.
H1 : β<β∗
-tCrit.
Econometrics for Finance Teaching Material
Hypothesis…
• Read t-table to find out rejection region or critical values at t20;5% and
make decision using either the critical value or confidence interval
approach. Econometrics for Finance Teaching Material
Determining the Rejection Region
f(x)
yˆ = 20.3 + 0.5091x
(14.38) (0.2561)
• The hypotheses are: H0 : = 1
H1 : 1
• Recall that the formula for a test of significance approach to hypothesis testing using a t-test was
$i − i*
test statistic =
SE( $i )
• If the test is H0 : i = 0
H1 : i 0
i.e. a test that the population coefficient is zero against a two-sided alternative, this is known as a
t-ratio test:
Since i* = 0, $i
test stat =
SE ( $i )
xt
The Exact Significance Level or p-value
y 2
i y i
2
y i
2
y
ˆ 2
e 2
1= + i
, where− y i = TSS
2
y i
2
y i2
ESS RSS
1= +
TSS TSS
ESS yˆ 2
Thus, R = =
2
TSS y i2