%macro test(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=&c total=Pel ;
reference total=Pel;
strata Sex Age / effect;
run;
%mend;
%test(C15)
%test(C16)
这样是不是就行了?