Clinical Trials · RM-ANCOVA
Sample Size for Baseline-Adjusted Repeated-Measures ANCOVA
Plan a two-arm trial with one baseline measurement and multiple post-randomisation follow-ups when the primary hypothesis is a common treatment effect averaged across all follow-ups.
4. Results
Enter the trial assumptions and select Calculate.
Interpretation
Suggested sample-size wording
Warnings
Formula, assumptions, limitations, and methodological note
Example clinical scenario
A two-arm diabetes trial compares HbA1c measured at three post-treatment visits while adjusting for baseline HbA1c and accounting for correlation among repeated measurements.
Formula and methodological note
Primary estimand: the treatment-group difference averaged across the post-randomisation follow-up assessments, adjusted for the baseline value of the same continuous outcome.
This is not a group × measurement interaction calculator. Use the repeated-measures ANOVA calculator when the primary question is whether the treatment difference changes across measurement occasions.
This implementation assumes equal 1:1 allocation, a common outcome variance, and compound symmetry: the same within-participant correlation between every pair of baseline and follow-up measurements.
Let k be the number of follow-ups and ρ the common compound-symmetry correlation across the baseline and all follow-ups. The variance ratio for the baseline-adjusted average treatment effect is:
VR = [1 + (k − 1)ρ − kρ²] / k
Raw sample per group = 2 × (Z critical + Z power)² × σ² × VR / Δ²
Analysable sample per group = ceiling(raw sample per group)
Recruitment per group = ceiling[analysable sample per group / (1 − attrition)]
- One continuous outcome is measured once at baseline and at two or more follow-ups.
- The primary hypothesis is a constant/common treatment effect averaged across follow-ups.
- Equal 1:1 allocation, equal variances, compound symmetry, and complete analysable repeated measurements are assumed.
- The method does not test a treatment-by-time interaction or a specific single follow-up effect.
- It is not a direct sample-size method for MMRM with unstructured covariance, GEE, binary outcomes, informative missingness, unequal follow-up schedules, or cluster-randomised trials.
This planning tool does not replace study-specific statistical consultation or a sensitivity analysis using plausible covariance assumptions.
Technical results
Method references
- Morgan TM, Case LD. Conservative sample size determination for repeated measures analysis of covariance. Annals of Biometrics & Biostatistics. 2013;1(1):1002.
- Frison L, Pocock SJ. Repeated measures in clinical trials: analysis using mean summary statistics and its implications for design. Statistics in Medicine. 1992;11:1685–1704.
- Borm GF, Fransen J, Lemmens WAJG. A simple sample size formula for analysis of covariance in randomized clinical trials. Journal of Clinical Epidemiology. 2007;60:1234–1238. doi:10.1016/j.jclinepi.2007.02.006.
Suggested citation
Yaacob, Najib Majdi. “Sample Size for Baseline-Adjusted Repeated-Measures ANCOVA (RM-ANCOVA).” Web calculator. NajibMY, 2026. Accessed July 29, 2026. https://najibmy.netlify.app/tools/sample-size/clinical-complex-study-designs/baseline-adjusted-repeated-measures-ancova/.