What is the purpose? Using the Correlation as a signal that something is off with the implied volatility in KO or PEP? If it's the latter wouldn't you be able to scan for it directly?
Usually you'd go in the other direction: given IV of KO and PEP and a forecast correlation of KO and PEP, you'd compare the calculated IV of KO/PEP vs its, say realized-kernel of overlapping 5 min bar RV. If there is a significant difference you have a stat-arb.
High correlations are more predictable than vol, that is the motivation:
