CauseDecode / Research
How closely did consumer discretionary stocks move with SPY?
The daily log returns of SPY and the consumer discretionary ETF XLY had a positive Pearson coefficient. Across 1254 aligned daily observations in 2021–2025, Pearson r=0.880 and Spearman rho=0.845.
Period analyzed in this article 2021-01-04 – 2025-12-31
This page uses data through December 31, 2025 or earlier.
Does this relationship still hold in current data?
Check this relationship with current dataSeries A / B are prefilled. A free account includes up to 10 analyses per month.
Correlation at the same aligned step
Pearson r
+0.880Linear correlation at the same stepSpearman ρ
+0.845Monotonic association by rank- Pearson r for the final 20%
- +0.894 – 251 observations
This shows where a cyclical consumer sector overlaps the market, including shared underlying holdings. This same-day pattern describes the period; it does not establish causation or future behavior.
Aligned observations
Scatter plot unavailable. The saved correlations are shown above.
X · State Street SPDR S&P 500 ETF Trust · Daily log return (decimal ratio)
Y · State Street Consumer Discretionary Select Sector SPDR ETF · Daily log return (decimal ratio)
Each point pairs A and B at the same observation step. When shown, the line summarizes the trend across all points.
Correlation by observation lag (CCF)
· Vertical axis
If the chart is unavailable, read the stored values in the table. All lag values
- Compare using earlier B observations
- +0.086Lag -18
- Same observation position
- +0.880Lag 0
- Compare using earlier A observations
- +0.082Lag +18
Left and right show the largest absolute correlation on each lag side; coefficients retain their signs.
All lag values
| Lag | CCF |
|---|---|
| -20 | +0.061 |
| -19 | -0.020 |
| -18 | +0.086 |
| -17 | -0.023 |
| -16 | -0.027 |
| -15 | -0.025 |
| -14 | -0.021 |
| -13 | +0.027 |
| -12 | -0.044 |
| -11 | +0.034 |
| -10 | -0.039 |
| -9 | +0.026 |
| -8 | -0.036 |
| -7 | +0.000397 |
| -6 | -0.018 |
| -5 | +0.003 |
| -4 | -0.022 |
| -3 | -0.038 |
| -2 | -0.018 |
| -1 | -0.017 |
| 0 | +0.880 |
| +1 | -0.024 |
| +2 | +0.026 |
| +3 | -0.050 |
| +4 | -0.027 |
| +5 | -0.007 |
| +6 | +0.009 |
| +7 | -0.013 |
| +8 | -0.007 |
| +9 | +0.079 |
| +10 | -0.013 |
| +11 | +0.036 |
| +12 | -0.029 |
| +13 | +0.018 |
| +14 | -0.023 |
| +15 | -0.041 |
| +16 | -0.029 |
| +17 | -0.029 |
| +18 | +0.082 |
| +19 | -0.030 |
| +20 | +0.068 |
Lag measures the shift in aligned observation steps used for comparison.
Data sources
- A · SPY — State Street SPDR S&P 500 ETF Trust
- B · XLY — State Street Consumer Discretionary Select Sector SPDR ETF
- Data provided by Twelve Data
2026-11-20T09:20:00Z