请教:
有一个表中有同类型的C15、C16 、C1821 、C22 、C25、C34、 C4041、 C50 、C53、 C71 、C9195共11个变量,需要放在event后面运行下面同一个程序,并且以相应的C名来命名生成的结果,请问如何编宏,谢谢!!
proc stdrate data=jisuan11.all
refdata=jisuan11.y2000cn
method=direct /* requests direct standardization */
stat=rate(mult=10000) /* specifies the rate statistic for standardization */
/* effect computes the rate effect between the study populations with the default rate ratio statistics */
;
population
event=C1 total=Pel ;
reference total=Pel;
strata Sex Age / effect;
run;
如果能把结果输出到一个表中那就更好了!!!