xtoaxaca - Extending the Kitagawa-Oaxaca-Blinder Decomposition - - PowerPoint PPT Presentation

xtoaxaca extending the kitagawa oaxaca blinder
SMART_READER_LITE
LIVE PREVIEW

xtoaxaca - Extending the Kitagawa-Oaxaca-Blinder Decomposition - - PowerPoint PPT Presentation

xtoaxaca - Extending the Kitagawa-Oaxaca-Blinder Decomposition Approach to longitudinal data analyses Hannes Kr oger, J org Hartmann German Institute for Economic Research (DIW), Berlin University of G ottingen 24.05.2019 1 / 27 Who


slide-1
SLIDE 1

xtoaxaca - Extending the Kitagawa-Oaxaca-Blinder Decomposition Approach to longitudinal data analyses

Hannes Kr¨

  • ger, J¨
  • rg Hartmann

German Institute for Economic Research (DIW), Berlin University of G¨

  • ttingen

24.05.2019

1 / 27

slide-2
SLIDE 2

Who would benefit from using xtoaxaca

You have at least two time points You want a flexible way to decompose the level over time You want a (counterfactual) decomposition of change over time

2 / 27

slide-3
SLIDE 3

Prior approaches

Based on different research questions very many different decompositions can be chosen At the moment we cannot make a systematic comparison We present our preferred solution

3 / 27

slide-4
SLIDE 4

Traditional approach Kitagawa-Oaxaca-Blinder decomposition

R = E(YA) − E(YB)

4 / 27

slide-5
SLIDE 5

Traditional approach Kitagawa-Oaxaca-Blinder decomposition

R = E(YA) − E(YB) Yl = Xlβl + ǫl, E(ǫl) = 0, l ∈ {A, B}

4 / 27

slide-6
SLIDE 6

Traditional approach Kitagawa-Oaxaca-Blinder decomposition

R = E(YA) − E(YB) Yl = Xlβl + ǫl, E(ǫl) = 0, l ∈ {A, B} R = E + C + I

R = [E(XB) − E(XA)]βA + E(XA)(βB − βA) + [E(XB) − E(XA)](βB − βA)

4 / 27

slide-7
SLIDE 7

Traditional approach Kitagawa-Oaxaca-Blinder decomposition

R = E(YA) − E(YB) Yl = Xlβl + ǫl, E(ǫl) = 0, l ∈ {A, B} R = E + C + I

R = [E(XB) − E(XA)]βA + E(XA)(βB − βA) + [E(XB) − E(XA)](βB − βA)

4 / 27

slide-8
SLIDE 8

Traditional approach Kitagawa-Oaxaca-Blinder decomposition

R = E(YA) − E(YB) Yl = Xlβl + ǫl, E(ǫl) = 0, l ∈ {A, B} R = E + C + I

R = [E(XB) − E(XA)]βA + E(XA)(βB − βA) + [E(XB) − E(XA)](βB − βA)

4 / 27

slide-9
SLIDE 9

Traditional approach Kitagawa-Oaxaca-Blinder decomposition

R = E(YA) − E(YB) Yl = Xlβl + ǫl, E(ǫl) = 0, l ∈ {A, B} R = E + C + I

R = [E(XB) − E(XA)]βA + E(XA)(βB − βA) + [E(XB) − E(XA)](βB − βA)

4 / 27

slide-10
SLIDE 10

Research questions for the parts of the decomposition

E: How much smaller/bigger would the gap be, if the endowments of group A were the same as for group B?

5 / 27

slide-11
SLIDE 11

Research questions for the parts of the decomposition

E: How much smaller/bigger would the gap be, if the endowments of group A were the same as for group B? C: How much smaller/bigger would the gap be, if the effect of the explanatory variables of group A were the same as the effects for group B?

5 / 27

slide-12
SLIDE 12

GC prediction approach

R(t) = E(YB(t) − YA(t)) Latent growth curve model for change in happiness parametric, semi-parametric, non-parametric

6 / 27

slide-13
SLIDE 13

Predictions of happiness

4 4.5 5 5.5 6 6.5 7 7.5 8 1 2 3 4 5 6 7 8 9 10 Time

High education Low education Low education - High E Low education - High E+C 95%-CI

slide-14
SLIDE 14

Counterfactual predictions of happiness

4 4.5 5 5.5 6 6.5 7 7.5 8 1 2 3 4 5 6 7 8 9 10 Time

