Correlation Analysis
The Hershey Company vs Walmart Inc. Common Stock
HSY vs WMT
-0.375
Light inverse
When one moves up, the other tends to move down.
The Hershey Company
↗HSY
Hershey is a leading US confectionery manufacturer (around a $55 billion market, according to Euromonitor), controlling 35% of the domestic chocolate aisle. Beyond its namesake label, the firm's portfolio has expanded over the last 85 years and now comprises 100 brands, including Reese's, Kit Kat, Kisses, and Ice Breakers. Hershey's products are sold in about 80 countries, albeit with just a high-single-digit percentage of sales coming from markets outside the US, including Brazil, India, and Mexico. The firm has sought inorganic opportunities to extend its reach beyond its core confectionery business, adding Amplify Snack Brands and its Skinny Pop ready-to-eat popcorn to its portfolio, as well as Pirate Brands, Dot's Pretzels, and LesserEvil over the past few years.
Market cap 42.2B · 19,595 employees
Walmart Inc. Common Stock
↗WMT
Since its founding in 1962, Walmart has become the world's largest retailer, operating over 10,700 stores globally (including 4,600 namesake locations on its home turf and another 600 Sam's Club outlets) and growing its e-commerce presence, attracting 270 million customers weekly. In aggregate, the firm posted more than $680 billion in fiscal 2025 sales. Its core operations span three reporting segments: Walmart US (68% of fiscal 2025 sales), Walmart International (18%), and Sam's Club (14%). Within the US, nearly 60% of its $465 billion in fiscal 2025 revenue came from its grocery offerings, with another quarter from general merchandise. Internationally, Walmart's operations are concentrated in Mexico, though it also has budding exposure to India.
Market cap 1T
Time Series
Relative Performance
Who Moves First
HSY leads WMT by 6 days
HSY tends to move before WMT.
After testing 13 timing shifts, the strongest relationship was -0.388 (they moved in opposite directions).
Do They Crash Together?
Correlation by Market Regime
How these series behave when markets are rising, falling, or diverging. A correlation that holds in drawdowns is very different from one that only works in rallies.
Both Rising
+0.766
13 periods · Return correlation when both series rose
Both Falling
+0.165
5 periods · Return correlation when both series fell
Diverging
-0.359
17 periods · Return correlation when series moved apart
R-Squared
14.1%
Share of variance in one series explained by the other.
Trend Agreement
61.3%
How often both series moved in the same direction period-to-period.
Overlap Quality
1,254
Deep shared window — 1,254 usable pairs.
Significance
p < 0.001
95% CI: [-0.422, -0.327]
Scatter
XY Regression
Pipeline
Data quality details
Pipeline
Data quality details
Pipeline Summary
1,254 paired data points survived the daily window.
Raw input
1,254
1,254
Normalized
1,254
1,254
Prepared
1,254
1,254
Aligned
1,254
1,254
Invalid removed
0
A: 0 / B: 0
Duplicates removed
0
A: 0 / B: 0
Alignment drops
0
A: 0 / B: 0
Series A
The Hershey Company
HSY
Market cap 42.2B · 19,595 employees
Stock · 1,254 raw → 1,254 prepared
Series B
Walmart Inc. Common Stock
WMT
Market cap 1T
Stock · 1,254 raw → 1,254 prepared
Sign agreement
100.0%
How often both values share the same sign.
Zero crossings
32
Estimated crossover points between normalized spreads.
Slope
-0.3448
Linear regression slope.
Intercept
135.3018
Linear regression intercept.
Related Extremes
Highest and Lowest Correlated
Saved 6 hours ago · ID: stock-hsy-vs-stock-wmt-daily