Skip to main content

Quant Analytics: from scratch to pro · Quant foundations: returns, risk and clean data · Beginner

Quant analytics: what it is and how this curriculum works

Quant analytics means asking a precise question of market data and judging the answer with care. This lesson maps the nine tracks of the curriculum and teaches the habits that run through all of them: define the question, know the base rate, count your tries, and respect what numbers cannot say.

4 min read Reviewed Revision 1

In this lesson

  • Describe what quant analytics is and name the nine tracks of this curriculum
  • State a market question in a form that data can answer
  • Use a base rate to judge how informative a signal is
  • Explain why the best of many tries tends to look better than it is

Chance that at least one of N tests looks significant by luck

0% 20% 40% 60% 80% 138152530 Number of independent tests
Chance of at least one false positive. Computed from the formula for independent tests at the 5% level, not from market data. The curve passes 64% at 20 tests.

Worked numbers

Each result is recomputed from the formula shown.

WhatFormulaResult
share of days with the event0.055%
flagged event days as a share of all days0.80 * base4.0%
flagged ordinary days as a share of all days0.10 * (1 - base)9.5%
share of flags that are realhit / (hit + false_flag)29.6%
chance that at least one of 20 null tests looks significant1 - 0.95**2064.15%

Check yourself

A rare event happens on 5% of days. A detector flags 80% of those days and also flags 10% of all other days. A day is flagged. How likely is the event?

Flagged event days are 0.80 x 5% = 4.0% of all days. Flagged ordinary days are 0.10 x 95% = 9.5% of all days. The share of flags that are real is 4.0 / (4.0 + 9.5), which is 29.6%. A detector that looks good still produces mostly false alarms when the event is rare.

You test 20 unrelated ideas, each with a 5% chance of looking significant by luck. What is the chance that at least one looks significant?

1 - 0.95^20 = 64.15%. Testing many ideas and reporting the winner makes a lucky result more likely than not.

Which question is testable: 'Is this market good?' or 'After a close below its 50-day average, is the median 5-day return lower than after other days?'

The second. It names the data, the event, the horizon and the statistic. The first cannot be wrong, so it cannot be tested.

Why do the tracks start with returns and volatility rather than with trading ideas?

Every later tool is built on returns, and every test needs a measure of noise. Errors in the basics, such as averaging simple returns over time, carry through all the later work.

Key terms

VolatilityDrawdownLog return

Sources

Informational content. Not investment advice.