tabulate provinceid,gen(PRO)
tabulate industry_4 , gen(IND)
tabulate year,gen(REG)
drop REG1
drop IND1
drop PRO1
xtreg lresearch vsum hhilnlabor1 ros1 lsubsidy soe private foreign REG* PRO* IND*,fe
三个虚拟变量都出现共线性问题:
结果如下:
xtreg lresearch vsum hhi lnlabor1 ros1 lsubsidy soe private foreign REG* PRO* IND*,fe
note: REG2 omitted because of collinearity
note: REG3 omitted because of collinearity
note: REG6 omitted because of collinearity
note: REG7 omitted because of collinearity
note: PRO2 omitted because of collinearity
note: PRO3 omitted because of collinearity
note: PRO4 omitted because of collinearity
note: PRO5 omitted because of collinearity
note: PRO6 omitted because of collinearity
note: PRO7 omitted because of collinearity
note: PRO8 omitted because of collinearity
note: PRO9 omitted because of collinearity
note: PRO10 omitted because of collinearity
note: PRO11 omitted because of collinearity
note: PRO12 omitted because of collinearity
note: PRO13 omitted because of collinearity
note: PRO14 omitted because of collinearity
note: PRO15 omitted because of collinearity
note: PRO16 omitted because of collinearity
note: PRO17 omitted because of collinearity
note: PRO18 omitted because of collinearity
note: PRO19 omitted because of collinearity
note: PRO20 omitted because of collinearity
note: PRO21 omitted because of collinearity
note: PRO22 omitted because of collinearity
note: PRO23 omitted because of collinearity
note: PRO24 omitted because of collinearity
note: PRO25 omitted because of collinearity
note: PRO26 omitted because of collinearity
note: PRO27 omitted because of collinearity
note: PRO28 omitted because of collinearity
note: PRO29 omitted because of collinearity
note: IND2 omitted because of collinearity
note: IND3 omitted because of collinearity
note: IND4 omitted because of collinearity
note: IND5 omitted because of collinearity
Fixed-effects (within) regression Number of obs = 339
Group variable: id Number of groups = 249
R-sq: within = 0.2790 Obs per group: min = 1
between = 0.0290 avg = 1.4
overall = 0.0524 max = 3
F(10,80) = 3.10
corr(u_i, Xb) = -0.2694 Prob > F = 0.0022
------------------------------------------------------------------------------
lresearch | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
vsum | .0015206 .0027876 0.55 0.587 -.0040269 .0070681
hhi | .5849587 13.10891 0.04 0.965 -25.5026 26.67252
lnlabor1 | .0933548 .3189847 0.29 0.771 -.5414449 .7281546
ros1 | -.7806015 .8556584 -0.91 0.364 -2.483416 .922213
lsubsidy | -.1140379 .0848694 -1.34 0.183 -.2829333 .0548575
soe | .6553425 .629896 1.04 0.301 -.5981904 1.908876
private | .8968121 .3547705 2.53 0.013 .1907963 1.602828
foreign | 1.857314 1.202142 1.55 0.126 -.5350247 4.249654
REG2 | 0 (omitted)
REG3 | 0 (omitted)
REG4 | -1.331041 .4414639 -3.02 0.003 -2.209582 -.4524997
REG5 | -1.148099 .4552052 -2.52 0.014 -2.053987 -.2422121
REG6 | 0 (omitted)
REG7 | 0 (omitted)
PRO2 | 0 (omitted)
PRO3 | 0 (omitted)
PRO4 | 0 (omitted)
PRO5 | 0 (omitted)
PRO6 | 0 (omitted)
PRO7 | 0 (omitted)
PRO8 | 0 (omitted)
PRO9 | 0 (omitted)
PRO10 | 0 (omitted)
PRO11 | 0 (omitted)
PRO12 | 0 (omitted)
PRO13 | 0 (omitted)
PRO14 | 0 (omitted)
PRO15 | 0 (omitted)
PRO16 | 0 (omitted)
PRO17 | 0 (omitted)
PRO18 | 0 (omitted)
PRO19 | 0 (omitted)
PRO20 | 0 (omitted)
PRO21 | 0 (omitted)
PRO22 | 0 (omitted)
PRO23 | 0 (omitted)
PRO24 | 0 (omitted)
PRO25 | 0 (omitted)
PRO26 | 0 (omitted)
PRO27 | 0 (omitted)
PRO28 | 0 (omitted)
PRO29 | 0 (omitted)
IND2 | 0 (omitted)
IND3 | 0 (omitted)
IND4 | 0 (omitted)
IND5 | 0 (omitted)
_cons | 7.362842 1.906623 3.86 0.000 3.56854 11.15714
-------------+----------------------------------------------------------------
sigma_u | 2.2161597
sigma_e | .77200962
rho | .89178144 (fraction of variance due to u_i)
------------------------------------------------------------------------------
F test that all u_i=0: F(248, 80) = 6.22 Prob > F = 0.0000
.
求问如何解决
扫码加好友,拉您进群



收藏
