Challenge: Many Ways to Find the Sample Size

Author

Metin Bulus

Published

2026-09-15

Installing and loading the {pwrss} package in R:

install.packages("pwrss")
library(pwrss)


Effect Size Category Cohen’s d Range
Very Small Effect d < 0.20
Small Effect 0.20 ≤ d < 0.50
Medium Effect 0.50 ≤ d < 0.80
Large Effect d ≥ 0.80

In the calculations below, 0.35 will be used for a SMALL effect size (which lies between 0.20 and 0.50), and 0.65 for a MEDIUM effect size (which lies between 0.50 and 0.80). Standardized regression coefficients, R-squared values, and eta-squared values should be obtained from these values using conversion formulas.

Assume balanced allocation, α = 0.05, power = 0.80, and a two‑tailed test.

1 Posttest-Only Control Group Design


Group Randomization Pretest Measured Treatment Applied Posttest Measured
Experimental
Control

1.1 t Test Approach

Using the t test approach, a total of at least 260 participants are required to detect a SMALL effect, and a total of at least 78 participants are required to detect a MEDIUM effect.

Find out how:

1.2 Regression Approach

1.2.1 Regression Omnibus F Test

Using the regression omnibus F test, at least 259 participants are required to detect a SMALL effect, and at least 77 participants are required to detect a MEDIUM effect.

Find out how:

1.2.2 Regression Coefficient t Test

Using the regression coefficient t test, at least 259 participants are required to detect a SMALL effect, and at least 77 participants are required to detect a MEDIUM effect.

Find out how:

1.3 ANCOVA Approach

Using the ANCOVA approach, at least 260 participants are required to detect a SMALL effect, and at least 78 participants are required to detect a MEDIUM effect.

Find out how:

1.4 Repeated-Measures ANOVA Approach

Using the repeated-measures ANOVA approach, at least 260 participants are required to detect a SMALL effect, and at least 78 participants are required to detect a MEDIUM effect.

Find out how:

Bonus question: Why do regression approaches differ by a unit?

2 Pretest–Posttest Control Group Design


Group Randomization Pretest Measured Treatment Applied Posttest Measured
Experimental
Control

Treatment and pretest explains 50% of the variance in the posttest.

2.1 Regression Approach

2.1.1 Regression Omnibus F Test

Using the regression omnibus F test, at least 131 participants are required to detect a SMALL effect, and at least 40 participants are required to detect a MEDIUM effect.

Find out how:

2.1.2 Regression Coefficient t Test

Using the regression coefficient t test, at least 131 participants are required to detect a SMALL effect, and at least 40 participants are required to detect a MEDIUM effect.

Find out how:

2.2 ANCOVA Approach

Using the ANCOVA approach, at least 132 participants are required to detect a SMALL effect, and at least 40 participants are required to detect a MEDIUM effect.

Find out how:

2.3 Repeated-Measures ANOVA Approach

Using the repeated-measures ANOVA approach, at least 132 participants are required to detect a SMALL effect, and at least 40 participants are required to detect a MEDIUM effect.

Find out how:

References

Bulus, M., & Jentschke, S. (2026). pwrss: Statistical Power, Sample Size, and Detectable Effect Calculations. R package version 1.2.0. https://doi.org/10.32614/CRAN.package.pwrss

Bulus, M., & Polat, C. (2023). pwrss R paketi ile istatistiksel guc analizi [Statistical power analysis with pwrss R package]. Ahi Evran Universitesi Kirsehir Egitim Fakultesi Dergisi, 24(3), 2207-2328. https://doi.org/10.29299/kefad.1209913

Cohen, J. (1988). Statistical power analysis for the behavioral sciences (2nd ed.). Lawrence Erlbaum Associates.

Keppel, G., & Wickens, T. D. (2004). Design and analysis: A researcher’s handbook (4th ed.). Pearson.

Shieh, G. (2020). Power analysis and sample size planning in ANCOVA designs. Psychometrika, 85(1), 101-120. https://doi.org/10.1007/s11336-019-09692-3


This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License