Scatter diagrams and linear regression

Scatter diagrams and linear regression Test

Spec 4.1–2 · Edexcel International A Level Maths: Subtopic test

Studying this course? Keep your progress in one place.

Two ways to do this test

Question by question

One question at a time. Each answer is marked the moment you hand it in, so you learn as you go. Drago helps if you get stuck. All 10 questions, or just 5.

Exam mode

The whole paper in one go, timed like the real exam. Nothing is marked until you hand it in, then you get every mark explained.

10 questions, 27 marks

Edexcel International A Level Maths

Scatter diagrams and linear regression

Total 27 marks

Name

Class

Date

  1. 1
    A teacher records the number of hours of revision per week, xx, and the mark out of 40, yy, in a test for 8 students. The summary statistics are xˉ=5\bar{x}=5, yˉ=22\bar{y}=22, Sxx=40S_{xx}=40 and Sxy=62S_{xy}=62. The regression line of yy on xx is y=a+bxy=a+bx.
    (a)
    Find the value of bb.
    [1 mark]
    • A1.551.55
    • B0.6450.645
    • C7.757.75
    • D4.44.4
    Show the mark scheme

    Mark scheme

    Answer: A
    (b)
    Find the value of aa.
    [1 mark]
    • A29.7529.75
    • B20.4520.45
    • C7.757.75
    • D14.2514.25
    Show the mark scheme

    Mark scheme

    Answer: D
    (c)
    Estimate the mark of a student who revises for 6 hours per week.
    [2 marks]
    Show the mark scheme

    Mark scheme

    M1: 14.25+1.55×614.25+1.55\times6
    A1:
    23.5523.55
    Accept:
    23.623.6 or 2424

    Total for question 1: 4 marks

  2. 2
    A cafe owner models the daily sales, ss pounds, against the midday temperature, tt °C, using the regression line s=120+8.5ts=120+8.5t. The model was fitted to data collected on days when the temperature was between 12 °C and 28 °C.
    (a)
    Which statement correctly interprets the value 8.58.5 in the model?
    [1 mark]
    • AWhen the temperature is 0 °C, the predicted daily sales are 8.50 pounds
    • BFor each 1 °C rise in temperature, the predicted daily sales increase by 8.50 pounds
    • CFor each 1 pound increase in sales, the temperature rises by 8.5 °C
    • DFor each 1 °C rise in temperature, the predicted daily sales increase by 8.5%
    Show the mark scheme

    Mark scheme

    Answer: B
    (b)
    Which of these predictions from the model is likely to be the most reliable?
    [1 mark]
    • AThe sales when t=5t=5
    • BThe sales when t=35t=35
    • CThe sales when t=20t=20
    • DThe sales when t=0t=0
    Show the mark scheme

    Mark scheme

    Answer: C
    (c)
    A student uses the model to predict the sales on a day when the midday temperature is 5 °C. Explain why this prediction may be unreliable.
    [2 marks]
    Show the mark scheme

    Mark scheme

    B1: 5 °C is outside the range of the data (12 °C to 28 °C), so this is extrapolation
    R1: the linear relationship may not continue outside the range, so the prediction may be unreliable

    Accept: there is no data to show the model is valid at this temperature

    Total for question 2: 4 marks

  3. 3
    A gardener applies xx grams of fertiliser to each of five plants of the same type and measures the height, yy cm, of each plant after four weeks. The values of xx are 2, 4, 6, 8, 10 and the heights are 5, 9, 10, 15, 16. For these data ∑x=30\sum x=30, ∑y=55\sum y=55, ∑x2=220\sum x^2=220 and ∑xy=386\sum xy=386.
    (a)
    Find the values of SxxS_{xx} and SxyS_{xy}.
    [3 marks]
    Show the mark scheme

    Mark scheme

    M1: Sxx=∑x2−(∑x)2nS_{xx}=\sum x^2-\frac{(\sum x)^2}{n} or Sxy=∑xy−∑x∑ynS_{xy}=\sum xy-\frac{\sum x\sum y}{n} with values substituted
    A1:
    Sxx=220−3025=40S_{xx}=220-\frac{30^2}{5}=40
    A1:
    Sxy=386−30×555=56S_{xy}=386-\frac{30\times55}{5}=56
    (b)
    Find the equation of the regression line of yy on xx in the form y=a+bxy=a+bx.
    [4 marks]
    Show the mark scheme

    Mark scheme

    M1: b=SxySxxb=\frac{S_{xy}}{S_{xx}}
    A1:
    b=1.4b=1.4
    Accept: follow-through from their
    SxxS_{xx} and SxyS_{xy}
    M1:
    a=yˉ−bxˉa=\bar{y}-b\bar{x} with xˉ=6\bar{x}=6 and yˉ=11\bar{y}=11
    A1:
    y=2.6+1.4xy=2.6+1.4x

    Total for question 3: 7 marks

  4. 4
    A shop records the price, xx pounds, of a product and the number sold per week, yy, at five different prices. The prices are 40, 45, 50, 55, 60 and the numbers sold are 90, 82, 75, 66, 62. To simplify the working, the coded variable u=x−405u=\frac{x-40}{5} is used. For the five data points, ∑u=10\sum u=10, ∑u2=30\sum u^2=30, ∑y=375\sum y=375 and ∑uy=678\sum uy=678.
    (a)
    (i) Find the regression line of yy on uu in the form y=a+buy=a+bu.
    (ii) Hence find the regression line of
    yy on xx.
    (iii) Interpret the gradient of the line in part (ii).
    [6 marks]
    Show the mark scheme

    Mark scheme

    M1: (i) Suu=30−1025=10S_{uu}=30-\frac{10^2}{5}=10 and Suy=678−10×3755=−72S_{uy}=678-\frac{10\times375}{5}=-72
    A1: (i)
    b=−7210=−7.2b=\frac{-72}{10}=-7.2
    A1: (i)
    a=75−(−7.2)(2)=89.4a=75-(-7.2)(2)=89.4, so y=89.4−7.2uy=89.4-7.2u
    M1: (ii) substitute
    u=x−405u=\frac{x-40}{5} into their line
    A1: (ii)
    y=147−1.44xy=147-1.44x
    B1: (iii) each 1 pound increase in price reduces the predicted number sold by 1.44 per week
    (b)
    (i) State which is the explanatory variable and which is the response variable.
    (ii) Use the regression line of
    yy on xx to estimate the number sold per week when the price is 52 pounds.
    (iii) The owner wants to use the line to predict sales at a price of 80 pounds. Comment on the reliability of this prediction.
    [6 marks]
    Show the mark scheme

    Mark scheme

    B1: (i) price xx is the explanatory variable
    B1: (i) number sold
    yy is the response variable
    M1: (ii)
    147−1.44×52147-1.44\times52
    A1: (ii)
    72.172.1 (72.1272.12)
    Accept:
    7272
    B1: (iii) 80 is outside the range of the data (40 to 60), so this is extrapolation

    R1: (iii) the linear relationship may not continue, so the prediction is unreliable

    Total for question 4: 12 marks

End of questions

Subtopic tests