A t-test compares the means of two groups, while ANOVA (analysis of variance) compares the means of three or more groups in a single test. Both are parametric methods that ask whether observed differences in means are larger than you would expect from chance. The rule for your dissertation is simple: count your groups first, because the number of groups, not the topic, decides which test you use.

Why you cannot just run several t-tests instead

It is tempting to compare three groups with three separate t-tests, but doing so inflates your Type I error rate. Each test carries a five percent risk of a false positive, and running several stacks that risk until a significant result is likely by accident alone. ANOVA solves this by testing all groups at once with a single omnibus test, holding the overall error rate at your chosen alpha. That is the core reason assessors expect ANOVA rather than a pile of pairwise comparisons, and it is part of the broader logic of matching the test to your design.

Your research questionCompare groupst-test · ANOVATest a relationshipCorrelation · regressionPredict an outcomeLinear · logistic regression
When your research question is comparing groups, the number of groups decides whether a t-test or analysis of variance is the right tool.

Matching the test to your design

The right choice depends on how your independent variable is structured, so it helps to be clear on which variable predicts which. A two-level grouping variable calls for a t-test; three or more levels call for one-way ANOVA. If you have two grouping variables at once, a two-way ANOVA lets you test each main effect plus their interaction. Both families assume a roughly normal distribution and homogeneity of variance, so confirm those before you run anything.

SituationTestWhat it answers
Two independent groupsIndependent-samples t-testDo the two group means differ?
Two related measurementsPaired-samples t-testDid scores change within the same people?
Three or more groupsOne-way ANOVADo any of the group means differ?
Two grouping factorsTwo-way ANOVAMain effects and their interaction

After a significant ANOVA: post hoc tests

A significant ANOVA tells you that at least one group mean differs, but not which groups differ from each other. To locate the difference you run post hoc tests, such as Tukey's HSD or Bonferroni-corrected comparisons, which control the error rate across all the pairwise contrasts. These are not the same as running raw t-tests, because the correction keeps your false positive risk in check. Report the omnibus result first, then the post hoc findings, each with an effect size.

Reporting both tests cleanly

Whichever test you use, present it in a consistent format: the test statistic, degrees of freedom, the exact p-value, and an effect size such as Cohen's d for a t-test or eta squared for ANOVA. Lead with descriptive statistics so the reader sees the group means and spreads before the inferential verdict, and follow the conventions in reporting results in APA style. Done this way, your analysis chapter reads as a deliberate sequence rather than a scatter of outputs.