Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2020 Feb 21;15(2):e0229345.
doi: 10.1371/journal.pone.0229345. eCollection 2020.

A solution to minimum sample size for regressions

Affiliations

A solution to minimum sample size for regressions

David G Jenkins et al. PLoS One. .

Abstract

Regressions and meta-regressions are widely used to estimate patterns and effect sizes in various disciplines. However, many biological and medical analyses use relatively low sample size (N), contributing to concerns on reproducibility. What is the minimum N to identify the most plausible data pattern using regressions? Statistical power analysis is often used to answer that question, but it has its own problems and logically should follow model selection to first identify the most plausible model. Here we make null, simple linear and quadratic data with different variances and effect sizes. We then sample and use information theoretic model selection to evaluate minimum N for regression models. We also evaluate the use of coefficient of determination (R2) for this purpose; it is widely used but not recommended. With very low variance, both false positives and false negatives occurred at N < 8, but data shape was always clearly identified at N ≥ 8. With high variance, accurate inference was stable at N ≥ 25. Those outcomes were consistent at different effect sizes. Akaike Information Criterion weights (AICc wi) were essential to clearly identify patterns (e.g., simple linear vs. null); R2 or adjusted R2 values were not useful. We conclude that a minimum N = 8 is informative given very little variance, but minimum N ≥ 25 is required for more variance. Alternative models are better compared using information theory indices such as AIC but not R2 or adjusted R2. Insufficient N and R2-based model selection apparently contribute to confusion and low reproducibility in various disciplines. To avoid those problems, we recommend that research based on regressions or meta-regressions use N ≥ 25.

PubMed Disclaimer

Conflict of interest statement

The authors have declared that no competing interests exist.

Figures

Fig 1
Fig 1. Histograms of N in research.
(a) economic meta-analyses & meta-regressions; (b) medical / epidemiological meta-analyses & meta-regressions; (c) ecological analyses of disturbance [8]; and (d) biogeographical analyses of species-area relationships [9]. Please see S1 Appendix for a description of literature search methods, data, and references for (a) and (b).
Fig 2
Fig 2. Data made with a null model (1st column) and results of analyses using null (2nd column), straight-line (3rd column) and quadratic (4th column) models.
Data with (a) high variance and (b) low variance were each analyzed at N = 4–50. Results are presented with maximum N = 30 for visual clarity; all results stabilized at N > 30. Circles are means; error bars are 95% confidence intervals. “Traffic signal” colors on sample size (N) axes for the null model indicate ranges where N is too small (red = stop), or sufficient (green = go) to correctly infer the pattern. Note the quadratic model outcomes at N = 4 (red circles).
Fig 3
Fig 3. Data made with a straight-line model (1st column) and results of analyses using null (2nd column), straight-line (3rd column) and quadratic (4th column) models.
The four combinations (a-d) of low/high variance (σ) and effect size (α) represent approximate graphical extremes. Grey lines represent transitions in leading wi between two models. “Traffic signal” colors on sample size (N) axes for the straight-line model indicate ranges where N is too small (red = stop), about equivalent to the null (yellow = caution), or sufficient (green = go) to correctly infer the pattern. Note the null and quadratic model outcomes at low N (red circles or ellipses).
Fig 4
Fig 4. Data made with a quadratic model and with high variance (σ; 1st column) and results of analyses using null (2nd column), straight-line (3rd column) and quadratic (4th column) models.
All else as in Figs 2 & 3.
Fig 5
Fig 5. Data made with a quadratic model and with low variance (σ; 1st column) and results of analyses using null (2nd column), straight-line (3rd column) and quadratic (4th column) models.
All else as in Figs 2–4.

Similar articles

Cited by

References

    1. Lau J, Ioannidis JP and Schmid CH. Quantitative synthesis in systematic reviews. Annals Internal Med. 1997; 127: 820–826. - PubMed
    1. Baker WL, White C, Cappelleri JC, Kluger J, Coleman CI, from the Health Outcomes, Policy, and Economics (HOPE) Collaborative Group. Understanding heterogeneity in meta-analysis: the role of meta-regression. International Journal of Clinical Practice. 2009; 63: 1426–1434. 10.1111/j.1742-1241.2009.02168.x - DOI - PubMed
    1. Koricheva J, Gurevitch J, Mengersen K. editors. Handbook of meta-analysis in ecology and evolution. Princeton University Press. 2013.
    1. Gurevitch J, Koricheva J, Nakagawa S, Stewart G. Meta-analysis and the science of research synthesis. Nature. 2018; 555: p.175–182. 10.1038/nature25753 - DOI - PubMed
    1. Stanley TD, Jarrell SB. Meta-regression analysis: a quantitative method of literature surveys. J. Economic Surveys. 2005; 19: 299–308.