Correlation Analysis
Microsoft Corp vs Arthur J. Gallagher & Co.
MSFT vs AJG
+0.816
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

Arthur J. Gallagher & Co.
↗AJG
Founded in 1927 as a one-person agency, Gallagher's primary business is insurance brokerage, with a focus on serving middle-market companies. The company's risk management segment provides third-party claims adjustment to companies that choose to self-insure. Gallagher has about 72,000 employees and generates about a third of its revenue internationally, primarily in Australia, Canada, New Zealand, and the UK.
Market cap 56.3B · 72,000 employees
Time Series
Rebased to 100
Who Moves First
AJG leads MSFT by 6 days
AJG tends to move before MSFT.
Best correlation after shifting: +0.824 (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.236
15 periods · Return correlation when both series rose
Both Falling
+0.724
7 periods · Return correlation when both series fell
Diverging
-0.862
13 periods · Return correlation when series moved apart
R-Squared
66.7%
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,254
Deep shared window — 1,254 usable pairs.
Significance
p < 0.001
95% CI: [0.797, 0.834]
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
Microsoft Corp
MSFT
Market cap 2.8T
Stock · 1,254 raw → 1,254 prepared
Series B

Arthur J. Gallagher & Co.
AJG
Market cap 56.3B · 72,000 employees
Stock · 1,254 raw → 1,254 prepared
Sign agreement
100.0%
How often both values share the same sign.
Zero crossings
37
Estimated crossover points between normalized spreads.
Slope
0.5626
Linear regression slope.
Intercept
23.7214
Linear regression intercept.
Related Extremes
Highest and Lowest Correlated
Saved 3 hours ago · ID: stock-msft-vs-stock-ajg-daily-20260408-g8kelm