Hi Everyone,
I want to conduct analysis using SUR method. There would be 4 different systems in which 4 different dependent variables are y1 y2 y3 y4. But explanatory variables are same across the systems: x1 x2 x3 x4 x5. For each system there would be 5 different equations composed of different country samples because the countries are not necessarily same in each wave. Actually I want to do something like McCleary and Barro (2006) did in their paper:
However, I could not understand how they reach single coefficients out of 6 equations in each system. I could not find any option like this in whether sureg or xtsur command.
I have a dataset composed of data from 5 different survey waves looking like this:
wave year ctry y1 y2 y3 y4 x1 x2 x3 x4 x5
1 1980 A
1 1980 B
. . .
. . .
. . .
1 1980 G
1 1980 H
2 1990 D
2 1990 E
. . .
. . .
2 1990 X
2 1990 Y
3 2000 A
3 2000 B
. . .
. . .
3 2000 G
3 2000 H
4 2010 J
4 2010 K
. . .
. . .
. . .
4 2010 Y
4 2010 Z
5 2020 A
5 2020 B
. . .
. . .
. . .
5 2020 G
5 2020 H
Code:
xtset ctry year xtset (y1 x1 x2 x3 x4 x5) (y2 x1 x2 x3 x4 x5) (y3 x1 x2 x3 x4 x5) (y4 x1 x2 x3 x4 x5)
Or should I run sureg for each wave seperately, then take the average of the coefficients for corresponding dependent variables to achieve results like McCleary and Barro (2006).
Code:
sureg (y1 x1 x2 x3 x4 x5) (y2 x1 x2 x3 x4 x5) (y3 x1 x2 x3 x4 x5) (y4 x1 x2 x3 x4 x5) if wave==1 sureg (y1 x1 x2 x3 x4 x5) (y2 x1 x2 x3 x4 x5) (y3 x1 x2 x3 x4 x5) (y4 x1 x2 x3 x4 x5) if wave==2 sureg (y1 x1 x2 x3 x4 x5) (y2 x1 x2 x3 x4 x5) (y3 x1 x2 x3 x4 x5) (y4 x1 x2 x3 x4 x5) if wave==3 sureg (y1 x1 x2 x3 x4 x5) (y2 x1 x2 x3 x4 x5) (y3 x1 x2 x3 x4 x5) (y4 x1 x2 x3 x4 x5) if wave==4 sureg (y1 x1 x2 x3 x4 x5) (y2 x1 x2 x3 x4 x5) (y3 x1 x2 x3 x4 x5) (y4 x1 x2 x3 x4 x5) if wave==5
I am at a point really stucked in my research, Your response would be more than helpful. Thank you in advance.
Comment