楼主: sqzdk
28965 34

[面板数据求助] 用stata对付异方差&自相关in panel data? [推广有奖]

21
ruclaolan 发表于 2009-12-31 12:07:37
感觉这个挺难的,学习学习
laolan

22
tangs11 发表于 2010-3-9 19:18:12
能否有哪位高人给我们讲一下自相关和异方差在stata中具体如何实现,结果如何判断呢?谢谢

23
shouge1122 发表于 2010-4-21 13:40:47
为什么我的结果会报heterotest does not contain scalar e(ll)

24
jinfengjj 发表于 2010-10-22 17:22:40
这么好的主贴和回帖啊

收藏备用!

25
fyjoy 发表于 2010-12-4 22:22:35
我也遇到了这个问题,怎么解决呀?

26
jinfengjj 发表于 2010-12-7 23:34:34
.
. local df = e(N_g) - 1

.
. lrtest heterotest . , df(`df')

Likelihood-ratio test                                  LR chi2(149)=    266.52
(Assumption: . nested in heterotest)                   Prob > chi2 =    0.0000

27
jinfengjj 发表于 2010-12-7 23:35:06
. xttest3

Modified Wald test for groupwise heteroskedasticity
in cross-sectional time-series FGLS regression model

H0: sigma(i)^2 = sigma^2 for all i

chi2 (150)  =   4218.98
Prob>chi2 =      0.0000

28
200909liu 在职认证  发表于 2013-4-24 21:22:58
Prob > chi2 =    0.0000的意思是存在异方差,之后就可以用gls修正了吗?但修正后还是原来的模型吗?比如说原来的是固定效应模型,修正后还是吗?

29
南京初学者 发表于 2014-2-10 17:42:13
好东西一起分析

30
t818 发表于 2014-10-2 20:38:28
.xttest3
Modified Wald test for groupwise heteroskedasticity
in fixed effect regression model
H0: sigma(i)^2 = sigma^2 for all i
chi2 (7) = 42.77
Prob>chi2 = 0.0000       Presence of heteroskedasticity
The null is homoskedasticity (or constant variance). Above we reject the null and conclude
heteroskedasticity. Type help xttest3 for more details.

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-27 08:29