00:01
The first thing we need to do is prepare a scatter plot of this data.
00:04
And so we have chop chop, 7, 8, 9, 10, and we have 20, 40, 60, 80, and we have 6 with 80, we have 7 with 60, we have 8 with 70, 9 with 40, 9 with 40, and 10 with 0.
00:31
And now we want to compute the covariance.
00:36
And the covariance of x and y is to take the sum of the difference between each number minus the mean times the y value minus the mean.
00:49
And we can put the subscripts on here from i equals 1 to, in this case, there are 1, 2, 3 for 5 points.
00:57
And then we'll divide that by n minus 1, so 5 minus 1 or 4.
01:01
And so the mean of the first is a value of four, excuse me, of eight.
01:09
And the mean of the y value is a value of 50.
01:14
And so we're going to find that covariance by taking each number six minus eight times seven minus 50.
01:24
And we're going to, excuse me, 80 minus 50.
01:28
And we're going to do that for all the values.
01:30
And that last one will end up being the 10 minus 8 times the 0 minus 50...