I have the returns of two groups of stock over 135 months and I am trying to find the confidence interval for the difference of two Sharpe ratios (that I will call $X$ and $Y$). To do so, I want to apply the formula:
$$(X-Y) \pm 1.96 \cdot \sigma(X-Y)$$
Thus, I first calculate the standard error of $X$ and $Y$ as the standard deviation of the bootstrapped Sharpe ratios. Now I want to calculate the standard deviation of the difference between the statistics. I found that I can apply the formula:
$$\newcommand{\length}{{\rm length}}\sigma(X-Y) = \sqrt{\frac{\sigma_X^2}{\length_X} + \frac{\sigma_Y^2}{\length_Y}}$$
My problem is in understanding which value I should use for the length(x)
and length(y)
: should I use the length of my original statistic (1), of my original sample (135) or of the bootstrapped statistic (10000)?