Product moment and Spearman's rank correlation

Product moment and Spearman's rank correlation Test

Spec 3.1–2 · Edexcel A-Level Further 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 A-Level Further Maths

Product moment and Spearman's rank correlation

Total 27 marks

Name

Class

Date

  1. 1
    A researcher records the hours of sleep, xx, and the reaction time, yy ms, of each of 8 randomly chosen students. The summary statistics are Sxx=62.5S_{xx}=62.5, Syy=40S_{yy}=40 and Sxy=−45S_{xy}=-45.
    (a)
    Calculate the product moment correlation coefficient between xx and yy.
    [1 mark]
    • A−0.72-0.72
    • B0.90.9
    • C−1.125-1.125
    • D−0.9-0.9
    Show the mark scheme

    Mark scheme

    Answer: D
    (b)
    Each reaction time is recoded as w=100−2yw=100-2y. Find the product moment correlation coefficient between xx and ww.
    [1 mark]
    • A−0.9-0.9
    • B0.90.9
    • C0.450.45
    • D−1.8-1.8
    Show the mark scheme

    Mark scheme

    Answer: B
    (c)
    Interpret the value of rr between xx and yy in context, and state an assumption about the population needed to use rr in a hypothesis test.
    [2 marks]
    Show the mark scheme

    Mark scheme

    B1: strong negative correlation: more hours of sleep are associated with shorter reaction times
    B1: the data come from a bivariate normal population

    Accept: the scatter diagram would be roughly elliptical

    Do not accept: more sleep causes shorter reaction times

    Total for question 1: 4 marks

  2. 2
    Two judges each rank six paintings, AA to FF, from 1 (best) to 6 (worst). Judge 1 ranks AA to FF as 3,1,2,5,4,63, 1, 2, 5, 4, 6 respectively. Judge 2 ranks them as 2,1,4,5,3,62, 1, 4, 5, 3, 6 respectively.
    (a)
    Find ∑d2\sum d^2, where dd is the difference between the two ranks given to each painting.
    [1 mark]
    • A66
    • B44
    • C00
    • D1212
    Show the mark scheme

    Mark scheme

    Answer: A
    (b)
    Calculate Spearman's rank correlation coefficient for these rankings.
    [1 mark]
    • A0.1710.171
    • B0.8380.838
    • C0.8290.829
    • D0.1430.143
    Show the mark scheme

    Mark scheme

    Answer: C
    (c)
    State, with a reason, whether Spearman's rank correlation coefficient or the product moment correlation coefficient is more appropriate for these data.
    [2 marks]
    Show the mark scheme

    Mark scheme

    B1: Spearman's rank correlation coefficient
    B1: the data are ranks (ordinal), not measurements from a bivariate normal population

    Accept: the product moment coefficient needs measured data that are linearly related

    Total for question 2: 4 marks

  3. 3
    Seven students sit a mathematics test and a physics test. Their scores, in the order of students 11 to 77, are: mathematics 56,61,61,70,48,75,6656, 61, 61, 70, 48, 75, 66 and physics 50,58,49,64,44,70,6050, 58, 49, 64, 44, 70, 60.
    (a)
    Rank the mathematics scores and the physics scores from lowest (rank 1) to highest, and hence show that ∑d2=3.5\sum d^2=3.5.
    [3 marks]
    Show the mark scheme

    Mark scheme

    B1: mathematics ranks 2,3.5,3.5,6,1,7,52, 3.5, 3.5, 6, 1, 7, 5 (tie shared as 3.53.5)
    B1: physics ranks
    3,4,2,6,1,7,53, 4, 2, 6, 1, 7, 5
    B1:
    d2d^2 values 1,0.25,2.25,0,0,0,01, 0.25, 2.25, 0, 0, 0, 0 giving ∑d2=3.5\sum d^2=3.5
    AG
    (b)
    Calculate Spearman's rank correlation coefficient, using the formula with ∑d2=3.5\sum d^2=3.5. Interpret your answer in context and explain why the formula gives only an approximate value for these data.
    [4 marks]
    Show the mark scheme

    Mark scheme

    M1: 1−6(3.5)7(49−1)1-\frac{6(3.5)}{7(49-1)}
    A1:
    0.93750.9375
    B1: strong positive correlation: students who score highly in mathematics tend to score highly in physics

    B1: the formula assumes there are no tied ranks, so with a tie it is only an approximation

    Accept:
    0.9380.938 or 0.9370.937 (the product moment coefficient of the ranks gives 0.9370.937)

    Total for question 3: 7 marks

  4. 4
    A café owner records, over 10 days, the midday temperature t ∘t\,^{\circ}C and the number of cold drinks sold ss. The data are coded as x=t−15x=t-15 and y=s−20010y=\frac{s-200}{10}, giving ∑x=30\sum x=30, ∑y=40\sum y=40, ∑x2=250\sum x^2=250, ∑y2=358\sum y^2=358 and ∑xy=270\sum xy=270.
    (a)
    (i) Calculate SxxS_{xx}, SyyS_{yy} and SxyS_{xy}, and hence the product moment correlation coefficient between xx and yy.
    (ii) Write down the product moment correlation coefficient between
    tt and ss, giving a reason.
    [6 marks]
    Show the mark scheme

    Mark scheme

    M1: (i) Sxx=250−30210S_{xx}=250-\frac{30^2}{10} or Syy=358−40210S_{yy}=358-\frac{40^2}{10}
    A1: (i)
    Sxx=160S_{xx}=160 and Syy=198S_{yy}=198
    M1: (i)
    Sxy=270−30×4010S_{xy}=270-\frac{30\times40}{10}
    M1: (i)
    r=150160×198r=\frac{150}{\sqrt{160\times198}}
    A1: (i)
    r=0.843r=0.843
    B1: (ii)
    0.8430.843, because coding by adding a constant and multiplying by positive constants does not change rr
    Accept:
    0.84270.8427
    (b)
    (i) State the condition that the data must satisfy for the product moment correlation coefficient to be valid, and how a scatter diagram helps to check it.
    (ii) The café owner defines
    w=100−4yw=100-4y. Write down the product moment correlation coefficient between xx and ww, justifying your answer.
    (iii) Spearman's rank correlation coefficient for the same data is
    0.970.97. Comment on what this suggests about the relationship between tt and ss.
    [6 marks]
    Show the mark scheme

    Mark scheme

    B1: (i) the data come from a population with a bivariate normal distribution
    B1: (i) the points on a scatter diagram should form a roughly elliptical pattern, with no strong curve or outlier

    M1: (ii) the multiplier
    −4-4 is negative, so the sign of rr is reversed
    A1: (ii)
    −0.843-0.843
    B1: (iii)
    rs=0.97>r=0.843r_s=0.97>r=0.843 suggests that the relationship is increasing (monotonic) but not exactly linear, or that an extreme value is reducing rr
    B1: (iii) Spearman's coefficient depends only on ranks, so it is less affected by an extreme value or curvature

    Accept:
    −0.8427-0.8427

    Total for question 4: 12 marks

End of questions

Subtopic tests