Data Science in Theory and Practice. Maria Cristina Mariani
Subscript 1 comma 1 Baseline 2nd Column sigma Subscript 1 comma 2 Baseline 3rd Column midline-horizontal-ellipsis 4th Column sigma Subscript 1 comma p Baseline 2nd Row 1st Column sigma Subscript 2 comma 1 Baseline 2nd Column sigma Subscript 2 comma 2 Baseline 3rd Column midline-horizontal-ellipsis 4th Column sigma Subscript 2 comma p Baseline 3rd Row 1st Column vertical-ellipsis 2nd Column vertical-ellipsis 3rd Column Blank 4th Column vertical-ellipsis 4th Row 1st Column sigma Subscript p comma 1 Baseline 2nd Column sigma Subscript p comma 2 Baseline 3rd Column midline-horizontal-ellipsis 4th Column sigma Subscript p comma p Baseline EndMatrix period"/>
Just like the sample covariance case defined in (3.1), the diagonal elements
The notation
Example 3.3 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. Since there are three receipts, we have a total of three observations on each variable. We find the sample variances and covariance
Therefore,
3.5 Correlation Matrices
A correlation matrix is a table showing correlation coefficients between variables. Correlation is a statistical technique that can show whether and how strongly pairs of variables are related. The sample correlation between the
(3.6)
where
Substituting
(3.7)
for
The