利用Proc Means很容易计算U的90%置信区间。具体程序如下:
data hotdog;
infile datalines dlm=",";
input Calorie@@;
datalines;
186,181,176,149,184,190,158,139,175,148
152,111,141,153,190,157,131,149,135,132
;
run;
proc means data=hotdog alpha=0.1 clm;
run;
程序执行结果如下: