• Nem Talált Eredményt

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

N/A
N/A
Protected

Academic year: 2022

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

Copied!
20
0
0

Teljes szövegt

(1)

ECONOMETRICS

(2)

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

(3)
(4)

ECONOMETRICS

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

June 2010

ELTE Faculty of Social Sciences, Department of Economics

(5)

ECONOMETRICS

Week 5.

Multivariate regression II

Péter Elek, Anikó Bíró

(6)

Forecasting

Forecast error

Variance of forecast error (k regressors)

20 2

10 1

0

ˆ ˆ ˆ

ˆ x x

y      

0 20

2 2

10 1

1 0

0

ˆ ( ˆ ) ( ˆ )

ˆ y x x u

y              

ˆ ) ˆ ,

( )

( ) 1 (

1 0

1 1

0 2

m l

m m

k

l

k

m

l

l x x x Cov

n x

 

   

 

 



(7)

Estimating the variance of forecast error

Predicted expected value and its standard error =

= estimated constant and its standard error of auxiliary regression

u x

x x

x y

y

x x

x x

x x

y E y

x x

y

u x

x y

) (

) (

) ,

| (

ˆ ˆ ˆ

ˆ

20 2

2 10

1 1

0

20 2

10 1

20 2

10 1

0

20 2

10 1 0

2 2 1

1

(8)

Sampling distribution of the coefficient estimates

If the assumptions are satisfied (normality and homoscedasticity, as well)

where RSSi is the residual and TSSi is the total sum of squares in the regression of xi on the other explanatory variables, and Ri2 is the

coefficient of determination in the same

regression (analogy with simple regression!)

 









2 2

2

, 1

~ ,

ˆ ~

i i

i

i N TSS R

N RSS

(9)

Omitting relevant variables I.

Simple regression

True model: y = β1x1 + β2x2 + u Estimated model: y = γ1x1 + u

Bias: Corr(x1,x2)>0 Corr(x1,x2)<0

β2 >0 + –

β2 <0 – +

2 12 1

1

2 1 1 2

1 2 1 2

2 1 1 1 1

ˆ ) ( ˆ

b E

x u x x

x x x

y x

i i

i i i

i i

i i i

i i

i i i

 

 

 

(10)

Omitting relevant variables II

k explanatory variables, k1 + 1, …, k. omitted

u x

b x

b x

k i

b E

k jk

j j

j k

k j

ji i

i

 

1 1

1 1

1 1

...

,..., 1

, ˆ )

(

1

(11)

Omitting relevant variables, example

Wage tariff (2003)

Weak negative correlation between education and age

Partial effect of age is positive – if omitted, the estimated coefficient of education is slightly downward biased

Estimated equations

LOG(EARN) = 10.46 + 0.1547 EDUC9 + 0.0078 AGE LOG(EARN) = 10.79 + 0.1544 EDUC9

(12)

Irrelevant variables in the regression

True model: y = β1x1 + β2x2 + u

Estimated model: y = β1x1 + β2x2 + β3x3 + u, β3 = 0 Does not affect unbiasedness

Variance increases:

RSSi: from the regression of xi on the other explanatory variables (additional regressor:

RSSi decreases, except for these are uncorrelated)

i

i

RSS

Var

2

)

(   

(13)

t-test

“good” estimator of the variance of error term, therefore:

Two sided test: H0: βi = 0, H1: βi ≠ 0 One sided test: e.g. H0: βi = 0, H1: βi > 0 Confidence interval:

~

1

ˆ ) ( ˆ

k n i

i

i

t

SE

ˆ ) ˆ (

i

i c SE

  

~ 1 ˆ 1

2 2 1

2

 

k n

k n

RSS

 

n k

i

i RSS

SE(ˆ ) ˆ 2 /

(14)

t-test, example

Credit approval, testing discrimination on settlement level:

approval_rate

i

= α + β

1

minority_rate

i

+ β

2

avg_inc

i

+ + β

3

avg_wealth

i

+ u

i

, i = 1…n

No difference according to minority ratio:

H

0

: β

1

= 0

Negative discrimination against minorities:

H

1

: β

1

< 0

(15)

Example, testing significance of a regressor

Do more experienced earn more, given education? (Wage tariff, 2003)

log(Earni) = α + β1Educ + β2 Expi + ui H0: β2 = 0 H1: β2 > 0

Dependent Variable: LOG(EARN) Method: Least Squares

Included observations: 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

(16)

Example: relationship between earnings and years of education

log(Earni) = α + β1Educ_yi + ui, Wage tariff 2003 (Univariate case: F-test is the square of t-test)

(17)

Analysis of variancie

Is the regression model useable?

Source of std. Dev.

Sum of squares

Degrees of freedom

Mean sum of squares

F

Explained (ESS)

R2Syy k R2Syy/k = MS1 F =

MS1/MS2

Residual (RSS)

(1 – R2)Syy n – k – 1 (1 – R2)Syy/(n – k – 1) =

= MS2

Total (TSS)

Syy n – 1

(18)

F-test of the usability of the regression

H0: βi = 0 (i = 1,…,k) If H0 satisfied

TSS ~ σ2 Chin–12

RSS ~ σ2 Chin–k–12, ESS ~ σ2 Chik2 independent

Therefore:

So we reject H0 if F > critical value of Fk,n–k–1 distribution

1 2 ,

2

) ~ 1 /(

) 1

(

/ )

1 /(

/

Fk n k

k n R

k R k

n RSS

k F ESS

(19)

Seminar

Multivariate regression II

(20)

Practicing

Maddala: 4/1, 4/3, 4/4, 4/5, 4/6, 4/9, 4/10 Wooldridge: 4.12, 4.14, 4.17, 4.19, 6.15

Discussion

t- and F-tests

Forecasting with EViews

Data

Subsample of Wage tariff (see week 4)

Wooldridge housing price data (hprice.dta)

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