Correlation Analysis
Microsoft Corp vs O'Reilly Automotive, Inc.
MSFT vs ORLY
+0.877
Very strong positive
When one moves up, the other tends to follow.
Microsoft Corp
↗MSFT
Microsoft develops and licenses consumer and enterprise software. It is known for its Windows operating systems and Office productivity suite. The company is organized into three equally sized broad segments: productivity and business processes (legacy Microsoft Office, cloud-based Office 365, Exchange, SharePoint, Skype, LinkedIn, Dynamics), intelligence cloud (infrastructure- and platform-as-a-service offerings Azure, Windows Server OS, SQL Server), and more personal computing (Windows Client, Xbox, Bing search, display advertising, and Surface laptops, tablets, and desktops).
Market cap 2.8T
O'Reilly Automotive, Inc.
↗ORLY
O'Reilly is an aftermarket automotive parts retailer in the United States and Mexico with more than $16 billion in annual sales. The company operates over 6,000 domestic stores and serves both the do-it-yourself (about 50% of sales) and professional (47% of sales) end markets. O'Reilly differentiates itself by providing quality service to its customers throughout the entirety of the vehicle diagnosis and purchasing process. Furthermore, the firm boasts an impressive hub-and-spoke distribution network designed to provide its localized store base with ample aftermarket part availability across a variety of vehicle makes and models.
Market cap 77.1B · 92,923 employees
Time Series
Relative Performance
Who Moves First
MSFT leads ORLY by 6 days
MSFT tends to move before ORLY.
After testing 13 timing shifts, the strongest relationship was +0.879 (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.245
16 periods · Return correlation when both series rose
Both Falling
+0.713
6 periods · Return correlation when both series fell
Diverging
-0.505
13 periods · Return correlation when series moved apart
R-Squared
76.9%
Share of variance in one series explained by the other.
Trend Agreement
58.1%
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.863, 0.889]
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
Microsoft Corp
MSFT
Market cap 2.8T
Stock · 1,254 raw → 1,254 prepared
Series B
O'Reilly Automotive, Inc.
ORLY
Market cap 77.1B · 92,923 employees
Stock · 1,254 raw → 1,254 prepared
Sign agreement
100.0%
How often both values share the same sign.
Zero crossings
24
Estimated crossover points between normalized spreads.
Slope
0.2116
Linear regression slope.
Intercept
-10.0086
Linear regression intercept.
Related Extremes
Highest and Lowest Correlated
Saved 5 hours ago · ID: stock-msft-vs-stock-orly-daily-20260408-x8738w