Paper ZeroSign in

Predict x from y

Choose the right regression line

  • In 4 of 20 recent exams
  • Paper 1 or 2
  • 1 to 3 marks
How it is set in the exam

Paper 2 (calculator) mostly (6 of 7 logged parts), 1–3 marks a part; once on Paper 1 (no calculator) with both lines given. Typical (4 of 20 exam versions). It sits inside a longer regression question, next to parts that predict yy or find the means, so the whole point is to notice which variable is being estimated.

Spot it in the exam
Exam phrases to spot (4)
  • “estimate xx when yy is …”

  • “the regression line of xx on yy is …”

  • “find the regression line of xx on yy”

  • “explain why the line y=ax+by = ax + b should not be used to estimate xx”

In disguise (4)
  • both lines are given in the stem, each with its own subject: pick the one whose subject is the variable asked for. This holds for an estimate of yy too
  • the table's first row is the variable to be estimated: what matters is which variable is asked for, not which row it is in or what letter it has
  • the given value of yy comes from an earlier part or from a model given as a formula: evaluate that first
  • "show that the estimate is 7272, to the nearest whole number": the unrounded value must appear before the rounded one
Variants (3)
  • given: both lines (choose one), or the data (swap the lists on the GDC)
  • asked: an estimate, a "show that" to a rounded value, the reason the other line is wrong
  • the input value comes from an earlier part: a given model evaluated first
Looks like it, but isn't (2)
  • both lines are given and the means are asked for: The mean point
  • the data, or only the line of yy on xx, are given and yy is estimated from xx: Regression on the GDC
Worked example

Both lines given: choose by the subject

Paper 1 (no calculator)
Question

On a sample of winter days, the daily gas use GG m³ of a house and the outside temperature TT °C were recorded. The temperatures were between −6-6 °C and 1414 °C, and the gas use between 44 m³ and 1616 m³. The regression line of GG on TT is G=12−0.5TG = 12 - 0.5T, and the regression line of TT on GG is T=20−1.6GT = 20 - 1.6G.
(a) On one day the house used 77 m³ of gas. Estimate the outside temperature that day. [2]
(b) Explain why the line G=12−0.5TG = 12 - 0.5T was not used in (a). [1]
(c) Estimate the gas used on a day when the temperature is −2-2 °C. [2]

Try it yourself first, then compare.

Now try a question

Questions of this type are on their way. Try another one meanwhile: write your working on paper or on screen and see where each mark went. Free, with no account.

A handwritten page as Paper Zero marks it: ticks at the two lines that earned a mark, a cross on line 3 where +7 was copied as −7, and a short note beside that line.123456f′(x) = 4x − 124x − 12 = 0, so x = 3f(3) = 2(3)² − 12(3) − 7= 18 − 36 − 7 = −25minimum at (3, −25)M1 ✓A1 ✓A1 ✗11The +7 became −7: 18 − 36 + 7 = −11.
Which method?
  • yy from xx
    You are given
    the data
    Use
    the line of yy on xx: the xx-values as the xx-list
  • xx from yy
    You are given
    the data
    Use
    the line of xx on yy: swap the lists, to get x=cy+dx = cy + d
  • either
    You are given
    both lines
    Use
    the line whose subject is the variable you estimate

Never rearrange the line of yy on xx to estimate xx from a value of yy: rearranged, it is still the line of yy on xx, not the line of xx on yy (the two are the same only when r=±1r = \pm 1). Solving a line for its other variable is right only when nothing is being estimated: finding xˉ\bar{x} from yˉ\bar{y} (both lines pass through (xˉ,yˉ)(\bar{x}, \bar{y}), so both give the same xˉ\bar{x}: The mean point), or finding where the line's own prediction reaches a value ("when does the line predict …").

Steps
  1. Name the variable to be estimated.

    It must be the subject of the line you use.

  2. Get that line:

    from the two given lines, or on the GDC with the lists swapped (linear regression). Write it as x=cy+dx = cy + d with the question's letters.

  3. Get the input value:

    from the question, an earlier part, or a model given as a formula (define a function and evaluate it). Keep it unrounded (keep full-accuracy values).

  4. Substitute

    into the line, written out in full. Check that the value you substitute is inside the range of the data.

  5. "Show that" with a rounded target:

    write the unrounded value, then the rounded one. "Why not the other line?": the line of yy on xx is made for estimating yy; estimating xx needs the line of xx on yy.

Common mistakes
  • Rearranging the line of yy on xx

    to estimate xx: when the lines are given, and at best follow-through marks on . In Example 2.2 it gives 69.769.7 instead of 72.072.0.

  • Choosing by the letters in the type's name.

    "Predict x from y" is only a name: what decides the line is which variable is estimated. If a question calls the speed yy and the flow xx, estimating the speed needs the line of yy on xx.

  • Not swapping the lists

    on the GDC, so the "line of xx on yy" is really the line of yy on xx.

More mistakes (3)
  • Only the rounded value

    in a "show that": 7272 without 71.992…71.992\ldots loses the accuracy mark.

  • A value outside the data

    an estimate from a value of yy beyond the recorded range is an extrapolation, and a follow-through answer outside the range has lost the accuracy mark.

  • The wrong tt

    in a model feeding the estimate: 9 pm is t=3t = 3 when tt counts hours after 6 pm.

Next typeDifferentiate