Skip to content
JA

CauseDecode / Research

Did consumer staples shares move with SPY?

Daily log returns on the consumer staples ETF XLP and SPY were compared on matching trading dates. Across 1254 aligned daily observations in 2021–2025, Pearson r=0.543 and Spearman rho=0.465.

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 data 

Series A / B are prefilled. A free account includes up to 10 analyses per month.

A · SPYState Street SPDR S&P 500 ETF Trust · Daily log return (decimal ratio)
B · XLPState Street Consumer Staples Select Sector SPDR ETF · Daily log return (decimal ratio)
Analysis frequency · DailyObservations · 1254

Correlation at the same aligned step

Pearson r

+0.543Linear correlation at the same step

Spearman ρ

+0.465Monotonic association by rank
Pearson r for the final 20%
+0.325 – 251 observations
Last observations in the source series (including dates beyond the article period) A · SPY B · XLP

Often called defensive, staples still shared some daily movement with the broader market in this period. 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 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)

If the chart is unavailable, read the stored values in the table. All lag values

Compare using earlier B observations
+0.064Lag -18
Same observation position
+0.543Lag 0
Compare using earlier A observations
+0.055Lag +18

Left and right show the largest absolute correlation on each lag side; coefficients retain their signs.

All lag values
All lag values
LagCCF
-20+0.013
-19-0.010
-18+0.064
-17+0.053
-16+0.002
-15+0.011
-14-0.058
-13+0.014
-12-0.031
-11-0.035
-10+0.008
-9+0.052
-8+0.041
-7-0.026
-6-0.048
-5-0.034
-4+0.021
-3-0.060
-2-0.041
-1-0.054
0+0.543
+1+0.019
+2-0.023
+3+0.013
+4+0.002
+5+0.004
+6-0.009
+7+0.028
+8+0.014
+9+0.007
+10-0.035
+11+0.011
+12-0.031
+13+0.049
+14+0.034
+15-0.046
+16+0.017
+17-0.010
+18+0.055
+19+0.028
+20-0.006

Lag measures the shift in aligned observation steps used for comparison.

Data sources

A · SPY — State Street SPDR S&P 500 ETF Trust
B · XLP — State Street Consumer Staples Select Sector SPDR ETF
Data provided by Twelve Data

2026-11-20T09:20:00Z

Back to Research