在海鲜市场入手的xthreg2压缩包,成功安装并重启电脑,在运行命令时仍旧报错,就连压缩包中的案例都出现了同样的情况。数据时70-19年的非平衡面板数据,无虚拟变量,缺失值和0值有一点多。
①xthreg lnco2 fdi to innov lngdppc urban, rx(re) qx(lngdppc) thnum(1) trim(0.01) grd(400) bs(300)
报错显示: thestm(): 3253 <tmp>[1,1] found where real required
<istmt>: - function returned error
因为压缩包中的案例用的时xthreg,所以用的xthreg
②xthreg2 lnco2 fdi to innov lngdppc urban, rx(re) qx(lngdppc) thnum(1) trim(0.01) grd(400) bs(300)
报错显示:
There exist time-invariant individual(s) (maybe only one obs): lnco2 fdi to innov urban re
xtdev2(): 3301 subscript invalid
thestm2(): - function returned error
<istmt>: - function returned error
请问到底该如何解决呀?