Professional Documents
Culture Documents
Introduction To Econometrics, 5 Edition: Chapter 3: Multiple Regression Analysis
Introduction To Econometrics, 5 Edition: Chapter 3: Multiple Regression Analysis
Introduction To Econometrics, 5 Edition: Chapter 3: Multiple Regression Analysis
Dougherty
Introduction to Econometrics,
5th edition
Chapter heading
Chapter 3: Multiple Regression
Analysis
b1
EARNINGS
EXP
1
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE
b1
EARNINGS
EXP
Specifically, we will look at an earnings function model where hourly earnings, EARNINGS,
depend on years of schooling (highest grade completed), S, and years of work experience,
EXP.
2
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE
b1
EARNINGS
EXP
The model has three dimensions, one each for EARNINGS, S, and EXP. The starting point
for investigating the determination of EARNINGS is the intercept, b1.
3
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE
b1
EARNINGS
EXP
Literally the intercept gives EARNINGS for those respondents who have no schooling and
no work experience. However, there were no respondents with less than 6 years of
schooling. Hence a literal interpretation of b1 would be unwise.
4
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE
b1 + b2S
b1
pure S effect
EARNINGS
EXP
The next term on the right side of the equation gives the effect of variations in S. A one
year increase in S causes EARNINGS to increase by b2 dollars, holding EXP constant.
5
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE
b1 + b3EXP
pure EXP effect
b1
EARNINGS
EXP
Similarly, the third term gives the effect of variations in EXP. A one year increase in EXP
causes earnings to increase by b3 dollars, holding S constant.
6
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE
b1 + b2S + b3EXP
b1 + b3EXP combined effect of S
pure EXP effect and EXP
b1 + b2S
b1
pure S effect
EARNINGS
EXP
Different combinations of S and EXP give rise to values of EARNINGS which lie on the
plane shown in the diagram, defined by the equation EARNINGS = b1 + b2S + b3EXP. This is
the nonstochastic (nonrandom) component of the model.
7
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE
b1 + b2S + b3EXP + u
u
b1 + b2S + b3EXP
b1 + b3EXP combined effect of S
pure EXP effect and EXP
b1 + b2S
b1
pure S effect
EARNINGS
EXP
The final element of the model is the disturbance term, u. This causes the actual values of
EARNINGS to deviate from the plane. In this observation, u happens to have a positive
value.
8
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE
b1 + b2S + b3EXP + u
u
b1 + b2S + b3EXP
b1 + b3EXP combined effect of S
pure EXP effect and EXP
b1 + b2S
b1
pure S effect
EARNINGS
EXP
A sample consists of a number of observations generated in this way. Note that the
interpretation of the model does not depend on whether S and EXP are correlated or not.
9
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE
b1 + b2S + b3EXP + u
u
b1 + b2S + b3EXP
b1 + b3EXP combined effect of S
pure EXP effect and EXP
b1 + b2S
b1
pure S effect
EARNINGS
EXP
However we do assume that the effects of S and EXP on EARNINGS are additive. The
impact of a difference in S on EARNINGS is not affected by the value of EXP, or vice versa.
10
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE
The regression coefficients are derived using the same least squares principle used in
simple regression analysis. The fitted value of Y in observation i depends on our choice of
b1, b2, and b3.
11
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE
uˆ i Yi Yˆi Yi b1 b2 X 2 i b3 X 3 i
The residual ei in observation i is the difference between the actual and fitted values of Y.
12
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE
uˆ i Yi Yˆi Yi b1 b2 X 2 i b3 X 3 i
RSS uˆ i2 Yi b1 b2 X 2 i b3 X 3 i
2
We define RSS, the sum of the squares of the residuals, and choose b1, b2, and b3 so as to
minimize it.
13
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE
uˆ i Yi Yˆi Yi b1 b2 X 2 i b3 X 3 i
RSS uˆ i2 Yi b1 b2 X 2 i b3 X 3 i
2
14
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE
uˆ i Yi Yˆi Yi b1 b2 X 2 i b3 X 3 i
2b1b3 X 3 i 2b2 b3 X 2 i X 3 i
15
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE
X X
2i 2 i 3i 3
Y Y X X 2
X 3 i X 3 Yi Y X 2 i X 2 X 3 i X 3
ˆ
2
X 2i X 2 X 3i X 3 X 2i X 2 X 3i X 3
2 2 2
We thus obtain three equations in three unknowns. Solving these equations, we obtain
expressions for the specific values that satisfy the OLS criterion. (The expression for ̂ 3 is
the same as that for ̂ 2 , with the subscripts 2 and 3 interchanged everywhere.)
16
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE
X X
2i 2 i 3i 3
Y Y X X 2
X 3 i X 3 Yi Y X 2 i X 2 X 3 i X 3
ˆ
2
X 2i X 2 X 3i X 3 X 2i X 2 X 3i X 3
2 2 2
The expression for ˆ1 is a straightforward extension of the expression for it in simple
regression analysis.
17
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE
X X
2i 2 i 3i 3
Y Y X X 2
X 3 i X 3 Yi Y X 2 i X 2 X 3 i X 3
ˆ
2
X 2i X 2 X 3i X 3 X 2i X 2 X 3i X 3
2 2 2
However, the expressions for the slope coefficients are considerably more complex than
that for the slope coefficient in simple regression analysis.
18
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE
X X
2i 2 i 3i 3
Y Y X X 2
X 3 i X 3 Yi Y X 2 i X 2 X 3 i X 3
ˆ
2
X 2i X 2 X 3i X 3 X 2i X 2 X 3i X 3
2 2 2
For the general case when there are many explanatory variables, ordinary algebra is
inadequate. It is necessary to switch to matrix algebra.
19
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE
ˆ
EARNINGS 14.67 1.88 S 0.98 EXP
Here is the regression output for the wage equation using Data Set 21.
20
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE
ˆ
EARNINGS 14.67 1.88 S 0.98 EXP
It indicates that hourly earnings increase by $1.88 for every extra year of schooling and by
$0.98 for every extra year of work experience.
21
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE
ˆ
EARNINGS 14.67 1.88 S 0.98 EXP
Literally, the intercept indicates that an individual who had no schooling or work experience
would have hourly earnings of –$14.67.
22
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE
ˆ
EARNINGS 14.67 1.88 S 0.98 EXP
Obviously, this is impossible. The lowest value of S in the sample was 8. We have obtained
a nonsense estimate because we have extrapolated too far from the data range.
23
Copyright Christopher Dougherty 2016.
Individuals studying econometrics on their own who feel that they might benefit
from participation in a formal course should consider the London School of
Economics summer school course
EC212 Introduction to Econometrics
http://www2.lse.ac.uk/study/summerSchools/summerSchool/Home.aspx
or the University of London International Programmes distance learning course
EC2020 Elements of Econometrics
www.londoninternational.ac.uk/lse.
2016.04.28