Advertisements
Advertisements
Question
Calculate the correlation coefficient for the following data.
| X | 5 | 10 | 5 | 11 | 12 | 4 | 3 | 2 | 7 | 1 |
| Y | 1 | 6 | 2 | 8 | 5 | 1 | 4 | 6 | 5 | 2 |
Advertisements
Solution
| X | Y | x = `"X" - bar"X"` = X − 6 |
y = `"Y" - bar"Y"` = Y − 4 |
x2 | y2 | xy |
| 5 | 1 | − 1 | − 3 | 1 | 9 | 3 |
| 10 | 6 | 4 | 2 | 16 | 4 | 8 |
| 5 | 2 | − 1 | − 2 | 1 | 4 | 2 |
| 11 | 8 | 5 | 4 | 25 | 16 | 20 |
| 12 | 5 | 6 | 1 | 36 | 1 | 6 |
| 4 | 1 | − 2 | − 3 | 4 | 9 | 6 |
| 3 | 4 | − 3 | 0 | 9 | 0 | 0 |
| 2 | 6 | − 4 | 2 | 16 | 4 | − 8 |
| 7 | 5 | 1 | 1 | 1 | 1 | 1 |
| 1 | 2 | − 5 | − 2 | 25 | 4 | 10 |
| 60 | 40 | 0 | 0 | 134 | 52 | 48 |
N = 10, ∑X = 60, ∑Y = 40, ∑x2 = 134, ∑y2 = 52, ∑xy = 48, `bar"X" = (sum"X")/"N" = 60/10` = 6, `bar"Y" = (sum"Y")/"N" = 40/10` = 4.
Coefficient of correlation
r = `(sum"xy")/(sqrt(sum"x"^2 sum"y"^2))`, Where x = `"X" - bar"X"`, y = `"Y" - bar"Y"`
r = `48/sqrt (134 xx 52)`
r = 0.575
APPEARS IN
RELATED QUESTIONS
If the values of two variables move in same direction then the correlation is said to be
If the values of two variables move in the opposite direction then the correlation is said to be
The correlation coefficient is
If r = – 1, then correlation between the variables
The coefficient of correlation describes
Calculate the coefficient of correlation from the following data:
∑X = 50, ∑Y = – 30, ∑X2 = 290, ∑Y2 = 300, ∑XY = – 115, N = 10
Calculate the correlation coefficient from the data given below:
| X | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| Y | 9 | 8 | 10 | 12 | 11 | 13 | 14 | 16 | 15 |
Calculate the correlation coefficient from the following data:
∑X = 125, ∑Y = 100, ∑X2 = 650, ∑Y2 = 436, ∑XY = 520, N = 25
If the points on the scatter diagram indicate that as one variable increases the other variable tends to decrease the value of r will be:
Define Correlation.
