相关代码 |
|
/*用MEANS作配对资料两个样本均数比较的t检验*/ data ex3_6; input x1 x2 @@; d=x1-x2; cards; 0.840 0.580 0.591 0.509 0.674 0.500 0.632 0.316 0.687 0.337 0.978 0.517 0.750 0.454 0.730 0.512 1.200 0.997 0.870 0.506 ; proc means t prt; var d; run; /*用UNIVARIATE过程作配对资料两样本均数比较的t检验*/ proc univariate data=ex3_6; var d; run;
相关资源 |
|