High education Low education Low education - High E Low education - High E+C 95%-CI

slide-15
SLIDE 15

Counterfactual predictions of happiness

4 4.5 5 5.5 6 6.5 7 7.5 8 1 2 3 4 5 6 7 8 9 10 Time

High education Low education Low education - High E Low education - High E+C 95%-CI

slide-16
SLIDE 16

Predictions of happiness

4 4.5 5 5.5 6 6.5 7 7.5 8 1 2 3 4 5 6 7 8 9 10 Time

High education Low education Low education - High E Low education - High E+C 95%-CI

slide-17
SLIDE 17

Counterfactual predictions of happiness

4 4.5 5 5.5 6 6.5 7 7.5 8 1 2 3 4 5 6 7 8 9 10 Time

High education Low education Low education - High E Low education - High E+C 95%-CI

slide-18
SLIDE 18

Counterfactual predictions of happiness

4 4.5 5 5.5 6 6.5 7 7.5 8 1 2 3 4 5 6 7 8 9 10 Time

High education Low education Low education - High E Low education - High E+C 95%-CI

slide-19
SLIDE 19

GC decomposition approach

R(t) = E(t) + C(t) + I(t) Decomposition is time dependent

13 / 27

slide-20
SLIDE 20

GC decomposition approach

R(t) = E(t) + C(t) + I(t) Decomposition is time dependent

R = [E(Xht) − E(Xlt)]βlt + E(Xlt)(βht − βlt) + [E(Xht) − E(Xlt)](βht − βlt)

Conditional on functional form of time

13 / 27

slide-21
SLIDE 21

GC decomposition approach

R(t) = E(t) + C(t) + I(t) Decomposition is time dependent

R = [E(Xht) − E(Xlt)]βlt + E(Xlt)(βht − βlt) + [E(Xht) − E(Xlt)](βht − βlt)

Conditional on functional form of time

13 / 27

slide-22
SLIDE 22

GC decomposition approach

R(t) = E(t) + C(t) + I(t) Decomposition is time dependent

R = [E(Xht) − E(Xlt)]βlt + E(Xlt)(βht − βlt) + [E(Xht) − E(Xlt)](βht − βlt)

Conditional on functional form of time

13 / 27

slide-23
SLIDE 23

GC decomposition approach

R(t) = E(t) + C(t) + I(t) Decomposition is time dependent

R = [E(Xht) − E(Xlt)]βlt + E(Xlt)(βht − βlt) + [E(Xht) − E(Xlt)](βht − βlt)

Conditional on functional form of time

13 / 27

slide-24
SLIDE 24

Decomposition of change

Decomposing the change in happiness it always needs two time points to compare

14 / 27

slide-25
SLIDE 25

Decomposition of change

∆Y l = Y l

t − Y l s

= ¯ X l

t βl t − ¯

X l

sβl s

15 / 27

slide-26
SLIDE 26

Decomposition of change

∆Y l = Y l

t − Y l s

= ¯ X l

t βl t − ¯

X l

sβl s

and the change of the group difference over time then is ∆Y = ∆Y A − ∆Y B = ( ¯ X A

t βA t − ¯

X A

s βA s ) − ( ¯

X B

t βB t − ¯

X B

s βB s )

= ¯ X A

t βA t − ¯

X A

s βA s − ¯

X B

t βB t + ¯

X B

s βB s

15 / 27

slide-27
SLIDE 27

Change due to endowment

∆YE = ( ¯ X A

t − ¯

X A

s )βA s − ( ¯

X B

t − ¯

X B

s )βB s

16 / 27

slide-28
SLIDE 28

Change due to endowment

∆YE = ( ¯ X A

t − ¯

X A

s )βA s − ( ¯

X B

t − ¯

X B

s )βB s

16 / 27

slide-29
SLIDE 29

Change due to coefficients

∆YC = (βA

t − βA s ) ¯

X A

s − (βB t − βB s ) ¯

X B

s

17 / 27

slide-30
SLIDE 30

Change due to coefficients

∆YC = (βA

t − βA s ) ¯

X A

s − (βB t − βB s ) ¯

X B

s

17 / 27

slide-31
SLIDE 31

Research questions for the parts of the decomposition

dE: How much smaller/bigger would the change in the gap be, if the endowments of group A had changed in the same way as for group B (and the difference in coefficients had stayed the same)?

18 / 27

slide-32
SLIDE 32

