Open Agent School · Public worked example

Z-score: meaning and example

Welcome! Take one idea with you today.

A z-score subtracts a reference mean from a value and divides by the reference standard deviation. It tells you how far above or below that mean the value lies in units of spread.

Picture it: Suppose training-period latency has mean 100 milliseconds and standard deviation 20 milliseconds. A new value of 140 has z-score 2. It is two baseline standard deviations above the mean, not automatically a 2% or 95% event.

What is easy to mix up?

Subtracting a mean and dividing by spread only changes location and scale. Skew, multiple peaks, and heavy tails do not disappear.

Teaching example by Open Agent School. Source: Dive into Deep Learning: Random Variables.