Correlation Analysis: CPI Surprise, Surprise Flag, and Spread
Pair 1 : CPI_Surprise vs Surprise_Flag (r = +0.771, p ≈ 0)
Meaning: This relationship is strong and highly statistically significant, which is expected by construction — Surprise_Flag = 1 was directly derived from CPI_Surprise > 0.2.
This means: Both variables measure the same underlying phenomenon in different forms:
r does not reach 1.0 because Flag is binary — a month with surprise = 0.19 (just below the threshold) and surprise = 0.50 are both treated as Flag = 0, causing some information to be lost in the discretization process.
Pair 2 : CPI_Surprise vs Spread (r = −0.043, p = 0.755)
Meaning: There is virtually no relationship at all, and the result is not statistically significant.
This means: The magnitude of a CPI surprise does not predict how much XLE will outperform XLK over the subsequent 30 days — regardless of whether CPI exceeded the forecast by a large or small margin, the resulting spread is no different.
CPI Surprise increases → Spread does not change (r ≈ 0)
This constitutes a direct rejection of the project's main hypothesis.
Pair 3 : Surprise_Flag vs Spread (r = −0.146, p = 0.288)
Meaning: There is a slight negative direction (surprise months tend to have lower spread), but the result is entirely lacking in statistical significance.
This means: Even classifying months as "surprise months" still fails to explain the spread in any meaningful way — consistent with the earlier t-test result of p-value = 0.336.