Statistical aggregates

Statistical aggregates are similar to the avg aggregate in that:

Unlike the avg aggregate, however, the results are:

Formulas

Figure 3-1: The formula for population-related statistical aggregate functions

Mathematical formula: see text for information.

Figure 3-2: The formula for sample-related statistical aggregate functions

Mathematical formula: see text for information.

The essential difference between the two formulas is the division by n-1 instead of n.

These two functions are similar, but are used for different purposes: