(a) The ranks of oral test and composition are:
Spearman's correlation coefficient:
x ˉ = 5 y ˉ = 5 ∑ ( x i − x ˉ ) 2 = 58 ∑ ( y i − y ˉ ) 2 = 60 ∑ ( x i − x ˉ ) ( y i − y ˉ ) = 42 ρ = ∑ ( x i − x ˉ ) ( y i − y ˉ ) ∑ ( x i − x ˉ ) 2 ∑ ( y i − y ˉ ) 2 = 42 58 ⋅ 60 = 0.711967 \bar{x}=5\\\bar{y}=5\\\sum{\left( x_i-\bar{x} \right) ^2}=58\\\sum{\left( y_i-\bar{y} \right) ^2}=60\\\sum{\left( x_i-\bar{x} \right) \left( y_i-\bar{y} \right)}=42\\\rho =\frac{\sum{\left( x_i-\bar{x} \right) \left( y_i-\bar{y} \right)}}{\sqrt{\sum{\left( x_i-\bar{x} \right) ^2}\sum{\left( y_i-\bar{y} \right) ^2}}}=\frac{42}{\sqrt{58\cdot 60}}=0.711967 x ˉ = 5 y ˉ = 5 ∑ ( x i − x ˉ ) 2 = 58 ∑ ( y i − y ˉ ) 2 = 60 ∑ ( x i − x ˉ ) ( y i − y ˉ ) = 42 ρ = ∑ ( x i − x ˉ ) 2 ∑ ( y i − y ˉ ) 2 ∑ ( x i − x ˉ ) ( y i − y ˉ ) = 58 ⋅ 60 42 = 0.711967
There is a strong positive correlation between the scores.
(b)
Pearson's correlation coefficient:
x ˉ = 16 y ˉ = 55.22222 ∑ ( x i − x ˉ ) 2 = 136 ∑ ( y i − y ˉ ) 2 = 1805.556 ∑ ( x i − x ˉ ) ( y i − y ˉ ) = 473 ρ = ∑ ( x i − x ˉ ) ( y i − y ˉ ) ∑ ( x i − x ˉ ) 2 ∑ ( y i − y ˉ ) 2 = 473 136 ⋅ 1805.556 = 0.954523 \bar{x}=16\\\bar{y}=55.22222\\\sum{\left( x_i-\bar{x} \right) ^2}=136\\\sum{\left( y_i-\bar{y} \right) ^2}=1805.556\\\sum{\left( x_i-\bar{x} \right) \left( y_i-\bar{y} \right)}=473\\\rho =\frac{\sum{\left( x_i-\bar{x} \right) \left( y_i-\bar{y} \right)}}{\sqrt{\sum{\left( x_i-\bar{x} \right) ^2}\sum{\left( y_i-\bar{y} \right) ^2}}}=\frac{473}{\sqrt{136\cdot 1805.556}}=0.954523 x ˉ = 16 y ˉ = 55.22222 ∑ ( x i − x ˉ ) 2 = 136 ∑ ( y i − y ˉ ) 2 = 1805.556 ∑ ( x i − x ˉ ) ( y i − y ˉ ) = 473 ρ = ∑ ( x i − x ˉ ) 2 ∑ ( y i − y ˉ ) 2 ∑ ( x i − x ˉ ) ( y i − y ˉ ) = 136 ⋅ 1805.556 473 = 0.954523
There is a strong positive correlation between the scores.