10-K Diver Profile picture
Jan 9, 2021 34 tweets 10 min read Read on X
1/

Get a cup of coffee.

Let's talk about the Birthday Paradox.

This is a simple exercise in probability.

But from it, we can learn so much about life.

About strategic problem solving.

About non-linear thinking -- convexity, concavity, S curves, etc.

So let's dive in!
2/

Suppose we came across a "30 under 30" Forbes list.

The list features 30 highly accomplished people.

What are the chances that at least 2 of these 30 share the same birthday?

Same birthday means they were born on the same day (eg, Jan 5). But not necessarily the same year. Image
3/

What if it was a "40 under 40" list?

Or a "50 under 50" list?

Or in general: if we put M people on a list, what are the chances that *some* 2 of them will share the same birthday?
4/

Clearly, this is an exercise in probability.

To solve it, we'll assume 3 things:

1. No Feb 29 birthdays,

2. Each person on our list is *equally likely* to be born on any one of the other 365 days (Jan 1 to Dec 31), and

3. The birthdays are all independent of each other.
5/

Another way to state the problem:

We have M people, and a 365-sided fair die.

Each person is allowed to roll the die once -- and is thereby assigned a number between 1 and 365 (both inclusive).

What are the chances that *some* 2 people will get assigned the same number?
6/

Clearly, as the number of people (M) increases, so does the likelihood that *some* 2 of them will share the same birthday.

For example, suppose we have just 2 people on our list. That is, M=2. There's only a "1 in 365" (~0.27%) chance that they'll share the same birthday.
7/

But suppose we have 366 people (ie, M = 366).

Clearly, they can't *all* have different birthdays. There are only 365 days to go around. (Remember: no Feb 29 birthdays.)

So, there's a 100% chance that *some* 2 of them will share the same birthday.
8/

So, as M goes from 2 to 366, our probability of encountering "birthday buddies" goes from ~0.27% to 100%.

At what point do you think the probability crosses 50%? 75%? 90%? 99%?
9/

When asked questions like this, most people's first reaction is to *think linearly*.

At M = 2, the probability of birthday buddies is ~0%. By the time M = 366, it's 100%.

So the 50% mark should be crossed roughly halfway between 2 and 366, right? Say, at M = 180 or so? Image
10/

The right answer, it turns out, is just M = 23.

We need just 23 people on the list to give us a more than 50% chance of encountering birthday buddies.

That's the Birthday Paradox.

Our intuition, based on *linear thinking*, often misguides us in probabilistic settings.
11/

Charlie Munger's "Invert, Always Invert" mantra comes in handy when analyzing the birthday paradox.

Instead of asking "what's the probability of encountering birthday buddies", it's *much* easier to work out the probability of *not* encountering them.
12/

It's quite simple. If we *don't* want birthday buddies, we have to hope that *all* M people on our list have different birthdays.

This is like rolling a 365-sided die M times, and getting a different number each time.

Here's the number of ways that can happen: Image
13/

And there are 365^M total ways to assign birthdays: Image
14/

Since all these ways are equally likely, we can just divide one by the other to get the probability of *not* seeing birthday buddies: Image
15/

And we just invert this to get the probability of seeing at least one pair of birthday buddies: Image
16/

With this formula, we can plot the probability of seeing birthday buddies vs M.

From the plot, we see that as M increases, birthday buddies *rapidly* become more and more likely.

Linear thinking grossly *underestimates* this rapidity. Image
17/

To give you an idea of this rapidity:

At M = 23, the probability of seeing birthday buddies crosses the 50% mark.

At M = 32, the 75% mark.

At M = 41, the 90% mark.

And at M = 57, the 99% mark.
18/

We also gain insight by looking at the *incremental* contribution of each increase in M.

For example, when M = 10, the probability of birthday buddies is about ~11.69%. At M = 11, it's ~14.11%.

So, the 11'th person's *incremental* contribution is 14.11 - 11.69 = ~2.42%.
19/

Here's a plot of these *incremental* contributions vs M.

This plot is very interesting.

