To test or not to test: Preliminary assessment of normality when comparing two independent samples
- PMID: 22712852
- PMCID: PMC3444333
- DOI: 10.1186/1471-2288-12-81
To test or not to test: Preliminary assessment of normality when comparing two independent samples
Abstract
Background: Student's two-sample t test is generally used for comparing the means of two independent samples, for example, two treatment arms. Under the null hypothesis, the t test assumes that the two samples arise from the same normally distributed population with unknown variance. Adequate control of the Type I error requires that the normality assumption holds, which is often examined by means of a preliminary Shapiro-Wilk test. The following two-stage procedure is widely accepted: If the preliminary test for normality is not significant, the t test is used; if the preliminary test rejects the null hypothesis of normality, a nonparametric test is applied in the main analysis.
Methods: Equally sized samples were drawn from exponential, uniform, and normal distributions. The two-sample t test was conducted if either both samples (Strategy I) or the collapsed set of residuals from both samples (Strategy II) had passed the preliminary Shapiro-Wilk test for normality; otherwise, Mann-Whitney's U test was conducted. By simulation, we separately estimated the conditional Type I error probabilities for the parametric and nonparametric part of the two-stage procedure. Finally, we assessed the overall Type I error rate and the power of the two-stage procedure as a whole.
Results: Preliminary testing for normality seriously altered the conditional Type I error rates of the subsequent main analysis for both parametric and nonparametric tests. We discuss possible explanations for the observed results, the most important one being the selection mechanism due to the preliminary test. Interestingly, the overall Type I error rate and power of the entire two-stage procedure remained within acceptable limits.
Conclusion: The two-stage procedure might be considered incorrect from a formal perspective; nevertheless, in the investigated examples, this procedure seemed to satisfactorily maintain the nominal significance level and had acceptable power properties.
Figures


Similar articles
-
A closer look at the effect of preliminary goodness-of-fit testing for normality for the one-sample t-test.Br J Math Stat Psychol. 2011 Nov;64(3):410-26. doi: 10.1348/2044-8317.002003. Epub 2010 Dec 6. Br J Math Stat Psychol. 2011. PMID: 21973094
-
A simple and effective decision rule for choosing a significance test to protect against non-normality.Br J Math Stat Psychol. 2011 Nov;64(3):388-409. doi: 10.1348/000711010X524739. Epub 2011 Apr 8. Br J Math Stat Psychol. 2011. PMID: 21973093
-
Testing for normality in regression models: mistakes abound (but may not matter).R Soc Open Sci. 2025 Apr 30;12(4):241904. doi: 10.1098/rsos.241904. eCollection 2025 Apr. R Soc Open Sci. 2025. PMID: 40309180 Free PMC article.
-
Testing experimental data for univariate normality.Clin Chim Acta. 2006 Apr;366(1-2):112-29. doi: 10.1016/j.cca.2005.11.007. Epub 2006 Jan 4. Clin Chim Acta. 2006. PMID: 16388793 Review.
-
Informal versus formal judgment of statistical models: The case of normality assumptions.Psychon Bull Rev. 2021 Aug;28(4):1164-1182. doi: 10.3758/s13423-021-01879-z. Epub 2021 Mar 3. Psychon Bull Rev. 2021. PMID: 33660213 Review.
Cited by
-
Beyond bar and line graphs: time for a new data presentation paradigm.PLoS Biol. 2015 Apr 22;13(4):e1002128. doi: 10.1371/journal.pbio.1002128. eCollection 2015 Apr. PLoS Biol. 2015. PMID: 25901488 Free PMC article.
-
Spleen transient elastography predicts actuarial survival after liver transplantation.Transl Gastroenterol Hepatol. 2022 Jul 25;7:31. doi: 10.21037/tgh-19-343. eCollection 2022. Transl Gastroenterol Hepatol. 2022. PMID: 35892053 Free PMC article.
-
Factors Associated with Vaccination Uptake among Young Children: A Follow-Up Study of 1799 Toddlers.Vaccines (Basel). 2023 Feb 24;11(3):535. doi: 10.3390/vaccines11030535. Vaccines (Basel). 2023. PMID: 36992119 Free PMC article.
-
A Trauma-Informed Workshop Targeting the Attitudes of Mental Health Providers in a Rural, Racially Diverse Community Bordering Tribal lands.J Child Adolesc Trauma. 2023 Nov 29;17(2):187-196. doi: 10.1007/s40653-023-00584-4. eCollection 2024 Jun. J Child Adolesc Trauma. 2023. PMID: 38938933 Free PMC article.
-
Use of Smart Glasses (Assisted Reality) for Western Australian X-ray Operators' Continuing Professional Development: A Pilot Study.Healthcare (Basel). 2024 Jun 24;12(13):1253. doi: 10.3390/healthcare12131253. Healthcare (Basel). 2024. PMID: 38998788 Free PMC article.
References
MeSH terms
LinkOut - more resources
Full Text Sources