Definition 2.20 (Probability mass function) The pmf of a discrete random variable
Definition 2.21 (Probability density function) The pdf,
We will discuss these notations in details in Chapter 20.
Using these concepts, we can define the moments of the distribution. In fact, suppose that
Now we can define the moments of the random vector. The first moment is a vector
The expectation applies to each component in the random vector. Expectations of functions of random vectors are computed just as with univariate random variables. We recall that expectation of a random variable is its average value.
The second moment requires calculating all the combination of the components. The result can be presented in a matrix form. The second central moment can be presented as the covariance matrix.
(2.1)
where we used the transpose matrix notation and since the
We note that the covariance matrix is positive semidefinite (nonnegative definite), i.e. for any vector
Now we explain why the covariance matrix has to be semidefinite. Take any vector
(2.2)
is a random variable (one dimensional) and its variance must be nonnegative. This is because in the one‐dimensional case, the variance of a random variable is defined as