运行全部 结果如下
n1 mean1 sd1 n2 mean2 sd2 z pz
120 140 7.50 153 143.7000 6.3000
所用程序
DATA LIST FREE/n1 mean1 sd1 n2 mean2 sd2 z pz.
BEGIN DATA. 120 139.9 7.5 153 143.7 6.3 0 0 END DATA.
COMPUTE z=ABS((mean1-mean2)/sqrt(sd1**2/n1+sd2**2/n2)). COMPUTE pz=CDFNORM(-z)*2. DO IF mean2>mean1. COMPUTE z=-z. END IF .
FORMATS n1(f8.0) mean1 n2(f8.0) mean2 sd2 fvalue z pz(f8.4). LIST n1 mean1 sd1 n2 mean2 sd2 z pz.
-4.45 .00
因篇幅问题不能全部显示,请点此查看更多更全内容