楼主: 淡「凡惜
42212 4

[面板数据求助] stata面板数据单位根检验LLC [推广有奖]

  • 2关注
  • 2粉丝

硕士生

18%

还不是VIP/贵宾

-

威望
0
论坛币
1 个
通用积分
1.0002
学术水平
1 点
热心指数
1 点
信用等级
0 点
经验
715 点
帖子
37
精华
0
在线时间
193 小时
注册时间
2011-11-29
最后登录
2019-11-7

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
用stata12做面板数据的单位根检验
用LLC检验的时候,出现了错误,如下:
. levinlin aincome, lag(1)

Levin-Lin-Chu test for aincome    Deterministics chosen: constant
w1 ambiguous abbreviation
r(111);

希望哪位高手能够知道一下这是为什么?
但是我做IPS检验的时候 就没有出现这种情况,这是为什么呢?
. ipshin x, lag(1)

Im-Pesaran-Shin test for cross-sectionally demeaned x
Deterministics chosen: constant

t-bar test, N,T = (39,8)          Obs = 234   
Augmented by 1 lags (average)

    t-bar     cv10      cv5       cv1   W[t-bar]    P-value
    2.825   -1.700    -1.750    -1.850   24.044     1.000
还有一个问题想问问:
例如做LLC检验的时候,我可以输入LLC x, lag(1)命令;也可以输入 xtunitroot llc x, lag(1)命令,  这两个有区别吗?



二维码

扫码加我 拉你入群

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

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

关键词:stata面板数据 STATA面板 单位根检验 Stata 面板数据 average

沙发
ariera 学生认证  发表于 2014-11-20 15:08:26 |只看作者 |坛友微信交流群
这个楼主其实完全可以自己看help 解决。
我也是闲的没事帮你看了一下的。
首先,明确的是levinlin 这个不是stata自带的,这个东西可以通过findit 搜索安装的,来源是BC的服务器。
而xtunitroot 则是stata自带的用于面板数据单位根检验的函数。
值得一提的是,这个许多stata用户自己写的程序托管于BC的服务器上。WISC网站上有这么一个page:
http://www.ssc.wisc.edu/sscc/pubs/4-16.htm
其中提到:
Most of these programs are stored at Boston College's Statistical Software Componentsarchive (or SSC, but not to be confused with the UW's Social Science Computing Cooperative or SSCC) .
什么意思就不用翻译了吧。
再次,这个levinlin 和xtunitroot  是有区别的。
根据我的查阅,xtunitroot 是能够使用多种检验方法进行单位根test的,包括不限于LLC test,LM test,IPS等,stata help 中提到:
xtunitroot performs a variety of tests for unit roots (or stationarity) in panel datasets. The Levin–
Lin–Chu (2002), Harris–Tzavalis (1999), Breitung (2000; Breitung and Das 2005), Im–Pesaran–Shin
(2003), and Fisher-type (Choi 2001) tests have as the null hypothesis that all the panels contain a unit
root. The Hadri (2000) Lagrange multiplier (LM) test has as the null hypothesis that all the panels
are (trend) stationary. The top of the output for each test makes explicit the null and alternative
hypotheses. Options allow you to include panel-specific means (fixed effects) and time trends in the
model of the data-generating process.
具体自己查看一下吧。
而levinlin 描述如下:
levinlin estimates the panel unit root test developed by Levin, Lin and Chu (LLC, 2002).  The test assumes that each individual unit in the panel
shares the same AR(1) coefficient, but allows for individual effects, time effects and possibly a time trend. Lags of the dependent variable may be
introduced to allow for serial correlation in the errors. The test may be viewed as a pooled Dickey-Fuller test, or an Augmented Dickey-Fuller
(ADF) test when lags are included, with the null hypothesis that of nonstationarity (I(1) behavior).  After transformation by factors provided by
LLC, the t-star statistic is distributed standard normal under the null hypothesis of nonstationarity.
意思就是这就是LLC test.......
用法区别没仔细看,楼主要多学学看help,小问题就不要发问了。stata帮助文档其实很不错的!

使用道具

藤椅
15859339971 发表于 2018-9-7 10:50:23 |只看作者 |坛友微信交流群
xtuniroot是自带?stata里面输入命令显示command xtunitroot  llc is unrecognized是什么原因?是要下载的意思吧,到help里面也找不到下载命令

使用道具

板凳
sunsunshine° 发表于 2019-2-25 16:54:59 |只看作者 |坛友微信交流群

xtuniroot  是面板数据的吧?

使用道具

报纸
ZHANGYU1314520 学生认证  发表于 2019-12-24 13:59:16 |只看作者 |坛友微信交流群
15859339971 发表于 2018-9-7 10:50
xtuniroot是自带?stata里面输入命令显示command xtunitroot  llc is unrecognized是什么原因?是 ...
我也遇到了这个问题,下载了安装包还是无法识别

使用道具

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

本版微信群
加好友,备注jltj
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-10-7 00:28