Skip to content

standardize

Z-score for a value given the population mean and standard deviation.

v = standardize(x, mean, standard_dev)

Returns (x - mean) / standard_dev — converts a value to its number of standard deviations above (or below) the mean. Useful for cross-distribution comparison.

standardize(10, 5, 2) % 2.5