44
Chapter 7 Nonlinear Relationships Prepared by Vera Tabakova, East Carolina University

Chapter 7

  • Upload
    brigid

  • View
    41

  • Download
    3

Embed Size (px)

DESCRIPTION

Nonlinear Relationships. Chapter 7. Prepared by Vera Tabakova, East Carolina University. Chapter 7: Nonlinear Relationships. 7.1 Polynomials 7.2 Dummy Variables 7.3 Applying Dummy Variables 7.4 Interactions Between Continuous Variables 7.5 Log-Linear Models. 7.1 Polynomials. - PowerPoint PPT Presentation

Citation preview

Page 1: Chapter  7

Chapter 7

Nonlinear Relationships

Prepared by Vera Tabakova, East Carolina University

Page 2: Chapter  7

Chapter 7: Nonlinear Relationships

7.1 Polynomials 7.2 Dummy Variables 7.3 Applying Dummy Variables 7.4 Interactions Between Continuous Variables 7.5 Log-Linear Models

Slide 7-2Principles of Econometrics, 3rd Edition

Page 3: Chapter  7

7.1 Polynomials

7.1.1 Cost and Product Curves

Figure 7.1 (a) Total cost curve and (b) total product curve

Slide 7-3Principles of Econometrics, 3rd Edition

Page 4: Chapter  7

7.1 Polynomials

Figure 7.2 Average and marginal (a) cost curves and (b) product curves

Slide 7-4Principles of Econometrics, 3rd Edition

Page 5: Chapter  7

7.1 Polynomials

Slide 7-5Principles of Econometrics, 3rd Edition

(7.1)

(7.2)

(7.3)

21 2 3AC Q Q e

2 31 2 3 4TC Q Q Q e

2 3( ) 2dE AC QdQ

(7.4)22 3 4

( ) 2 3dE TC Q QdQ

Page 6: Chapter  7

7.1.2 A Wage Equation

Slide 7-6Principles of Econometrics, 3rd Edition

(7.5)

(7.6)

1 2 3WAGE EDUC EXPER+ EXPER e 24

3 4( ) 2E WAGE EXPEREXPER

If Deriv < 0 => Exper < -β3/2β4 , or Exper > β3/2β4 .

Page 7: Chapter  7

7.1.2 A Wage Equation

Slide 7-7Principles of Econometrics, 3rd Edition

Page 8: Chapter  7

7.1.2 A Wage Equation

Slide 7-8Principles of Econometrics, 3rd Edition

18

( ) .3409 2( .0051)18 .1576EXPER

E WAGEEXPER

3 42 .3409 / 2( .0051) 33.47EXPER

Where 33.47 is the ‘turning point’

Page 9: Chapter  7

7.2 Dummy Variables

Slide 7-9Principles of Econometrics, 3rd Edition

(7.7)

(7.8)

1 2PRICE SQFT e

1 if characteristic is present0 if characteristic is not present

D

1 if property is in the desirable neighborhood0 if property is not in the desirable neighborhood

D

Page 10: Chapter  7

7.2.1 Intercept Dummy Variables

Slide 7-10Principles of Econometrics, 3rd Edition

(7.9)

(7.10)

1 2PRICE D SQFT e

1 2

1 2

( ) when 1( )

when 0SQFT D

E PRICESQFT D

Page 11: Chapter  7

7.2.1 Intercept Dummy Variables

Figure 7.3 An intercept dummy variable

Slide 7-11Principles of Econometrics, 3rd Edition

Page 12: Chapter  7

7.2.1a Choosing The Reference Group

Slide 7-12Principles of Econometrics, 3rd Edition

1 if property is not in the desirable neighborhood0 if property is in the desirable neighborhood

LD

1 2PRICE LD SQFT e

1 2PRICE D LD SQFT e

Page 13: Chapter  7

7.2.2 Slope Dummy Variables

Slide 7-13Principles of Econometrics, 3rd Edition

(7.11)1 2 ( )PRICE SQFT SQFT D e

1 21 2

1 2

( ) when 1( )

when 0SQFT D

E PRICE SQFT SQFT DSQFT D

2

2

when 1 ( ) when 0

DE PRICEDSQFT

Page 14: Chapter  7

7.2.2 Slope Dummy Variables

Figure 7.4 (a) A slope dummy variable. (b) A slope and intercept dummy variable

Slide 7-14Principles of Econometrics, 3rd Edition

Page 15: Chapter  7

7.2.2 Slope Dummy Variables

Slide 7-15Principles of Econometrics, 3rd Edition

(7.12)1 2 ( )PRICE D SQFT SQFT D e

1 2

1 2

( ) ( ) when 1 ( )

when 0SQFT D

E PRICESQFT D

Page 16: Chapter  7

7.2.3 An Example: The University Effect on House Prices

Slide 7-16Principles of Econometrics, 3rd Edition

Page 17: Chapter  7

