楼主: chengbingjr
8728 4

[一般统计问题] 面板数据检验出自相关—如何用stata处理 [推广有奖]

  • 0关注
  • 0粉丝

高中生

40%

还不是VIP/贵宾

-

威望
0
论坛币
47 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
205 点
帖子
22
精华
0
在线时间
33 小时
注册时间
2007-12-23
最后登录
2016-3-18

楼主
chengbingjr 发表于 2012-3-17 15:29:34 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
请教各位高手,已经使用xtseria检验出存在一阶自相关,接下来应该如何使用stata处理,先行谢过
二维码

扫码加我 拉你入群

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

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

关键词:面板数据检验 Stata 面板数据 tata 如何用 检验 面板 如何

沙发
mana1984 发表于 2013-12-8 21:34:34
用的是什么命令做自相关?面板数据的

藤椅
taichina 发表于 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
为什么做不了自相关检验啊?安装命令为什么不行

报纸
kingyang98 发表于 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是怎么做的吗

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-2-5 02:45