If you have spent any time learning statistics in SPSS, you have probably met three methods that look suspiciously alike: ANOVA, regression, and ANCOVA. All three compare means or predict an outcome. All three produce an F test, a p-value, and an R-squared. So why do we need three of them?
They are not three unrelated tools. They are three faces of the same underlying model, the general linear model, each tuned for a different kind of research question. Once you see how they fit together, choosing between them stops being a guessing game. This guide explains ANCOVA vs ANOVA vs regression in plain language, shows you how to run all three in SPSS with click-by-click steps and paste-ready syntax, and shows you how to read the output and report each one in APA style (7th ed.).
The big picture: one model, three jobs
ANOVA, regression, and ANCOVA all model a continuous outcome as predictors plus error. The difference is only in the predictors:
- ANOVA uses categorical predictors (groups) to explain a continuous outcome.
- Regression uses continuous predictors to explain a continuous outcome.
- ANCOVA uses both: categorical predictors (groups) and one or more continuous predictors (covariates) to explain a continuous outcome.
In other words, ANCOVA is ANOVA with a covariate added, and regression is ANOVA with the group labels replaced by numbers. SPSS knows this too: behind the scenes, both dialogs fit the same kind of linear model, which is why their output tables look so similar. The real question is never “which method is better?” It is “what kind of predictors do I have, and what do I want to control for?”
ANOVA: comparing group means
Use ANOVA when your research question is about differences between groups and your outcome is continuous. Classic examples: comparing exam scores across three teaching methods or blood pressure across four drug doses.
A one-way ANOVA asks one question: are the group means different enough that the difference is unlikely to be due to chance? The F statistic compares the variation between groups to the variation within groups. A large F with a small p-value means at least one group differs from the others.
To run a one-way ANOVA in SPSS: Analyze > Compare Means > One-Way ANOVA. Move your outcome variable into the Dependent List and your grouping variable into the Factor box. Click Options and tick Descriptive and Homogeneity of variance test, then click Continue and OK. For a factorial ANOVA with two or more grouping variables, use Analyze > General Linear Model > Univariate instead, and put each grouping variable in the Fixed Factor(s) box.
ONEWAY score BY method
/STATISTICS DESCRIPTIVES HOMOGENEITY
/MISSING ANALYSIS
/POSTHOC=TUKEY ALPHA(0.05).What to look for in the output: the ANOVA table’s F value and p-value, the group means in the Descriptives table, and Levene’s test — if it is significant, the equal-variances assumption is violated, so consider Welch’s ANOVA or a nonparametric alternative. A significant ANOVA only tells you that some groups differ, so follow it with post-hoc tests such as Tukey’s HSD to find out which pairs differ.
Regression: predicting an outcome from continuous variables
Use regression when your predictors are continuous (or a mix of continuous and dummy-coded categorical variables) and you want to predict a continuous outcome, or quantify how strongly each predictor relates to it. Examples: predicting salary from years of experience, predicting exam scores from hours studied and prior GPA, or testing whether age predicts reaction time.
Regression gives you a slope (B) for each predictor: the expected change in the outcome for a one-unit change in that predictor, holding the others constant. It also gives you R-squared, the proportion of variance in the outcome explained by the model, and a t-test for each predictor.
To run a multiple regression in SPSS: Analyze > Regression > Linear. Move your outcome into the Dependent box and your predictors into the Independent(s) box. Make sure Method is set to Enter. Click Statistics and tick Estimates, Model fit, and Collinearity diagnostics, then click Continue and OK.
REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS R ANOVA COLLIN TOL
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT score
/METHOD=ENTER hours_studied prior_gpa.What to look for in the output: the Model Summary table (R, R-squared, and adjusted R-squared), the ANOVA table (whether the model as a whole predicts the outcome significantly), and the Coefficients table — the unstandardized B for each predictor, its standard error, t-value, and p-value, plus the standardized Beta for comparing predictors on different scales. Check the assumptions too: linearity, normally distributed residuals, homoscedasticity, and VIF values under 10.
ANCOVA: comparing groups while controlling for a covariate
Use ANCOVA when you want to compare group means but the groups also differ on some continuous variable that affects the outcome — and you want to statistically remove that variable’s influence first. The classic example is comparing post-test scores across teaching methods while controlling for pre-test scores: ANCOVA adjusts each group’s mean to what it would be if everyone had started at the same level.
The continuous variable you control for is called a covariate. ANCOVA first regresses the outcome on the covariate, then runs an ANOVA on what is left over. The result is a comparison of adjusted means — the group means after the covariate’s effect has been removed.
To run an ANCOVA in SPSS: Analyze > General Linear Model > Univariate. Move your outcome into the Dependent Variable box, your grouping variable into Fixed Factor(s), and your covariate into the Covariate(s) box. Click Options and tick Descriptive statistics, Estimates of effect size, and Observed power; move your grouping variable into the Display Means For box and tick Compare main effects. Click Continue and OK.
UNIANOVA posttest BY method WITH pretest
/METHOD=SSTYPE(3)
/INTERCEPT=INCLUDE
/EMMEANS=TABLES(method) WITH(pretest=MEAN) COMPARE ADJ(BONFERRONI)
/PRINT=DESCRIPTIVE ETASQ OPOWER
/CRITERIA=ALPHA(.05)
/DESIGN=pretest method.What to look for in the output: the Tests of Between-Subjects Effects table. Read the row for your covariate first: if it is significant, the covariate matters and adjusting for it was worthwhile. Then read the row for your grouping variable: its F and p-value tell you whether the groups differ after adjustment. The Estimated Marginal Means table gives the adjusted group means — report these, not the raw means, because the adjusted means are the ones the ANCOVA actually compared.
One assumption is unique to ANCOVA and easy to forget: homogeneity of regression slopes. The relationship between the covariate and the outcome must be roughly the same in every group. Check it by adding a group-by-covariate interaction to the model (in the Univariate dialog, click Model, choose Custom, and add the interaction term). If the interaction is significant, the slopes differ and ANCOVA is not appropriate — run separate regressions per group or a moderation analysis instead.
ANCOVA vs ANOVA vs regression at a glance
| ANOVA | Regression | ANCOVA | |
|---|---|---|---|
| Predictors | Categorical (groups) | Continuous (mainly) | Groups + continuous covariate(s) |
| Outcome | Continuous | Continuous | Continuous |
| Core question | Do group means differ? | Do predictors predict the outcome? | Do group means differ after controlling for the covariate? |
| Key statistic | F, eta-squared | B, Beta, R-squared | F, adjusted means, partial eta-squared |
| SPSS route | One-Way ANOVA or Univariate | Regression > Linear | Univariate (with a covariate) |
| Syntax | ONEWAY / UNIANOVA | REGRESSION | UNIANOVA … WITH … |
| Main assumption to watch | Equal variances (Levene’s test) | Linearity, no multicollinearity | Equal regression slopes across groups |
How to choose: a simple decision guide
Work through these questions in order. First, is your outcome continuous? If not, none of these three is the right tool — look at logistic regression or a chi-square test instead. Second, are your predictors groups or numbers? Groups only points to ANOVA, numbers only to regression, and a mix to ANCOVA (or regression with dummy variables, which gives the same answer in a different format). Third, is there a continuous variable you need to control for? If yes, and your main question is about group differences, use ANCOVA; if it is about the predictors themselves, use multiple regression and include the control variable as just another predictor.
Rule of thumb: if your sentence starts with “do groups differ…”, think ANOVA or ANCOVA. If it starts with “does X predict Y…”, think regression. And remember that regression with dummy-coded group variables and ANOVA on the same data produce identical F tests — the same analysis wearing different clothes.
Common mistakes to avoid
- Using ANCOVA on a covariate measured after the treatment. A covariate should be measured before the groups were formed or the treatment was applied (a pre-test, age, baseline score). Controlling for something the treatment itself changed will distort the group comparison.
- Reporting raw means after an ANCOVA. Always report the adjusted (estimated marginal) means, because those are the means the test compared.
- Skipping the equal-slopes check. If the covariate relates to the outcome differently in each group, the single adjusted comparison ANCOVA produces is misleading.
- Running ANOVA when you really want regression. Splitting a continuous predictor into arbitrary groups (for example, “low, medium, high” age bands) just to run an ANOVA throws away information and power. Keep continuous variables continuous and use regression.
- Forgetting post-hoc tests and effect sizes. A significant ANOVA with three or more groups does not say which groups differ — follow up with Tukey’s HSD. And with a large sample, a tiny mean difference can be significant, so always report an effect size: eta-squared for ANOVA and ANCOVA, R-squared and standardized Betas for regression.
Reporting in APA style (7th ed.)
Report the test, degrees of freedom, test statistic, p-value, and an effect size. Italicise F, p, t, R², and η², and round to two decimals (report p-values below .001 as p < .001).
ANOVA example: “A one-way ANOVA revealed a significant effect of teaching method on exam scores, F(2, 87) = 6.42, p = .002, η² = .13. Tukey’s HSD showed that the active-learning group (M = 78.4) scored significantly higher than the lecture group (M = 70.2), p = .004.”
Regression example: “A multiple regression predicting exam scores from hours studied and prior GPA was significant, F(2, 97) = 24.18, p < .001, R² = .33. Hours studied was a significant predictor (B = 1.84, β = .38, p < .001), as was prior GPA (B = 8.62, β = .35, p < .001).”
ANCOVA example: “An ANCOVA controlling for pre-test scores revealed a significant effect of teaching method on post-test scores, F(2, 86) = 5.87, p = .004, partial η² = .12. Adjusted post-test means were highest in the active-learning group (Madj = 79.1), followed by the discussion group (Madj = 74.6) and the lecture group (Madj = 71.3).”
The example numbers above are illustrative templates — replace every value with the numbers from your own SPSS output, and always report the adjusted means for ANCOVA, not the raw group means.
Key Takeaways
- ANOVA, regression, and ANCOVA are all versions of the general linear model — the difference is the type of predictors, not the underlying maths.
- ANOVA compares group means, regression predicts an outcome from continuous predictors, and ANCOVA compares group means after statistically controlling for one or more covariates.
- Choose by your question: “do groups differ?” points to ANOVA or ANCOVA; “does X predict Y?” points to regression.
- For ANCOVA, always check the homogeneity of regression slopes assumption and always report the adjusted means.
- In SPSS, ANOVA and ANCOVA both live under Analyze > General Linear Model > Univariate; regression lives under Analyze > Regression > Linear.
- Report every result with the test statistic, degrees of freedom, p-value, and an effect size, following APA 7th edition formatting.
Frequently asked questions
Is ANCOVA just ANOVA with a covariate?
Essentially, yes. ANCOVA runs an ANOVA on the outcome after removing the part of the outcome explained by the covariate. That is why the SPSS route is the same dialog (General Linear Model > Univariate) with a variable added to the Covariate(s) box, and why the syntax differs only by the WITH clause.
Can I do ANOVA in regression, or regression in ANOVA?
Yes — they are interchangeable. A regression with dummy-coded group variables produces the same F test as a one-way ANOVA, and an ANOVA with a continuous predictor added becomes equivalent to a regression. Choose the version whose output is easiest for your audience to read: group means for ANOVA, slopes for regression.
When should I use ANCOVA instead of just comparing change scores?
When your groups started at different levels, ANCOVA is usually the better choice: it adjusts for baseline differences statistically rather than subtracting pre-test from post-test, which can introduce its own biases when baseline scores differ between groups. That said, the choice between ANCOVA and change-score analysis is a genuine methods decision — if your supervisor or journal expects one, follow that convention and justify it.
Need this done on your data? Get a free quote → /services/