第一步 生成分类变量:gen group=0replace group=1 if regexm(t,"-03-")replace group=2 if regexm(t,"-06-")replace group=3 if regexm(t,"-09-")replace group=4 if regexm(t,"-12-")
tab group,gen(season)