全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 统计软件培训班VIP答疑区
1374 4
2014-01-21
xtdpdsys  Risk Debtratio Growth Age ROA Topone State Incentive, lags(1) twostep vce(robust)

出错提示:
no observations
r(2000);

怎么回事
二维码

扫码加我 拉你入群

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

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

全部回复
2014-1-21 17:58:48
xtset code time(code是公司代码,time是时间)
后提示:strongly balance but with gaps
xtset code year(年份,直接用time换算成year的)
就没问题,好奇怪
二维码

扫码加我 拉你入群

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

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

2014-1-21 21:26:30
输入如下命令,把结果贴出来。

qui reg Risk Debtratio Growth Age ROA Topone State Incentive
xtdes if e(sample), p(30)
二维码

扫码加我 拉你入群

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

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

2014-1-21 22:00:38

code1:  1, 2, ..., 880                n        =                880
time1:  8, 12, ..., 24                T        =                5
Delta(time1) = 1 unit
Span(time1)  = 17 periods
(code1*time1 uniquely identifies        each        observation)

Distribution of T_i:   min      5%     25%                50%       75%                95%        max
5       5       5                5         5                5        5

Freq.  Percent    Cum.   Pattern*
---------------------------+----------
880    100.00  100.00   11111
---------------------------+----------
880    100.00           XXXXX
--------------------------------------
*Each column represents 4 periods.
二维码

扫码加我 拉你入群

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

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

2014-1-26 21:22:57
你的时间变量不是连续的,而是 8, 12, ..., 24 形式,估计是季度数据吧。
重新定义一下时间变量即可。
sort code1 time1
bysort code1: gen t = _n
xtset code1 t

然后再执行后续命令。
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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