How quantitative ranking models work
A ranking model turns many measurable facts about each company into one score, then sorts. The inputs are often things you can see in public data, like how cheap a stock is relative to its earnings. As context, the whole market's earnings yield is (not shown here: licensed data) against a 10-year Treasury at 5.24% (US Treasury 10-year (par yield)) . The hard part is not the sorting; it is knowing whether the pattern will persist.
Today’s figures in this lesson
What a ranking model does
Imagine 1,000 stocks scored and split into ten equal groups by score. A model's honest report card looks like this:
- The top group's average return over the next year, compared with the bottom group's.
- How often the top group beat the bottom, year by year.
- How widely individual stocks varied within each group.
Even a genuinely useful model shows many top-ranked stocks falling and many bottom-ranked ones rising. Usefulness lives in averages across many stocks and many years.
Factors: the classic ingredients
Value at the scale of the whole market, as context only:
- Shiller price-to-earnings ratio (CAPE): (not shown here: licensed data).
- Earnings yield (earnings ÷ price): (not shown here: licensed data).
- 10-year Treasury: 5.24% (US Treasury 10-year (par yield)) .
A value factor applies the same comparison company by company: it favors stocks with high earnings yields relative to others. Whether cheap stays cheap or catches up is exactly the uncertainty the factor's long history averages over.
Machine learning: more flexible, more fragile
A sound testing setup, in order:
- Train on, say, 2005–2016.
- Tune settings on 2017–2019.
- Test once on 2020 onward, without going back to adjust.
- Then keep testing on new data as it arrives, called walk-forward testing.
A model whose results look strong in training but fade sharply on the untouched period has learned noise. Ask any ranking provider which period their published results come from.
How results get flattered
Why many tries mislead: test 200 random rules on the same past data. Even if none has any real skill, the best one may well show a strong record purely by luck. Researchers have argued that new factor discoveries should clear a much higher statistical bar for exactly this reason.
A quick check on any published result: how many variations were tried, were failed companies included, were costs deducted, and how did it do after it was published?
Reading a ranking honestly
Turnover arithmetic for a strategy that replaces its whole portfolio once a year:
- Trading costs of 0.2% each way: about 0.4% a year.
- In a taxable account, gains realized within a year are taxed as ordinary income, not at the lower long-term rate.
On a strategy hoping to beat an index by 2% a year, costs and taxes can consume a large share of the edge. A broad index fund has very low turnover by comparison; see Index funds and ETFs (Level 38).
Check your understanding
Three questions. “Not sure” is a fine answer; every answer shows why.
Question 1 of 3
A model ranks a stock first out of 1,000. What does that rank most reasonably mean?
Question 2 of 3
A researcher tests 200 variations of a strategy on the same history and publishes the best. What is the main danger?
Question 3 of 3
A backtest uses only companies that still exist today. What bias does that create?
Not marked as read yet
Try it with your numbers
Watch it
Add a live figure from this lesson to your dashboard.
Where to go next
Figures in this lesson
- shiller-cape Loading
- earnings-yield-vs-10y Loading
- ust-10y Loading
- sp500-dividend-yield Loading
Sources
- SEC Investor.gov: Investor Bulletin, Robo-Advisers · checked Oct 12, 2026
- SEC: Investment Adviser Marketing, final rule (Release IA-5653), hypothetical performance · checked Oct 12, 2026
- Fama and French (1993), Common risk factors in the returns on stocks and bonds, Journal of Financial Economics · checked Oct 12, 2026
- Jegadeesh and Titman (1993), Returns to buying winners and selling losers, Journal of Finance · checked Oct 12, 2026
- Harvey, Liu and Zhu (2016), … and the Cross-Section of Expected Returns, Review of Financial Studies · checked Oct 12, 2026
- Kenneth R. French: Data Library (factor returns) · checked Oct 12, 2026
Educational information, not advice. Figures are dated and sourced; check with a tax or financial professional before acting. Drafted Oct 12, 2026 · human review pending.
Figures on this page
Each figure as published, with its as-of date and source. This copy of the page was prepared on Oct 14, 2026; the live page shows the newest figures.
| Figure | Value | As of | Source |
|---|---|---|---|
| S&P 500 earnings yield | Not available (withheld by licence (S&P Dow Jones Indices)) | date not recorded | S&P Dow Jones Indices (licensed; not republished here) |
| US Treasury 10-year (par yield) | 5.24% | Oct 9, 2026 | US Treasury Daily Par Yield Curve |
| Shiller CAPE | Not available (withheld by licence (S&P Dow Jones Indices)) | date not recorded | S&P Dow Jones Indices (licensed; not republished here) |
| S&P 500 dividend yield | Not available (withheld by licence (S&P Dow Jones Indices)) | date not recorded | S&P Dow Jones Indices (licensed; not republished here) |