楼主: nkzhh
108032 142

[程序分享] 用stata如何检验panel的自相关和异方差   [推广有奖]

51
nuonuo719 发表于 2008-5-6 12:34:00
XTSCC可以用在随机效应中吗?

52
cpine2000 发表于 2008-5-6 20:40:00
可以。option里面加fe才是固定效应。你可以help xtscc

53
wbzdwss 发表于 2008-5-9 10:45:00

xtscc不能做re的吧

[此贴子已经被作者于2008-5-9 12:34:04编辑过]

54
gn85779632 发表于 2009-5-17 10:01:00
消除异方差的时候它提示说panels must be balanced。。。怎么解决?谢谢

55
kk22boy 发表于 2009-11-24 08:29:59
学到不少东西,留个贴做记号

56
chrit13 发表于 2009-11-29 11:48:40
1# nkzhh

大大解答的真好

但是stata 10說
xtserial y x

unrecognized command:
請問大大們為何會這樣子呢

57
chrit13 发表于 2009-11-29 13:11:17
57# chrit13

那如果用

xtscc y x1 x2 x3

xtscc y x1 x2 x3,fe

我們要怎麼去比較 上述二條模型何者較佳呢?

而且我也試著用
xtreg y x1 x2 x3,re 用hausman test去與 xtscc y x1 x2 x3 比較那個模型合式,這樣子的方式是對的嗎
請大家幫忙,萬分謝謝

58
chrit13 发表于 2009-11-29 14:08:11
2. /**** LR test for heteroscedasticity ******/
xtgls y x1 x2 x3 x4 x5, i(country) t(year) igls panels(heteroskedastic)
estimates store hetero
xtgls y x1 x2 x3 x4 x5, i(country) t(year)
estimates store nohetero
local df=e(N_g)-1
lrtest hetero nohetero , df(`df')

請問用LR test for heteroscedasticity
那他的HO與H1怎設
謝謝回答

59
bubu0806 发表于 2009-12-2 20:06:41
当然需要检验

60
wenjun2008sheng 发表于 2009-12-6 10:57:29
xtgls 一般用来检验随即效应异方差,而xtscc用来检验固定效应异方差,建议多看看help xtgls ,help xtscc。

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

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