.cd "G:\装机必备\stata\ado\xtptm"
.xtset num year
. xtptm lev ta roa ap om tax rt icr liq gdp go bd mp, rx(roa) thrvar(year) iters(1000) trim(0.05) grid(100) regime(2)
结果在第二个代码出出现repeated time values within panel r(451)错误,点开帮助里写道
error Return code 451
invalid values for time variable;
For instance, you specified mytime as a time variable, and mytime contains noninteger values.