![]()
![]()
| x | y | pXY | x*y*pXY |
| 0.02 | 0.0 | ||
| 5 | 5 | 0.04 | 1.0 |
| 10 | 10 | 0.01 | 1.0 |
| 15 | 0.06 | 0.0 | |
| 5 | 0.15 | 0.0 | |
| 10 | 5 | 0.15 | 7.5 |
| 10 | 0.02 | 0.0 | |
| 5 | 15 | 0.20 | 15.0 |
| 10 | 0.14 | 0.0 | |
| 5 | 0.10 | 0.0 | |
| 5 | 10 | 0.10 | 5.0 |
| 10 | 15 | 0.01 | 1.5 |
| 31.0 |
(b) We need to compute the standard deviations:
![]()

OK, I see the problem. In part (a) I was on auto-pilot when I put in the y column in Table 5. The corrected version appears as Table 6. The correct value for the covariance is
![]()

NOTE: It is kind of funny to get a negative
correlation for the scores on two exams. That means a higher score on one
exam tends to go with a lower score on the other.
| x | y | pXY | x*y*pXY |
| 0.02 | 0.00 | ||
| 5 | 0.04 | 0.00 | |
| 10 | 0.01 | 0.00 | |
| 5 | 0.06 | 0.30 | |
| 5 | 5 | 0.15 | 0.75 |
| 10 | 5 | 0.15 | 0.75 |
| 10 | 0.02 | 0.20 | |
| 5 | 10 | 0.20 | 2.00 |
| 10 | 10 | 0.14 | 1.40 |
| 15 | 0.10 | 1.50 | |
| 5 | 15 | 0.10 | 1.50 |
| 10 | 15 | 0.01 | 0.15 |
| 44.25 |