You are on page 1of 2

GDC skills: Casio fx-CG50

Chapter 14 / Example 1
Spearman’s rank correlation coefficient

Find Spearman’s rank correlation coefficient for the following sets of data.

a x 23 34 17 23 29 45
y 12 10 14 11 11 8

b x 1 2 3 4 6
y 6 7 8 8 16

The ranks are

x 4.5 2 6 4.5 3 1
y 2 5 1 3.5 3.5 6

Press p 2 W to display the List Editor screen.


Type the x-values in the first column.

Press l after each number to move to the next cell.


Note: If the list contains other numbers, you can clear it by pressing
r DEL-ALL.

Press $ to move to the next column.


Enter the y-values in the second column.

Press w CALC and u SET.


Set 2Var XList to List1 and 2Var YList to List2.

Press d twice.

To calculate the correlation coefficient

Press w CALC, e REG, q X, q ax+b


r 0.956 .

© Oxford University Press 2019 1


GDC skills: Casio fx-CG50

Chapter 14 / Example 1
Spearman’s rank correlation coefficient

Press d.
The ranks are

x 5 4 3 2 1
y 5 4 2.5 2.5 1

Type the x-values in the next column.

Press $ to move to the next column.


Enter the y-values in the fourth column.

Press d three times.


Press w CALC and u SET.
Set 2Var XList to List3 and 2Var YList to List4.

To enter List3, press q LIST, type 3 and press l.


Press d twice.

To calculate the correlation coefficient

Press w CALC, e REG, q X, q ax+b


r 0.975 .

© Oxford University Press 2019 2

You might also like