Binary outcomes

Consider a clinical study with N=22 patients testing a new treatment. Assume that the success probability is π0=0.40 under the null hypothesis, and that successes occur independently in all patients. Under the alternative hypothesis, the success probability is assumed to be π1=0.50. The binomial probabilities are given in the table below.

Table 1. Binomial probabilities
kPBi(X=k;N,π0)PBi(X=k;N,π1)
0...30.0080.000
40.0190.002
50.0460.006
60.0860.018
70.1310.041
80.1640.076
90.1700.119
100.1480.154
110.1070.168
120.0660.154
130.0340.119
140.0140.076
150.0050.041
160.0010.018
17...N0.0000.008