Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

download Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

of 26

Transcript of Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    1/26

    Christopher Dougherty

    EC220 - Introduction to econometrics

    (chapter 14)

    Slideshow !i"ed e!!ects regressions #SD$ method

    %riginal citation

    Dougherty, C. (2012) EC220 - Introduction to econometrics (chapter 14). [eaching !esource"

    # 2012 he $uthor

    his %ersion a%ai&a'&e at http&earningresources.&se.ac.u*140

    $%ai&a'&e in +E +earning !esources n&ine ay 2012

    his /or* is &icensed under a Creati%e Commons $ttri'ution-hare$&i*e .0 +icense. his &icense a&&o/s

    the user to remi, t/ea*, and 'ui&d upon the /or* e%en or commercia& purposes, as &ong as the user

    credits the author and &icenses their ne/ creations under the identica& terms.

    httpcreati%ecommons.org&icenses'y-sa.0

    http&&learningresources'lse'ac'u&

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    2/26

    In the third ersion o! the !i"ed e!!ects approach* nown as the least s+uares dummy

    aria,le (#SD$) method* the uno,sered e!!ect is ,rought e"plicitly into the model'

    i"ed e!!ects estimation (least s+uares dummy aria,le method)

    iti

    k

    j

    jitjit tXY

    =

    2

    1

    it

    n

    i

    ii

    k

    j

    jitjit AtXY =

    12

    I.ED EEC/S EESSI%S #SD$ 3E/%D

    1

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    3/26

    I! we de!ine a set o! dummy aria,lesAi* whereA

    iis e+ual to 1 in the case o! an o,seration

    relating to indiidual iand 0 otherwise* the model can ,e rewritten as shown'

    i"ed e!!ects estimation (least s+uares dummy aria,le method)

    iti

    k

    j

    jitjit tXY

    =

    2

    1

    it

    n

    i

    ii

    k

    j

    jitjit AtXY =

    12

    2

    I.ED EEC/S EESSI%S #SD$ 3E/%D

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    4/26

    ormally* the uno,sered e!!ectis now ,eing treated as the coe!!icient o! the indiidual-

    speci!ic dummy aria,le* theiA

    iterm representing a !i"ed e!!ect on the dependent aria,le

    Yi!or indiidual i (this accounts !or the name gien to the !i"ed e!!ects approach)'

    i"ed e!!ects estimation (least s+uares dummy aria,le method)

    iti

    k

    j

    jitjit tXY

    =

    2

    1

    it

    n

    i

    ii

    k

    j

    jitjit AtXY =

    12

    I.ED EEC/S EESSI%S #SD$ 3E/%D

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    5/26

    aing re-speci!ied the model in this way* it can ,e !itted using %#S'

    i"ed e!!ects estimation (least s+uares dummy aria,le method)

    iti

    k

    j

    jitjit tXY

    =

    2

    1

    it

    n

    i

    ii

    k

    j

    jitjit AtXY =

    12

    4

    I.ED EEC/S EESSI%S #SD$ 3E/%D

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    6/26

    ote that i! we include a dummy aria,le !or eery indiidual in the sample as well as an

    intercept* we will !all into the dummy aria,le trap'

    i"ed e!!ects estimation (least s+uares dummy aria,le method)

    iti

    k

    j

    jitjit tXY

    =

    2

    1

    it

    n

    i

    ii

    k

    j

    jitjit AtXY =

    12

    3

    I.ED EEC/S EESSI%S #SD$ 3E/%D

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    7/26

    /o aoid this* we can de!ine one indiidual to ,e the re!erence category* so that 1is its

    intercept* and then treat theias the shi!ts in the intercept !or the other indiiduals'

    i"ed e!!ects estimation (least s+uares dummy aria,le method)

    iti

    k

    j

    jitjit tXY

    =

    2

    1

    it

    n

    i

    ii

    k

    j

    jitjit AtXY =

    12

    I.ED EEC/S EESSI%S #SD$ 3E/%D

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    8/26

    oweer* the choice o! re!erence category is o!ten ar,itrary and accordingly the

    interpretation o! theinot particularly illuminating'

    i"ed e!!ects estimation (least s+uares dummy aria,le method)

    iti

    k

    j

    jitjit tXY

    =

    2

    1

    it

    n

    i

    ii

    k

    j

    jitjit AtXY =

    12

    5

    I.ED EEC/S EESSI%S #SD$ 3E/%D

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    9/26

    i"ed e!!ects estimation (least s+uares dummy aria,le method)

    iti

    k

    j

    jitjit tXY

    =

    2

    1

    it

    n

    i

    ii

    k

    j

    jitjit AtXY =

    12

    5lternatiely* we can drop the 1intercept and de!ine dummy aria,les !or all o! the

    indiiduals* as has ,een done here' /heinow ,ecome the intercepts !or each o! the

    indiiduals'6

    I.ED EEC/S EESSI%S #SD$ 3E/%D

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    10/26

    i"ed e!!ects estimation (least s+uares dummy aria,le method)

    iti

    k

    j

    jitjit tXY

    =

    2

    1

    it

    n

    i

    ii

    k

    j

    jitjit AtXY =

    12

    ote that* in common with the !irst two ersions o! the !i"ed e!!ects approach* the #SD$

    method re+uires panel data'

    7

    I.ED EEC/S EESSI%S #SD$ 3E/%D

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    11/26

    i"ed e!!ects estimation (least s+uares dummy aria,le method)

    iti

    k

    j

    jitjit tXY

    =

    2

    1

    it

    n

    i

    ii

    k

    j

    jitjit AtXY =

    12

    6ith cross-sectional data* one would ,e de!ining a dummy aria,le !or eery o,seration*

    e"hausting the degrees o! !reedom' /he dummy aria,les on their own would gie a per!ect

    ,ut meaningless !it'10

    I.ED EEC/S EESSI%S #SD$ 3E/%D

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    12/26

    I! there are a large num,er o! indiiduals* using the #SD$ method directly is not a practical

    proposition* gien the need !or a large num,er o! dummy aria,les'

    i"ed e!!ects estimation (least s+uares dummy aria,le method)

    iti

    k

    j

    jitjit tXY

    =

    2

    1

    it

    n

    i

    ii

    k

    j

    jitjit AtXY =

    12

    11

    I.ED EEC/S EESSI%S #SD$ 3E/%D

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    13/26

    oweer* it can ,e shown mathematically that the approach is e+uialent to the within-

    groups method and there!ore yields precisely the same estimates'

    i"ed e!!ects estimation (least s+uares dummy aria,le method)

    E+uialent to within-groups method

    iti

    k

    j

    jitjit tXY

    =

    2

    1

    it

    n

    i

    ii

    k

    j

    jitjit AtXY =

    12

    iit

    k

    jjijitjiit ttXXYY

    =

    )()(2

    12

    I.ED EEC/S EESSI%S #SD$ 3E/%D

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    14/26

    /hus in practice we always use the within-groups method rather than the #SD$ method'

    7ut it may ,e use!ul to now that the within-groups method is e+uialent to modelling the

    !i"ed e!!ects with dummy aria,les'

    i"ed e!!ects estimation (least s+uares dummy aria,le method)

    E+uialent to within-groups method

    iti

    k

    j

    jitjit tXY

    =

    2

    1

    it

    n

    i

    ii

    k

    j

    jitjit AtXY =

    12

    1

    I.ED EEC/S EESSI%S #SD$ 3E/%D

    iit

    k

    jjijitjiit ttXXYY

    =

    )()(2

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    15/26

    /he only apparent di!!erence ,etween the #SD$ and within-groups methods is in the

    num,er o! degrees o! !reedom' It is easy to see !rom the #SD$ speci!ication that there are

    nT8 k8 ndegrees o! !reedom i! the panel is ,alanced'

    i"ed e!!ects estimation (least s+uares dummy aria,le method)

    E+uialent to within-groups method

    iti

    k

    j

    jitjit tXY

    =

    2

    1

    it

    n

    i

    ii

    k

    j

    jitjit AtXY =

    12

    14

    I.ED EEC/S EESSI%S #SD$ 3E/%D

    iit

    k

    jjijitjiit

    ttXXYY

    =

    )()(2

    I.ED EEC/S EESSI%S #SD$ 3E/%D

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    16/26

    In the within-groups approach* it seemed at !irst that there were nT8 k' oweer ndegrees

    o! !reedom are consumed in the manipulation that eliminate thei* so the num,er o!

    degrees o! !reedom is really nT8 k8 n'

    i"ed e!!ects estimation (least s+uares dummy aria,le method)

    E+uialent to within-groups method

    iti

    k

    j

    jitjit tXY

    =

    2

    1

    it

    n

    i

    ii

    k

    j

    jitjit AtXY =

    12

    13

    I.ED EEC/S EESSI%S #SD$ 3E/%D

    iit

    k

    jjijitjiit

    ttXXYY

    =

    )()(2

    I.ED EEC/S EESSI%S #SD$ 3E/%D

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    17/26

    /o illustrate the use o! a !i"ed e!!ects model* we return to the e"ample in Section 1 and use

    all the aaila,le data !rom 19:0 to 199;* 20*) (0'012)

    Soon-to-,e- 0'09; 0'04? 80'0;1

    married (0'009) (0'010) (0'00:)

    Single 8 8 80'10;

    (0'012)

    R2 0'

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    18/26

    /he ta,le shows the e"tra hourly earnings o! married men and o! men who are single ,ut

    married within the ne"t !our years' /he omitted category in the !irst two columns is single

    men who are still single !our years later'15

    I.ED EEC/S EESSI%S #SD$ 3E/%D

    #S= 19:08199;

    Dependent aria,le logarithm o! hourly earnings

    %#S i"ed e!!ects

    3arried 0'1:4 0'10; 8

    (0'00>) (0'012)

    Soon-to-,e- 0'09; 0'04? 80'0;1

    married (0'009) (0'010) (0'00:)

    Single 8 8 80'10;

    (0'012)

    R2 0'

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    19/26

    /he controls (not shown) are the same as in the e"ample in the !irst slideshow on panel

    data'

    16

    I.ED EEC/S EESSI%S #SD$ 3E/%D

    #S= 19:08199;

    Dependent aria,le logarithm o! hourly earnings

    %#S i"ed e!!ects

    3arried 0'1:4 0'10; 8

    (0'00>) (0'012)

    Soon-to-,e- 0'09; 0'04? 80'0;1

    married (0'009) (0'010) (0'00:)

    Single 8 8 80'10;

    (0'012)

    R2 0'

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    20/26

    /he !irst column gies the estimates o,tained ,y simply pooling the o,serations and using

    %#S with ro,ust standard errors' /he estimates are ery similar to those in the wage

    e+uation !or 19:: in the e"ample in the !irst slideshow onpanel data'17

    I.ED EEC/S EESSI%S #SD$ 3E/%D

    #S= 19:08199;

    Dependent aria,le logarithm o! hourly earnings

    %#S i"ed e!!ects

    3arried 0'1:4 0'10; 8

    (0'00>) (0'012)

    Soon-to-,e- 0'09; 0'04? 80'0;1

    married (0'009) (0'010) (0'00:)

    Single 8 8 80'10;

    (0'012)

    R2 0'

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    21/26

    /he second column gies the !i"ed e!!ects estimates* using the within-groups method* with

    single men as the re!erence category' /he third gies the !i"ed e!!ects estimates with

    married men as the re!erence category'20

    I.ED EEC/S EESSI%S #SD$ 3E/%D

    #S= 19:08199;

    Dependent aria,le logarithm o! hourly earnings

    %#S i"ed e!!ects

    3arried 0'1:4 0'10; 8

    (0'00>) (0'012)

    Soon-to-,e- 0'09; 0'04? 80'0;1

    married (0'009) (0'010) (0'00:)

    Single 8 8 80'10;

    (0'012)

    R2 0'

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    22/26

    /he !i"ed e!!ects estimates are considera,ly lower than the %#S estimates* suggesting that

    the %#S estimates were in!lated ,y uno,sered heterogeneity' eertheless the pattern is the

    same'21

    I.ED EEC/S EESSI%S #SD$ 3E/%D

    #S= 19:08199;

    Dependent aria,le logarithm o! hourly earnings

    %#S i"ed e!!ects

    3arried 0'1:4 0'10; 8

    (0'00>) (0'012)

    Soon-to-,e- 0'09; 0'04? 80'0;1

    married (0'009) (0'010) (0'00:)

    Single 8 8 80'10;

    (0'012)

    R2 0'

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    23/26

    %ur !indings con!irm that married men earn more than single men' @art o! the di!!erential

    appears to ,e attri,uta,le to the characteristics o! married men* since men who are soon-

    to-marry ,ut still single also enAoy a signi!icant earnings premium'22

    I.ED EEC/S EESSI%S #SD$ 3E/%D

    #S= 19:08199;

    Dependent aria,le logarithm o! hourly earnings

    %#S i"ed e!!ects

    3arried 0'1:4 0'10; 8

    (0'00>) (0'012)

    Soon-to-,e- 0'09; 0'04? 80'0;1

    married (0'009) (0'010) (0'00:)

    Single 8 8 80'10;

    (0'012)

    R2 0'

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    24/26

    oweer i! we mae married men the omitted category* as in the third column* we !ind that

    soon-to-,e-married men earn signi!icantly less than married men' /hus part o! the

    marriage premium appears to ,e attri,uta,le to the e!!ect o! marriage itsel!'2

    I.ED EEC/S EESSI%S #SD$ 3E/%D

    #S= 19:08199;

    Dependent aria,le logarithm o! hourly earnings

    %#S i"ed e!!ects

    3arried 0'1:4 0'10; 8

    (0'00>) (0'012)

    Soon-to-,e- 0'09; 0'04? 80'0;1

    married (0'009) (0'010) (0'00:)

    Single 8 8 80'10;

    (0'012)

    R2 0'

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    25/26

    ence ,oth hypotheses relating to the marriage premium appear to ,e partly true'

    24

    I.ED EEC/S EESSI%S #SD$ 3E/%D

    #S= 19:08199;

    Dependent aria,le logarithm o! hourly earnings

    %#S i"ed e!!ects

    3arried 0'1:4 0'10; 8

    (0'00>) (0'012)

    Soon-to-,e- 0'09; 0'04? 80'0;1

    married (0'009) (0'010) (0'00:)

    Single 8 8 80'10;

    (0'012)

    R2 0'

  • 7/24/2019 Chapter 14 Fixed Effects Regressions Least Square Dummy Variable Approach (EC220)

    26/26

    Copyright Christopher Dougherty 2011'

    /hese slideshows may ,e downloaded ,y anyone* anywhere !or personal use'

    Su,Aect to respect !or copyright and* where appropriate* attri,ution* they may ,e

    used as a resource !or teaching an econometrics course' /here is no need to

    re!er to the author'

    /he content o! this slideshow comes !rom Section 14'2 o! C' Dougherty*

    Introduction to Econometrics* !ourth edition 2011* %"!ord Bniersity @ress'

    5dditional (!ree) resources !or ,oth students and instructors may ,e

    downloaded !rom the %B@ %nline esource Centre

    http&&www'oup'com&u&orc&,in&9>:0199?;>0:9&'

    Indiiduals studying econometrics on their own and who !eel that they might

    ,ene!it !rom participation in a !ormal course should consider the #ondon School

    o! Economics summer school course

    EC212 Introduction to Econometrics

    http&&www2'lse'ac'u&study&summerSchools&summerSchool&ome'asp"or the Bniersity o! #ondon International @rogrammes distance learning course

    20 Elements o! Econometrics

    www'londoninternational'ac'u&lse'

    11 0 2