Environment for creative processing of text
and numerical data | |
Comparing the means of two given samples
Beginning status (before activation):
1 *
2 *Continued from previous example, now straight from data:
3 *
4 *DATA D1: 13 7 10 9 10 9 12 9 7 8 END
5 *DATA D2: 12 10 15 9 12 11 11 10 13 10 10 9 12 10 9 END
6 *
7 *COMPARE D1,D2,CUR+1
8 *
Ending status (after activation):
1 *
2 *Continued from previous example, now straight from data:
3 *
4 *DATA D1: 13 7 10 9 10 9 12 9 7 8 END
5 *DATA D2: 12 10 15 9 12 11 11 10 13 10 10 9 12 10 9 END
6 *
7 *COMPARE D1,D2,CUR+1
8 *Independent samples D1(D1) D2(D2)
9 *Sample size 10 15
10 *Mean 9.400000 10.86667
11 *Standard deviation 1.955050 1.684665
12 *Student's t=-2.001 df=23 (P=0.0287 one-sided test)
13 *Sum of ranks (R) 95.5 229.5
14 *Mann-Whitney (U) 40.5 109.5
15 *(P=0.0278 one-sided Mann-Whitney, normal approximation)
16 *Critical levels by simulation:
17 * Mean R or U
18 *Critical level 0.03400 0.02410 N=100000
19 *Standard error 0.00057 0.00048
20 *
Previous
| Next