Z-score normalization is a statistical technique used to standardize data by converting values into deviations from their mean, measured in standard deviations.
In quant investing, Z-scores allow different signals to be compared on a common scale. For example, profitability ratios and momentum returns have very different units. Z-scoring transforms both into standardized scores that can be combined meaningfully.
The formula subtracts the mean and divides by the standard deviation. A Z-score of +2 indicates a value two standard deviations above average, while −1 reflects below-average strength.
Z-scores are widely used in factor scoring, composite signal construction, and outlier detection. They help identify extreme observations and ensure no single metric dominates due to scale alone.
Normalization also improves model stability by reducing sensitivity to changing distributions over time.
However, Z-scores assume reasonably stable distributions. During extreme market events, standard deviations can spike, altering signal behavior. Robust implementations therefore monitor distribution shifts.
Z-score normalization is a foundational building block in multi-factor models, enabling systematic ranking and fair signal aggregation.
The formula
z = (x - mean) / standard deviation. For a stock, x is its value on a metric, and the mean and standard deviation come from the group it is compared with, usually the stocks in the investment universe on that date. This is called a cross-sectional z-score. A time-series z-score instead compares a value with its own history.
An illustrative example
A stock has a return on equity of 24% and a 12-month return of 30%. Across the universe, return on equity averages 12% with a standard deviation of 6%, and 12-month returns average 10% with a standard deviation of 20%. The numbers are made up for illustration.
| Metric | Stock value | Universe mean | Standard deviation | Z-score |
|---|---|---|---|---|
| Return on equity | 24% | 12% | 6% | (24 - 12) / 6 = +2.0 |
| 12-month return | 30% | 10% | 20% | (30 - 10) / 20 = +1.0 |
Both metrics are now on the same scale. An equal-weighted composite of the two is (2.0 + 1.0) / 2 = +1.5, which can be ranked against every other stock's composite. See multifactor models.
Details that matter
- Direction. For some metrics lower is better, such as debt or a valuation ratio, so the sign is flipped before combining scores.
- Outliers. A single extreme value inflates the standard deviation and squeezes everyone else's score. Practitioners often cap scores at around plus or minus 3 (winsorizing) or use the median and median absolute deviation instead of mean and standard deviation, which is called a robust z-score.
- Peer groups. Scoring within a sector, not the whole market, removes sector effects. See factor neutralization.
- Shifting distributions. In stressed markets the mean and spread can change sharply, so a z-score can mean something different from one period to the next.
Where it is used
Z-scores are a basic step when preparing inputs for a model, as described under feature engineering, and for flagging unusual observations. They put different signals on a common scale, but they do not by themselves make a signal predictive.
Frequently asked questions
What does a z-score of 2 mean?
The value is two standard deviations above the average of the comparison group. In a roughly bell-shaped distribution, only a small share of observations are that high.
Why normalize signals before combining them?
Different metrics have different units and ranges. Without a common scale, the metric with the largest numbers would dominate a combined score.
What is a robust z-score?
It replaces the mean and standard deviation with the median and the median absolute deviation, so extreme values affect the score much less.
What is the difference between a cross-sectional and a time-series z-score?
A cross-sectional z-score compares a stock with other stocks on the same date. A time-series z-score compares a value with the same stock's own past values.