It shows that initially, there's a *law of increasing returns*: each increment to M produces progressively *bigger* increments to birthday buddy likelihood. Image
20/

But then, at around M = 20, this reverses course and becomes a *law of diminishing returns* instead.

Now, each increment to M produces progressively *smaller* increments to birthday buddy likelihood.
21/

In other words, up to M = 20, each person contributes *more* than the previous one.

But starting at M = 21, each person contributes *less*.

The 20'th person contributes more than the 19'th. But the 21'st person contributes less than the 20'th.
22/

This kind of "increasing returns up to a point, followed by diminishing returns after that point", is a common feature we see in many life situations.

It applies to learning new subjects. Building muscle. Returns on invested capital in many businesses.
23/

These situations are characterized by an "S curve".

Every S curve has an *inflection point*. This is where it transitions from increasing to diminishing returns. In our birthday paradox, this is M = 20.

When we see an S curve, it usually pays to think *non-linearly*. Image
24/

Here's a picture to help you think non-linearly.

As the picture shows, the key idea is to think in terms of *incremental* returns: are they increasing (convex), diminishing (concave), constant (linear), or at first increasing but later on diminishing (S curve)? Image
25/

There are at least 5 key lessons we can learn from the birthday paradox.

Key lesson 1: Simplify the problem to its essentials.

For example, we decided to ignore Feb 29 birthdays. This helped us get rid of many messy corner cases -- *without* causing us to lose any insight. Image
26/

Key lesson 2: Don't over-simplify.

Linear thinking is an example of over-simplification in this case. It causes us to dramatically underestimate the likelihood of seeing birthday buddies -- and thereby miss crucial insights.
27/

Key lesson 3: Think probabilistically.

Most outcomes in life are not deterministic. Chance often plays a big role.

So, it's usually a good idea to enumerate the various possible outcomes, work out which ones are desirable and undesirable, the odds of each, etc.
28/

Key lesson 4: Invert, always invert.

In many probabilistic situations, inverting the problem (eg, asking how many ways birthday buddies *cannot* occur) can help us solve it.

As Charlie Munger is fond of saying: I only want to know where I'll die, so I'll never go there.
29/

Key lesson 5: Think non-linearly.

This often means thinking in terms of *incremental* or *marginal* returns.

For this, it's useful to bear in mind mental models like convexity, concavity, S curves, inflection points, etc.
30/

As usual, I'll leave you with some useful references.

I love Shannon's 1952 speech outlining 6 methods for thinking creatively and solving problems strategically. Two of the methods are "simplifying" and "inverting". (h/t @jimmyasoni)

For more:
31/

I also recommend listening to this (~1 hr, 23 min) podcast episode, where @ShaneAParrish and @Scott_E_Page discuss several mental models for both non-linear and probabilistic thinking -- including convexity and concavity, Markov chains, etc. fs.blog/knowledge-proj…
32/

Also, this article by @eugenewei on how to anticipate inflection points in S curves (he calls them invisible asymptotes) is excellent: eugenewei.com/blog/2018/5/21…
33/

Finally, I want to thank my friend @SahilBloom.

It was his 30'th birthday earlier this week (and @aryamanar99's suggestion that I "gift" him a thread) that prompted me to reflect on birthdays and the birthday paradox.

Happy birthday, Sahil!
34/

If you're still with me, kudos to your perseverance!

Forget *non-linear* thinking. Most people can't follow a thread linearly from start to finish. But you're not one of them, and I appreciate it!

Take care. Enjoy your weekend!

/End

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with 10-K Diver

10-K Diver Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @10kdiver

Jan 1, 2023
1/

Get a cup of coffee.

In this thread, I'll walk you through "Gambler's Ruin".

This is a classic exercise in probability theory.

But going beyond the math, this exercise can teach us a lot about life, business, and investing.
2/

In my mind, Gambler's Ruin is the math of "David vs Goliath" ("Skill vs Size") type situations.

Here, David is a "small" player. He only has limited resources. But he's very skilled.

Pitted against David is Goliath -- a "big" player who has MORE resources but LESS skill.
3/

