我正在尝试用stata做门限回归,用的是xtptm命令,数据是面板数据,是下面的形式(空间限制,只粘了部分)。我尝试用命令:
xtptm dcpi drgdp , rx(dcpi) thrvar(drgdp) regime(1),返回结果是:
nothing found where name expected
st_data(): 3598 Stata returned error
<istmt>: - function returned error
之前已经通过命令
iis KIND
tis TIME
确定了时间变量和个体变量。
之前用xtptm的测试数据,用上述命令是可以的,我不知道我是哪里出了错,这个错误又是什么意思呢?求高手指教!!
KIND TIME CPI JYE M0 HGLV SHIBOR
1 2008.01 1.2 0 20.9 1.97 1.98
1 2008.02 2.6 -.5462825 -11.5 2.3 2.29
1 2008.03 -.7 .3514993 -6.23 2.08 2.07
1 2008.04 .1 -.0571637 1.17 2.28 2.31
1 2008.05 -.4 .0953657 -2.01 2.51 2.53
1 2008.06 -.2 -.4277424 .04 2.81 2.85
1 2008.07 .1 .3793973 1.68 2.5 2.49
1 2008.08 -.1 -.4923187 .54 2.66 2.66
1 2008.09 0 -.0226204 2.83 2.71 2.72
1 2008.1 -.3 -.0992671 -1.28 2.49 2.5
7 2008.01 1.2 0 20.9 3.33 3.45
7 2008.02 2.6 -.5462825 -11.5 3.21 3.28
7 2008.03 -.7 .3514993 -6.23 2.51 2.53
7 2008.04 .1 -.0571637 1.17 3.15 3.2
7 2008.05 -.4 .0953657 -2.01 3.35 3.37
7 2008.06 -.2 -.4277424 .04 3.38 3.44