clear
input num
200306
200309
200312
200403
200406
200409
end
todate(num), gen(ym) p(yyyymm) f(%tmMonCCYY) //you first have to find and install "todate"
gen yq=qofd(dofm(ym))
format yq %tq
|
楼主: 空空道人3
|
6362
6
[面板数据求助] stata季度数据识别问题 |
|
已卖:249份资源 讲师 0%
-
|
50论坛币
最佳答案clear
input num
200306
200309
200312
200403
200406
200409
end
todate(num), gen(ym) p(yyyymm) f(%tmMonCCYY) //you first have to find and install "todate"
gen yq=qofd(dofm(ym))
format yq %tq
回帖推荐hplcdadong 发表于2楼 查看完整内容 clear
input num
200306
200309
200312
200403
200406
200409
end
todate(num), gen(ym) p(yyyymm) f(%tmMonCCYY) //you first have to find and install "todate"
gen yq=qofd(dofm(ym))
format yq %tq
| |
|
|
| ||||||||||||||||||||||||||||||
|
一份耕耘,一份收获。
|
|
| ||||||||||||
|
一份耕耘,一份收获。
|
|
加好友,备注jltj京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


