Consider the following data of 11 samples on 8 variables by Anscombe, Francis J. (1973):
| 10 | 10 | 10 | 8 | 8.04 | 9.14 | 7.46 | 6.58 |
| 8 | 8 | 8 | 8 | 6.95 | 8.14 | 6.77 | 5.76 |
| 13 | 13 | 13 | 8 | 7.58 | 8.74 | 12.74 | 7.71 |
| 9 | 9 | 9 | 8 | 8.81 | 8.77 | 7.11 | 8.84 |
| 11 | 11 | 11 | 8 | 8.33 | 9.26 | 7.81 | 8.47 |
| 14 | 14 | 14 | 8 | 9.96 | 8.10 | 8.84 | 7.04 |
| 6 | 6 | 6 | 8 | 7.24 | 6.13 | 6.08 | 5.25 |
| 4 | 4 | 4 | 19 | 4.26 | 3.10 | 5.39 | 12.50 |
| 12 | 12 | 12 | 8 | 10.84 | 9.13 | 8.15 | 5.56 |
| 7 | 7 | 7 | 8 | 4.82 | 7.26 | 6.42 | 7.91 |
| 5 | 5 | 5 | 8 | 5.68 | 4.74 | 5.73 |
If the vector and
then obtain the sample covariance matrix between x and y
Source: Anscombe, Francis J. (1973). Graphs in statistical analysis. The American Statistician, 27, 17– 21. doi: 10.2307/2682899.
To obtain the sample covariance matrix between x and y, we first need to calculate the sample means of x and y, denoted as x̄ and ȳ, respectively. Then, we can calculate the deviations from the means for each observation (x_i - x̄) and (y_i - ȳ). Finally, we can compute the sample covariance using the formula:
cov(x, y) = Σ((x_i - x̄)(y_i - ȳ)) / (n - 1)
where n is the number of observations.
Given the data provided:
x = [10, 8, 13, 9, 11, 14, 6, 4, 12, 7, 5]
y = [8.04, 6.95, 7.58, 8.81, 8.33, 9.96, 7.24, 4.26, 10.84, 4.82, 5.68]
First, we calculate the sample means:
x̄ = sum(x) / n = 99 / 11 = 9
ȳ = sum(y) / n = 76.51 / 11 = 6.9555
Next, we
_________ ___ ____ ___ ________ ____.
_________ __________ ________ _______ ______ ___ __________ __________ ______ _______.
___ __________ _________ ___ _________.
______ ___ _______ ________ ________ __________.
__________ ___ ______ _________ ___.
_______ _________ _____ ________ ______ ________ ______ _________ ______ _______.
__________ _______ _____ __________ _____ ______ ______ ______.
_______ ________ ________ ______ ____ _______ __________ _______ ____.
___ _____ ________ _________ ___ ____ _____.
________ ________ _______ ______ _________ _______.
_____ __________ _______ _________ _________.
_____ _______ _________ _______ _______ ____ _____ __________.
_______ _______ _______ ____ _______ _____ ________.
____ __________ ______ ___ _________ _________.
________ _______ ____ ________ ___ ______ _________ ___ ___ __________ ____ _________.
______ ___ _________ ________ __________ ______ _________ ____.
_________ __________ _____ _________ ____.
________ _________ ___ ___ ______ ______.
_______ _________ _______ _________ _____.
_________ ___ __________ __________ ______.
________ __________ ________ _________ ______ ___ _________ ___ _______.
_____ ______ _______ _________ ______ ______ _______ _________ _____ ________ _________ ____.
___ _______ _______ __________ ____.
____ ___ ____ ____ ______.
____ ____ _____ ___ __________ ____ _____ _____.
_____ _____ _________ ________ ___ ___ ____ ______ ____.
_______ ___ ____ __________ ______ ___ ____ __________ _______ ________ ____ _______.
____ ______ ____ _______ ________ ________ _________ _____ ___ ____ ___ ___.
_______ _________ _________ __________ _____ ________ ___ ______ _____ _________ ________.
______ ______ _____ __________ ______ ___ _________ ______ ________ _______ ____.
_________ _____ _______ _____ _________ ______ _________ ______ ___.
__________ ___ _____ ___ ___ _________ _______ ______ __________ __________.
_________ ______ _____ ______ ___ ___ ___ ____.
_______ ________ ____ ________ ___ ___ ___ _________ _________ __________.
_________ ______ __________ ______ _______ _____ ___ _________ _________ __________ _______.
______ _________ _____ _________ ____ ____ _________ ___ ___ ____.
______ _______ ______ ____ ______ _______ ______.
_____ ____ ________ _______ ____ _________ __________ _________ _______.
_________ ____ __________ ________.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
✓ Unlock up to 60% of the answer
✓ No payment required