全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
3604 6
2012-06-07
我的截面数据是全国30个省市,为什么插入到stata中时,stata总是显示
未命名.jpg
求教啊
二维码

扫码加我 拉你入群

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

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

全部回复
2012-6-7 14:48:19
你的变量为字符型的,先用encode或者destring转换为数值型。
二维码

扫码加我 拉你入群

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

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

2012-6-7 14:50:25
ywh19860616 发表于 2012-6-7 14:48
你的变量为字符型的,先用encode或者destring转换为数值型。
还想请教下,stata中如何进行面板数据的单位根检验啊?
二维码

扫码加我 拉你入群

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

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

2012-6-7 14:51:17
help xtunitroot


Syntax

    Levin-Lin-Chu test

        xtunitroot llc varname [if] [in] [, LLC_options]


    Harris-Tzavalis test

        xtunitroot ht varname [if] [in] [, HT_options]


    Breitung test

        xtunitroot breitung varname [if] [in] [, Breitung_options]


    Im-Pesaran-Shin test

        xtunitroot ips varname [if] [in] [, IPS_options]


    Fisher-type tests (combining p-values)

        xtunitroot fisher varname [if] [in], {dfuller | pperron} lags(#) [Fisher_options]


    Hadri Lagrange multiplier stationarity test

        xtunitroot hadri varname [if] [in] [, Hadri_options]


二维码

扫码加我 拉你入群

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

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

2012-6-7 15:01:37
ywh19860616 发表于 2012-6-7 14:51
help xtunitroot
谢谢啦。可是我是菜鸟,第一次用stata。可以稍微详细点吗?说下步骤?
二维码

扫码加我 拉你入群

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

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

2012-6-7 15:06:12
ssc install xtunitroot,replace

然后
help xtunitroot

然后看里面的例子
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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