If six hand-writings were ranked by two judges in a competition and the rankings are as follows:Hand Writing 1 2 3 4 5 6 Judge1 6 5 4 3 2 1 Judge2 1 2 3 4 5 6
Then the value of Spearman's rank correlation coefficient is
-1
Spearman's rank correlation coefficient, denoted by \( \rho \) (rho) or \( r_s \), is a non-parametric measure of the strength and direction of association between two ranked variables. It assesses how well the relationship between two variables can be described using a monotonic function.
The formula for Spearman's rank correlation coefficient when there are no tied ranks is:
\[ \rho = 1 - \frac{6 \sum d_i^2}{n(n^2 - 1)} \]
Where:
We are given the ranks of six hand-writings by two judges. So, the number of observations, \( n \), is 6.
The ranks are:
| Hand Writing | Judge 1 Rank (\( R_1 \)) | Judge 2 Rank (\( R_2 \)) |
|---|---|---|
| 1 | 6 | 1 |
| 2 | 5 | 2 |
| 3 | 4 | 3 |
| 4 | 3 | 4 |
| 5 | 2 | 5 |
| 6 | 1 | 6 |
Now, we calculate the difference (\( d_i = R_1 - R_2 \)) and the squared difference (\( d_i^2 \)) for each hand-writing:
| Hand Writing | Judge 1 Rank (\( R_1 \)) | Judge 2 Rank (\( R_2 \)) | Difference (\( d_i = R_1 - R_2 \)) | Squared Difference (\( d_i^2 \)) |
|---|---|---|---|---|
| 1 | 6 | 1 | \( 6 - 1 = 5 \) | \( 5^2 = 25 \) |
| 2 | 5 | 2 | \( 5 - 2 = 3 \) | \( 3^2 = 9 \) |
| 3 | 4 | 3 | \( 4 - 3 = 1 \) | \( 1^2 = 1 \) |
| 4 | 3 | 4 | \( 3 - 4 = -1 \) | \( (-1)^2 = 1 \) |
| 5 | 2 | 5 | \( 2 - 5 = -3 \) | \( (-3)^2 = 9 \) |
| 6 | 1 | 6 | \( 1 - 6 = -5 \) | \( (-5)^2 = 25 \) |
Next, we sum the squared differences (\( \sum d_i^2 \)):
\[ \sum d_i^2 = 25 + 9 + 1 + 1 + 9 + 25 = 70 \]
Now, substitute \( n = 6 \) and \( \sum d_i^2 = 70 \) into the formula for Spearman's rank correlation coefficient:
\[ \rho = 1 - \frac{6 \sum d_i^2}{n(n^2 - 1)} \]
\[ \rho = 1 - \frac{6 \times 70}{6(6^2 - 1)} \]
\[ \rho = 1 - \frac{420}{6(36 - 1)} \]
\[ \rho = 1 - \frac{420}{6(35)} \]
\[ \rho = 1 - \frac{420}{210} \]
\[ \rho = 1 - 2 \]
\[ \rho = -1 \]
The value of Spearman's rank correlation coefficient is -1.
A Spearman's correlation coefficient of -1 indicates a perfect negative monotonic relationship between the two variables. In this context, it means that as the rank given by Judge 1 increases, the rank given by Judge 2 decreases, and vice versa, in a perfectly consistent manner.
| Concept | Description | Formula (No Ties) |
|---|---|---|
| Spearman's Rho (\( \rho \)) | Measures the strength and direction of monotonic association between ranked variables. | \( \rho = 1 - \frac{6 \sum d_i^2}{n(n^2 - 1)} \) |
| Monotonic Relationship | A relationship that is consistently increasing or consistently decreasing, but not necessarily linear. | |
| \( n \) | Number of data pairs. | - |
| \( d_i \) | Difference in ranks for each pair. | \( R_{1i} - R_{2i} \) |
Correlation coefficients are statistical measures used to quantify the relationship between two variables. Different coefficients are used depending on the type of data and the nature of the relationship being assessed.
The product of partial regression coefficient \(b_1{_2}{_.3}\) \(b_2{_3}{_.1}\) \(b_3{_1}{_.2}\) equals to:
If the difference between the rank of the 4 observations are 2.5, 0.5, -1.5, -1.5, then Spearman's rank correlation coefficient equals to:
For the data set
| x: | 1 | 2 | 3 | 4 |
| y: | 4 | 5 | 3 | 2 |
the regression coefficient b yx (y on x) equals to:
For the two variables X and Y, the following observations are tabulated.
| X: | 3 | 4 | 4 |
| Y: | 10 | 10 | 9 |
The Spearman's correlation coefficient is:
For the variables X and Y, we collect 4 observations with ∑x = 10, ∑y = 14, ∑x 2= 30, ∑y 2= 54, ∑xy = 31. The regression line y on x is
The coefficient of correlations is r between X and Y having standard deviation σx and σy. The tangent of the between two lines of regression is:
In Spearman rank correlation coefficient r s= 1 - \(\dfrac{6∑ d^2}{n(n^2-1)}\) , the maximum value of ∑d 2in case of untied rank is:
If the correlation coefficient between x and y is 0.5 and the regression coefficient of y on x is 0.5, then the regression coefficient of x on y is:
If X 1, X 2, … X nis a simple random sample without replacement of size n from a finite population of N units with mean μ and variance σ 2, the covariance of (X i, Xj ) will be:
If x = X- \(\bar{X}\) and y = Y - \(\bar{Y}\) and the number of pairs (X, Y) is n, then the Karl Pearson's coefficient of correlation is: