Spearman’s rank correlation Worked Solutions — Further Maths Maths

Fully worked, step-by-step solutions to Further Maths Spearman’s rank correlation questions. See exactly how to solve problems on spearman, rank-correlation, formula, rearrangement.

spearmanrank-correlationformularearrangementperfect-negativeranking
Further Maths70 questionsStep-by-step solutions
Question 1
2 markseasy
A set of n=8n = 8 bivariate observations is ranked, with no tied ranks, and dd denotes the difference between the two ranks of an observation. Given that d2=30\sum d^{2} = 30, calculate Spearman's rank correlation coefficient rsr_{s}, giving your answer correct to 33 decimal places.

Worked solution

  1. Quote the formula for Spearman's rank correlation coefficient

    rs=16d2n(n21)r_{s}=1-\dfrac{6\sum d^{2}}{n\left(n^{2}-1\right)}

    This is the standard form, valid when there are no tied ranks.

  2. Substitute nn and d2\sum d^{2}

    rs=16×308(821)r_{s}=1-\frac{6\times 30}{8\left(8^{2}-1\right)}

    Only the sample size and the total of the squared rank differences are needed.

  3. Evaluate the fraction

    6×30504=514\frac{6\times 30}{504}=\frac{5}{14}

    Keeping the fraction exact means no rounding error can creep in.

  4. State the value of rsr_{s}

    rs=1514=914=0.643r_{s}=1-\frac{5}{14}=\frac{9}{14}=0.643

    This is Spearman's rank correlation coefficient for the data.

Answer
0.6430.643
Question 2
2 markseasy
A set of n=10n = 10 bivariate observations is ranked, with no tied ranks, and dd denotes the difference between the two ranks of an observation. Given that d2=44\sum d^{2} = 44, calculate Spearman's rank correlation coefficient rsr_{s}, giving your answer correct to 33 decimal places.

Worked solution

  1. Quote the formula for Spearman's rank correlation coefficient

    rs=16d2n(n21)r_{s}=1-\dfrac{6\sum d^{2}}{n\left(n^{2}-1\right)}

    This is the standard form, valid when there are no tied ranks.

  2. Substitute nn and d2\sum d^{2}

    rs=16×4410(1021)r_{s}=1-\frac{6\times 44}{10\left(10^{2}-1\right)}

    Only the sample size and the total of the squared rank differences are needed.

  3. State the value of rsr_{s}

    rs=1415=1115=0.733r_{s}=1-\frac{4}{15}=\frac{11}{15}=0.733

    This is Spearman's rank correlation coefficient for the data.

Answer
0.7330.733
Question 3
2 markseasy
A set of n=7n = 7 bivariate observations is ranked, with no tied ranks, and dd denotes the difference between the two ranks of an observation. Given that d2=24\sum d^{2} = 24, calculate Spearman's rank correlation coefficient rsr_{s}, giving your answer correct to 33 decimal places.

Worked solution

  1. Quote the formula for Spearman's rank correlation coefficient

    rs=16d2n(n21)r_{s}=1-\dfrac{6\sum d^{2}}{n\left(n^{2}-1\right)}

    This is the standard form, valid when there are no tied ranks.

  2. Substitute nn and d2\sum d^{2}

    rs=16×247(721)r_{s}=1-\frac{6\times 24}{7\left(7^{2}-1\right)}

    Only the sample size and the total of the squared rank differences are needed.

  3. Evaluate the fraction

    6×24336=37\frac{6\times 24}{336}=\frac{3}{7}

    Keeping the fraction exact means no rounding error can creep in.

  4. State the value of rsr_{s}

    rs=137=47=0.571r_{s}=1-\frac{3}{7}=\frac{4}{7}=0.571

    This is Spearman's rank correlation coefficient for the data.

Answer
0.5710.571
Question 4
2 markseasy
A set of n=9n = 9 bivariate observations is ranked, with no tied ranks, and dd denotes the difference between the two ranks of an observation. Given that d2=96\sum d^{2} = 96, calculate Spearman's rank correlation coefficient rsr_{s}, giving your answer correct to 33 decimal places.

Worked solution

  1. Quote the formula for Spearman's rank correlation coefficient

    rs=16d2n(n21)r_{s}=1-\dfrac{6\sum d^{2}}{n\left(n^{2}-1\right)}

    This is the standard form, valid when there are no tied ranks.

  2. Substitute nn and d2\sum d^{2}

    rs=16×969(921)r_{s}=1-\frac{6\times 96}{9\left(9^{2}-1\right)}

    Only the sample size and the total of the squared rank differences are needed.

  3. Evaluate the fraction

    6×96720=45\frac{6\times 96}{720}=\frac{4}{5}

    Keeping the fraction exact means no rounding error can creep in.

  4. State the value of rsr_{s}

    rs=145=15=0.200r_{s}=1-\frac{4}{5}=\frac{1}{5}=0.200

    This is Spearman's rank correlation coefficient for the data.

Answer
0.2000.200
Question 5
2 markseasy
A set of n=12n = 12 bivariate observations is ranked, with no tied ranks, and dd denotes the difference between the two ranks of an observation. Given that d2=350\sum d^{2} = 350, calculate Spearman's rank correlation coefficient rsr_{s}, giving your answer correct to 33 decimal places.

Worked solution

  1. Quote the formula for Spearman's rank correlation coefficient

    rs=16d2n(n21)r_{s}=1-\dfrac{6\sum d^{2}}{n\left(n^{2}-1\right)}

    This is the standard form, valid when there are no tied ranks.

  2. Substitute nn and d2\sum d^{2}

    rs=16×35012(1221)r_{s}=1-\frac{6\times 350}{12\left(12^{2}-1\right)}

    Only the sample size and the total of the squared rank differences are needed.

  3. State the value of rsr_{s}

    rs=1175143=32143=0.224r_{s}=1-\frac{175}{143}=- \frac{32}{143}=-0.224

    This is Spearman's rank correlation coefficient for the data.

Answer
0.224-0.224

Unlock 65 more Spearman’s rank correlation questions

Create a free account to work through every Further Maths Spearman’s rank correlation question with instant step-by-step worked solutions, progress tracking and interactive lessons.

  • Full worked solutions for every question
  • Interactive lessons and instant feedback
  • Track your mastery across every topic
Create a Free Account

No card required · Free forever

More Spearman’s rank correlation practice

Related Statistics topics