Skip to topic
    ← Back to course topics

    Analysis of variance — Edexcel A-Level Statistics

    Analysis of variance explained

    Analysis of variance covers 3 specification points, including Conduct one-way analysis of variance, using a… and Conduct two-way analysis of variance without….

    Read the full explanation

    Open a point below for its explanation and revision guidance.

    Conduct one-way analysis of variance, using a completely randomised design with appreciation of the underlying model with additive effects and experimental errors distributed as N(0,σ 2).

    One-way ANOVA compares the means of three or more treatments in a completely randomised design, where each unit is assigned at random to exactly one treatment. The underlying model is Yᵢⱼ = μ + τᵢ + εᵢⱼ: the observation equals an overall mean μ, an additive treatment effect τᵢ, and an experimental error εᵢⱼ. Additive effects mean the treatment shifts the response by a constant amount. Errors are independent and distributed as N(0, σ²). Partition the total variation into between-treatment and within-treatment sums of squares, form mean squares by dividing by their degrees of freedom, and compare the F ratio with the F distribution. For example, testing four fertilisers on 20 plots gives 3 and 16 degrees of freedom.

    Conduct two-way analysis of variance without replication, using a randomised block design with blocking.

    Two-way ANOVA without replication analyses a randomised block design where each treatment appears exactly once in every block, giving one observation per treatment-block combination. Blocking groups similar experimental units, removing a known source of variability from the residual. The model is Yᵢⱼ = μ + τᵢ + βⱼ + εᵢⱼ, where μ is the overall mean, τᵢ is the treatment effect, βⱼ is the block effect and εᵢⱼ is the error, assumed independent and distributed as N(0, σ²). Partition the total variation into treatment, block and residual sums of squares. With no replication there is no interaction term, and the residual degrees of freedom are (t − 1)(b − 1). For example, four treatments in five blocks give 3, 4 and 12 degrees of freedom.

    Identify assumptions and interpretations in context.

    In ANOVA, you must identify the assumptions that justify the method and interpret the results in the given context. The assumptions are: independent observations, normally distributed residuals within each group, and equal variances across groups. You also assume the model is additive and that group effects are fixed unless stated otherwise. In context, you interpret the F-statistic and p-value by linking them to the original variables: for example, if comparing mean exam scores across three teaching methods, a small p-value suggests the methods do not all have the same mean score. You must also interpret any significant result cautiously: it does not say which methods differ, only that at least one differs. You identify assumptions by checking residual plots, Levene's test, or study design.

    Read the Analysis of variance study guideFull revision notes for Edexcel A-Level Statistics

    Your focus

    1. Set up the one-way ANOVA model for a completely randomised design and state its assumptions.
    2. Carry out the sum of squares partition and compute the F statistic correctly.
    3. Interpret the outcome of the F test in the context of the experiment.
    Show all 9 objectives
    1. Set up the two-way ANOVA model without replication for a randomised block design.
    2. Carry out the treatment, block and residual sum of squares partition with correct degrees of freedom.
    3. Interpret the F tests for treatment and block effects in the context of the experiment.
    4. State the assumptions required for a one-way ANOVA and explain how each can be checked in a given context.
    5. Interpret the outcome of an ANOVA test in terms of the original variables and groups.
    6. Explain why a significant ANOVA result does not identify which specific groups differ.

    Analysis of variance exam tips

    Marking Points
    • State the model Yᵢⱼ = μ + τᵢ + εᵢⱼ and identify μ as the overall mean, τᵢ as the additive treatment effect and εᵢⱼ as the experimental error.
    • State the assumptions: errors are independent and distributed as N(0, σ²), with constant variance across treatments.
    • Partition the total sum of squares into between-treatment and within-treatment (residual) sums of squares.
    • Compute the treatment and residual mean squares using their degrees of freedom, then form the F ratio of treatment mean square to residual mean square.
    • Compare the calculated F statistic with the critical value from the F distribution at the chosen significance level and state the conclusion in context.
    • Recognise that a completely randomised design assigns each experimental unit at random to exactly one treatment.
    • Describe the randomised block design: each treatment occurs once in every block, giving one observation per treatment-block cell.
    • State the model Yᵢⱼ = μ + τᵢ + βⱼ + εᵢⱼ and identify the treatment effect, the block effect and the error term.
    • State that the errors are independent and distributed as N(0, σ²) with constant variance.
    • Partition the total sum of squares into treatment, block and residual components and assign the correct degrees of freedom to each.
    • Form the F ratios for treatment and for block by dividing each mean square by the residual mean square, and compare with the F distribution.
    • Explain that without replication no interaction term can be estimated, so the residual captures the remaining variation.
    • Independence: observations must be independent within and between groups; this is usually ensured by random sampling or random assignment.
    • Normality: residuals (or group data) should be approximately normally distributed; check with a histogram, Q-Q plot, or Shapiro-Wilk test.
    • Equal variances: the population variance should be similar across groups; check with Levene's test or by comparing group standard deviations.
    • Additive model: the expected response is the overall mean plus a group effect; no interaction is assumed in a one-way ANOVA.
    • Interpretation in context: a significant F-test means at least one group mean differs, but it does not identify which groups differ; post-hoc tests are needed.
    • Interpretation of p-value: the probability of observing an F-statistic at least as extreme as the one calculated, assuming the null hypothesis is true.
    Exam tips
    • 💡Write out the model equation and the error assumption before doing any arithmetic, so the structure of the test is clear.
    • 💡Lay out the ANOVA table with sources, sums of squares, degrees of freedom, mean squares and the F ratio to avoid losing track of the partition.
    • 💡Interpret the F test in the context of the experiment, naming the treatments and the response variable rather than only quoting a p-value.
    • 💡Draw the treatment-by-block layout first so the single observation in each cell is explicit before any calculation.
    • 💡Build the ANOVA table with separate rows for treatment, block and residual, checking that the degrees of freedom sum to the total.
    • 💡State the conclusion for the treatment effect in context, and comment on whether blocking appears to have been effective.
    • 💡When asked to identify assumptions, name each assumption and state how you would check it in the given context (e.g., 'Levene's test for equal variances').
    • 💡When interpreting a significant result, always refer to the actual groups and variable: e.g., 'There is evidence that mean scores differ among the three teaching methods.'
    • 💡Avoid saying 'accept the null hypothesis'; say 'fail to reject' or 'there is insufficient evidence'.
    • 💡If a question gives a residual plot, comment on specific features: fan shape suggests unequal variances, curved pattern suggests non-normality.
    Common Mistakes
    • Treating the additive model as including an interaction term; the one-way model has only an overall mean, a treatment effect and an error, so interaction is not part of it.
    • Assuming the errors are normally distributed with mean equal to the treatment mean; the errors are distributed as N(0, σ²), centred on zero.
    • Dividing each sum of squares by the number of observations rather than by the correct degrees of freedom when forming mean squares.
    • Concluding that a non-significant F proves all treatment means are equal; it only means there is insufficient evidence of a difference.
    • Including a treatment-by-block interaction term; without replication there are no degrees of freedom left to estimate one.
    • Forgetting to remove the block effect, which leaves the block variation inside the residual and weakens the test of treatments.
    • Using the wrong degrees of freedom for the residual; in a randomised block design without replication these are (t − 1)(b − 1).
    • Treating the block effect as a treatment of interest rather than as a design feature that reduces unexplained variability.
    • Misunderstanding: 'ANOVA assumes the data are normally distributed.' Correction: the assumption is about the residuals (or the populations within groups), not the raw combined data; check normality within each group or on residuals.
    • Misunderstanding: 'A significant ANOVA proves all group means are different.' Correction: it only indicates at least one group mean differs; you need post-hoc comparisons to identify which pairs differ.
    • Misunderstanding: 'Equal variances means equal sample sizes.' Correction: equal variances is about population spread, not sample size; unequal sample sizes can still satisfy the assumption, though balance helps.
    • Misunderstanding: 'Independence can be checked from the data.' Correction: independence is a design issue, not a data-checking issue; it must be ensured by random sampling or random assignment.