dataset1:
- * Example generated by -dataex-. To install: ssc install dataex
- clear
- input long(reportid stkcd)
- 10012929 590
- 9999080 600535
- 9981240 600750
- 9934778 600750
- 10006677 590
- end
- * Example generated by -dataex-. To install: ssc install dataex
- clear
- input long stkcd float stkrt
- 590 -.011501
- 590 .031231
- 590 .
- 590 .
- 590 .011283
- 600535 .007854
- 600535 .008044
- 600535 -.003741
- 600535 .026783
- 600535 -.000244
- 600750 .001796
- 600750 -.017569
- 600750 .
- 600750 .
- 600750 -.012774
- end
想要实现的效果就是每个reportid都是关于一只股票,把这个report和对应股票的收益率连接起来:
- [/size][/color]
- clear
- input long reportid stkcd stkrt
- 10012929 590 -.011501
- 10012929 590 .031231
- 10012929 590 .
- 10012929 590 .
- 10012929 590 .011283
- 9999080 600535 .007854
- 9999080 600535 .008044
- 9999080 600535 -.003741
- 9999080 600535 .026783
- 9999080 600535 -.000244
- 9981240 600750 .001796
- 9981240 600750 -.017569
- 9981240 600750 .
- 9981240 600750 .
- 9981240 600750 -.012774
- 9934778 600750 .001796
- 9934778 600750 -.017569
- 9934778 600750 .
- 9934778 600750 .
- 9934778 600750 -.012774
- 10006677 590 -.011501
- 10006677 590 .031231
- 10006677 590 .
- 10006677 590 .
- 10006677 590 .011283
- [color=#333333][size=15px]end[/size][/color]
- [color=#333333][size=15px]
有大神有什么好建议吗?


雷达卡






京公网安备 11010802022788号