7.2.3 An Example: The University Effect on House Prices

Slide 7-17Principles of Econometrics, 3rd Edition

(7.13) 1 1 2

3 2 3 +

PRICE UTOWN SQFT SQFT UTOWN

AGE POOL FPLACE e

Page 18: Chapter  7

7.2.3 An Example: The University Effect on House Prices

Slide 7-18Principles of Econometrics, 3rd Edition

Page 19: Chapter  7

7.2.3 An Example: The University Effect on House Prices

Slide 7-19Principles of Econometrics, 3rd Edition

(24.5 27.453) (7.6122 1.2994) .1901 4.3772 1.6492

51.953+8.9116 .1901 4.3772 1.6492

PRICE SQFT AGEPOOL FPLACE

SQFT AGE POOL FPLACE

24.5 7.6122 .1901 4.3772 1.6492PRICE SQFT AGE POOL FPLACE

Page 20: Chapter  7

7.2.3 An Example: The University Effect on House Prices

Based on these regression results, we estimate the location premium, for lots near the university, to be $27,453 the price per square foot to be $89.12 for houses near the university,

and $76.12 for houses in other areas. that houses depreciate $190.10 per year that a pool increases the value of a home by $4377.20 that a fireplace increases the value of a home by $1649.20

Slide 7-20Principles of Econometrics, 3rd Edition

Page 21: Chapter  7

7.3 Applying dummy variables

7.3.1 Interactions Between Qualitative Factors

Slide 7-21Principles of Econometrics, 3rd Edition

(7.14) 1 2 1 2WAGE EDUC BLACK FEMALE BLACK FEMALE e

1 2

1 1 2

1 2 2

1 1 2 2

( )

EDUC WHITE MALEEDUC BLACK MALE

E WAGEEDUC WHITE FEMALE

EDUC BLACK FEMALE

Page 22: Chapter  7

7.3.1 Interactions Between Qualitative Factors

Slide 7-22Principles of Econometrics, 3rd Edition

Page 23: Chapter  7

7.3.1 Interactions Between Qualitative Factors

Slide 7-23Principles of Econometrics, 3rd Edition

( ) // ( )

R U

U

SSE SSE JFSSE N K

4.9122 1.1385 (se) (.9668) (.0716)WAGE EDUC

( ) / (31093 29308) / 3 20.20/ ( ) 29308 / 995

R U

U

SSE SSE JFSSE N K

Page 24: Chapter  7

7.3.2 Qualitative Factors with Several Categories

Slide 7-24Principles of Econometrics, 3rd Edition

(7.15)1 2 1 2 3WAGE EDUC + SOUTH MIDWEST WEST e

1 3 2

1 2 2

1 1 2

1 2

( )

EDUC WESTEDUC MIDWEST

E WAGEEDUC SOUTH

EDUC NORTHEAST

Page 25: Chapter  7

7.3.2 Qualitative Factors with Several Categories

Slide 7-25Principles of Econometrics, 3rd Edition

Page 26: Chapter  7

7.3.3 Testing the Equivalence of Two Regressions

Slide 7-26Principles of Econometrics, 3rd Edition

(7.16)

1 2 1 2

1 2 3

4 5

WAGE EDUC BLACK FEMALE BLACK FEMALE

SOUTH EDUC SOUTH BLACK SOUTH

FEMALE SOUTH BLACK FEMALE SOUTH e

1 2 1 2

1 1 2 2 1 3

2 4 5

0

( ) ( ) ( ) 1

( ) ( )

EDUC BLACK FEMALESOUTH

BLACK FEMALEE WAGE

EDUC BLACK SOUTH

FEMALE BLACK FEMALE

Page 27: Chapter  7

7.3.3 Testing the Equivalence of Two Regressions

Slide 7-27Principles of Econometrics, 3rd Edition

Page 28: Chapter  7

7.3.3 Testing the Equivalence of Two Regressions

Slide 7-28Principles of Econometrics, 3rd Edition

0 1 2 3 4 5: 0H

( ) / (29307.7 29012.7) / 5 2.0132/ ( ) 29012.7 / 990

R U

U

SSE SSE JFSSE N K

Page 29: Chapter  7

7.3.3 Testing the Equivalence of Two Regressions

Slide 7-29Principles of Econometrics, 3rd Edition

Remark: The usual F-test of a joint hypothesis relies on the

assumptions MR1-MR6 of the linear regression model. Of particular

relevance for testing the equivalence of two regressions is assumption

MR3, that the variance of the error term is the same for all observations.

If we are considering possibly different slopes and intercepts for parts of

the data, it might also be true that the error variances are different in the

two parts of the data. In such a case the usual F-test is not valid.

Page 30: Chapter  7

7.3.4 Controlling for Time

7.3.4a Seasonal Dummies

7.3.4b Annual Dummies

7.3.4c Regime Effects

Slide 7-30Principles of Econometrics, 3rd Edition

1 1962 1965,1970 19860

