I'm in a situation where I need to compute a p-value relating to the hypothesis that the mean daily return from a strategy applied to a group of stocks is different from zero. The usual way to do this would be a t-test, but since there will be correlations between the return time series from each stock and dates of the daily returns will appear in more that stock for most dates the sample size will be inflated.
An example would be taking the return series for one stock and computing the p-value and then doing the same for two types of the same stock (which will have a correlation of 1) and then computing the p-value. The mean and standard deviation will be the same for each case but in the second case there will be twice as many data points. I can think of two ways to approach this.
For each date contained in the total sample compute the mean/sum of all returns for that date and use the resulting sample to compute the p-value from a t-test or using the bootstrap method. Unless the return time series for stock all contain the same dates there will be a difference between using the sum or the mean. Are there any reasons to use one or the other?
The other way of doing it would be to use a monte carlo simulation and resample the returns while preserving the correlation between the stocks. This would very computationally intensive and might be a bit tricky to code up.
Any other ways of doing it?