Advertisements
Advertisements
प्रश्न
Compute correlation coefficient for the following data :
| X | 9 | 7 | 6 | 8 | 5 |
| Y | 19 | 17 | 16 | 18 | 15 |
बेरीज
Advertisements
उत्तर
| x | y | x - `barx` | y - `bary` | (x - `barx`) (y - `bary`) |
(x - `barx)^2` | (y - `bary)^2` | |
| 9 | 19 | 2 | 2 | 4 | 4 | 4 | |
| 7 | 17 | 0 | 0 | 0 | 0 | 0 | |
| 6 | 16 | -1 | -1 | 1 | 1 | 1 | |
| 8 | 18 | 1 | 1 | 1 | 1 | 1 | |
| 5 | 15 | -2 | -2 | 4 | 4 | 4 | |
| Total | 35 | 85 | __ | __ | 10 | 10 | 10 |
`barx = (Σx)/n = 35/5` = 7
`bary = (Σy)/n = 85/5` = 17
r = `(Σ( x - barx) (y - bary))/sqrt(Σ(x - barx)^2 sqrtΣ(y - bary)^2`
r = `10/(sqrt10 . sqrt10)`
r = `10/10`
r = 1
Correlation between x and y is perfect positive.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
