固定效应模型为Y=A+BX+CHi+DWk+Uit
其中Hi=1,when i=1,2,....,20, Hi=0,when i=其他
Wk=1,when k=2001,2002,....2010,Wk=0, when k=其他
我的STATA命令为:
xtreg y x i.country i.year,fe
但是输入之后,出现的结果是
xtreg y x i.country i.year,fe
note: 2.country omitted because of collinearity
note: 3.country omitted because of collinearity
note: 4.country omitted because of collinearity
note: 5.country omitted because of collinearity
note: 6.country omitted because of collinearity
note: 7.country omitted because of collinearity
note: 8.country omitted because of collinearity
note: 9.country omitted because of collinearity
note: 10.country omitted because of collinearity
note: 11.country omitted because of collinearity
note: 12.country omitted because of collinearity
note: 13.country omitted because of collinearity
note: 14.country omitted because of collinearity
note: 15.country omitted because of collinearity
note: 16.country omitted because of collinearity
note: 17.country omitted because of collinearity
note: 18.country omitted because of collinearity
note: 19.country omitted because of collinearity
note: 20.country omitted because of collinearity
Fixed-effects (within) regression Number of obs = 180
Group variable: country Number of groups = 20
R-sq: within = 0.5316 Obs per group: min = 9
between = 0.5135 avg = 9.0
overall = 0.3069 max = 9