Correlation Analysis
Costco Wholesale Corp vs Samsara Inc.
COST vs IOT
+0.858
Very strong positive
When one moves up, the other tends to follow.
Costco Wholesale Corp
↗COST
Founded in 1983, Costco Wholesale now operates a global chain of membership-based warehouse clubs, delivering high-quality goods and services at consistently low prices. As of its most recent fiscal year, Costco operated approximately 910 warehouses, serving more than 80 million members across its three geographic segments: Costco US (approximately 73% of total revenue), Costco Canada (13%), and Costco International (14%).Costco's core value proposition—quality products at unbeatable prices—has yielded consistently strong member renewal rates (93% in the US and Canada and nearly 90% internationally). About 55% of Costco's fiscal 2025 revenue came from its grocery offerings, and another 25% from general merchandise.
Market cap 451.9B
Samsara Inc.
↗IOT
Samsara Inc provides an end-to-end solution for operations. The company's Connected Operations Platform consolidates data from its IoT devices and a growing ecosystem of connected assets and third-party systems, and makes it easy for organizations to access, analyze, and act on data insights using its cloud dashboard, custom alerts and reports, mobile apps, and workflows. The company derives almost all of its revenue from subscription services. Geographically, it derives a majority of its revenue from the United States. The company's customers range from small and medium-sized businesses to state and local governments.
Market cap 18.3B · 4,100 employees
Time Series
Relative Performance
Who Moves First
IOT leads COST by 6 days
IOT tends to move before COST.
After testing 13 timing shifts, the strongest relationship was +0.864 (they moved in the same direction).
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.208
13 periods · Return correlation when both series rose
Both Falling
+0.163
10 periods · Return correlation when both series fell
Diverging
-0.732
12 periods · Return correlation when series moved apart
R-Squared
73.6%
Share of variance in one series explained by the other.
Trend Agreement
60.1%
How often both series moved in the same direction period-to-period.
Overlap Quality
1,080
Deep shared window — 1,080 usable pairs.
Significance
p < 0.001
95% CI: [0.841, 0.873]
Scatter
XY Regression
Pipeline
Data quality details
Pipeline
Data quality details
Pipeline Summary
1,080 paired data points survived the daily window.
Raw input
1,254
1,080
Normalized
1,254
1,080
Prepared
1,254
1,080
Aligned
1,080
1,080
Invalid removed
0
A: 0 / B: 0
Duplicates removed
0
A: 0 / B: 0
Alignment drops
174
A: 174 / B: 0
Series A
Costco Wholesale Corp
COST
Market cap 451.9B
Stock · 1,254 raw → 1,254 prepared
Series B
Samsara Inc.
IOT
Market cap 18.3B · 4,100 employees
Stock · 1,080 raw → 1,080 prepared
Sign agreement
100.0%
How often both values share the same sign.
Zero crossings
15
Estimated crossover points between normalized spreads.
Slope
0.0514
Linear regression slope.
Intercept
-7.6343
Linear regression intercept.
Related Extremes
Highest and Lowest Correlated
Saved 6 hours ago · ID: stock-cost-vs-stock-iot-daily