全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
8730 4
2012-03-17
请教各位高手,已经使用xtseria检验出存在一阶自相关,接下来应该如何使用stata处理,先行谢过
二维码

扫码加我 拉你入群

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

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

全部回复
2013-12-8 21:34:34
用的是什么命令做自相关?面板数据的
二维码

扫码加我 拉你入群

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

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

2013-12-28 18:19:16
xtgls y x, panel(correlated) corr(ar1)
或者
xtgls y x, panel(correlated) corr(psar1)
其中:
panels(correlated):specifies heteroskedastic error structure with cross-sectional correlation.  If p(c) is specified, you must also specify a time variable (use xtset).  The results will be based on a generalized inverse of a singular matrix unless T>=m (the number of periods is greater than or equal to the number of panels).
corr(ar1):specifies that, within panels, there is AR(1) autocorrelation and that the coefficient of the AR(1) process is common to all the panels.  If c(ar1) is specified, you must also specify a time variable (use xtset).
corr(psar1):specifies that, within panels, there is AR(1) autocorrelation and that the coefficient of the AR(1) process is specific to each panel.  psar1 stands for panel-specific AR(1).  If c(psar1) is specified, a time variable must also be specified; use xtset.

二维码

扫码加我 拉你入群

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

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

2015-5-29 10:17:22
为什么做不了自相关检验啊?安装命令为什么不行
二维码

扫码加我 拉你入群

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

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

2017-9-10 17:57:06
taichina 发表于 2013-12-28 18:19
xtgls y x, panel(correlated) corr(ar1)
或者
xtgls y x, panel(correlated) corr(psar1)
请问AR是怎么做的吗
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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