teffect psmatch结合前两篇文章在stata里画图和用psmatch2提取匹配好的数据的do file
usehttp://ssc.wisc.edu/sscc/pubs/files/psm,clearteffectspsmatch(y)(tx1x2),gen(match1)genob=_nsavepsmdata,replacekeepift//保留实验组keepmatch1//保留实验的match1bysortmatch1:genweight=_n//计算实验组匹配了多少次bymatch1:keep