Spearman's rank correlation coefficient

Spearman's rank correlation coefficient Test

Spec 5.1 · Edexcel International 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 International A Level Further Maths

Spearman's rank correlation coefficient

Total 27 marks

Name

Class

Date

  1. 1
    Two judges, X and Y, each rank six dancers A to F, with rank 1 for the best. Judge X ranks them A, B, C, D, E, F in that order, so A is 1st and F is 6th. Judge Y gives A rank 3, B rank 1, C rank 2, D rank 5, E rank 4 and F rank 6.
    (a)
    Find ∑d2\sum d^2, where dd is the difference between the two ranks given to a dancer.
    [1 mark]
    • A66
    • B88
    • C00
    • D4848
    Show the mark scheme

    Mark scheme

    Answer: B
    (b)
    Calculate Spearman's rank correlation coefficient for the two judges.
    [1 mark]
    • A0.2290.229
    • B0.7840.784
    • C0.7710.771
    • D0.8290.829
    Show the mark scheme

    Mark scheme

    Answer: C
    (c)
    Interpret the value of the coefficient for the two judges.
    [2 marks]
    Show the mark scheme

    Mark scheme

    B1: strong positive correlation between the two sets of ranks (or rsr_s close to +1+1)
    B1: the judges broadly agree on the order of the dancers

    Accept: 'the judges tend to give high ranks to the same dancers'

    Do not accept: 'the judges agree exactly'

    Total for question 1: 4 marks

  2. 2
    A teacher ranks eight students A to H from the highest mark (rank 1) to the lowest in maths, and again in physics. The maths ranks of A to H are 1 to 8 respectively. The physics ranks of A to H are 3, 1, 2, 5, 4, 8, 6 and 7 respectively.
    (a)
    Find ∑d2\sum d^2 for the two sets of ranks.
    [1 mark]
    • A1010
    • B00
    • C8484
    • D1414
    Show the mark scheme

    Mark scheme

    Answer: D
    (b)
    Calculate Spearman's rank correlation coefficient.
    [1 mark]
    • A0.8330.833
    • B0.1670.167
    • C0.8380.838
    • D−0.833-0.833
    Show the mark scheme

    Mark scheme

    Answer: A
    (c)
    A second teacher gives the physics ranks with rank 1 for the lowest mark instead of the highest, and leaves the maths ranks unchanged. State the new value of the coefficient, with a reason.
    [2 marks]
    Show the mark scheme

    Mark scheme

    B1: −0.833-0.833
    Accept:
    −56-\frac56, or −0.83-0.83
    B1: reversing one set of ranks reverses the direction of the correlation but not its strength, so the sign changes only

    Total for question 2: 4 marks

  3. 3
    A café owner compares seven coffee blends A to G. The prices per kilogram, in pounds, are A 12, B 18, C 15, D 22, E 9, F 25 and G 20. The customer rating scores out of 10 are A 6.1, B 7.0, C 5.8, D 8.2, E 4.9, F 7.9 and G 7.4.
    (a)
    Rank the blends by price and by rating, and calculate Spearman's rank correlation coefficient.
    [3 marks]
    Show the mark scheme

    Mark scheme

    B1: both sets ranked correctly, price ranked in the order E, A, C, B, G, D, F and rating ranked in the order E, C, A, B, G, F, D (either direction, if consistent)
    M1:
    ∑d2=1+0+1+1+0+1+0=4\sum d^2=1+0+1+1+0+1+0=4 substituted into 1−6∑d2n(n2−1)1-\frac{6\sum d^2}{n(n^2-1)} with n=7n=7
    A1:
    rs=0.929r_s=0.929
    Accept:
    1314\frac{13}{14}
    (b)
    The owner says: 'My results show that charging more for a blend makes customers rate it higher.' Evaluate this conclusion.
    [4 marks]
    Show the mark scheme

    Mark scheme

    B1: rs=0.929r_s=0.929 shows strong positive association between price and rating
    B1: correlation does not imply causation, so the data do not show that price causes the higher rating

    B1: a third factor could explain both, for example better beans cost more and also taste better

    B1: only 7 blends, so the sample is small and the result may not be reliable

    Accept: any other valid alternative explanation or limitation

    Do not accept: 'correlation is not 1, so no relationship'

    Total for question 3: 7 marks

  4. 4
    A coach records the 100 m time in seconds and the long jump distance in metres for eight athletes A to H. The times are A 11.2, B 10.9, C 11.5, D 11.0, E 12.1, F 11.8, G 11.3 and H 10.8. The jumps are A 6.9, B 7.4, C 6.6, D 7.1, E 6.0, F 6.8, G 6.7 and H 7.3.
    (a)
    Rank the athletes by time (rank 1 for the fastest) and by jump (rank 1 for the longest). Calculate Spearman's rank correlation coefficient and interpret it in context.
    [6 marks]
    Show the mark scheme

    Mark scheme

    M1: ranks for times, for A to H: 4, 2, 6, 3, 8, 7, 5, 1
    M1: ranks for jumps, for A to H: 4, 1, 7, 3, 8, 5, 6, 2

    A1:
    ∑d2=0+1+1+0+0+4+1+1=8\sum d^2=0+1+1+0+0+4+1+1=8
    M1:
    rs=1−6×88×63r_s=1-\frac{6\times8}{8\times63}
    A1:
    0.9050.905
    Accept:
    1921\frac{19}{21}
    B1: strong positive correlation between the ranks, so athletes who run faster tend to jump further
    (b)
    A ninth athlete, I, runs the 100 m in 11.2 seconds, the same time as A.
    (i) State the ranks given to A, to I and to G for the times of all nine athletes, explaining how they are found.

    (ii) Give one reason why Spearman's coefficient might be preferred to the product moment correlation coefficient for these data, one limitation of it, and explain why a value close to 1 does not show that fast sprinting causes long jumps.
    [6 marks]
    Show the mark scheme

    Mark scheme

    B1: (i) A and I each have rank 4.54.5
    B1: (i) they share ranks 4 and 5, so each is given the mean of these ranks

    B1: (i) G has rank
    66
    B1: (ii) reason: it only needs the relationship to be monotonic (not necessarily linear), or it does not require the data to come from a bivariate Normal distribution

    B1: (ii) limitation: it uses only the order of the values, so it ignores how far apart they are

    B1: (ii) correlation does not imply causation, because another factor such as training or fitness could cause both

    Accept: any other valid reason, limitation or third factor

    Total for question 4: 12 marks

End of questions

Subtopic tests