(Breslow and Day, 1980, p. 166). Since it is easy to perform exact tests on a binomial parameter,
we can perform exact versions of McNemar’s test by using the ‘binom.exact’ function of
the package ‘exactci’ then transform the results into odds ratios via equation 1. This is how
the calculations are done in the ‘exact2x2’ function when paired=TRUE. The ‘alternative’