Validate deflated Sharpe
validate_deflated_sharpeCompute the deflated Sharpe probability that a selected strategy's Sharpe exceeds the luck benchmark across tried variants from seven statistics or a return series.
Instructions
Deflated Sharpe ratio: the probability (0 to 1) that the selected strategy's Sharpe beats the best that luck gives across the variants tried, with the probabilistic Sharpe and that luck benchmark. Send the seven statistics or a return series. With every variant's returns use validate_overfitting; luck as a trial count, validate_luck_trials; a multiple-testing haircut, validate_haircut_sharpe. A deflated Sharpe or overfitting probability above or below any threshold is not admission to anything and is not a forecast.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skew | No | Skewness of returns; 0 if Normal. | |
| returns | No | Periodic returns as fractions (0.01 = 1%), oldest first; replaces the Sharpe, observations, skew and kurtosis. | |
| observations | No | Number of return observations. | |
| periods_per_year | No | Periods per year: 252 daily, 365 crypto, 52 weekly, 12 monthly. | |
| non_excess_kurtosis | No | Kurtosis, not excess kurtosis; 3 if Normal. | |
| observed_sharpe_annualized | No | Annualized Sharpe as observed. | |
| effective_independent_trials | No | Independent variants tried before choosing this one. | |
| cross_trial_sharpe_sd_annualized | No | Standard deviation of annualized Sharpe across those trials. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| note | No | ||
| error | No | ||
| limits | No | ||
| receipt | No | ||
| computed | No |