# Introduction to turbulence/Statistical analysis/Estimation from a finite number of realizations

### From CFD-Wiki

## Estimators for averaged quantities

Since there can never an infinite number of realizations from which ensemble averages (and probability densities) can be computed, it is essential to ask: *How many realizations are enough?* The answer to this question must be sought by looking at the statistical properties of estimators based on a finite number of realization. There are two questions which must be answered. The first one is:

- Is the expected value (or mean value) of the estimator equal to the true ensemble mean? Or in other words, is yje estimator
*unbiased?*

The second question is

- Does the difference between the and that of the true mean decrease as the number of realizations increases? Or in other words, does the estimator
*converge*in a statistical sense (or converge in probability). Figure 2.9 illustrates the problems which can arise.

## Bias and convergence of estimators

A procedure for answering these questions will be illustrated by considerind a simple **estimator** for the mean, the arithmetic mean considered above, . For independent realizations where is finite, is given by:

Figure 2.9 not uploaded yet

Now, as we observed in our simple coin-flipping experiment, since the are random, so must be the value of the estimator . For the estimator to be *unbiased*, the mean value of must be true ensemble mean, , i.e.

It is easy to see that since the operations of averaging adding commute,

(Note that the expected value of each is just since the are assumed identically distributed). Thus is, in fact, an *unbiased estimator for the mean*.

The question of *convergence* of the estimator can be addressed by defining the square of **variability of the estimator**, say , to be:

Now we want to examine what happens to as the number of realizations increases. For the estimator to converge it is clear that should decrease as the number of sample increases. Obviously, we need to examine the variance of first. It is given by:

since from the equation for above. Using the fact that operations of averaging and summation commute, the squared summation can be expanded as follows:

where the next to last step follows from the fact that the are assumed to be statistically independent samples (and hence uncorrelated), and the last step from the definition of the variance. It follows immediately by substitution into the equation for above that the square of the variability of the estimator, , is given by:

Thus *the variability of the stimator depends inversely on the number of independent realizations, , and linearly on the relative fluctuation level of the random variable itself *. Obviously if the relative fluctuation level is zero (either because there the quantity being measured is constant and there are no measurement errors), then a single measurement will suffice. On the other hand, as soon as there is any fluctuation in the itself, the greater the fluctuation ( relative to the mean of , ), then the more independent samples it will take to achieve a specified accuracy.

**Example:** In a given ensemble the relative fluctuation level is 12% (i.e. ). What is the fewest number of independent samples that must be acquired to measure the mean value to within 1%?

**Answer**Using the equation for above, and taking , it follows that:

or .

## Credits

This text was based on "Lectures in Turbulence for the 21st Century" by Professor William K. George, Professor of Turbulence, Chalmers University of Technology, Gothenburg, Sweden.