Data Science in Theory and Practice. Maria Cristina Mariani
Чтение книги онлайн.
Читать онлайн книгу Data Science in Theory and Practice - Maria Cristina Mariani страница 24
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)
Just like the sample covariance case defined in (3.1), the diagonal elements