首先说明的是,我成功安装过xttest3等非官方命令并使用,但是不管怎么弄这个KPSS命令就是不好使。
具体情况是,用的还是STATA10SE版本,利用FINDIT安装了KPSS命令,对应的ADO文件和帮助文件已经出现在C:\ado\plus\k,再次安装的话会提示“checking kpss consistency and verifying not already installed...
all files already exist and are up to date.”
然后按照帮助文件中的examples,
. use
http://fmwww.bc.edu/ec-p/data/macro/nelsonplosser.dta
. kpss lrgnp
. kpss D.lrgnp, maxlag(8) notrend
. kpss lrgnp if tin(1910,1970)
. kpss lrgnp, qs auto
总会显示这样的东西
. kpss lrgnp
_TS_p_delta_getnumb(): 3499 strtoreal() not found
_TS_p_delta_increment(): - function returned error
_TS_p_delta(): - function returned error
<istmt>: - function returned error
r(3499);
. kpss D.lrgnp, maxlag(8) notrend
_TS_p_delta_getnumb(): 3499 strtoreal() not found
_TS_p_delta_increment(): - function returned error
_TS_p_delta(): - function returned error
<istmt>: - function returned error
r(3499);
哪里的问题啊,怎么这个命令就不好用啊?