Skip to content

Course home

Regression, Correlation and Hypothesis Testing

Regression, Correlation and Hypothesis Testing

EasyMediumHard
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
Question 85

A software lead evaluates the efficiency of 7 different sorting algorithms (P,Q,R,S,T,U,VP, Q, R, S, T, U, VP,Q,R,S,T,U,V) based on their code elegance and then ranks them from most efficient to least efficient.

The lead's ranking, in decreasing order of efficiency, is: Q,P,R,T,S,V,UQ, P, R, T, S, V, UQ,P,R,T,S,V,U.

An automated benchmarking suite provides objective efficiency scores (out of 100, where 100 is maximum efficiency) for the 7 algorithms, shown in the table below:

AlgorithmPQRSTUV
Benchmark Score85928065624055
a.

Calculate Spearman's rank correlation coefficient (rsr_srs​) between the software lead's ranking and the ranking derived from the benchmark scores. Use a rank of 1 for the most efficient algorithm. Show your working clearly.

[4]
b.

Using a 5% level of significance, test whether there is evidence of a positive correlation between the lead's qualitative ranking and the benchmark scores. State your hypotheses and the critical value.

[3]
c.

Explain why Spearman's rank correlation coefficient is more appropriate than the Product Moment Correlation Coefficient (PMCC) in this specific task.

[2]
d.

The lead discovers that Algorithm S's benchmark score was recorded incorrectly. If Algorithm S's score were corrected to 80, explain what effect this would have on the rankings of the benchmark scores.

[2]
Markscheme

Regression, Correlation and Hypothesis Testing Questions

  1. A Level
  2. /Maths
  3. /Regression, Correlation and Hypothesis Testing

202 exam-style questions on Edexcel A Level Maths Regression, Correlation and Hypothesis Testing, covering 1.1 Exponential Models, 1.2 Measuring Correlation, and 1.3 Hypothesis Testing for Zero Correlation. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank