Table 3: Generic two-by-two contingency table under the null hypothesis with realized values of random variables W0 and W1.
Event
Group Yes (Y = 1) No (Y = 0) Total
Treatment (X = 1) w1 a + b–w1 a + b
Control (X = 0) w0 c + d–w0 c + d
Total w0 + w1 n–w0–w1 n