CauseDecode / Research
Did energy and materials shares move together?
The comparison aligns daily log returns on the energy ETF XLE and the materials ETF XLB by trading date. Across 1254 aligned daily observations in 2021–2025, Pearson r=0.547 and Spearman rho=0.497.
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.547Linear correlation at the same stepSpearman ρ
+0.497Monotonic association by rank- Pearson r for the final 20%
- +0.623 – 251 observations
Both sectors touch commodity markets, but their return correlation does not make them interchangeable. 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 Energy Select Sector SPDR ETF · Daily log return (decimal ratio)
Y · State Street Materials 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.069Lag -14
- Same observation position
- +0.547Lag 0
- Compare using earlier A observations
- -0.058Lag +19
Left and right show the largest absolute correlation on each lag side; coefficients retain their signs.
All lag values
| Lag | CCF |
|---|---|
| -20 | +0.018 |
| -19 | +0.003 |
| -18 | +0.001 |
| -17 | -3.44e-05 |
| -16 | -0.038 |
| -15 | +0.018 |
| -14 | -0.069 |
| -13 | -0.012 |
| -12 | +0.003 |
| -11 | -0.039 |
| -10 | -0.032 |
| -9 | -0.026 |
| -8 | -0.030 |
| -7 | +0.006 |
| -6 | +0.015 |
| -5 | -0.020 |
| -4 | -0.007 |
| -3 | -0.003 |
| -2 | +0.061 |
| -1 | +0.040 |
| 0 | +0.547 |
| +1 | +0.019 |
| +2 | -0.022 |
| +3 | -0.029 |
| +4 | -0.046 |
| +5 | -0.025 |
| +6 | -0.056 |
| +7 | -0.046 |
| +8 | +0.013 |
| +9 | +7.97e-05 |
| +10 | +0.055 |
| +11 | -0.012 |
| +12 | -0.007 |
| +13 | +0.053 |
| +14 | +0.030 |
| +15 | -0.033 |
| +16 | +0.005 |
| +17 | +0.011 |
| +18 | -0.021 |
| +19 | -0.058 |
| +20 | -0.025 |
Lag measures the shift in aligned observation steps used for comparison.
Data sources
- A · XLE — State Street Energy Select Sector SPDR ETF
- B · XLB — State Street Materials Select Sector SPDR ETF
- Data provided by Twelve Data
2026-11-20T09:20:00Z