ANCOVA, the analysis of covariance, compares the means of three or more groups while statistically controlling for one or more continuous nuisance variables called covariates. It is an ANOVA with a regression adjustment built in: before testing whether the groups differ, it removes the portion of the outcome that the covariate can explain, so the comparison is made on a level playing field. That makes ANCOVA the natural choice when groups differ on a background variable, such as a pre-test score, that you want to hold constant.
What ANCOVA is used for
The classic use is a pre-test, post-test design: you compare post-test scores across treatment groups while using the pre-test as a covariate, so any starting differences between groups are adjusted away. More generally, ANCOVA increases statistical power by soaking up error variance that the covariate explains, which can reveal a group effect that a plain ANOVA would miss. It also lets you ask a sharper question: not simply whether the groups differ, but whether they differ once the covariate is accounted for.
ANOVA versus ANCOVA
The difference between the two is the covariate. An ANOVA compares group means on the outcome alone; an ANCOVA compares adjusted group means after partialling out the covariate's influence. By explaining away part of the within-group variation, the covariate shrinks the error term and produces a more sensitive test. The trade-off is an extra set of assumptions: most importantly homogeneity of regression slopes, the requirement that the covariate relates to the outcome in the same way within every group. If that assumption fails, the adjusted comparison is no longer meaningful.
| Test | Compares | Adjusts for a covariate? |
|---|---|---|
| t-test | Two group means | No |
| ANOVA | Three or more group means | No |
| ANCOVA | Three or more adjusted group means | Yes |
ANCOVA versus a t-test, and versus regression
Compared with a t-test, ANCOVA handles more than two groups and adds covariate control, so a t-test is really a special, simpler case. Compared with regression, the line is thinner than it looks: ANCOVA is a regression model in which the grouping variable is entered as a categorical predictor alongside the continuous covariate. The two produce the same underlying fit; ANCOVA simply frames the output as adjusted group means, which is why the assumptions in linear regression also apply here.
Reporting ANCOVA properly
A clean ANCOVA report gives the F statistic, degrees of freedom, p-value, and an effect size such as partial eta-squared for the group factor, then presents the adjusted (estimated marginal) means rather than the raw means, because those adjusted means are the whole point of the analysis. State that you checked homogeneity of regression slopes and the usual normality and equal-variance assumptions, following the conventions in reporting statistics in APA style. If you want to test the omnibus group effect before adding a covariate, the one-way ANOVA calculator gives you the unadjusted comparison as a starting point.