楼主: stcopy
13311 7

关于 xtunitroot [推广有奖]

  • 0关注
  • 1粉丝

讲师

0%

还不是VIP/贵宾

-

威望
0
论坛币
87 个
通用积分
11.0052
学术水平
3 点
热心指数
3 点
信用等级
2 点
经验
22194 点
帖子
164
精华
0
在线时间
439 小时
注册时间
2008-7-13
最后登录
2024-1-1

楼主
stcopy 发表于 2012-11-9 21:38:16 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
xtunitroot llc variable, lags(aic 10)
xtunitroot llc variable, lags(aic)

lags(aic 后面这个参数“10”啥意思? 为什么结果不同呢?

ADF regressions: 1.00 lags average 啥意思

二维码

扫码加我 拉你入群

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

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

关键词:xtunitroot unitroot root Unit Regressions average

沙发
ywh19860616 发表于 2012-11-9 21:51:59
10是自己定义的最大滞后阶数,然后利用AIC准则去选择。
一份耕耘,一份收获。

藤椅
h3327156 发表于 2012-11-9 22:03:00
补充一下
xtunitroot llc variable, lags(aic)  后面不带数字 默认值是1

webuse pennxrate
xtunitroot llc lnrxrate if oecd, demean lags(aic 10)
xtunitroot llc lnrxrate if oecd, demean lags(aic)
xtunitroot llc lnrxrate if oecd, demean lags(aic 1)

聪明如您,应当可发现,后两者是一样的。
已有 1 人评分学术水平 热心指数 信用等级 收起 理由
h894510055 + 1 + 1 + 1 学习了

总评分: 学术水平 + 1  热心指数 + 1  信用等级 + 1   查看全部评分

板凳
蓝色 发表于 2012-11-10 01:47:28
这种问题,你看帮助都有解释。

    lags(lag_spec) specifies the lag structure to use for the ADF regressions performed in computing the test statistic.

        Specifying lags(#) requests that # lags of the series be used in the ADF regressions.  The default is lags(1).

        Specifying lags(aic #) requests that the number of lags of the series be chosen such that the Akaike information
        criterion (AIC) for the regression is minimized.  xtunitroot llc will fit ADF regressions with 1 to # lags and
        choose the regression for which the AIC is minimized.  This process is done for each panel so that different
        panels may use ADF regressions with different numbers of lags.

        Specifying lags(bic #) is just like specifying lags(aic #), except that the Bayesian information criterion (BIC)
        is used instead of the AIC.

        Specifying lags(hqic #) is just like specifying lags(aic #), except that the Hannan-Quinn information criterion
        is used instead of the AIC.
已有 1 人评分学术水平 热心指数 信用等级 收起 理由
h894510055 + 1 + 1 + 1 学习了

总评分: 学术水平 + 1  热心指数 + 1  信用等级 + 1   查看全部评分

报纸
stcopy 发表于 2012-11-11 03:41:38
h3327156 发表于 2012-11-9 22:03
补充一下
xtunitroot llc variable, lags(aic)  后面不带数字 默认值是1
aic 后面这个max参数怎设置比较好?越大越好?

地板
h3327156 发表于 2012-11-11 04:52:53
stcopy 发表于 2012-11-11 03:41
菜鸟弱弱问一句 aic 后面这个max参数怎设置比较好?越大越好?
我也不会。 您还是看手册好了! 基本上您设太大是不会执行的,毕竟会受到您样本时间期数限制。
至于多大,我记得Stata手册好像也是凭经验,不过手册有提醒,设定错误的话,结论会很不一样。

7
硬通货 发表于 2012-12-14 18:18:22
h3327156 发表于 2012-11-11 04:52
我也不会。 您还是看手册好了! 基本上您设太大是不会执行的,毕竟会受到您样本时间期数限制。
至于多大 ...
小嘟宝,你好,我在进行面板单位根检验时,使用了xtunitroot llc cash(vari)这个命令,但却一直提示:Levin-Lin-Chiu test cannot have gaps in data,不知道应当如何解决,所以向您求助。

8
求数据求计量 发表于 2016-6-10 18:33:28
硬通货 发表于 2012-12-14 18:18
小嘟宝,你好,我在进行面板单位根检验时,使用了xtunitroot llc cash(vari)这个命令,但却一直提示:Lev ...
有gap说明你数据中存在缺失值 处理掉缺失值就可以了

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

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