Pearson Edexcel · A-Level · Mathematics

    Course version: 603/1499/0 · Version from Sept 2017

    Further Statistics 2: 1.2 The residual sum of squares (RSS)

    Full specification wording

    Linear Regression - Paper 4B: Further Statistics 2: 1.2 The residual sum of squares (RSS)

    The residual sum of squares, written RSS, combines all the individual residuals into a single measure of how poorly a line fits the data.

    • Point 3 of 3

    Study notes

    From the teaching notes for this specification point.

    The idea

    The residual sum of squares, written RSS, combines all the individual residuals into a single measure of how poorly a line fits the data. For n points with residuals eᵢ = yᵢ − (a + bxᵢ), the RSS is Σeᵢ², the sum of the squared residuals. Squaring removes the sign so positive and negative deviations cannot cancel, and it gives greater weight to large deviations. A smaller RSS indicates a better fit, and the least squares line is precisely the one whose intercept and gradient make RSS as small as possible. RSS is therefore the quantity minimised in fitting and a natural summary for comparing different candidate lines on the same data.

    What earns the marks

    • Defines the residual sum of squares as the sum over all points of each residual squared, Σeᵢ².
    • Explains that squaring residuals prevents positive and negative deviations from cancelling when they are added.
    • States that a smaller RSS corresponds to a better fit and that the least squares line minimises RSS.
    • Computes RSS by squaring each residual and adding the results, keeping full precision until the final total.
    • Compares two candidate lines by their RSS values and selects the line with the smaller residual sum of squares.

    Common mistakes and how to put them right

    • Adds residuals without squaring them so positive and negative terms cancel.

      Put it right: Square each residual before summing.

    • Squares the total of the residuals rather than summing the individual squares.

      Put it right: Compute Σeᵢ², not (Σeᵢ)².

    • Treats a larger RSS as a better fit.

      Put it right: Recognise that the smaller residual sum of squares indicates the better fit.

    • Rounds each squared residual heavily before adding.

      Put it right: Keep precision through the calculation and round only the final total.

    Exam tips

    • Tabulate each residual, its square and a running total to reduce arithmetic slips.
    • State explicitly that the least squares line is the one minimising RSS so the link to the fitting criterion is clear.
    • When comparing lines, present both RSS totals before concluding which line fits better.

    Try the lesson

    The start of the Linear Regression - Paper 4B: Further Statistics 2: 1.2 The residual sum of squares (RSS) lesson, made from teaching notes for this specification point.

    Have a go first

    A regression line gives fitted values 5, 9, 7 and 10 for four data points whose observed y values are 8, 5, 9 and 7. Find the residual sum of squares.

    There is more to this lesson

    The full lesson goes on to check your understanding and help you earn the marks. Create a free account to carry on, with your progress saved.

    Carry on with the full lesson

    5 free practice questions every day · Free forever · No card required

    Test your understanding of Linear Regression - Paper 4B: Further Statistics 2: 1.2 The residual sum of squares (RSS)

    Active recall beats re-reading. Take an instant quiz now to test what you’ve learned and lock it into long-term memory.

    Take topic quiz

    5 free practice questions every day · Free forever · No card required