The notion of the mean of a set of numbers is easy to assume familiar to everyone, at least intuitively. This section nevertheless provides a brief review, gives the relevant definitions, and highlights some interesting aspects.
For samples of an observed quantity
, the 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. 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 calculated 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) |
The means of some functions have particular significance.
When , we speak of the first-order moment (first statistical moment); more generally, when
, we speak of moments of order
.
The expected value is therefore the first-order statistic, and 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; in other words, it 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 units as the observed quantity:
| (2.9) |
We now extend the concepts introduced so far to the multivariate case. This case can be viewed as an extension to multiple dimensions, with a different variable associated with each dimension.
The covariance matrix is the multidimensional (or multivariable) extension of the concept of variance.
It is constructed as follows:
| (2.10) |
The covariance matrix can be denoted in several ways:
| (2.11) |
The notation for the cross-covariance matrix is, however, unique:
| (2.12) |
| (2.13) |
The covariance matrix describes how the different components are correlated with one another and is also called the scatter matrix (scatter matrix). When the covariance matrix is nonsingular, its inverse is called the precision matrix (or concentration 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 similarly by normalizing the cross-covariance matrix so that each element represents the correlation coefficient between a component of and a component of
. Here too, all matrix elements belong to the interval
.