Skip to content

Quantitative analysis: the concept and its hazards

Expert13 min readLesson 14 of 21

145 XP

In short

Quantitative analysis uses rules set out in advance and applied the same way to everything. Measuring risk and modeling trading costs are well founded, while predicting returns is the contested part. Its real strength is that a precise rule can be shown to be wrong. Adding variables improves the fit to past data even when they mean nothing. The best of many tested ideas is often just the luckiest one. Short records settle little, published findings tend to fade, and data can hide survivors, hindsight and later revisions. MarketClue does not build strategies or teach how to build them.

Quantitative analysis means replacing case-by-case judgment with rules that are set out in advance and applied the same way every time. A quantitative analyst states what will be measured, across which set of companies, and on what data. Then they apply that rule everywhere, with no exceptions. That includes the cases where it gives an awkward answer. This article explains the approach and the statistical hazards specific to applying it to markets; it is the counterpart to Why Backtests Lie, which states the underlying multiple-testing argument in general form.

That definition holds both the approach's real contribution and its central hazard. The contribution is that a rule set out in advance can be checked, and a judgment cannot. The hazard is that a rule can be found by searching instead of by reasoning. And a rule found by searching looks exactly like one that was reasoned out.

The term covers three activities with very different standing

Measurement and risk. This means working out exposures, volatilities, correlations and concentrations across a portfolio. It is mostly descriptive statistics applied with care, and it is a well-founded part of the field.

Execution and cost. This means modeling how orders move prices, how much trading costs, and how to time it. It is an engineering problem with feedback that can be observed, and practitioners can tell fairly quickly whether they are right.

Return prediction. This means finding features linked to future returns. This is the contested part. It is what most people mean by the word, and almost everything hard in this article is about it.

Lumping the three together makes the last one look better by association with the first two. A firm can be excellent at measuring risk and no better than chance at predicting returns. They are largely separate skills.

What the approach genuinely does better

Consistency. The same criteria are applied to the four-hundredth company as to the first, without fatigue, boredom or a prior opinion about the management.

Breadth. A rule can examine a universe no analyst could read through.

Auditability. The decision can be pieced back together afterwards. Why a judgment call was made often cannot be recovered, even by the person who made it.

Falsifiability, which is the real one. A rule stated precisely can be shown to be wrong. A judgment such as the shares look attractive here cannot be, because it has no content that could fail. The habit of stating a claim precisely enough to be disproved is the approach's true contribution to knowledge. It survives the criticisms below.

Hazard one: fit arrives without any relationship being present

Adding explanatory variables improves the fit to past data automatically, whether or not they have anything to do with the outcome. Fitting k predictors to n observations of pure noise gives an expected in-sample R-squared of about k divided by (n − 1), and that fit reflects no relationship at all.

The table below fits random predictors to a random target over 250 observations, then applies the fitted model to fresh data.

Predictors fitted (250 observations)In-sample R-squaredTheoretical k / (n − 1)Out-of-sample R-squared
50.0190.020−0.03
100.0390.040−0.05
200.0820.080−0.10
500.2000.201−0.26
1000.4040.402−0.69

Worked example: a 40% fit from nothing at all. One hundred meaningless predictors on 250 observations of noise produce an in-sample R-squared of 0.40, matching the theoretical value almost exactly. Applied to fresh data from the identical process, the same model produces an R-squared of −0.69, meaning it is substantially worse than having used the sample mean. The in-sample figure is not evidence that has been overstated; it is not evidence at all. It is the expected consequence of the number of parameters relative to the number of observations, and it would appear identically if the predictors were the results of coin flips. (Simulated values.)

Hazard two: the best of many is not the best, it is the luckiest

This is the multiple-testing problem, and in quantitative work it runs at industrial scale. Suppose N candidate strategies are tested and the best is picked. The winner's test statistic is the largest of N draws. And the largest of many draws is big even when every single draw means nothing.

Candidates evaluatedExpected t-statistic of the best one, on pure noiseShare of runs where the best exceeds t = 2.0
10.022.7%
101.5219.0%
1002.5189.3%
1,0003.24100.0%
10,0003.86100.0%
100,0004.39100.0%

Worked example: where the conventional significance bar fails. Searching 1,000 candidates on data with no structure in it, the best one clears the conventional t = 2.0 threshold in essentially every run, with an expected t-statistic of 3.24. The published literature points the same way. A 2016 study in the Review of Financial Studies cataloged 316 factors proposed to explain the cross-section of returns, built a multiple-testing framework around that search, and concluded that a newly proposed factor should have to clear a t-statistic above 3.0 rather than the customary 2.0, and that most claimed findings in financial economics are likely to be false. A simulation of a thousand noise trials lands at 3.24; the accounting of the actual published search proposes 3.0. These are different quantities, but they approach the same problem from opposite directions. (Simulated values.)

Hazard three: the record is far shorter than it looks

