Advertisements
Advertisements
Question
A random sample of recent repair jobs was selected and estimated cost and actual cost were recorded.
Estimated cost | 300 | 450 | 800 | 250 | 500 | 975 | 475 | 400 |
Actual cost | 273 | 486 | 734 | 297 | 631 | 872 | 396 | 457 |
Calculate the value of spearman’s correlation coefficient.
Solution
X | Y | RX | RY | d = RX − RY | d2 |
300 | 273 | 7 | 8 | − 1 | 1 |
450 | 486 | 5 | 4 | 1 | 1 |
800 | 734 | 2 | 2 | 0 | 0 |
250 | 297 | 8 | 7 | 1 | 1 |
500 | 631 | 3 | 3 | 0 | 0 |
975 | 872 | 1 | 1 | 0 | 0 |
475 | 396 | 4 | 6 | − 2 | 4 |
400 | 457 | 6 | 5 | 1 | 1 |
∑d2 = 8 |
N = 8, Σd2 = 8
Rank correlation (ρ) = `1 - (6sum"d"^2)/("N"("N"^2 - 1))`
= `1 - (6 xx 8)/(8(64 - 1))`
= `1 - 6/63`
= 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.
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`
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
An examination of 11 applicants for a accountant post was taken by a finance company. The marks obtained by the applicants in the reasoning and aptitude tests are given below.
Applicant | A | B | C | D | E | F | G | H | I | J | K |
Reasoning test | 20 | 50 | 28 | 25 | 70 | 90 | 76 | 45 | 30 | 19 | 26 |
Aptitude test | 30 | 60 | 50 | 40 | 85 | 90 | 56 | 82 | 42 | 31 | 49 |
Calculate Spearman’s rank correlation coefficient from the data given above.
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 |
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.
Define correlation.