Haircut Sharpe ratio
validate_haircut_sharpeAdjust an observed Sharpe for multiple testing by computing Bonferroni, independent-test, Holm, and BHY haircuts, so you can see the Sharpe a single test would need.
Instructions
Haircut Sharpe for multiple testing (Harvey and Liu 2015): the Sharpe a single test would have needed, by Bonferroni and independent tests, and with the other tests' Sharpes, Holm and BHY. For the probability the Sharpe is real, use validate_deflated_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 |
|---|---|---|---|
| tests | No | Tests run, this one included; gives the Bonferroni and independent-test haircuts. | |
| observations | Yes | Return observations behind the Sharpe. | |
| autocorrelation | No | Lag-1 autocorrelation of returns, -1 to 1; default 0. Corrects the annualized Sharpe (Lo 2002). | |
| periods_per_year | Yes | Periods per year: 252 daily, 365 crypto, 52 weekly, 12 monthly. | |
| observed_sharpe_annualized | Yes | Annualized Sharpe as observed. | |
| other_sharpe_ratios_annualized | No | Annualized Sharpes of the other tests over the same observations; adds Holm and BHY. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| note | No | ||
| error | No | ||
| limits | No | ||
| receipt | No | ||
| computed | No |