CorrlensCorrlens
Correlate

Correlation Analysis

BERKSHIRE HATHAWAY Class B vs MongoDB, Inc. Class A

BRK.B vs MDB

-0.239

Light inverse

When one moves up, the other tends to move down.

BRK.B logo

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

MDB logo

MongoDB, Inc. Class A

MDB

Founded in 2007, MongoDB is a vendor of a document-oriented database that accelerates development processes of new applications. Enterprise customers can choose between the fully managed offering, MongoDB Atlas, or the self-managed version, MongoDB Enterprise Advanced. MongoDB is a popular tool among developers, and its free Community Server has recorded over 500 million downloads since 2009.

Market cap 20.5B · 5,636 employees

Apr 9, 2021 — Apr 7, 2026Daily1,254 data pointsStockStock

Time Series

Relative Performance

Green: BRK.BGray: MDB36 of 1,254 points (sampled)

Who Moves First

BRK.B leads MDB by 6 days

BRK.B tends to move before MDB.

After testing 13 timing shifts, the strongest relationship was -0.245 (they moved in opposite directions).

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.428

13 periods · Return correlation when both series rose

Both Falling

+0.800

8 periods · Return correlation when both series fell

Diverging

-0.613

14 periods · Return correlation when series moved apart

R-Squared

5.7%

Share of variance in one series explained by the other.

Trend Agreement

54.0%

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.290, -0.186]

Scatter

XY Regression

247250300350400450500522.1123200300400500583BERKSHIRE HATHAWAY Class BMongoDB, Inc. Class AData pointsFit (r = -0.239)

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

BRK.B logo

BERKSHIRE HATHAWAY Class B

BRK.B

Market cap 1T

Stock · 1,254 raw → 1,254 prepared

Series B

MDB logo

MongoDB, Inc. Class A

MDB

Market cap 20.5B · 5,636 employees

Stock · 1,254 raw → 1,254 prepared

Sign agreement

100.0%

How often both values share the same sign.

Zero crossings

23

Estimated crossover points between normalized spreads.

Slope

-0.2641

Linear regression slope.

Intercept

415.8029

Linear regression intercept.

Related Extremes

Highest and Lowest Correlated

Saved 6 hours ago · ID: stock-brk-b-vs-stock-mdb-daily