楼主: njusjh
21107 14

求助:关于stata中面板数据异方差检验的结果 [推广有奖]

  • 0关注
  • 0粉丝

大专生

43%

还不是VIP/贵宾

-

威望
0
论坛币
510 个
通用积分
0.4500
学术水平
0 点
热心指数
2 点
信用等级
0 点
经验
830 点
帖子
14
精华
0
在线时间
93 小时
注册时间
2007-10-11
最后登录
2024-4-22

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

在stata中分析面板数据异方差检验结果是,用了以下两种方法:

输出的结果都是“does not contain scalar e(ll)”,是不是可以理解为不存在明显的异方差问题,谢谢!

方法1:

xtgls y x, panel(heteroskedastic) igls
estimates store igls
xtgls y x
local df=e(N_g)-1
lrtest igls . , df(`df')

方法2:

xtgls varlists , p(het)
est store gls
xtgls varlists
lrtest gls

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:Stata 异方差检验 面板数据 方差检验 tata 数据 方差 面板 结果 Stata

沙发
jiuzhuo 发表于 2008-8-4 15:35:00 |只看作者 |坛友微信交流群
我觉得不是吧,是命令出问题了吧

使用道具

藤椅
yjx_ahstu 发表于 2008-12-30 23:01:00 |只看作者 |坛友微信交流群
也出现了类似情况,有处理过类似问题经验的吗,先谢过了!

使用道具

板凳
weijiawx 发表于 2009-4-19 23:08:00 |只看作者 |坛友微信交流群

也出现这样的情况了,唉

有人知道怎么解决吗?

使用道具

报纸
angelaxld 发表于 2009-4-21 01:28:00 |只看作者 |坛友微信交流群
我也出现相同问题,怎么解决呢,请高手帮忙

使用道具

地板
zzx123 发表于 2009-4-21 11:05:00 |只看作者 |坛友微信交流群
提示: 作者被禁止或删除 内容自动屏蔽
签名被屏蔽

使用道具

7
opiumer 发表于 2009-4-27 02:01:00 |只看作者 |坛友微信交流群
以下是引用njusjh在2007-10-25 15:41:00的发言:

在stata中分析面板数据异方差检验结果是,用了以下两种方法:

输出的结果都是“does not contain scalar e(ll)”,是不是可以理解为不存在明显的异方差问题,谢谢!

方法1:

xtgls y x, panel(heteroskedastic) igls
estimates store igls
xtgls y x
local df=e(N_g)-1
lrtest igls . , df(`df')

方法2:

xtgls varlists , p(het)
est store gls
xtgls varlists
lrtest gls

用Stata 9可以解决这个问题

使用道具

8
dragonson 发表于 2009-6-17 17:05:44 |只看作者 |坛友微信交流群
因为stata 10不稳定?有时候可以,大部分时候不行,好像

使用道具

9
xuyekun 发表于 2009-6-18 19:18:55 |只看作者 |坛友微信交流群
菜鸟请教:用方法一做随机效应的异方差检验时,请教下面的结果该选那个FGLS???谢谢!
xtgls prem ex1 size leverage y2003 y2004 y2005 y2006 a b c e f g h j k l, panel(heteroskedastic) igls
Iteration 1: tolerance = .06718213
Iteration 2: tolerance = .07408782
Iteration 3: tolerance = .07265794
*****(到了15000个)/*这是什么意思??
Cross-sectional time-series FGLS regression
Coefficients:  generalized least squares
Panels:        heteroskedastic
Correlation:   no autocorrelation
Estimated covariances      =        86          Number of obs      =       430
Estimated autocorrelations =         0          Number of groups   =        86
Estimated coefficients     =        18          Time periods       =         5
                                                Wald chi2(16)      =    394.38
Log likelihood             =  196.2075          Prob > chi2        =    0.0000
------------------------------------------------------------------------------
        prem |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         ex1 |  -.0077504   .0009596    -8.08   0.000    -.0096311   -.0058696
        size |  -.0253165   .0252192    -1.00   0.315    -.0747452    .0241123
    leverage |  -.0143307   .0109633    -1.31   0.191    -.0358185     .007157
       y2003 |  -.1279191   .0232623    -5.50   0.000    -.1735123   -.0823258
      *
      *
      *
------------------------------------------------------------------------------
estimates store igls
xtgls prem ex1 size leverage y2003 y2004 y2005 y2006 a b c e f g h j k l
Cross-sectional time-series FGLS regression
Coefficients:  generalized least squares
Panels:        homoskedastic
Correlation:   no autocorrelation
Estimated covariances      =         1          Number of obs      =       430
Estimated autocorrelations =         0          Number of groups   =        86
Estimated coefficients     =        18          Time periods       =         5
                                                Wald chi2(17)      =    196.72
Log likelihood             =  -30.2331          Prob > chi2        =    0.0000
------------------------------------------------------------------------------
        prem |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         ex1 |  -.0005294   .0013484    -0.39   0.695    -.0031723    .0021135
        size |  -.2896968   .0349021    -8.30   0.000    -.3581036     -.22129
    leverage |  -.0428388   .0113338    -3.78   0.000    -.0650527   -.0206249
       y2003 |  -.1010495   .0397107    -2.54   0.011     -.178881   -.0232179
       -*
        *
        *
-----------------------------------------------------------------------------
. local df=e(N_g)-1
. lrtest igls . , df(`df')
(log-likelihoods of null models cannot be compared)
likelihood-ratio test                                  LR chi2(85) =      0.00
(Assumption: . nested in igls)                         Prob > chi2 =    1.0000

使用道具

10
sndhdau 发表于 2010-5-9 12:43:56 |只看作者 |坛友微信交流群
我也很想知道啊!

使用道具

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

本版微信群
加好友,备注jltj
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-28 13:25