code是数字型变量时间变量处理成了yyyyq(1,2,3,4)这种了
然后也是根据帖子里的解答改的
用的命令是
g newdate=quarterly(date,"YQ")
format newdate %tq
现在时间变量的type是float,format是%tq
然后设置面板数据命令
xtset code newdate
显示的是
repeated time values within panel
r(451);
这一种也试了:
xtset code1 newdate, quarterly
repeated time values within panel
r(451);


雷达卡







京公网安备 11010802022788号