A track record is a sample, and its length limits what can be concluded from it. For independent yearly returns and a Sharpe ratio near zero, the standard error of a yearly Sharpe ratio is about one divided by the square root of the number of years observed. The table uses that simple rule. At an observed Sharpe of 1.0 the fuller formula, the square root of ((1 + SR²/2) divided by the number of years), gives a standard error about 22% larger, so the intervals below are if anything too narrow.

Length of recordApproximate standard error95% interval around an observed Sharpe of 1.0
3 years0.58−0.13 to 2.13
5 years0.450.12 to 1.88
10 years0.320.38 to 1.62
20 years0.220.56 to 1.44

Worked example

Worked example: five years settles almost nothing. On the simple rule, a five-year record showing a Sharpe ratio of 1.0 is consistent with a true value anywhere from roughly 0.1 to 1.9, and the fuller formula widens that range. The lower end is barely distinguishable from zero; the upper end would be exceptional. Even twenty years leaves an interval from 0.56 to 1.44 on the simple rule. This is not a criticism of any particular record; it is the reason why the phrase a strong five-year track record carries less information than it appears to, and why the length of a sample matters as much as its result.

Try it with your numbers

How uncertain is an average return or a Sharpe ratio measured over T years?

Try it · Estimate standard error.

Inputs

No lesson works an example for this tool, so it opens on round starting values. The tool suggests no number: enter your own.

At least two for an estimated Sharpe ratio.

Standard error, percentage points2.26σ ÷ √T: mean annual return, assumed annual volatility, independent annual observations, normal sampling distribution
  • Lower end of the approximate 95% interval, percentage points · estimate − 1.96 × SE: mean annual return, assumed annual volatility, independent annual observations, normal sampling distribution; sampling uncertainty around the estimate, not a forecast range0.57
  • Upper end of the approximate 95% interval, percentage points · estimate + 1.96 × SE: mean annual return, assumed annual volatility, independent annual observations, normal sampling distribution; sampling uncertainty around the estimate, not a forecast range9.43

Mean mode: assumed annual volatility, independent annual observations, a normal sampling distribution. Estimated-Sharpe mode: IID normal annual excess returns, mean and volatility both estimated, asymptotic (Lo 2002)

A mean annual return estimate of 5.00% from 50 independent annual observations with an assumed volatility of 16.00% has SE = σ ÷ √T = 2.26 percentage points. The approximate 95% interval under a normal sampling distribution is 0.57% to 9.43%. It is sampling uncertainty around the estimate, not a forecast range. Annual observations are the sampling unit here; serial correlation, non-normal returns and other sampling frequencies need a different model.

Educational and informational only — not investment advice, a recommendation, or an offer to buy or sell any security. Investing involves risk, including the possible loss of principal. Worked examples use fictional companies and figures.

Calculators earn no XP.

Open this calculator on its own page
Try it with your numbers

How many tests pass by luck alone when nothing works?

Try it · Multiple testing noise.

Inputs

No lesson works an example for this tool, so it opens on round starting values. The tool suggests no number: enter your own.

Expected false passes, α × N50.0tests independent; all metrics assumed to have no real effect
  • Chance at least one passes, 1 − (1 − α)^N · tests independent; all metrics assumed to have no real effect100.00%
  • Standard error per test · ≈ 1 ÷ √years under the zero-Sharpe null, independent annual observations; tests independent; all metrics assumed to have no real effect0.2236
  • Expected maximum, in standard errors (asymptotic approximation) · a − (ln ln N + ln 4π) ÷ (2a), a = √(2 ln N), asymptotic approximation; tests independent; all metrics assumed to have no real effect3.1165
  • Expected best of N noise results, multiplier × standard error · asymptotic approximation; tests independent; all metrics assumed to have no real effect0.70

Tests independent; all metrics assumed to have no real effect. The best of N by the asymptotic (Gumbel) approximation, exact at N = 1

With tests independent and all metrics assumed to have no real effect, 1,000 tests at α = 5.00% produce 50.0 expected false passes (α × N), and the chance that at least one passes is 100.00%. The best of those 1,000 pure-noise results is expected to sit about 3.1165 standard errors above zero (asymptotic approximation), 0.70 at a standard error of 0.2236 (1 ÷ √20 years, Sharpe units, under the zero-Sharpe null with independent annual observations). Tests are rarely independent, so these are a chance baseline, not an exact count. The tool takes counts only: it accepts no strategy definition, runs no backtest, and evaluates or screens no metric.

Educational and informational only — not investment advice, a recommendation, or an offer to buy or sell any security. Investing involves risk, including the possible loss of principal. Worked examples use fictional companies and figures.

Calculators earn no XP.

Open this calculator on its own page

Hazard four: the subject changes when it is studied

