| n | rejection region | size | power (p = 0.6) | power (p = 0.7) |
|---|---|---|---|---|
| 40 | 1(a) {28, 29, ..., 40} | 1(b) 0.008 | 1(c) 0.13 | 1(d) 0.58 |
| 80 | 1(e) {51, 52, ..., 80} | 1(f) 0.009 | 1(g) 0.29 | 1(h) 0.91 |
| 120 | 1(i) {74, 75, ..., 120} | 1(j) 0.007 | 1(k) 0.39 | 1(l) 0.98 |
Reject the null hypothesis if y > 27, and reject it with probability 0.156 if y = 27.
Reject the null hypothesis if y > 50, and reject it with probability 0.115 if y = 50.
| exact p-value | normal approx. w/ c.c. | normal approx. w/o c.c. | |
|---|---|---|---|
| dealing with outcomes of red | 2(a) 0.086 | 2(b) 0.087 | 2(c) 0.062 |
| dealing with outcomes of 13 | 2(d) 0.0502 | 2(e) 0.037 | not requested |
| n | probability |
|---|---|
| 10 | 3(a) 0.248 |
| 100 | 3(b) 0.683 |
| 1000 | 3(c) 0.998 |