Binary outcomes

Consider a clinical study with N=25 patients testing a new treatment. We assume that the success probability is π0=0.50 under the null hypothesis, and that successes occur independently in all patients. Under the alternative hypothesis, we hope that the success probability is π1=0.80. The binomial probabilities are given in the tables below.

Table 1. Binomial probabilities
kPBi(X=k;N,π0)PBi(X=k;N,π1)
0...60.0070.000
70.0140.000
80.0320.000
90.0610.000
100.0970.000
110.1330.000
120.1550.000
130.1550.001
140.1330.004
150.0970.012
160.0610.029
170.0320.062
180.0140.111
190.0050.163
200.0020.196
210.0000.187
220.0000.136
230.0000.071
24...N0.0000.027