CauseDecode / Research
How closely did health care stocks follow the market?
Daily log returns on both ETFs provide the comparison between the health care fund XLV and SPY. Across 1254 aligned daily observations in 2021–2025, Pearson r=0.672 and Spearman rho=0.616.
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.672Linear correlation at the same stepSpearman ρ
+0.616Monotonic association by rank- Pearson r for the final 20%
- +0.539 – 251 observations
The pairing puts health care stocks in broad market context; the correlation describes same-day movement in this window. 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 Health Care 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.066Lag -18
- Same observation position
- +0.672Lag 0
- Compare using earlier A observations
- -0.078Lag +15
Left and right show the largest absolute correlation on each lag side; coefficients retain their signs.
All lag values
| Lag | CCF |
|---|---|
| -20 | +0.044 |
| -19 | -0.012 |
| -18 | +0.066 |
| -17 | +0.028 |
| -16 | -0.039 |
| -15 | -0.019 |
| -14 | -0.002 |
| -13 | -0.002 |
| -12 | -0.029 |
| -11 | +0.011 |
| -10 | +9.82e-05 |
| -9 | +0.038 |
| -8 | +0.029 |
| -7 | -0.029 |
| -6 | -0.019 |
| -5 | -0.013 |
| -4 | -0.016 |
| -3 | -0.051 |
| -2 | -0.005 |
| -1 | -0.045 |
| 0 | +0.672 |
| +1 | +0.016 |
| +2 | -0.007 |
| +3 | -0.062 |
| +4 | -0.012 |
| +5 | +0.002 |
| +6 | -0.029 |
| +7 | -0.034 |
| +8 | -0.030 |
| +9 | +0.008 |
| +10 | +0.016 |
| +11 | +0.015 |
| +12 | -0.038 |
| +13 | +0.011 |
| +14 | +0.020 |
| +15 | -0.078 |
| +16 | +0.051 |
| +17 | +0.000358 |
| +18 | +0.020 |
| +19 | +0.011 |
| +20 | +0.037 |
Lag measures the shift in aligned observation steps used for comparison.
Data sources
- A · SPY — State Street SPDR S&P 500 ETF Trust
- B · XLV — State Street Health Care Select Sector SPDR ETF
- Data provided by Twelve Data
2026-11-20T09:20:00Z