A physical constant does not react to being measured. A market does. When a feature linked to returns is published, money moves towards it. And that flow of money is exactly what would erode the effect. Research on published return predictors (McLean and Pontiff, 2016) found that their returns fell by about 58% on average after publication. So a finding can be real when it is found and much weaker by the time it is widely known, without anyone doing anything wrong.

This has serious consequences for judging any quantitative claim. A test on fresh data from before publication is not truly fresh in the sense that matters, because the world had not yet adapted. The cleanest test runs forward from the moment the claim was made. And that test takes as long as the period the claim is about.

Hazard five: the data is not what it appears to be

Survivorship. A set of companies put together today contains only the ones that still exist. Testing a rule on it asks how the rule would have done on the survivors, which is not the question of interest.

Look-ahead. Financial statement data is dated to the period it describes, not the date it was made public. Using it from the earlier date builds in knowledge nobody had.

Restatement. Databases hold the current version of a figure, not the one first published. A rule tested on revised figures was tested on information that did not exist at the time.

Point-in-time data largely addresses all three, but it is costly, and it is not always used.

Worked example

What careful practice looks like, described rather than prescribed. The disciplines that address the hazards above are well established: the hypothesis and its economic rationale are stated before the data is examined, since a mechanism proposed afterwards is a description of the result rather than a test of it; every specification examined is counted and reported, not only the surviving one, because the count is what determines the appropriate bar; held-out data is used once, given that a holdout consulted repeatedly is simply more in-sample data; and models with few parameters are preferred, because the first table in this article shows what parameters buy in fit and what they cost out of sample. This is a description of how the field polices itself, not an instruction set. MarketClue does not construct strategies and does not teach their construction.

Where this leaves the approach

Quantitative analysis is neither a better method nor a worse one. It is a method whose failures can be seen. A judgment-based analyst who has been wrong for ten years can usually explain why those ten years were unusual. A quantitative claim written down in advance can be checked against what it said. That visibility is why the criticisms in this article exist in such detail. The field produced them itself, about itself, in its own journals. Judgment is harder to pin down long enough to be examined in the same way, which is a difficulty of measurement rather than evidence that it is more reliable.

Check understanding

1 of 5

A fictional fund shows 16 years of independent yearly returns with a Sharpe ratio near zero. On the article's simple rule, what is the approximate standard error of its yearly Sharpe ratio?

Frequently askedCommon questions

8 questions

What is quantitative analysis in investing?

Replacing case-by-case judgment with rules set out in advance and applied the same way across a set of companies. The term covers measuring risk, modeling trading and predicting returns. These have very different standing. The first two are far better founded than the third.

What is overfitting, concretely?

Fitting a model to noise. One hundred meaningless predictors on 250 observations give an in-sample R-squared of about 0.40 and an out-of-sample R-squared of about −0.69. The in-sample fit follows automatically from the number of parameters. It is not evidence of a relationship.

Why does testing many strategies undermine the result?

Because the winner is the largest of many draws. Searching 1,000 candidates on data with no pattern in it, the best t-statistic beats the usual 2.0 bar in essentially every run, with an expected value of 3.24. The bar was designed for a single test.

What is the factor zoo?

A nickname for the pile of published features claimed to explain returns. A 2016 study listed 316 of them. It argued that a search that large makes the usual bar for significance unsuitable, and it proposed a t-statistic hurdle above 3.0 instead of 2.0.

How long a track record is needed to conclude anything?

Longer than is usually available. On the simple standard-error rule, a five-year record showing a Sharpe ratio of 1.0 fits a true value from roughly 0.1 to 1.9, and the fuller formula widens that. Twenty years narrows it only to 0.56 to 1.44 on the same rule.

Why does a finding weaken after it is published?

Because money moves towards it, and that flow is what erodes the effect. A result can be real when found and much weaker once widely known, with no error by anyone. It also means tests on fresh data from before publication are not truly fresh in the way that matters.

What are survivorship and look-ahead bias?

Survivorship: a set of companies put together today holds only the ones that still exist. So a test on it measures how the survivors did. Look-ahead: using financial data from the date it describes, not the date it was made public. That builds in knowledge nobody had. Point-in-time data largely avoids both, and it costs more.

Is quantitative analysis better than judgment?

It is neither better nor worse. Its failures can simply be seen. A rule written in advance can be shown to be wrong, and a judgment usually cannot. That is why the field has produced such a detailed body of research criticizing itself.

ReferencesWhere this comes from

Finished reading?

Mark it complete once the answer holds without scrolling back up.

Ask MarketClue AI about this lesson

The question carries this lesson as its context. MarketClue AI needs an account.

MarketClue does not provide financial advice.

Next on your list

Topic 25 · Types of analysisSentiment analysisLesson 15 of 21
Next lesson

After that

Educational and informational only — not investment advice, a recommendation, or an offer to buy or sell any security. Investing involves risk, including the possible loss of principal. Worked examples use fictional companies and figures.