全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
13229 7
2012-11-09
xtunitroot llc variable, lags(aic 10)
xtunitroot llc variable, lags(aic)

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

ADF regressions: 1.00 lags average 啥意思

二维码

扫码加我 拉你入群

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

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

全部回复
2012-11-9 21:51:59
10是自己定义的最大滞后阶数,然后利用AIC准则去选择。
二维码

扫码加我 拉你入群

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

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

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)

聪明如您,应当可发现,后两者是一样的。
二维码

扫码加我 拉你入群

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

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

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.
二维码

扫码加我 拉你入群

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

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

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

扫码加我 拉你入群

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

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

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

二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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