• Nem Talált Eredményt

Multivariate regression: estimation, ant its properties

N/A
N/A
Protected

Academic year: 2022

Ossza meg "Multivariate regression: estimation, ant its properties "

Copied!
9
0
0

Teljes szövegt

(1)

ECONOMETRICS

Sponsored by a Grant TÁMOP-4.1.2-08/2/A/KMR-2009-0041 Course Material Developed by Department of Economics,

Faculty of Social Sciences, Eötvös Loránd University Budapest (ELTE) Department of Economics, Eötvös Loránd University Budapest

Institute of Economics, Hungarian Academy of Sciences Balassi Kiadó, Budapest

(2)

Authors: Péter Elek, Anikó Bíró Supervised by Péter Elek

June 2010

Week 4

Multivariate regression: estimation, ant its properties

Basics Estimation

OLS asymptotics

Coefficient interpretation Forecasting

t-test, F-test

Introduction

Multiple explanatory variables

yi = α + β1x1i + β2x2i +…+ βkxki + ui, i = 1…n

Example

log(Wage)i= α + β1Educi + β2Experiencei + ui, i = 1…n

(3)

Assumptions

1. E(ui) = 0

2. V(ui) = σ2 for all i

3. ui, uj independent for all i≠j 4. xi, uj independent for all i, j 5. ui normally distributed

6. No perfect collinearity (none of the regressors can be expressed as a linear function of the other regressors)

Endogeneity

Key: exogenous explanatory variables:

E(u| x1, x2 ,…, xk) = 0

(from assumptions 1 and 4) Endogenous explanatory variable, if:

E(u| xj) ≠ 0

E.g. omitted explanatory variable which is correlated with xj – biasedness

Perfect collinearity

Linear functional relationship among the regressor (assumption 6 is not satisfied) Example: Gradei = α + β1Learni + β2Resti + +β3Otheri + ui, i = 1…n

Learn + Rest + Other = 168

(4)

Estimaton, two regressors

3 normal equations (method of moments) E(u) = 0

cov(u,x1) = 0 cov(u,x2) = 0

Estimaton, two regressors

Or: method of optimal least squares

3 normal equations (same as before)

ˆ

i

0 u

ˆ 0

1i

u

i

x ˆ 0

2i

u

i

x

i i

i

i

y x x

u ˆ ˆ ˆ

1 1

ˆ

2 2

2 2 2 1 ˆ 1

ˆ ,

ˆ

min

,

( ˆ ˆ ˆ )

2 1

i i

i

x x

y Q

0 ) (

ˆ ) ˆ ˆ

( 2 ˆ 0

0 ) ( ˆ )

ˆ ˆ (

2 ˆ 0

0 ) 1 ( ˆ )

ˆ ˆ (

2 ˆ 0

2 2

2 1

1 2

1 2

2 1

1 1

2 2 1

1

i i

i i

i

i i

i i

i i

i i

i

x x

x Q y

x x

x Q y

x x

Q y

(5)

Estimation, more regressors

yi = α + β1x1i + β2x2i +…+ βkxki + ui, i = 1…n k + 1 unknowns, k + 1 normal equations Residual sum of squares: RSS = Syy(1 – R2) R2: multiple coefficient of determination

Estimation, matrix

Model: y = Xβ + u

y: n × 1, X:n × k, β: k ×1, u: n × 1

Estimation, matrix cont.

min Q = u’u = (y – Xβ)’ (y – Xβ)

n k

kn n

n

k k

n

u

u u

x x

x

x x

x

x x

x

y y y

2 1 2

1

2 1

2 22

12

1 21

11 2

1

(6)

OLS asymptotics, univariate

Usual assumptions, but homoscedasticity and normality not needed:

Gauss–Markov-theorem

OLS is best linear unbiased estimator (BLUE)

) (

) , (

) (

) ,

ˆ ( plim

ˆ

x Var

u x Cov

x Var

u x x

Cov Var(x)

Cov(x,y) S

S

xx xy

2 1 - 1

- 1

-

1 - 1 -

-1

) ' ( ) ' ( ) ' ( ' ) ' (

ˆ )' ˆ )(

( ˆ )

Var(

unbiased ]

) ' ( ) ' ( [

))]

