Correlation Analysis
BERKSHIRE HATHAWAY Class B vs MasTec, Inc.
BRK.B vs MTZ
+0.701
Strong positive
When one moves up, the other tends to follow.
BERKSHIRE HATHAWAY Class B
↗BRK.B
Berkshire Hathaway is a holding company with a wide array of subsidiaries engaged in diverse activities. The firm's core business segment is insurance, run primarily through Geico, Berkshire Hathaway Reinsurance Group, and Berkshire Hathaway Primary Group. Berkshire has used the excess cash thrown off from its operations to acquire Burlington Northern Santa Fe (railroad), Berkshire Hathaway Energy (utilities and energy distributors), and the companies that make up its manufacturing, service, and retailing operations (which include Precision Castparts, Lubrizol, Clayton Homes, Marmon, and IMC/ISCAR). The conglomerate is unique in that it is run on a completely decentralized basis. Berkshire is expected to generate close to $375 billion in revenue in 2025.
Market cap 1T
MasTec, Inc.
↗MTZ
MasTec is a leading infrastructure construction company operating mainly in North America across a range of industries. Its primary activities include engineering, building, installing, maintaining, and upgrading communications, oil and gas, utility, renewable energy, and other infrastructure. MasTec reports its results under five segments: communications; clean energy and infrastructure; pipeline infrastructure; power delivery; and other.
Market cap 26.6B · 36,000 employees
Time Series
Relative Performance
Who Moves First
BRK.B leads MTZ by 6 days
BRK.B tends to move before MTZ.
After testing 13 timing shifts, the strongest relationship was +0.708 (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.401
14 periods · Return correlation when both series rose
Both Falling
+0.583
5 periods · Return correlation when both series fell
Diverging
-0.644
16 periods · Return correlation when series moved apart
R-Squared
49.1%
Share of variance in one series explained by the other.
Trend Agreement
61.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.671, 0.728]
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
BERKSHIRE HATHAWAY Class B
BRK.B
Market cap 1T
Stock · 1,254 raw → 1,254 prepared
Series B
MasTec, Inc.
MTZ
Market cap 26.6B · 36,000 employees
Stock · 1,254 raw → 1,254 prepared
Sign agreement
100.0%
How often both values share the same sign.
Zero crossings
16
Estimated crossover points between normalized spreads.
Slope
0.4405
Linear regression slope.
Intercept
-49.5444
Linear regression intercept.
Related Extremes
Highest and Lowest Correlated
Saved 7 hours ago · ID: stock-brk-b-vs-stock-mtz-daily