s1 = 2, s2 = 2, s3 = 2, s4 = 4.5, s5 = 4.5.If the null hypothesis is true, each of the five scores contributes to the value of T+ with probability 1/2, independent of which other scores contribute to the value of the test statistic. So the following 32 subsets of scores are equally likely to contribute to the test statistic if the null hypothesis is true.
It follows from above that
{ } (sum of scores is 0)
{s1 = 2} (sum of scores is 2)
{s2 = 2} (sum of scores is 2)
{s3 = 2} (sum of scores is 2)
{s4 = 4.5} (sum of scores is 4.5)
{s5 = 4.5} (sum of scores is 4.5)
{ s1 = 2, s2 = 2} (sum of scores is 4)
{ s1 = 2, s3 = 2} (sum of scores is 4)
{ s1 = 2, s4 = 4.5} (sum of scores is 6.5)
{ s1 = 2, s5 = 4.5} (sum of scores is 6.5)
{ s2 = 2, s3 = 2} (sum of scores is 4)
{ s2 = 2, s4 = 4.5} (sum of scores is 6.5)
{ s2 = 2, s5 = 4.5} (sum of scores is 6.5)
{ s3 = 2, s4 = 4.5} (sum of scores is 6.5)
{ s3 = 2, s5 = 4.5} (sum of scores is 6.5)
{ s4 = 4.5, s5 = 4.5} (sum of scores is 9)
{ s1 = 2, s2 = 2, s3 = 2} (sum of scores is 6}
{ s1 = 2, s2 = 2, s4 = 4.5} (sum of scores is 8.5)
{ s1 = 2, s2 = 2, s5 = 4.5} (sum of scores is 8.5)
{ s1 = 2, s3 = 2, s4 = 4.5} (sum of scores is 8.5)
{ s1 = 2, s3 = 2, s5 = 4.5} (sum of scores is 8.5)
{ s1 = 2, s4 = 4.5, s5 = 4.5} (sum of scores is 11)
{ s2 = 2, s3 = 2, s4 = 4.5} (sum of scores is 8.5)
{ s2 = 2, s3 = 2, s5 = 4.5} (sum of scores is 8.5)
{ s2 = 2, s4 = 4.5, s5 = 4.5} (sum of scores is 11)
{ s3 = 2, s4 = 4.5, s5 = 4.5} (sum of scores is 11)
{ s1 = 2, s2 = 2, s3 = 2, s4 = 4.5} (sum of scores is 10.5)
{ s1 = 2, s2 = 2, s3 = 2, s5 = 4.5} (sum of scores is 10.5)
{ s1 = 2, s2 = 2, s4 = 4.5, s5 = 4.5} (sum of scores is 13)
{ s1 = 2, s3 = 2, s4 = 4.5, s5 = 4.5} (sum of scores is 13)
{ s2 = 2, s3 = 2, s4 = 4.5, s5 = 4.5} (sum of scores is 13)
{ s1 = 2, s2 = 2, s3 = 2, s4 = 4.5, s5 = 4.5} (sum of scores is 15)
P0(T+ = 0) = 1/32,(Note: It's not necessary to determine the entire null sampling distribution to obtain the p-value --- one could just figure out that only 4 of the 32 subsets of scores yield a value of the test statistic at least as large as the observed value of the test statistic. But since you'll be making use of StatXact a lot, I think it's a good idea to determine an exact sampling distribution based on midranks at least one time.) Since the observed value of the test statistic is 13,
P0(T+ = 2) = 3/32,
P0(T+ = 4) = 3/32,
P0(T+ = 4.5) = 2/32,
P0(T+ = 6) = 1/32,
P0(T+ = 6.5) = 6/32,
P0(T+ = 8.5) = 6/32,
P0(T+ = 9) = 1/32,
P0(T+ = 10.5) = 2/32,
P0(T+ = 11) = 3/32,
P0(T+ = 13) = 3/32,
P0(T+ = 15) = 1/32,
the exact p-value is P0(T+ >= 13) = 4/32 = 0.125.
the "incorrect p-value" is about 0.094.
the conservative p-value is about 0.156.
P0(Y <= 2) = 0.0000376,where the probability follows from the fact that the null sampling distribution of Y is binomial (12, 0.75). (Alternatively, one can let p be the probability that an observation will be less than or equal to 20 and test the null hypothesis that p <= 0.25 against the alternative that p > 0.25. The p-value is P(W >= 10), where W is a binomial (12, 0.25) random variable.)
P0(Y >= 12) = 0.28,where the probability follows from the fact that the null sampling distribution of Y is binomial (12, 0.9). (Alternatively, one can let p be the probability that an observation will be less than or equal to 15 and test the null hypothesis that p >= 0.1 against the alternative that p < 0.1. The p-value is P(W <= 0), where W is a binomial (12, 0.1) random variable.)
| A | B | |
|---|---|---|
| W-M-W | 0.17 | 0.083 |
| normal scores | 0.18 | 0.090 |
| Savage scores | 0.059 | 0.029 |
| median | 0.18 | 0.089 |
| permutation | 0.040 | 0.020 |
| S-T | 0.12 | X |
| A-B | 0.15 | X |
| Klotz | 0.073 | X |
| Mood | 0.080 | X |
| Conover | 0.000011 | X |
| Lepage | 0.11 | X |
| p. 157 | 0.24 | X |
| K-S | 0.17 | 0.084 |
| W-W | 0.24 | X |
| jackknife | 0.000098 | X |
| p-value | |
|---|---|
| (a) | 0.000010 |
| (b) | 0.000036 |
| (c) | 0.0017 |
| (d) | 0.0011 |
| (e) | 0.000020 |
| (f) | 0.00069 |
| (g) | 0.0000010 |
| (h) | 0.0035 |
| (i) | 0.000070 |
| A | |
|---|---|
| (a) | 0.00035 |
| (b) | 0.000078 |
| w/o c.c. | w/ c.c. | |
|---|---|---|
| (a) | 0.087 | 0.092 |
| (b) | 0.042 | 0.045 |
| (c) | 0.0095 | 0.010 |
| probability | |
|---|---|
| (a) | 2/36 |
| (b) | 15/36 |
| (c) | 6/36 |
| (d) | 6/36 |
| (e) | 6/36 |
| test stat. | p-value | |
|---|---|---|
| (a) | 4.67 | 0.194 |
| (b) | 7 | 0.194 |
| (c) | 5 | 0.194 |
| (d) | 8.24 | 0.0102 < p-value < 0.0497 |
| (e) | 3.76 | 0.01 < p-value < 0.025 |
| (f) | 7.08 | 0.0102 < p-value < 0.0497 |
| (g) | 4 | 0.135 |
| test stat. | p-value | |
|---|---|---|
| (a) | 109 | 0.000353 |
| (b) | 3.07 | 0.00106 |
| (c) | 13 | 0.0007 |
| test stat. | p-value | |
|---|---|---|
| (a) | 19.8 | 0.0110 |
| (b) | 4.62 | 0.025 < p-value < 0.05 |