Advertisements
Advertisements
Question
A random sample of recent repair jobs was selected and estimated cost, actual cost were recorded.
Estimated cost | 30 | 45 | 80 | 25 | 50 | 97 | 47 | 40 |
Actual cost | 27 | 48 | 73 | 29 | 63 | 87 | 39 | 45 |
Calculate the value of spearman’s correlation.
Solution
Estimated cost (X) | Actual cost (Y) | RX | RY | d = RX − RY | d2 |
30 | 27 | 2 | 1 | 1 | 1 |
45 | 48 | 4 | 5 | − 1 | 1 |
80 | 73 | 7 | 7 | 0 | 0 |
25 | 29 | 1 | 2 | − 1 | 1 |
50 | 63 | 6 | 6 | 0 | 0 |
97 | 87 | 8 | 8 | 0 | 0 |
47 | 39 | 5 | 3 | 2 | 4 |
40 | 45 | 3 | 4 | − 1 | 1 |
∑d2 = 8 |
Spearman’s Rank correlation coefficient
ρ = `1 - (6sum"d"^2)/("N"("N"^2 - 1))`
= `1 - (6(8))/(8(8^2 - 1))`
= `1 - 6/63`
= 1 − 0.095
ρ = 0.905
APPEARS IN
RELATED QUESTIONS
Coefficient of rank correlation between x and y is 0.5 and `sumd_i^2`= 42. Assuming that no ranks are repeated, find the number of pairs of observations.
If the sum of squares of differences of ranks for 10 pairs of observations is 66, find the rank correlation coefficient.
Calculate Spearman's Rank Correlation Coefficient between the following marks given by 'two' judges (A) and (B) to •eight' contestants in the elocution competition:
Contestants | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
Marks by A | 81 | 72 | 60 | 33 | 29 | 11 | 56 | 42 |
Marks byB | 75 | 56 | 42 | 15 | 30 | 20 | 60 | 80 |
Compute the coefficient of correlation for the following data :
n = 100 ; `bar x` = 62 , ` bar y` = 53 . σx = 10 ; σ y = 12 ,
`sum ("x"_1 - bar x) ("y"_1 - bar y) = 8000`
Draw scatter diagram for the following data and identify the type of correlation.
capital (₹ in crore) | 2 | 3 | 4 | 5 | 6 | 8 | 9 |
Profit (₹ in lakh) | 6 | 5 | 7 | 7 | 8 | 12 | 11 |
Ranking of 8 trainees at the beginning (X) and at the end (Y), of a certain course are given below :
Trainees | A | B | C | D | E | F | G | H |
X | 1 | 2 | 4 | 5 | 6 | 8 | 3 | 7 |
Y | 2 | 4 | 3 | 7 | 8 | 1 | 5 | 6 |
Calculate Spearman's rank correlation coefficient.
The ranks of the 10 students in Mathematics and Accountancy are as follows :
Two numbers given in the brackets denote the ranks of the students in Mathematics and Accountancy respectively.
(1. 1). (2. 10). (3. 3). (4. 4). (5. 5). (6. 7). (7. 2). (8. 6). (9. 8). (10. 9)
Calculate the rank correlation coefficient
The following are the ranks obtained by 10 students in commerce and accountancy are given below:
Commerce | 6 | 4 | 3 | 1 | 2 | 7 | 9 | 8 | 10 | 5 |
Accountancy | 4 | 1 | 6 | 7 | 5 | 8 | 10 | 9 | 3 | 2 |
To what extent is the knowledge of students in the two subjects related?
The rank of 10 students of the same batch in two subjects A and B are given below. Calculate the rank correlation coefficient.
Rank of A | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
Rank of B | 6 | 7 | 5 | 10 | 3 | 9 | 4 | 1 | 8 | 2 |
What are various steps for the calculation of rank order correlation?