All flashcards topics

Product moment and Spearman's rank correlationEdexcel A-Level Further Maths: Flashcards

Card 1 of 120 of 12 known

Question

State the formula for the product moment correlation coefficient.

Tap or press Space to reveal

Tap card or press Space to flip

See all 12 cards
State the formula for the product moment correlation coefficient.
r=SxySxxSyyr=\frac{S_{xy}}{\sqrt{S_{xx}S_{yy}}}.
How is SxyS_{xy} calculated from sums?
Sxy=∑xy−∑x∑ynS_{xy}=\sum xy-\frac{\sum x\sum y}{n}.
How are SxxS_{xx} and SyyS_{yy} calculated?
Sxx=∑x2−(∑x)2nS_{xx}=\sum x^2-\frac{(\sum x)^2}{n} and Syy=∑y2−(∑y)2nS_{yy}=\sum y^2-\frac{(\sum y)^2}{n}.
What does the PMCC measure?
The strength of linear correlation, between −1-1 and 11.
State the condition for using the PMCC in a test.
The data come from a bivariate normal population (roughly elliptical scatter).
What is the effect of linear coding on rr?
The size is unchanged; the sign reverses only if exactly one multiplier is negative.
State the formula for Spearman's rank correlation coefficient.
rs=1−6∑d2n(n2−1)r_s=1-\frac{6\sum d^2}{n(n^2-1)}.
What does Spearman's coefficient measure?
The strength of monotonic association, using ranks.
How do you rank tied values?
Give each the mean of the ranks they would have occupied, e.g. 3.53.5 for joint 3rd and 4th.
Why is the Spearman formula approximate when there are ties?
It assumes there are no tied ranks.
When is Spearman's coefficient preferred to the PMCC?
For ranked data, or a monotonic non-linear relationship, or when outliers are present.
What does rs=1r_s=1 mean?
The two rankings agree perfectly.

Exam questions on Product moment and Spearman's rank correlation

  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.
    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
  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.
    State, with a reason, whether Spearman's rank correlation coefficient or the product moment correlation coefficient is more appropriate for these data.2 marks
  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.
    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
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).