Concepts / Sharpe vs PSR vs DSR
Sharpe vs PSR vs DSR
3 min read · Concept
In everyday words
Flip a coin ten times and get ten heads, and it looks like a trick coin. If a thousand people each try, it is no surprise when one of them gets ten heads by luck alone.
An example in pounds
Say a test turns £1,000 into £1,500 and scores well. If that rule was the only one tried, the score stands as it is. If it was the best of 100 versions, it counts for less: the best of 100 looks good even when none is any use.
The short version
The Sharpe ratio, and two checks on how much of it could be luck.
What it is
The Sharpe ratio scores a test. It is the return above cash, divided by how bumpy the ride was. Higher looks better. The trouble is that a short test can score high by luck.
PSR and DSR are two checks on that. Both are percentages from 0 to 100.
PSR stands for probabilistic Sharpe ratio. It asks how firmly the Sharpe ratio stands above zero. For the same Sharpe ratio, a long test with even returns scores higher than a short test with a few wild days.
DSR stands for deflated Sharpe ratio. It asks the same thing after counting how many settings of the rule were worked out. Out of enough settings, one looks good by luck alone. DSR sets a higher hurdle to allow for that.
A worked example
A test on 5 years of monthly prices shows a Sharpe ratio of 0.75. Taken alone, its PSR is about 96%. For a test of that length, it stands well above zero.
Now add one fact. The test worked out 7 settings of the rule, not one.
If the 7 results were close together, the choice made little difference. The hurdle is barely above zero, and the DSR stays near the PSR. If the 7 were far apart, the hurdle is high. The DSR comes out far below 96%.
What it does not tell you
- That the rule works on prices it has not seen. A small gap between PSR and DSR says one thing only: the result did not depend on which setting was picked.
- How likely the rule is to make money. Neither figure is a forecast. Both describe the test that was run.
- How often the same idea was tested before. DSR counts the settings inside this one test. A separate line on the result, Could it be luck?, counts earlier tests of the same idea as well.
- Anything, when every setting scored the same. Then there is no gap between them to measure against. The result says the figure is not measurable.
This leaves out how each figure is worked out and what it assumes about the returns. The exact version is below.
On a Quantis result
The result shows PSR and DSR side by side, next to the Sharpe ratio. A wide gap between them is not a verdict that the rule is broken. It means the choice of setting did much of the work.
The exact mathsFor anyone who wants the detail. Nothing above depends on reading it.
The problem with Sharpe alone
Sharpe is a sample statistic. A backtest can show Sharpe 1.5 when the figure behind it is half that, from sampling noise on short windows. Five years of monthly returns is 60 observations. The standard error on a Sharpe of 1.5 at n=60 is roughly ±0.47, and that assumes returns are normally distributed, which they are not. On weekly data with 60 observations the same Sharpe sits inside a 95% confidence interval that comfortably contains zero.
Reporting Sharpe alone is not wrong; it is the wrong unit. The useful figure takes the sample size and the shape of the returns into account.
PSR (Probabilistic Sharpe Ratio)
PSR comes from Bailey & López de Prado (2012). PSR(SR* = 0) says how firmly the measured Sharpe stands above zero, given the number of returns it was measured on, their skew and their kurtosis (how lopsided the returns are, and how heavy their extremes). It is a figure between 0 and 100%. It treats the returns as a stable sample, counts this one run alone, and is not a forecast.
The formula corrects the naïve standard error for non-normality: return distributions with negative skew and fat tails (which real strategies have) lower the PSR. A backtest with Sharpe 0.75 on 60 monthly bars, mild positive skew (0.3) and normal-sized tails comes out with a PSR of about 96%. The same Sharpe with skew of -1 and kurtosis of 8 comes out at about 93%. The correction grows with the Sharpe per bar, so it matters more on monthly bars than on daily ones.
How to read it: PSR above 95% means the measured Sharpe stands well above zero for a sample of this size and shape, taking this run alone. PSR allows for sampling noise. It does not allow for the fact that many candidates were tested and the best one picked.
DSR (Deflated Sharpe Ratio)
DSR comes from Bailey & López de Prado (2014) and is the PSR adjusted for selection bias. The intuition: if N candidate strategies are tried and the best one's Sharpe is reported, the expected best-of-N Sharpe is well above zero even when none of the candidates has any real edge.
The formula: DSR = PSR(SR* = E[max of N trial Sharpes]). The deflated benchmark E[max] grows with both N (the number of candidates tested) and the spread of those trial Sharpes. The more variants tried and the more they varied, the higher the bar the headline Sharpe has to clear.
How to read it: like the PSR, the DSR is a figure between 0 and 100%, not a Sharpe ratio, so it is comparable with the PSR and not with the headline Sharpe. DSR below 50% means the measured Sharpe does not stand clearly above what the best of N configurations with no skill would be expected to show. DSR above 95% means it still stands well above that bar after counting every configuration tried.
The PSR-DSR gap
When PSR is high (e.g. 95%) and DSR is low (e.g. 5%), the gap (90 percentage points) is what counting every configuration tried takes off: taken alone the measured Sharpe stands well above zero, and against the best-of-N bar it does not. The Quantis result card shows PSR and DSR side by side, and the gap between them is one of the card's Selection and sensitivity checks (20 of its 100 points). A wide gap is not a verdict that the strategy is broken. It says the choice among variants is doing the heavy lifting, and that the number has not been tested on data that played no part in that choice.
Narrow gaps (e.g. PSR 92%, DSR 88%) mean the result did not depend on which configuration was picked. That is all a narrow gap says: it does not show the rule works on data it has not seen.
Which figure applies when
- One backtest, no candidate search: PSR is the relevant figure. Sharpe alone is too noisy; PSR allows for the noise.
- A backtest with a candidate search (a Quantis run computes your rule, up to 3 variants of it and, where a setting is swept, up to 4 other values of that setting; a goal search tries 24 candidates by default): the in-run DSR is the relevant figure. It counts every one of those configurations. PSR does not know a search happened.
- The idea has been tested before: the “Could it be luck?” line on the Quantis card is the relevant one. It uses the same deflated Sharpe but counts every test of the same idea in your history (your backtests of the same strategy family on the same symbols in the same currency, plus the configurations each of those runs computed), not just this run's own. On a goal search result it counts every candidate the search ran. The in-run DSR pill only counts the configurations computed inside this run.
- DSR close to 0%: the measured Sharpe sits below what the best of the candidates would be expected to show with no skill. The result is a hypothesis for new data, not evidence.
Reading the two together
Take a run that computed 7 configurations: the rule as asked, 2 variants and 4 other values of one setting. The PSR is worked from the headline run alone. The DSR asks the stricter question: how the measured Sharpe compares with what the best of 7 configurations with no skill would be expected to show. That bar is the spread of the 7 Sharpes times a factor that grows with the count. If the 7 sit close together, the bar is barely above zero and the two figures are close. If they are spread widely, the bar is high and the DSR falls well below the PSR: much of the headline figure then comes down to which configuration was picked. If all 7 have the same Sharpe there is no spread to deflate by, and the card says the figure is not measurable.
A wide gap means the headline figure owes much to the choice of configuration. The check that answers it is the chosen configuration run on a stretch of history that played no part in choosing it (a goal search does this with the last 30% it holds back), read on its own.
Read next
- Sharpe → the ratio itself, with a worked example.
- Overfitting → how a rule ends up fitted to luck in the first place.
- Start here → shares, funds and tests on past prices, from zero.
- Bailey & López de Prado (2012). The Sharpe ratio efficient frontier. Journal of Risk.
- Bailey & López de Prado (2014). The deflated Sharpe ratio. Journal of Portfolio Management.