Research questions for the parts of the decomposition

dE: How much smaller/bigger would the change in the gap be, if the endowments of group A had changed in the same way as for group B (and the difference in coefficients had stayed the same)? dC: How much smaller/bigger would the change in the gap be, if the coefficients

  • f group A had changed in the same way as for group B (and the difference in

endowments had stayed the same)?

18 / 27

slide-33
SLIDE 33

Choose data, model and estimator

slide-34
SLIDE 34

Choose data, model and estimator Data Stored estimates Group, time, decomposition variables and time points

slide-35
SLIDE 35

Choose data, model and estimator Data

xtoaxaca

Stored estimates Group, time, decomposition variables and time points margins mean β(g,t) E(X(g,t))

slide-36
SLIDE 36

Choose data, model and estimator Data

xtoaxaca

Stored estimates Group, time, decomposition variables and time points Level Change margins mean β(g,t) E(X(g,t))

slide-37
SLIDE 37

Quick note on the use of margins

all decompositions are done at means or other specified values calculation of average over the population not necessary margins conducted only on one observation speed of the calculation of margins (not mean) independent of sample size

23 / 27

slide-38
SLIDE 38

xtoaxaca in action

xtoaxaca exp, groupvar(group2) groupcat(1 2) timevar(time) times(1 3 5 ) /// model1(base) model2(control) /// timebandwidth(1) basecontrols(edu) change timeref(1)

24 / 27

slide-39
SLIDE 39

xtoaxaca in action

xtoaxaca exp, groupvar(group2) groupcat(1 2) timevar(time) times(1 3 5 ) /// model1(base) model2(control) /// timebandwidth(1) basecontrols(edu) change timeref(1)

24 / 27

slide-40
SLIDE 40

xtoaxaca in action

xtoaxaca exp, groupvar(group2) groupcat(1 2) timevar(time) times(1 3 5 ) /// model1(base) model2(control) /// timebandwidth(1) basecontrols(edu) change timeref(1)

24 / 27

slide-41
SLIDE 41

xtoaxaca in action

xtoaxaca exp, groupvar(group2) groupcat(1 2) timevar(time) times(1 3 5 ) /// model1(base) model2(control) /// timebandwidth(1) basecontrols(edu) change timeref(1)

24 / 27

slide-42
SLIDE 42

xtoaxaca in action

xtoaxaca exp, groupvar(group2) groupcat(1 2) timevar(time) times(1 3 5 ) /// model1(base) model2(control) /// timebandwidth(1) basecontrols(edu) change timeref(1)

24 / 27

slide-43
SLIDE 43

xtoaxaca in action

xtoaxaca exp, groupvar(group2) groupcat(1 2) timevar(time) times(1 3 5 ) /// model1(base) model2(control) /// timebandwidth(1) basecontrols(edu) change timeref(1)

24 / 27

slide-44
SLIDE 44

xtoaxaca in action

xtoaxaca exp, groupvar(group2) groupcat(1 2) timevar(time) times(1 3 5 ) /// model1(base) model2(control) /// timebandwidth(1) basecontrols(edu) change timeref(1)

24 / 27

slide-45
SLIDE 45

xtoaxaca in action

xtoaxaca exp, groupvar(group2) groupcat(1 2) timevar(time) times(1 3 5 ) /// model1(base) model2(control) /// timebandwidth(1) basecontrols(edu) change timeref(1)

24 / 27

slide-46
SLIDE 46

xtoaxaca in action

xtoaxaca exp, groupvar(group2) groupcat(1 2) timevar(time) times(1 3 5 ) /// model1(base) model2(control) /// timebandwidth(1) basecontrols(edu) change timeref(1)

24 / 27

slide-47
SLIDE 47

xtoaxaca in action

xtoaxaca exp, groupvar(group2) groupcat(1 2) timevar(time) times(1 3 5 ) /// model1(base) model2(control) /// timebandwidth(1) basecontrols(edu) change timeref(1)

24 / 27

slide-48
SLIDE 48

xtoaxaca in action

Stata example

25 / 27

slide-49
SLIDE 49

General problems with decomposition

Reference group Reference group of decomposition variables

26 / 27

slide-50
SLIDE 50

Extensions?

Different forms of change decomposition (e.g. Kim, Makepiece) Different counterfactual scenarios Reduce to one model estimation Extension for SEM

27 / 27

slide-51
SLIDE 51