Definition/Introduction
All well-designed research begins with a clearly defined question, often stated as a hypothesis. In clinical and translational research, the hypothesis often asks whether an intervention, diagnostic modality, biomarker, or clinical characteristic is associated with a measurable difference in outcome. Evaluating the hypothesis requires an appropriate study design, consistent and reproducible data collection, and statistical methods that align with the data structure. Therefore, statistical testing serves as an essential component of research. Statistical analysis helps determine whether observed differences likely reflect a true association or result from random variation.
Although statistical analysis historically required labor-intensive manual calculations, modern statistical software has made these analyses more accessible and efficient. Commonly used programs include SPSS (Statistical Package for the Social Sciences), Stata, SAS (Statistical Analysis System), R, and other statistical platforms. However, software cannot determine whether investigators have selected the correct test. Appropriate statistical testing requires an understanding of the research question, the outcome variable, the number of comparison groups, and whether the assumptions of a parametric test are met. Misclassification of the data structure or inappropriate test selection can lead to incorrect conclusions even when calculations are performed correctly.
Statistical tests are broadly classified as parametric or nonparametric. Parametric tests generally rely on several assumptions, including approximately normal distribution of continuous outcome data, independence of observations, and appropriate modeling of variance for the selected analysis. Nonparametric tests are appropriate when these assumptions are not met, sample sizes are small, data are ordinal, or outcome distributions are markedly skewed.[1][2]
McNemar Test
The McNemar test is a nonparametric statistical test designed for paired nominal data. The test is commonly used for binary outcomes when the same subjects are measured before and after an intervention or when 2 diagnostic methods are compared in the same individuals. A 2 × 2 contingency table is used to evaluate whether marginal proportions differ between paired observations. The analysis determines whether the proportion of subjects who change in one direction differs from the proportion who change in the opposite direction. Appropriate applications include paired yes–no, positive–negative, success–failure, and present–absent outcomes.
The McNemar test differs from the Fisher exact test and the chi-square test because it is designed for paired or matched binary observations. The Fisher exact test and the chi-square test generally analyze independent groups, whereas the McNemar test analyzes paired observations. For example, results from a diagnostic test obtained before and after an intervention in the same patient, or from 2 diagnostic tests performed on the same patient, constitute paired data. Statistical tests designed for independent samples ignore within-subject relationships and may yield inappropriate estimates of statistical significance.[3]
The McNemar test requires paired observations in which each subject contributes 2 binary measurements. Paired measurements may represent repeated observations over time or results from 2 diagnostic methods performed on the same subject. Most authors recommend at least 10 discordant pairs for reliable application of the asymptotic McNemar test. The formula for calculating the chi-square value for the McNemar test is as follows:
χ2 = (b – c)2 / (b + c)
In this equation, b represents the false-positive count and c represents the false-negative count. A significant chi-square value leads to rejection of the null hypothesis, indicating that the paired marginal proportions differ significantly. Whether the difference reflects improved diagnostic performance or treatment effectiveness depends on the direction of the discordant pairs and the clinical context.
The statistical power of the McNemar test is low when the sum of discordant pairs (b + c) is small (<25), even with a large total sample size. Therefore, research studies with fewer than 25 discordant pairs may use the exact binomial test. Alternatively, the Edwards continuity correction is another option.[4] The exact McNemar test is generally preferred for studies with few discordant pairs because the asymptotic approximation may be unreliable. Alternative approaches include the Edwards continuity correction and the McNemar mid-p test, which may provide greater statistical power while maintaining acceptable type I error rates.[5]
Mann-Whitney U test
The Mann-Whitney U test, also known as the Wilcoxon rank-sum test, is a nonparametric test used to compare ordinal or continuous outcomes between 2 independent groups. The test is frequently used when assumptions of an independent-samples t-test are not met, particularly when data are skewed, are measured on an ordinal scale, contain outliers, or are not normally distributed. Unlike the McNemar test, which analyzes paired binary data, the Mann-Whitney U test analyzes independent groups, such as outcomes between patients who received treatment A and patients who received treatment B.
The Mann-Whitney U test ranks all observations from both groups and compares the distribution of ranks rather than observed values directly. The test evaluates whether observations from 1 group tend to be higher or lower than observations from the other group. Since the test is rank-based rather than value-based, the Mann-Whitney U test is relatively robust to extreme outliers compared with the independent-samples t-test. This characteristic makes the test useful in biomedical research when continuous data are skewed, or sample sizes are too small to confidently assume normality. The Mann-Whitney U test is appropriate for comparing 2 independent groups on outcomes, such as pain scores, functional scores, time to healing, biomarker levels, hospital length of stay, or other continuous or ordinal variables when parametric assumptions are not satisfied.[6]
The Mann-Whitney U test is often interpreted as a comparison of group medians. However, this interpretation is valid only when distributions have similar shapes and differ primarily in location. The primary limitation of the Mann-Whitney U test is that it does not directly compare group means and should not be considered equivalent to a t-test. The test also assumes independence of observations between groups.
Therefore, the Mann-Whitney U test is inappropriate for paired measurements, repeated measurements from the same patient, matched case-control data, or before-and-after comparisons within the same subjects. Paired methods, such as the Wilcoxon signed-rank test, may be more appropriate in these situations. Reporting Mann-Whitney U test results should include group medians and interquartile ranges, the U statistic (or standardized z statistic when reported by statistical software), the P value, and a clear description of the independent groups compared. An appropriate measure of effect size should also be reported when possible.[7]
Clinical Pearls
Selection of a statistical test should be based on the structure of the data rather than the investigator’s preferred software or the appearance of the final P-value. Before selecting a test, the outcome should be identified as continuous, ordinal, nominal, or binary; groups should be classified as independent or paired; and assumptions of a parametric method should be assessed. The McNemar test is appropriate for paired binary outcomes, such as before-and-after responses in the same patients or results from 2 diagnostic tests applied to the same individuals. The analysis depends on discordant pairs rather than the total number of subjects or the number of concordant cells. A statistically significant result indicates a difference in marginal proportions but does not independently establish clinical superiority of one test or intervention.
The Mann-Whitney U test is appropriate for comparing ordinal or continuous outcomes between 2 independent groups when parametric assumptions are not met. The test compares rank distributions rather than group means. Interpretation as a comparison of medians is appropriate only when group distributions have similar shapes.
Statistical significance should always be interpreted together with effect size, confidence intervals, study design, sample size, and clinical relevance. A small P-value does not establish that an observed difference is clinically important, and a nonsignificant result does not necessarily establish the absence of a meaningful difference.[8][9][10][11][12]
Issues of Concern
Register For Free And Read The Full Article
Search engine and full access to all medical articles
10 free questions in your specialty
Free CME/CE Activities
Free daily question in your email
Save favorite articles to your dashboard
Emails offering discounts
Learn more about a Subscription to StatPearls Point-of-Care
Issues of Concern
Several important limitations and interpretive considerations apply to the use of the McNemar and Mann-Whitney U tests. The relevant limitations are discussed below. The McNemar test compares paired categorical data but should not be used as a measure of agreement. The test evaluates whether paired marginal proportions differ.
The test does not determine whether 2 raters, tests, or observations agree with one another. For example, when 2 clinicians independently classify the same patients as pass or fail, positive or negative, or healed or not healed, the McNemar test assesses whether the proportions of positive classifications differ between clinicians. Similar overall proportions do not demonstrate agreement among clinicians for individual patients. Agreement requires methods that assess concordance at the subject level, such as the Cohen kappa or related agreement statistics, rather than statistical tests that assess marginal homogeneity.[13]
The Mann-Whitney U test compares 2 independent groups when data are ordinal, skewed, or not normally distributed. The test is often described as a comparison of medians, but this interpretation is incomplete and potentially misleading. The Mann-Whitney U test compares rank distributions between 2 independent groups. Interpretation as a comparison of medians is appropriate only under more restrictive conditions, particularly when groups have similarly shaped distributions and differ primarily in location. When groups differ in spread, skewness, or distributional shape, a significant Mann-Whitney U test may reflect differences in the overall distributions rather than differences in group medians.[14]
Investigators should avoid reporting only the P-value from the Mann-Whitney U test. The distribution of each group should be described using medians, interquartile ranges, and graphical displays whenever possible. The spread, skewness, presence of outliers, and degree of overlap between groups may be clinically important even when the P-value is not significant. Conversely, large samples may produce statistically significant results from small distributional differences that lack clinical relevance. Whenever possible, an appropriate measure of effect size should also be reported to complement hypothesis testing.[15]
The Mann-Whitney U test may not be the optimal analytic choice when groups have unequal variances, markedly different shapes, or substantial skewness. The suitable alternative in these settings depends on the research question. The Welch t-test may be more appropriate for comparing group means when variances are unequal. The Brunner-Munzel test may be considered for comparisons of group distributions or relative treatment effects without assuming equal variances. Investigators should select the statistical test that best addresses the study hypothesis rather than apply a single test to every comparison.[16]
| Pause and Reflect |
|
Clinical Significance
Basic statistical knowledge is essential for researchers in the life sciences because statistical methods directly influence the validity, interpretation, and clinical relevance of research findings. A well-designed study can still produce misleading conclusions when the statistical test is inappropriate, test assumptions are violated, or results are interpreted solely on the basis of the presence or absence of statistical significance. Correct statistical analysis helps determine whether an observed association likely reflects a true effect rather than random variation, bias, confounding, or analytic error. This consideration is particularly important in medical research, where incorrect conclusions may influence clinical decision-making, patient counseling, future study design, and the adoption or rejection of diagnostic or therapeutic strategies.
Statistical errors remain common in biomedical research and may compromise internal and external validity. A critical assessment of 62 medical doctorate dissertations from the National Cancer Institute in Cairo found appropriate statistical methods in only 13 studies. This represented only 21% of the reviewed dissertations.
The same study's results identified frequent problems with statistical interpretation, terminology, data presentation, sample size estimation, and alignment between research aims and results.[17] These errors extend beyond dissertations and trainee research. Reviews of the medical literature have repeatedly identified persistent statistical problems throughout the research process, including inadequate study planning, inappropriate statistical test selection, failure to assess assumptions, insufficient justification of sample size, poor reporting of methods, misuse of P-values, and overinterpretation of results.[18]
Therefore, biostatistical support should be incorporated early in the research process rather than added only after data collection is complete. A biostatistician can help refine the research question, identify primary and secondary outcomes, select an appropriate study design, estimate sample size and power, define the statistical analysis plan, assess assumptions, handle missing data, reduce bias, and ensure transparent reporting of results. This collaboration improves the likelihood that a study will generate valid, interpretable, and clinically useful conclusions. Rigorous statistical planning protects patients, preserves research resources, improves reproducibility, and strengthens translation of research findings into clinical practice.
| Pause and Reflect |
|
Nursing, Allied Health, and Interprofessional Team Interventions
Research findings should demonstrate strong external validity so that results may be applied beyond the study population to a broader patient population. Equally important is methodological rigor, particularly in the selection, application, and interpretation of statistical analyses. Investigators must understand the type of data analyzed, whether observations are paired or independent, whether variables are categorical, ordinal, or continuous, and whether assumptions of the proposed statistical test are satisfied. Selecting an inappropriate test, reporting only favorable results, ignoring violated assumptions, or overinterpreting statistically significant but clinically trivial findings can compromise scientific integrity and ultimately affect patient safety.
High-quality clinical research is inherently interprofessional. Physicians, advanced practice providers, nurses, pharmacists, biostatisticians, epidemiologists, data managers, and allied health professionals each contribute unique expertise throughout the research process. Early collaboration among team members improves study design, promotes accurate and consistent data collection, facilitates appropriate statistical analysis, and strengthens interpretation and reporting of results. Effective communication among investigators also helps identify potential sources of bias, missing data, protocol deviations, and ethical concerns before compromising the study's validity.
Ethical research practice requires transparency in study design, prespecification of primary outcomes when appropriate, adequate sample-size planning, accurate reporting of results, and a clear distinction between statistical and clinical significance. Interprofessional collaboration combined with rigorous statistical methodology enhances the reliability, reproducibility, and clinical applicability of research findings. These principles strengthen evidence-based practice, improve patient-centered care, promote patient safety, and support informed clinical decision-making across healthcare disciplines.
| Pause and Reflect |
|
References
Winters R, Winters A, Amedee RG. Statistics: a brief overview. Ochsner journal. 2010 Fall:10(3):213-6 [PubMed PMID: 21603381]
Level 3 (low-level) evidenceSchober P, Vetter TR. Nonparametric Statistical Methods in Medical Research. Anesthesia and analgesia. 2020 Dec:131(6):1862-1863. doi: 10.1213/ANE.0000000000005101. Epub [PubMed PMID: 33186171]
du Prel JB, Röhrig B, Hommel G, Blettner M. Choosing statistical tests: part 12 of a series on evaluation of scientific publications. Deutsches Arzteblatt international. 2010 May:107(19):343-8. doi: 10.3238/arztebl.2010.0343. Epub 2010 May 14 [PubMed PMID: 20532129]
Hazra A, Gogtay N. Biostatistics Series Module 4: Comparing Groups - Categorical Variables. Indian journal of dermatology. 2016 Jul-Aug:61(4):385-92. doi: 10.4103/0019-5154.185700. Epub [PubMed PMID: 27512183]
Fagerland MW, Lydersen S, Laake P. The McNemar test for binary matched-pairs data: mid-p and asymptotic are better than exact conditional. BMC medical research methodology. 2013 Jul 13:13():91. doi: 10.1186/1471-2288-13-91. Epub 2013 Jul 13 [PubMed PMID: 23848987]
Kim HY. Statistical notes for clinical researchers: Nonparametric statistical methods: 1. Nonparametric methods for comparing two groups. Restorative dentistry & endodontics. 2014 Aug:39(3):235-9. doi: 10.5395/rde.2014.39.3.235. Epub [PubMed PMID: 25110650]
Hart A. Mann-Whitney test is not just a test of medians: differences in spread can be important. BMJ (Clinical research ed.). 2001 Aug 18:323(7309):391-3 [PubMed PMID: 11509435]
Parks J, Yeh DD. How To Lie with Statistics and Figures. Surgical infections. 2021 Aug:22(6):611-619. doi: 10.1089/sur.2021.065. Epub [PubMed PMID: 34270365]
Piotrowski AP, Piotrowska AE. Differential evolution and particle swarm optimization against COVID-19. Artificial intelligence review. 2022:55(3):2149-2219. doi: 10.1007/s10462-021-10052-w. Epub 2021 Aug 19 [PubMed PMID: 34426713]
Hamami MGM, Ismail ZH. A Systematic Review on Particle Swarm Optimization Towards Target Search in The Swarm Robotics Domain. Archives of computational methods in engineering : state of the art reviews. 2022 Oct 11:():1-20. doi: 10.1007/s11831-022-09819-3. Epub 2022 Oct 11 [PubMed PMID: 36246202]
Level 1 (high-level) evidenceLi S, Deng G, Hu Y, Yu M, Ma T. Structural optimization of multistage depressurization sleeve of axial flow control valve based on Stacking integrated learning. Scientific reports. 2024 Mar 29:14(1):7459. doi: 10.1038/s41598-024-58178-5. Epub 2024 Mar 29 [PubMed PMID: 38553506]
Zhao X, Kuo F, Chen X, Li D, Duan H. Parent-Mediated Interventions for ASD Under 3 Years: A Systematic Review, Meta Analysis, and Moderator Analyses. Journal of autism and developmental disorders. 2025 May 13:():. doi: 10.1007/s10803-025-06845-5. Epub 2025 May 13 [PubMed PMID: 40358871]
Level 1 (high-level) evidenceRanganathan P, Pramesh CS, Aggarwal R. Common pitfalls in statistical analysis: Measures of agreement. Perspectives in clinical research. 2017 Oct-Dec:8(4):187-191. doi: 10.4103/picr.PICR_123_17. Epub [PubMed PMID: 29109937]
Level 3 (low-level) evidenceFay MP, Proschan MA. Wilcoxon-Mann-Whitney or t-test? On assumptions for hypothesis tests and multiple interpretations of decision rules. Statistics surveys. 2010:4():1-39 [PubMed PMID: 20414472]
Level 3 (low-level) evidenceSkovlund E, Fenstad GU. Should we always choose a nonparametric test when comparing two apparently nonnormal distributions? Journal of clinical epidemiology. 2001 Jan:54(1):86-92 [PubMed PMID: 11165471]
Fagerland MW, Sandvik L. Performance of five two-sample location tests for skewed distributions with unequal variances. Contemporary clinical trials. 2009 Sep:30(5):490-6. doi: 10.1016/j.cct.2009.06.007. Epub 2009 Jul 2 [PubMed PMID: 19577012]
Allam RM, Noaman MK, Moneer MM, Elattar IA. Assessment of Statistical Methodologies and Pitfalls of Dissertations Carried Out at National Cancer Institute, Cairo University. Asian Pacific journal of cancer prevention : APJCP. 2017 Jan 1:18(1):231-237 [PubMed PMID: 28240524]
Strasak AM, Zaman Q, Pfeiffer KP, Göbel G, Ulmer H. Statistical errors in medical research - a review of common pitfalls. Swiss medical weekly. 2007 Jan 27:137(3-4):44-9. doi: 10.4414/smw.2007.11587. Epub [PubMed PMID: 17299669]