Binary outcomes

Consider a clinical study with N=20 patients testing a new treatment. 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, the success probability is assumed to be π1=0.60. The binomial probabilities are given in the table below.

Table 1. Binomial probabilities
kPBi(X=k;N,π0)PBi(X=k;N,π1)
0...40.0060.000
50.0150.001
60.0370.005
70.0740.015
80.1200.035
90.1600.071
100.1760.117
110.1600.160
120.1200.180
130.0740.166
140.0370.124
150.0150.075
160.0050.035
170.0010.012
18...N0.0000.004