Formulas for computing standard deviations

See the stddev_samp, stddev_pop var_samp, and var_pop reference pages in the Reference Manual: Blocks to see the formulas that Adaptive Server uses to define variances and standard deviations.

The functions are similar, but are used for different purposes: