Correlation Analysis
Apple Inc. vs Dollar General Corp.
AAPL vs DG
-0.789
Strong inverse
When one moves up, the other tends to move down.
Apple Inc.
↗AAPL
Apple is among the largest companies in the world, with a broad portfolio of hardware and software products targeted at consumers and businesses. Apple's iPhone makes up a majority of the firm sales, and Apple's other products like Mac, iPad, and Watch are designed around the iPhone as the focal point of an expansive software ecosystem. Apple has progressively worked to add new applications, like streaming video, subscription bundles, and augmented reality. The firm designs its own software and semiconductors while working with subcontractors like Foxconn and TSMC to build its products and chips. Slightly less than half of Apple's sales come directly through its flagship stores, with a majority of sales coming indirectly through partnerships and distribution.
Market cap 3.8T
Dollar General Corp.
↗DG
Since its beginning in 1939, Dollar General has grown to become the largest dollar store operator in the United States, with more than 20,000 small-box discount stores across 48 states. The firm generated $40 billion in fiscal 2024 sales. The retailer maintains a heavy concentration of stores in rural and low-income markets underserved by big-box retailers. It's 11,000 stock-keeping units, including 2,000 priced at $1 or less, span consumables (82% of sales), seasonal items (10%), home products (5%), and apparel (3%). More than 20% of sales are derived from private label.
Market cap 27.5B · 194,000 employees
Who Moves First
DG leads AAPL by 6 days
DG tends to move before AAPL.
Best correlation after shifting: -0.792 (13 shifts scanned)
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.356
8 periods · Return correlation when both series rose
Both Falling
-0.132
9 periods · Return correlation when both series fell
Diverging
-0.679
18 periods · Return correlation when series moved apart
R-Squared
62.3%
Share of variance in one series explained by the other.
Trend Agreement
53.5%
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.809, -0.767]
Time Series
Rebased to 100
Scatter
XY Regression
Pipeline
Data quality details
Pipeline
Data quality details
Pipeline Summary
1,254 paired observations 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
Apple Inc.
AAPL
Market cap 3.8T
Stock · 1,254 raw → 1,254 prepared
Series B
Dollar General Corp.
DG
Market cap 27.5B · 194,000 employees
Stock · 1,254 raw → 1,254 prepared
Sign agreement
100.0%
How often both values share the same sign.
Zero crossings
11
Estimated crossover points between normalized spreads.
Slope
-1.1403
Linear regression slope.
Intercept
379.5472
Linear regression intercept.
Related Extremes
Highest and Lowest Correlated
Saved 3 hours ago · ID: stock-aapl-vs-stock-dg-daily-20260408-c9lf4n