The marks obtained by nine students in physics and Mathematics are given below:
Physics
Mathematics.
Calculate Spearman's coefficient.
Step 1: Arranging the data in descending order to find the rank:
On arranging the given data in descending order,
Physics
Mathematics
Here, the number of students, .
The highest value is ranked as one and the lowest as the last i.e. .
Step 2: Completing the table to find values of , :
Physics(P) | Mathematics(M) | Rank (P) | Rank (M) | ||
Step 3: Calculating Spearman's coefficient:
Spearman's coefficient,
Thus, the value of spearman's coefficient is .