- * Example generated by -dataex-. To install: ssc install dataex
- clear
- input str11 firmid
- "1101910081"
- "1101910081"
- "1101910081"
- "1101910081"
- "1101910081"
- "1101910081"
- "1101910081"
- "1101910091"
- "1101910091"
- "1101910091"
- "1101910091"
- "1101910091"
- "1101910095"
- "1101910097"
- "1101910097"
- "1101910097"
- "1101910097"
- "1101910097"
- "1101910097"
- "1101910104"
- "1101910104"
- "1101910104"
- "1101910104"
- "1101910104"
- "1101910104"
- "1101910104"
- "1101910105"
- "1101910105"
- "1101910105"
- "1101910105"
- "1101910105"
- "1101910105"
- "1101910106"
- "1101910106"
- "1101910106"
- "1101910107"
- "1101910107"
- "1101910107"
- "1101910107"
- "1101910107"
- "1101910107"
- "1101910107"
- "1101910112"
- "1101910112"
- "1101910112"
- "1101910112"
- "1101910112"
- "1101910112"
- "1101910112"
- "1101910114"
- "1101910114"
- "1101910120"
- "1101910123"
- "1101910129"
- "1101910129"
- "1101910129"
- "1101910129"
- "1101910129"
- "1101910129"
- "1101910129"
- "1101910133"
- "1101910133"
- "1101910133"
- "1101910133"
- "1101910133"
- "1101910133"
- "1101910135"
- "1101910151"
- "1101910151"
- "1101910164"
- "1101910164"
- "1101910164"
- "1101910164"
- "1101910164"
- "1101910164"
- "1101910164"
- "1101910187"
- "1101910187"
- "1101910187"
- "1101910187"
- "1101910190"
- "1101910190"
- "1101910191"
- "1101910191"
- "1101910191"
- "1101910191"
- "1101910191"
- "1101910191"
- "1101910191"
- "1101910198"
- "1101910201"
- "1101910201"
- "1101910201"
- "1101910201"
- "1101910201"
- "1101910203"
- "1101910203"
- "1101910203"
- "1101910203"
- "1101910203"
- end
------------------ copy up to and including the previous line ------------------
Listed 100 out of 200000 observations
Use the count() option to list more
firmid为企业代码,字符型变量,我想控制企业固定效应,需要转变为数值型变量,但是由于数据200+万,所以encode命令不能用。
请问各位大神,还有其他的办法吗?谢谢各位!!


雷达卡







京公网安备 11010802022788号







