采用t检验比较试验组组间差异
proc ttest data=adef1;
by StatOrd;
class TRTPN;
var AVAL;
ods output TTests=TTests;
run;
data ds_ana3;
set TTests(where=(Method='汇总'));
format _all_;
__StatValue=tValue;
__PValue=Probt;
run;
proc ttest data=adef1;
by StatOrd;
class TRTPN;
var AVAL;
ods output TTests=TTests;
run;
data ds_ana3;
set TTests(where=(Method='汇总'));
format _all_;
__StatValue=tValue;
__PValue=Probt;
run;