Introduction to turbulence/Statistical analysis/Multivariate random variables
From CFD-Wiki
Joint pdfs and joint moments
Often it is importamt to consider more than one random variable at a time. For example, in turbulence the three components of the velocity vector are interralated and must be considered together. In addition to the marginal (or single variable) statistical moments already considered, it is necessary to consider the joint statistical moments.
For example if and are two random variables, there are three second-order moments which can be defined , , and . The product moment is called the cross-correlation or cross-covariance. The moments and are referred to as the covariances, or just simply the variances. Sometimes is also referred to as the correlation.
In a manner similar to that used to build-up the probabilility density function from its measurable counterpart, the histogram, a joint probability density function (or jpdf), , can be built-up from the joint histogram. Figure 2.5 illustrates several examples of jpdf's which have different cross correlations. For convenience the fluctuating variables and can be defined as
| (2) |
| (2) |
where as before capital letters are usd to represent the mean values. Clearly the fluctuating quantities and are random variables with zero mean.
A positive value of indicates that and tend to vary together. A negative value indicates value indicates that when one variable is increasing the other tends to be decreasing. A zero value of indicates that there is no correlation between and . As will be seen below, it does not mean that they are statistically independent.
It is sometimes more convinient to deal with values of the cross-variances which have ben normalized by the appropriate variances. Thus the correlation coefficient is defined as:
| (2) |
The correlation coefficient is bounded by plus or minus one, the former representing perfect correlation and the latter perfect anti-correlation.
As with the single-variable pdf, there are certain conditions the joint probability density function must satisfy. If indicates the jpdf of the random variables and , then:
- Property 1
| (2) |
always
- Property 2
| (2) |
- Property 3
| (2) |
- Property 4
| (2) |
where is a function of only
- Property 5
| (2) |
where is a function of only
The functions and are called the marginal probability density functions and they are simply the single variable pdf's defined earlier. The subscript is used to indicate which variable is left after the others are integrated out. Note that is not the same as . The latter is only a slice through the - axis, whale the marginal distribution is weighted by the integral of the distribution of the other variable. Figure 2.6. illustrates these differences.
If the joint probability density function is known, the joint moments of all orders can be determined. Thus the -th joint moment is
| (2) |
In the preceding discussions, only two random variables have been considered. The definitions, however, can easily be geberalized to accomodate any number of random variables. In addition, the joint statistics of a single random at different times or at different points in space could be considered. This will be done later when stationary and homogeneous random processes are considered.
The bi-variate normal (or Gaussian) distribution
If and are normally distributed random variables with standard deviations given by and respectively , with correlation coefficient , then their joint probability density function is given by
| (2) |
This distribution is plotted in Figure 2.7. for several values of where and are assumed to be identically distributed (i.e., ).
It is straightforward to show (by completing the square and integrating) that this yields the single variable Gaussian distribution for the marginal distributions. It is also possible to write a multivariate Gaussian probability density function for any number of random variables.
Statistical independence and lack of correlation
Definition: Statistical Independence Two random variables are said to be statistically independent if their joint probability density is equal to the product of their marginal probability density functions. That is,
| (2) |
It is easy to see that statistical independence implies a complete lack of correlation; i.e., . From the definition of the cross-correlation
| (2) |
where we have used equation 2.39 since the first central moments are zero by definiion.
It is important to note that the inverse is not true - lack of correlation does not imply statistical independence! To see this consider two identically distributed random variables, and , which have zero means and non-zero correlation . From these two correlated random variables two other random variables and , can be formed as
| (2) |
| (2) |
Clearly and are not statistically independent. They are, however, uncorrelated because:
| (2) |
since and are identically distributed (and as a consequence ).
Figure 2.8 illustrates the change of variables carried out above. The jpdf resulting from the transformation is symmetric about both axes, thereby eliminating the correlation. Transformation, however, does not insure that the distribution is separable, i.e., , as required for statistical independence.