I plan to calculate the correlation number for each of the S&P500 items using EOD data.
It seems this is the formula for the number of comparisons needed of the timeseries of each:
500 * 499 / 2 = 124750
This is IMO much work for the computer.
I just wonder whether there is a faster algorithm/method with less such comparisons? Anybody know?
What about this method: compare each to the same fixed one. Wouldn't that give the same rank information? And rank information is totally sufficient, IMO. This method would require only 499 comparisons (if the fixed one is among the 500).
It seems this is the formula for the number of comparisons needed of the timeseries of each:
500 * 499 / 2 = 124750
This is IMO much work for the computer.
I just wonder whether there is a faster algorithm/method with less such comparisons? Anybody know?
What about this method: compare each to the same fixed one. Wouldn't that give the same rank information? And rank information is totally sufficient, IMO. This method would require only 499 comparisons (if the fixed one is among the 500).
Last edited: