On White’s (2000) Reality Check
By Kevin Sun ·
5 reader comments
Dominik Ballreich ·
I had exactly the same question. Thanks for the answer. I would like to ask two little questions regarding the first approach (bootstrapping the timeseries and feeding the fake returns series into the strategy again).
1.
If, for example, 10000 bootstrapped timeseries are fed into the strategy, is it “allowed” to use the t-test to find out if the true mean is different for 0 for a given alpha?2.
Another example: I bootstrap 10000 new stock timeseries of stock returns (and can therefore create 10000 new timeseries of stockprices). Now I use a strategy (for example moving averages) on my new 10000 timeseries and get 10000 results (return p.a.) generated by the strategy. Also, with every timeseries the buy and hold strategy is performed. Now I have the pairs:
[return p.a._buyandhold_stock_1, return p.a._movingaverage_stock_1]
.
.
.
[return p.a._buyandhold_stock_1000, return p.a._movingaverage_stock_1000].Would it be allowed to use a paired t-test on the differences of the buy and hold and moving averages strategy returns to find out, if the mean is zero?
I would be very glad, if you answered me.
All the best,
Dominik/GermanyPS: Please excuse my bad English (-:
kevinsun ·
Hi Dominik,
Thank you for your message.
1. I guess you meant to test the true mean of the PnL of a particular strategy. Yes, one sample t-test can usually be used in this case.
However, t-test, like many other parametric test, is not distribution free. Since t-test is based on the assumption of normality, it should NOT be used if this assumption is seriously violated. We may test normality by using Shapiro-Wilk or Kolmogorov–Smirnov test, though it is controversial whether testing distribution before deciding whether to use a test statistic is a good practice; see Zimmerman (2004) for example. If the distribution of PnL is highly skewed, I would recommend to use transformed data instead.
2. Yes, as mentioned in the preceding paragraph, paired t-test can be used here if the normality assumption isnot seriously violated. Alternatively, we may use non-parametric tests (aka distribution-free tests), which have the obvious advantage of not requiring the assumption of normality or the assumption of homogeneity of variance. The non-parametric analogue of paired t-test is the Wilcoxon t-test (http://en.wikipedia.org/wiki/Wilcoxon_signed-rank_test).
The following table gives the non-parametric analogue for the paired sample t-test and the independent samples t-test:
————————————————————-
Parametric Test (Non-Parametric Test Analogue)
————————————————————-
Paired sample t-test (Wilcoxon signed-rank test)
Independent samples t-test (Mann-Whitney U test)
Pearson’s correlation test (Spearman’s correlation test)
————————————————————-
I guess all of them can be found on Wikipedia 🙂Kevin
Haksun Li ·
a bit of advertisement:
SuanShu has a comprehensive suite of hypothesis tests.
Dominik Ballreich ·
Thank you very much for your answer!
Ope ·
Hi kevinsun,
Do you have any tips regarding implementing this test in excel or matlab?
Ope
