CFD Online Logo CFD Online URL
Home > Wiki > Introduction to turbulence/Statistical analysis/Probability

Introduction to turbulence/Statistical analysis/Probability

From CFD-Wiki

Jump to: navigation, search



The histogram and probability density function

The frequency of occurence of a given amplitude (or value) from a finite number of realizations of a random variable can be displayed by dividing the range of possible values of the random variables into a number of slots (or windows). Since all possible values are covered, each realization fits into only one window. For every realization a count is entered into the appropriate window. When all the realizations have been considered, the number of counts in each window is divided by the total number of realizations. The result is called the histogram (or frequency of occurence diagram). From the definitioin it follows immediately that the sum of the values of all the windows is exactly one.

The shape of a histogram depends on the statistical distribution of the random variable, but it also depends on the total number of realizations, N, and the size of the slots,  \Delta c . THe histogram can be represented symbolically by the function  H_{x}(c,\Delta c,N) where  c\leq x < c + \Delta c ,  \Delta c is the slot width, and  N is the number of realizaions of the random variable. Thus the histogram shows the relative frequency of occurence of a given value range in a given ensemble. Figure 2.3 illustrates a typical histogram. If the size of the sample is increased so that the number of realizations in each window increases, the diagram will become less erratic and will be more representative of the actual probability of occurence of the amplitudes of the signal itself, as long as the window size is sufficiently small.

If the number of realizations,  N , increases without bound as the window size,  \Delta c , goes to zero, the histogram divided by the window size goes to a limiting curve called the probability density function,  B_{x} \left( c \right) . That is,

B_{x} \left( c \right) \equiv \lim_{{ N \rightarrow \infty} } H \left( c , \Delta c , N \right) / \Delta c

Note that as the window width goes to zero, so does the number of realizations which fall into it,  N H . That it is only when this number (or relative number) is divided by the slot width that a meaningful limit is achieved.

The probability density function (or pdf) has the following propeties:

  • Property 1:
B_{x} \left( c \right) > 0


  • Property 2:
Prob \left\{c < x < c + dc \right\} = B_{x} \left(c \right) dc

where  Prob \left\{    \right\} is read "the probability that".

  • Property 3:
Prob \left\{ x < c \right\} =  \int ^{\infty}_{- \infty }B_{x} \left(c \right) dc
  • Property 4:
\int ^{\infty}_{- \infty }B_{x} \left(x \right) dx = 1

The condition imposed by property (1) simply states that negative probabilities are impossible, while property (4) assures that the probability is unity that a realization takes on some value. Property (2) gives the probability of finding the realization in a interval around a certain value, while property (3) provides the probability that the realization is less than a prescribed value. Note the necessity of distinguishing between the running variable,  x , and the integration variable,  c , in equations 2.14 and 2.15.

Since  B_{x} \left( c \right) dc gives the probability of the random variable  x assuming a value between  c and  c + dc , any moment of the distribution can be computed by integrating the appropriate power of  x over all possible values. Thus the  n - th moment is given by:

\left\langle  x^{n} \right\rangle = \int^{\infty}_{- \infty} c^{n} B_{x} \left(c \right) dc

If the probability density is given, the moments of all orders can be determined. For example, the variance can be determined by:

var \left\{ x \right\} = \left\langle \left( x - X \right)^2 \right\rangle = \int^{\infty}_{- \infty} \left(c - X \right)^2 B_{x} \left(c \right) dc

The probability distribution


Gaussian (or normal) distributions


My wiki