calcMean(), calcSD(), ...

These functions perform simple statistical calculations within the questionnaire, they all follow the same syntax:

calcXYZ(array Data, [boolean Filter])

The function returns either a floating point value (float) or NULL if the calculation fails (e.g. because there are no valid values).

The following functions are available:

Tip: If you want to directly calculate with the answers of the participant, use the functions valueMean(), valueSD(), valueVar().