It is easy to assume that the notion of the mean of a set of numbers is familiar to everyone, at least from a purely intuitive point of view. Nevertheless, this section provides a brief review, gives the relevant definitions, and highlights some interesting aspects.
For samples of an observed quantity
, the sample mean sample mean is denoted by
and is given by
| (2.1) |
If infinitely many values of could be sampled,
would converge to the theoretical expected value (expected value). This is the law of large numbers (Law of Large Numbers).
The expected value (expectation, mean) of a random variable is denoted by
or
and can be computed for discrete random variables using
| (2.2) |
| (2.3) |
We now introduce the concept of the mean of a function of a random variable.
| (2.5) |
There are several functions whose mean has particular significance.
When , one speaks of first-order statistics (first statistical moment), and, in general, when
, one speaks of
-order statistics.
The expected value is therefore the first-order statistic, while another statistic of particular interest is the second-order moment:
| (2.6) |
The variance is defined as the expected value of the square of the random variable after subtracting its expected value, that is, the second-order moment of the function
:
| (2.7) |
| (2.8) |
The square root of the variance is known as the standard deviation (standard deviation) and has the advantage of having the same unit of measurement as the observed quantity:
| (2.9) |
We now extend the concepts introduced so far to the multivariate case. The multivariate case can be viewed as an extension to multiple dimensions, where each dimension is associated with a different variable.
The covariance matrix is the multidimensional (or multivariable) extension of the concept of variance.
It is constructed as
| (2.10) |
The covariance matrix can be denoted in the following ways:
| (2.11) |
The cross-covariance notation, on the other hand, is unique:
| (2.12) |
| (2.13) |
The covariance matrix describes how the different components are mutually correlated and is also called the scatter matrix (scatter matrix). The inverse of the covariance matrix is called the concentration matrix or precision matrix.
In the scalar case, the correlation coefficient between two random variables
and
is defined as
| (2.14) |
In the multivariate case, a correlation matrix is defined analogously by normalizing the cross-covariance matrix so that each element represents the correlation coefficient between a component of and a component of
. In this case as well, all matrix elements belong to the interval
.