The battle between David and Goliath rages on for several "rounds".

Each round has a "winner" -- either David or Goliath.

David -- because of his superior skill -- has a higher probability of winning any individual round. That's David's advantage over Goliath.
Read 32 tweets
Dec 11, 2022
1/

Get a cup of coffee.

In this thread, we'll explore the question:

As investors, how often should we check stock prices?

To answer this, we'll draw on key ideas and concepts from many different fields -- probability, information theory, psychology, etc.
2/

Imagine we have a stock: ABC, Inc.

Every day that the market is open, our stock either:

- Goes UP 1%, or
- Goes DOWN 1%.

For simplicity, let's say these are the only 2 possible outcomes on any given trading day.
3/

Suppose we think ABC is a "good" investment.

That is, the company has a wide moat, good returns on capital, decent growth prospects, etc. And the stock trades at a reasonable price.

So, we buy the stock -- expecting to make a very good return on it. Say, ~15% per year.
Read 40 tweets
Oct 23, 2022
1/

Get a cup of coffee.

In this thread, I'll walk you through 2 key portfolio diversification principles:

(i) Minimizing correlations, and
(ii) Re-balancing intelligently.

You don't need Markowitz's portfolio theory or the Kelly Criterion to understand these concepts. Image
2/

Imagine we have a stock: ABC Inc. Ticker: $ABC.

The good thing about ABC is: in 4 out of 5 years (ie, with probability 80%), the stock goes UP 30%.

But the *rest* of the time -- ie, with probability 20%, or in 1 out of 5 years -- the stock goes DOWN 50%.
3/

We have no way to predict in advance which years will be good and which will be bad.

So, let's say we just buy and hold ABC stock for a long time -- like 25 years.

The question is: what return are we most likely to get from ABC over these 25 years?
Read 23 tweets
Sep 11, 2022
1/

Get a cup of coffee.

In this thread, I'll walk you through the P/E Ratio.

Why do some companies trade at 5x earnings and others trade at 50x earnings?

When I first started investing, this was hard for me to understand.

So, let me break it down for you.
2/

Imagine we have 2 companies, A and B.

Let's say both companies will earn $1 per share next year.

And both companies will also GROW their earnings at the SAME rate: 10% per year. Every year. Forever.
3/

Suppose A trades at a (forward) P/E Ratio of 10. So, each share of A costs $10.

And B trades at a P/E Ratio of 15. So, each share of B costs $15.

Which is the better long term investment: A or B?
Read 31 tweets
Sep 4, 2022
1/

Get a cup of coffee.

In this thread, I'll walk you through a fundamental business concept that may be counter-intuitive to some of you:

Just because a business has made $1 of PROFIT, it does NOT mean the business's owners have $1 of CASH to pocket.
2/

To understand why, let's start with how PROFIT is defined.

PROFIT = SALES - COSTS

That is, we take all sales (or revenues) the company made during a quarter or year.

We back out all costs incurred during this period.

That leaves us with profits.

Seems straightforward.
3/

Here's the problem:

The way a "lay person" understands words like SALES and COSTS is completely different from the way an *accountant* uses these same words.

These discrepancies can create enormous confusion.
Read 20 tweets
Aug 28, 2022
1/

Get a cup of coffee.

In this thread, I'll walk you through a framework that I call "Lindy vs Turkey".

This is a super-useful set of ideas for investors.

Time and again, these ideas have helped me think more clearly about the LONGEVITY of the companies in my portfolio.
2/

Imagine we're buying shares in a company -- ABC Inc.

ABC is a very simple company. It earns $1 per share every year. These earnings don't grow over time.

And ABC returns all its earnings back to its owners -- by issuing a $1/share dividend at the end of each year.
3/

Suppose we buy ABC shares for $5 a share.

That's a P/E ratio of 5.

We know we get back $1/year as a dividend.

So, for us to NOT lose money, ABC should survive AT LEAST 5 more years.

If something happens and ABC DIES before then, we'll likely lose money.
Read 32 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(