# VAVERAGE function

## Description

VAVERAGE(variable[,filter]) returns the arithmetic mean of a variable. An optional filter can be specified.

The arithmetic mean $\bar{x}$ is calculated as:

$$\bar{x} = \frac{x_1+x_2+\cdots +x_n}{n} $$

## Example

## Note

This function calculates a statistic on a variable. Be careful when you use this function in cells of the columns that correspond to the variable, because this actually adds a value to the variable which can lead to unexpected and faulty results. You can exclude the cell to avoid this.