Ranking vs Z-Scoring a Signal
Turning a raw signal into portfolio weights means choosing between two very different normalisations, one that only cares about order and one that cares about distance. The choice quietly decides how much the biggest outliers dominate the book.
Prerequisites: From Raw Data Field to Tradeable Signal
Take any raw signal — an earnings-revision score, a valuation ratio, a momentum measure — and before it can size a single position, it has to be turned into a comparable number across every stock in the universe. Two normalisations dominate practice, and the choice between them is not a rounding detail. It changes which stocks end up as the biggest bets in the book.
Two ways to standardise
Z-scoring subtracts the cross-sectional mean and divides by the cross-sectional standard deviation, so a stock's score says how many standard deviations it sits from the average. It preserves distance: a stock with an extreme raw value gets an extreme z-score, and that extremity flows straight through to position size if weights are set proportional to score.
Ranking replaces each stock's raw value with its position in the sorted order — 1st, 2nd, ..., Nth — often then rescaled to sit between −1 and +1. It preserves order only. The best stock in the universe gets the same rank-based weight whether it beats the second-best by a hair or by a mile.
What that difference does to the book
A single data error or a genuine outlier — a stock that gapped 80% on an acquisition rumour — produces a z-score of 8 or 9 standard deviations. Fed directly into weights, that one name can dominate the portfolio's risk. The same stock under ranking is just "the highest-ranked name," no more influential than if it had merely been the best performer by a normal margin. Ranking is, by construction, robust to how extreme the extreme values are; z-scoring is not, unless the raw signal is winsorised first.
The cost of ranking's robustness is that it throws away real information. If two-thirds of a sector genuinely broke out on the same catalyst, z-scoring lets the book reflect that — many big, correlated bets — while ranking flattens them into "a lot of stocks in the upper-middle of the distribution," understating how unusual the situation is.
| Z-scoring | Ranking | |
|---|---|---|
| Preserves | Distance / magnitude | Order only |
| Sensitivity to outliers | High (needs winsorising) | Low, essentially immune |
| Behaviour under a fat-tailed raw signal | Extreme weights on a few names | Smooth weights, information loss |
| Common pairing | Z-score after winsorising the raw signal | Rank, then optionally re-mapped to a distribution |
A worked example
Suppose a five-stock universe has raw revision scores of 1, 2, 3, 4, and 40 (the last stock had a huge, possibly erroneous, upward revision). The mean is 10, the standard deviation is about 15.7. Z-scores come out roughly as −0.57, −0.51, −0.45, −0.38, and +1.91 — the last stock swamps the other four combined if weights track the z-score directly. Ranked instead, the five stocks get ranks 1 through 5, rescaled to −1, −0.5, 0, 0.5, 1 — the outlier is simply "the top name," carrying no more weight than being the best of five ordinarily would.
Z-scoring answers "how much better is this stock than average?" Ranking answers only "is this stock better than that one?" Pick based on whether the raw signal's magnitude is trustworthy information or noise you want the book insulated from.
A common middle ground: rank the raw signal, then map the ranks back onto a normal distribution (an inverse-normal or "rank-and-Gaussianise" transform). You get the outlier robustness of ranking with weights that still taper smoothly rather than sitting on a flat grid.
Related concepts
Practice in interviews
Further reading
- Chincarini & Kim, Quantitative Equity Portfolio Management