Paired binary sample size calculation

ID: paired-binary-sample-size-calculation

For a paired binary difference , set and . Then and . Under equal marginal probabilities the variance is . The McNemar test has approximate upper rejection boundary for the sum of differences. Requiring that the alternative mean exceed this boundary by gives the displayed planning size for a positive alternative, neglecting its very small lower-tail rejection probability. Use for a pre-specified one-sided test. The marginal probabilities alone do not determine : co-occurrence of positive outcomes must be specified or bounded. Discreteness and clustered data can change achieved statistical power.

New to topics? Read the docs here!