全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
12832 6
2007-09-24
<P>请教<STRONG><FONT face=Verdana>arlionn,用xtscc这个命令如何纠正固定效应模型的组间、组内异方差和一阶自相关?</FONT></STRONG></P>
<P><STRONG><FONT face=Verdana>我看了那个文献和HELP命令,但还是理解不透彻!</FONT></STRONG></P>
<P><STRONG><FONT face=Verdana>help上写的例子是,</FONT></STRONG></P>
<P> . est clear</P>
<P>        . xtreg invest mvalue kstock, fe robust</P>
<P>        . est store fe_robust</P>
<P>        . xtscc invest mvalue kstock, fe lag(4)</P>
<P>        . est store fe_dris_kraay</P>
<P>        . est table *, b se t</P>
<P>这里的LAG(4)是不是表示纠正四阶自相关?那么一阶自相关是不是用lag(1)就可以?</P>
<P>如果直接输入xtscc invest mvalue kstock, fe lag(4)去估计不可以么?</P>
<P>如果用命令xtscc invest mvalue kstock, fe lag(1)是否就可以纠正异方差和自相关了?</P>
<P>还有XTTEST3检验出来的是组内异方差吧?</P>
二维码

扫码加我 拉你入群

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

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

全部回复
2007-9-24 15:34:00

详细的说明在这里:

stata journal 2007, vol7-3, pp.281-312

二维码

扫码加我 拉你入群

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

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

2007-9-24 15:56:00

谢谢!

我看到这个文献了,但还是不怎么明白,还是再仔细看看吧!

不懂的话再请教您!

二维码

扫码加我 拉你入群

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

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

2010-4-13 11:11:49
lag(N)的确定在xtscc相关文献里有个note嘛,大概是m(T )= floor[4(T/100)2/9 (最后那个2/9打不出上标效果,囧,也就是说,如果我是10年的面板,那么这个lag(n)=lag(2)应该。
二维码

扫码加我 拉你入群

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

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

2014-8-6 12:27:26
arlionn 发表于 2007-9-24 15:34
详细的说明在这里:
stata journal 2007, vol7-3, pp.281-312
xtscc适用于“大T小N”还是“大N小T”呢?我在你的辅导资料中看到说是适用“大N小T”,但stata的说明中,在适用于“大N小T”时要“cautions”。
二维码

扫码加我 拉你入群

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

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

2016-1-7 10:19:24
Therefore, the xtscc program uses a simple rule of thumb for selecting m(T ) when no lag(#) option is specified. The heuristic applied is taken from the first step of Newey and West’s (1994) plug-in procedure and sets
m(T ) = floor[4(T/100)2/9] .
Note, however, that choosing the lag length like this is not necessarily optimal because this choice is essentially independent from the underlying data. In fact, this simple rule of selecting the lag length tends to choose an m(T ) which might often be too small.
这面是stata journal 2007, vol7-3, pp.281-312 原文中的一段话,我的理解是如果你不设定lag(#),它就会自动根据公式计算,到底lag多少,应该不是很重要吧。
二维码

扫码加我 拉你入群

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

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

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群