5116 15

[面板数据求助] FGLS提示时间不规则 [推广有奖]

  • 0关注
  • 0粉丝

等待验证会员

高中生

10%

还不是VIP/贵宾

-

威望
0
论坛币
389 个
通用积分
0.1848
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
233 点
帖子
16
精华
0
在线时间
18 小时
注册时间
2016-12-24
最后登录
2017-9-16

楼主
六度人格分裂 发表于 2017-8-5 10:06:42 |AI写论文
10论坛币
我参照书上的指令操作FGLS出现错误如下,怎么弄,是否是因为我的时间格式设定错误
xtgls xyl ccar1 lnla1 roa1 ld1 nil1 bb1 ea1 dl1 gdp1 cpi1,panels(cor) cor(ar1)
time is not regularly spaced or does not have intervals of delta -- use
the force option to treat the intervals as though they were regular

面板的结构如下,其中time是2009-2015年半年度数据

. xtset id time
       panel variable:  id (unbalanced)
        time variable:  time, 1 to 12
                delta:  1 unit


最佳答案

黃河泉 查看完整内容

由于你使用半年度数据,所以应该是
关键词:FGLS 不规则 unbalanced Intervals Panel VAR 面板模型FGLS

沙发
黃河泉 在职认证  发表于 2017-8-5 10:06:43
由于你使用半年度数据,所以应该是
  1. xtset id time, halfyearly
复制代码

藤椅
六度人格分裂 发表于 2017-8-5 16:05:39
黃河泉 发表于 2017-8-5 15:49
由于你使用半年度数据,所以应该是
那怎么把时间改成2009h1 to 2014h2啊,感谢您的解答
. xtset id time, halfyearly
       panel variable:  id (unbalanced)
        time variable:  time, 1960h2 to 1966h1
                delta:  1 halfyear

板凳
六度人格分裂 发表于 2017-8-5 16:09:44
黃河泉 发表于 2017-8-5 15:49
由于你使用半年度数据,所以应该是
另外,请教您,我的面板存在组间异方差和组内自相关,FGLS出现下列提示,该怎么处理。
. xtgls pl car1 lnla1 roa1 ld1 nil1 ea1 dl1 bb1 gdp1 cpi1 id2-id16 time,p(h) corr(ar1)
time is not regularly spaced or does not have intervals of delta -- use
the force option to treat the intervals as though they were regular

报纸
黃河泉 在职认证  发表于 2017-8-5 16:41:32
六度人格分裂 发表于 2017-8-5 16:05
那怎么把时间改成2009h1 to 2014h2啊,感谢您的解答
. xtset id time, halfyearly
       panel variab ...
建議用 dataex (先 ssc install dataex 并见说明) 将原始 Stata 资料中具有”代表性”的一部分资料列出,以供有意回答者实验之用,并能提供具体操作指令。
  1. dataex  id time in 1/20
复制代码

地板
六度人格分裂 发表于 2017-8-5 18:20:00
黃河泉 发表于 2017-8-5 16:41
建議用 dataex (先 ssc install dataex 并见说明) 将原始 Stata 资料中具有”代表性”的一部分资料列出, ...
文件是实验数据,您帮我看看为什么用FGLS回归时出现如下提示
. xtgls xyl car1 lnla1 roa1 ld1 nil1 ea1 dl1 bb1 gdp1 cpi1,p(h) corr(ar1)
time is not regularly spaced or does not have intervals of delta -- use
the force option to treat the intervals as though they were regular

7
夏目贵志 发表于 2017-8-6 01:16:29
黃河泉 发表于 2017-8-5 15:49
由于你使用半年度数据,所以应该是
从来没知道过stata还专门有个半年度数据的选项

8
六度人格分裂 发表于 2017-8-6 17:33:56
黃河泉 发表于 2017-8-5 16:41
建議用 dataex (先 ssc install dataex 并见说明) 将原始 Stata 资料中具有”代表性”的一部分资料列出, ...
大神,文件是我的数据,已经检验存在异方差和自相关,用FGLS时提示
xtgls pl car1 lnla1 roa1 ld1 nil1 ea1 dl1 bb1 gdp1 cpi1,p(het) cor(ar1)
time is not regularly spaced or does not have intervals of delta -- use
the force option to treat the intervals as though they were regular
不知道是什么原因,分别修正是可以的,用全面FGLS则出现提示,不知道是什么原因,论文急求,求解答哈。

数据.xls

68 KB

9
黃河泉 在职认证  发表于 2017-8-6 19:07:41
六度人格分裂 发表于 2017-8-6 17:33
大神,文件是我的数据,已经检验存在异方差和自相关,用FGLS时提示
xtgls pl car1 lnla1 roa1 ld1 nil1 ...
建議用 dataex (先 ssc install dataex 并见说明) 将原始 Stata 资料中具有”代表性”的一部分资料列出,以供有意回答者实验之用,并能提供具体操作指令。

10
六度人格分裂 发表于 2017-8-6 19:18:19
黃河泉 发表于 2017-8-6 19:07
建議用 dataex (先 ssc install dataex 并见说明) 将原始 Stata 资料中具有”代表性”的一部分资料列出, ...
已经执行dataex,可是还是出现
. xtgls pl car1 lnla1 roa1 ld1 nil1 ea1 dl1 bb1 gdp1 cpi1,p(het) cor(ar1)
time is not regularly spaced or does not have intervals of delta -- use
the force option to treat the intervals as though they were regular数据已经上传,大神帮看看,哪里出问题了。谢谢。

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

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