ITCotherwise

1 2 3 1t t t t tINV ITC GNP GNP e

Page 31: Chapter  7

7.4 Interactions Between Continuous Variables

Slide 7-31Principles of Econometrics, 3rd Edition

Page 32: Chapter  7

7.4 Interactions Between Continuous Variables

Slide 7-32Principles of Econometrics, 3rd Edition

(7.17)1 2 3PIZZA AGE INCOME e

1 2 3PIZZA AGE INCOME e

3( )E PIZZA INCOME

342.88 7.58 .0024 ( ) ( 3.27) (3.95)PIZZA AGE INCOME

t

Page 33: Chapter  7

7.4 Interactions Between Continuous Variables

Slide 7-33Principles of Econometrics, 3rd Edition

(7.18)1 2 3 4 ( )PIZZA AGE INCOME AGE INCOME e

2 4( )E PIZZA AGE INCOME

3 4( )E PIZZA INCOME AGE

161.47 2.98 .009 .00016( ) ( ) ( .89) (2.47) ( 1.85)PIZZA AGE INCOME AGE INCOME

t

Page 34: Chapter  7

7.4 Interactions Between Continuous Variables

Slide 7-34Principles of Econometrics, 3rd Edition

2 4

( )

2.98 .00016

6.98 for $25,00017.40 for $90,000

E PIZZA b b INCOMEAGE

INCOME

INCOMEINCOME

Page 35: Chapter  7

7.5 Log-Linear models

7.5.1 Dummy Variables

Slide 7-35Principles of Econometrics, 3rd Edition

(7.19)1 2ln( )WAGE EDUC FEMALE

1 2

1 2

ln( )EDUC MALES

WAGEEDUC FEMALES

Page 36: Chapter  7

7.5.1a A Rough Calculation

Slide 6-36Principles of Econometrics, 3rd Edition

ln( ) ln( ) lnFEMALES MALESWAGE WAGE WAGE

ln( ) .9290 .1026 .2526 (se) (.0837) (.0061) (.0300)

WAGE EDUC FEMALE

Page 37: Chapter  7

7.5.1b An Exact Calculation

Slide 7-37Principles of Econometrics, 3rd Edition

ln( ) ln( ) ln FEMALESFEMALES MALES

MALES

WAGEWAGE WAGEWAGE

FEMALES

MALES

WAGE eWAGE

1FEMALES MALES FEMALES MALES

MALES MALES MALES

WAGE WAGE WAGE WAGE eWAGE WAGE WAGE

ˆ .2526100 1 % 100 1 % 22.32%e e

Page 38: Chapter  7

7.5.2 Interaction and Quadratic Terms

Slide 7-38Principles of Econometrics, 3rd Edition

(7.20)1 2 3ln( ) ( )WAGE EDUC EXPER EDUC EXPER

3

ln( )

EDUC fixed

WAGE EDUCEXPER

ln( ) .1528 +.1341 .0249 .000962( ) (se) (.1722) (.0127) (.0071) (.00054)

WAGE EDUC EXPER EDUC EXPER

Page 39: Chapter  7

7.5.2 Interaction and Quadratic Terms

Slide 7-39Principles of Econometrics, 3rd Edition

21 2 3 4ln( )WAGE EDUC EXPER EXPER EDUC EXPER

3 4% 100 2 %WAGE EXPER EDUC

Page 40: Chapter  7

Keywords

Slide 7-40Principles of Econometrics, 3rd Edition

annual dummy variables binary variable Chow test collinearity dichotomous variable dummy variable dummy variable trap exact collinearity hedonic model interaction variable intercept dummy variable log-linear models nonlinear relationship polynomial

reference group regional dummy variable seasonal dummy variables slope dummy variable

Page 41: Chapter  7

Chapter 7 Appendix

Slide 7-41Principles of Econometrics, 3rd Edition

Appendix 7 Details of log-linear model

interpretation

Page 42: Chapter  7

Appendix 7 Details of log-linear model interpretation

Slide 7-42Principles of Econometrics, 3rd Edition

2 21 2 1 2( ) exp( 2) exp exp 2E y x x

21 2( ) exp exp 2E y x D

Page 43: Chapter  7

Appendix 7 Details of log-linear model interpretation

Slide 7-43Principles of Econometrics, 3rd Edition

1 0

0

2 21 2 1 2

21 2

1 2 1 2

1 2

% ( ) 100 %

exp exp 2 exp exp 2100 %

exp exp 2

exp exp exp100 %

exp

100 exp 1 %

E y E yE y

E y

x x

x

x xx

Page 44: Chapter  7

Appendix 7 Details of log-linear model interpretation

Slide 7-44Principles of Econometrics, 3rd Edition

21 2 3( ) exp ( ) exp 2E y x z xz

21 2 3 3

( ) exp ( ) exp 2 )E y x z xz xz

3( ) ( )100 100 %E y E y x

z