CauseDecode / Research
Did health care and staples shares move in step?
Both coefficients were positive for daily log returns on the health care ETF XLV and the consumer staples ETF XLP. Across 1254 aligned daily observations in 2021–2025, Pearson r=0.646 and Spearman rho=0.605.
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.646Linear correlation at the same stepSpearman ρ
+0.605Monotonic association by rank- Pearson r for the final 20%
- +0.569 – 251 observations
These often defensive sectors shared movement, but correlation alone says nothing about portfolio equivalence. 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 Health Care Select Sector SPDR ETF · Daily log return (decimal ratio)
Y · State Street Consumer Staples 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.074Lag -7
- Same observation position
- +0.646Lag 0
- Compare using earlier A observations
- +0.054Lag +18
Left and right show the largest absolute correlation on each lag side; coefficients retain their signs.
All lag values
| Lag | CCF |
|---|---|
| -20 | +0.019 |
| -19 | +0.014 |
| -18 | +0.014 |
| -17 | +0.036 |
| -16 | +0.036 |
| -15 | -0.014 |
| -14 | -0.044 |
| -13 | +0.019 |
| -12 | -0.050 |
| -11 | -0.056 |
| -10 | +0.013 |
| -9 | +0.047 |
| -8 | +0.042 |
| -7 | -0.074 |
| -6 | -0.047 |
| -5 | +0.005 |
| -4 | +0.013 |
| -3 | -0.043 |
| -2 | -0.028 |
| -1 | -0.046 |
| 0 | +0.646 |
| +1 | -0.020 |
| +2 | -0.031 |
| +3 | +0.023 |
| +4 | -0.031 |
| +5 | -0.010 |
| +6 | -0.013 |
| +7 | -0.006 |
| +8 | +0.033 |
| +9 | +0.039 |
| +10 | -0.024 |
| +11 | +0.011 |
| +12 | +0.009 |
| +13 | +0.039 |
| +14 | +0.008 |
| +15 | +0.016 |
| +16 | -0.005 |
| +17 | +0.016 |
| +18 | +0.054 |
| +19 | +0.003 |
| +20 | -0.011 |
Lag measures the shift in aligned observation steps used for comparison.
Data sources
- A · XLV — State Street Health Care Select Sector SPDR ETF
- B · XLP — State Street Consumer Staples Select Sector SPDR ETF
- Data provided by Twelve Data
2026-11-20T09:20:00Z