Clinical Knowledge › Epidemiology and biostatistics › Statistical tests
t-tests
The t-test compares means when the outcome is continuous and approximately normally distributed. Its statistic is the observed difference divided by its standard error, referred to the t distribution with the appropriate degrees of freedom (df); the t distribution has heavier tails than the normal distribution when samples are small, so a larger statistic is needed for the same P value. There are three forms: the one-sample t-test compares a sample mean with a fixed value (df = n − 1); the unpaired (independent samples) t-test compares two separate groups (Student's version pools the variances, df = n1 + n2 − 2; Welch's version does not assume equal variances); and the paired t-test analyses within-pair differences (df = number of pairs − 1). Worked example: SBP falls by a mean of 6 mmHg (SD of differences 8) in 10 patients; SE 2.53, t = 2.37, df 9, P = 0.042, 95% CI 0.3 to 11.7 mmHg. Traps: using an unpaired test on paired data, running many t-tests instead of ANOVA, and forcing t-tests onto small skewed samples.
Patient case, mechanism, investigations, management, differentials, exam pearls, flashcards and exam-style questions. Included free with every exam plan (IFOM, MCCQE, AMC, Qatar, MRCP, OET) or a Clinical Knowledge plan.Open the lesson → See plans

Key facts (preview)
- t = (observed difference − null value) ÷ standard error of the difference, compared with the t distribution on the relevant df
- One-sample t-test: t = (x̄ − μ0) ÷ (s/√n), df = n − 1
- Unpaired (Student) t-test: pooled SD sp = √[((n1−1)s1² + (n2−1)s2²) ÷ (n1+n2−2)]; SE = sp√(1/n1 + 1/n2); df = n1 + n2 − 2
- Welch's t-test does not assume equal variances: SE = √(s1²/n1 + s2²/n2) with adjusted (usually non-integer) df; many statisticians use it by default
Guideline
SAMPL guidelines for basic statistical reporting (2015), CONSORT 2025 statement and ICH E9(R1) statistical principles with estimands addendum (2019)
References
- Lang TA, Altman DG. Basic statistical reporting for articles published in biomedical journals: the 'Statistical Analyses and Methods in the Published Literature' or the SAMPL guidelines. Int J Nurs Stud 2015.
- Hopewell S, Chan AW, Collins GS, et al.. CONSORT 2025 statement: updated guideline for reporting randomised trials. BMJ 2025.
- International Council for Harmonisation (ICH). E9 Statistical principles for clinical trials (1998) and E9(R1) addendum on estimands and sensitivity analysis in clinical trials (2019). ICH Harmonised Guideline 2019.
- Student. The probable error of a mean. Biometrika 1908.
- Kim TK. T test as a parametric statistic. Korean J Anesthesiol 2015.
- Fagerland MW. t-tests, non-parametric tests, and large studies - a paradox of statistical practice?. BMC Med Res Methodol 2012.
Related topics
By Dr Khalid Seidi (B.Sc., M.D.) · MedEd World Clinical Knowledge library. Original teaching content checked against current guidelines (November 2026); confirm the latest local guidance before clinical use. Not a substitute for clinical judgement.