Related Experiment Video
Updated: Apr 19, 2026

Development of an Individual-Tree Basal Area Increment Model using a Linear Mixed-Effects Approach
Published on: July 3, 2020
The special case of the 2 × 2 table: asymptotic unconditional McNemar test can be used to estimate sample size even
Cornelia M Borkhoff1, Patrick R Johnston2, Derek Stephens3
1Division of Pediatric Medicine and the Pediatric Outcomes Research Team (PORT), Department of Pediatrics and Child Health Evaluative Sciences, The Hospital for Sick Children, Peter Gilgan Centre for Research and Learning, 686 Bay St., Toronto, Ontario, M5G 0A4, Canada; Women's College Research Institute, Women's College Hospital, 7th Floor, 790 Bay St., Toronto, Ontario, M5G 1N8, Canada; Institute of Health Policy, Management and Evaluation, University of Toronto, 155 College St., Suite 425, Toronto, Ontario, M5T 3M6, Canada.
Objectives:
Aligning the method used to estimate sample size with the planned analytic method ensures the sample size needed to achieve the planned power. When using generalized estimating equations (GEE) to analyze a paired binary primary outcome with no covariates, many use an exact McNemar test to calculate sample size. We reviewed the approaches to sample size estimation for paired binary data and compared the sample size estimates on the same numerical examples.
Study Design And Setting:
We used the hypothesized sample proportions for the 2 × 2 table to calculate the correlation between the marginal proportions to estimate sample size based on GEE. We solved the inside proportions based on the correlation and the marginal proportions to estimate sample size based on exact McNemar, asymptotic unconditional McNemar, and asymptotic conditional McNemar.
Results:
The asymptotic unconditional McNemar test is a good approximation of GEE method by Pan. The exact McNemar is too conservative and yields unnecessarily large sample size estimates than all other methods.
Conclusion:
In the special case of a 2 × 2 table, even when a GEE approach to binary logistic regression is the planned analytic method, the asymptotic unconditional McNemar test can be used to estimate sample size. We do not recommend using an exact McNemar test.
Related Concept Videos
McNemar's Test
One-Way ANOVA: Equal Sample Sizes
Different sample means can result in different values for the variance estimate: variance between samples. This is because the variance between samples is calculated as the product of the sample size and the variance between the...
Sample Size Calculation
The sample size for the given experiment or sampling effort is fundamental to any study design. Sample size decides the number of...
One-Way ANOVA: Unequal Sample Sizes
Estimating Population Mean with Unknown Standard Deviation
William S. Gosset (1876–1937) of the...
One-Compartment Open Model: Wagner-Nelson and Loo Riegelman Method for ka Estimation
On...
