Example 3.2 Consider the following data matrix introduced in Example 3.1:
Each receipt yields a pair of measurements, total dollar sales, and number of movies sold. To find the sample mean
Therefore,
This implies that the average dollar sales for two movies is $40.00. Therefore, the average amount of dollars that cost a movie is 20 dollars.
3.4 Variance–Covariance Matrices
The variance–covariance matrix (or simply the covariance matrix) of a random vector
where
The sample covariance matrix
(3.1)
In (3.1), the covariance matrix consists of the variances of the variables along the main diagonal and the covariances between each pair of variables in the other matrix positions. The sample covariance of the
(3.2)
where
For example if
(3.3)
and if
(3.4)
we have the sample variance.
The sample covariance measures the association between the
If
(3.5)