# How to Compute Statistics for Variables (e.g., Average, Maximum, Number of Responses)

Related Online Training modules | |
---|---|

Mathematical Functions | |

Generally it is best to access online training from within Q by selecting Help > Online Training |

The most common mathematical functions – Sum, Minimum, Maximum, Average, Standard Deviation, Variance, Count, Any of and None of – can be obtained by selecting a set of variables in the Variables and Questions tab, right-clicking and selecting Insert Ready-Made Formula(s) and **Mathematical Functions (by Case)**. Please note that these statistics are computed by case. For example, if selecting Sum, a new variable is created which contains the sum of the selected variables for each respondent.