( ' ( ) ' E[(

ˆ ) E(

linear )

' ( ) ' ˆ (

X X X

X X uu X

X X

β β - β β - β

β u

X X β X

u X X β X

y X X

β X u

y

E E

E

(7)

Gauss–Markov, minimal variance

Alternative unbiased linear estimator

Interpretation of coefficients

Partial effect (ceteris paribus)

Filtering a regressor (filtering the effect of x2)

ˆ ) Var(

) ' ( )

' (

]' ' ) ' )[(

' E(

] ' ) ' [(

)' )(

E(

) Var(

: unbiased ,

) E(

] ' ) ' ˆ [(

2 1 - 2

1 -

1 - 1

-

-1

β C

C X

X

C X X X uu C

X X X

β * β * β*

0 CX β CXβ

β*

u C X X X β CXβ

β Cy β*

i i

i

i i

i

x x

y

x x

y

2 2 1

1

2 2 1

1

ˆ ˆ ˆ

ˆ ˆ ˆ

ˆ

1 2

1

2 2 1

1

ˆ ˆ

ˆ

ˆ ˆ ˆ

ˆ ˆ ˆ

ˆ ˆ ˆ ˆ

i i

i

i i i

i i i

i

w v

y

v x

x

u x

x

y

(8)

Example, estimation 1

Wage tariff 2003, simple regression log(Earni) = α + β1Educi + ui

Dependent Variable: LOG(Earn) Method: Least Squares

Sample: 1 201971

Variable Coefficient Std. Error t-Statistic Prob.

C 10.788 0.0028 3837.18 0.000

Educ9 0.155 0.0005 305.66 0.000

R-squared 0.316

Adjusted R-squared 0.316

Example, estimation 2

Wage tariff 2003, two regressors

log(Earni) = α + β1Educi + β2 Expi + ui

Dependent Variable: LOG(Earn) Method: Least Squares

Sample: 1 201971

Variable Coefficient Std. Error t-Statistic Prob.

C 10.556 0.004 2630.523 0.0000

Educ9 0.164 0.001 320.482 0.0000

Exp 0.008 9.45E-05 79.859 0.0000

R-squared 0.337215

(9)

Example, filtering a regressor

Dependent Variable: LOG(Earn) Method: Least Squares

Sample: 1 201971

Variable Coefficient Std. Error t-Statistic Prob.

C 11.580 0.00107 10791.97 0.0000

RESID 0.164 0.00051 320.4442 0.0000

R-squared 0.337053

Adjusted R-squared 0.337050

Seminar

Multivariate regression:

estimation, and its properties

Practicing examples: Wooldridge: 3.3, 3.7, 3.9, 3.11, 3.13, 3.14, 3.17 Discussion

Importance of including more regressors in a model (exogeneity) Assumptions needed for unbiasedness and efficiency of OLS Interpretation of coefficients

Resid 0.042

- 6.158

008 . 0 164

. 0 556 . 10 ) log(

: equations Estimated

i i

i

i i

i

Exp Educ

Exp Educ

Earn

Hivatkozások

KAPCSOLÓDÓ DOKUMENTUMOK

Faculty of Social Sciences, Eötvös Loránd University Budapest (ELTE) Department of Economics, Eötvös Loránd University Budapest?. Institute of Economics, Hungarian Academy of Sciences

Faculty of Social Sciences, Eötvös Loránd University Budapest (ELTE) Department of Economics, Eötvös Loránd University Budapest.. Institute of Economics, Hungarian Academy of Sciences

Faculty of Social Sciences, Eötvös Loránd University Budapest (ELTE) Department of Economics, Eötvös Loránd University Budapest.. Institute of Economics, Hungarian Academy of Sciences

Faculty of Social Sciences, Eötvös Loránd University Budapest (ELTE) Department of Economics, Eötvös Loránd University Budapest?. Institute of Economics, Hungarian Academy of Sciences

Faculty of Social Sciences, Eötvös Loránd University Budapest (ELTE) Department of Economics, Eötvös Loránd University Budapest?. Institute of Economics, Hungarian Academy of Sciences

Faculty of Social Sciences, Eötvös Loránd University Budapest (ELTE) Department of Economics, Eötvös Loránd University Budapest.. Institute of Economics, Hungarian Academy of

Faculty of Social Sciences, Eötvös Loránd University Budapest (ELTE) Department of Economics, Eötvös Loránd University Budapest.. Institute of Economics, Hungarian Academy of

Faculty of Social Sciences, Eötvös Loránd University Budapest (ELTE) Department of Economics, Eötvös Loránd University Budapest.. Institute of Economics, Hungarian Academy of