SAS源程序 data a; input weight @@ diff-weight-34; cards;/*将原数据减去μ。的差数DIFF存入数据集A*/ 35.637.633.435.132.736.835.934.6 proc means t prt maxdec =2 std; var diff;/必指定对变量DFF进行统计*/ run;data a; input weight @@; diff=weight-34; cards; /*将原数据减去μ0的差数DIFF存入数据集A*/ 35.6 37.6 33.4 35.1 32.7 36.8 35.9 34.6 ; proc means t prt maxdec = 2 std; var diff; /*指定对变量DIFF进行统计*/ run; SAS源程序