Calculate a variable

This assistant allows to set a calculation (new variable calculated) on one/many variable(s) pre-existing in the survey. To calculate a variable, proceed as follows :

calcu

The assitstant proposes to select one of the six functions of calculation :

It is important to note that the variable created doesn't keep the calculation in memory. Thus, in case of adding the observations after creating the variable, the latter will not be updated, and the calculations will not be done on the new responses.

calc var

In this example, we wish to calculate the average budget of the consumed beverages, all types of beverages confused.