摘要: 1.日期转换gen year=substr(date,1,4) //提取字符串destring year,replace //字符串转为数字gen date1=mdy(month,day,year) //合并日期(结果为数字,比如17654)format date1 %... 阅读全文
posted @ 2015-10-25 18:58 planet 阅读(4233) 评论(0) 推荐(0) 编辑
摘要: 1.计算外部董事比例collapse (count) indratio if indratio==2,by(stkcd year)2.合并数据merge m:m stkcd year using C:\Users\ASUS\Desktop\intradio3.缺失值替换replace vc_shar... 阅读全文
posted @ 2015-10-25 14:28 planet 阅读(4485) 评论(0) 推荐(0) 编辑