valueVar()

float valueVar(string question)

float valueVar(string question, string|array items)

float valueVar(array variables)

Calculates the uncorrected sample variance for the answer codes of all items in a question (e.g. a scale), for selected items, or for a list of variables.

Note: This works in the same way as valueSum() – the parameters are described in this chapter in detail with various examples.