全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
2396 4
2021-01-16
面板数据中解释变量可以是年龄吗?比如:一个个体年龄这个变量的值为20岁,21岁,22岁...60岁
对年龄这个变量单位检验后没有通过(p值不全为0),一阶也是没有通过,该怎么办?但是被解释变量与年龄协整检验通过了
二维码

扫码加我 拉你入群

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

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

全部回复
2021-1-16 21:24:56
年龄肯定没问题啊,取ln下,试试,有问题进我空间继续探讨
二维码

扫码加我 拉你入群

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

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

2021-1-18 10:41:46
Betoecmist 发表于 2021-1-16 21:24
年龄肯定没问题啊,取ln下,试试,有问题进我空间继续探讨
您好!我的数据是非平衡面板数据,对年龄这个变量进行单位根检验后结果是:
xtunitroot fisher aa(代表年龄变量), dfuller lag(0)
(5639 missing values generated)

Fisher-type unit-root test for aa
Based on augmented Dickey-Fuller tests
--------------------------------------
Ho: All panels contain unit roots           Number of panels       =     72
Ha: At least one panel is stationary        Avg. number of periods =  40.68

AR parameter: Panel-specific                Asymptotics: T -> Infinity
Panel means:  Included
Time trend:   Not included
Drift term:   Not included                  ADF regressions: 0 lags
------------------------------------------------------------------------------
                                  Statistic      p-value
------------------------------------------------------------------------------
Inverse chi-squared(144)  P         0.0000       1.0000
Inverse normal            Z              .            .
Inverse logit t(4)        L*             .            .
Modified inv. chi-squared Pm       -8.4853       1.0000
------------------------------------------------------------------------------
P statistic requires number of panels to be finite.
Other statistics are suitable for finite or infinite number of panels.
------------------------------------------------------------------------------


这个结果显示单位根检验通过了吗?
二维码

扫码加我 拉你入群

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

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

2021-1-18 10:45:36
对年龄变量一阶后进行单位根检验:
gen daa=d.aa
(5724 missing values generated)

. xtunitroot fisher  daa ,dfuller lag(0)
(5724 missing values generated)

Fisher-type unit-root test for daa
Based on augmented Dickey-Fuller tests
--------------------------------------
Ho: All panels contain unit roots           Number of panels       =     72
Ha: At least one panel is stationary        Avg. number of periods =  39.50

AR parameter: Panel-specific                Asymptotics: T -> Infinity
Panel means:  Included
Time trend:   Not included
Drift term:   Not included                  ADF regressions: 0 lags
------------------------------------------------------------------------------
                                  Statistic      p-value
------------------------------------------------------------------------------
Inverse chi-squared(144)  P         0.0000       1.0000
Inverse normal            Z              .            .
Inverse logit t(4)        L*             .            .
Modified inv. chi-squared Pm       -8.4853       1.0000
------------------------------------------------------------------------------
P statistic requires number of panels to be finite.
Other statistics are suitable for finite or infinite number of panels.
------------------------------------------------------------------------------


这个结果和没有一阶的结果一样,这个单位根检验结果通过了吗?
二维码

扫码加我 拉你入群

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

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

2021-1-18 11:14:56
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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