From: Through the looking glass: understanding non-inferiority
Treatment group
Total
A
B
Success
S kA
S kB
S k
Failure
F kA
F kB
F k
n kA
n kB
n k