10-K Diver Profile picture
Oct 3, 2020 36 tweets 8 min read Read on X
1/

Get a cup of coffee.

In this thread, I'll help you understand the basics of game theory and Nash Equilibria.

This can help you systematically analyze many economics and business situations.
2/

Since this is a magical topic, we'll set this thread in the Harry Potter universe.

Imagine that you're Ollivander, the wand maker.

You source magical raw materials and make wands out of them. You sell these wands to witches and wizards out of a shop located in Diagon Alley.
3/

The wand business is highly seasonal.

95% of your sales happen in the two weeks before Hogwarts reopens each year.

Most witches and wizards buy a wand just before their first year at Hogwarts. And they use that wand their whole lives -- so there's not much repeat business.
4/

And the wand business is a duopoly. There are only 2 major wand makers: (1) you (Ollivander), and (2) your arch rival Gregorovitch.

Every year, the two of you compete fiercely to sell wands to Hogwarts first years. As each student buys exactly 1 wand, it's a zero sum game.
5/

To convince students to buy their wands from you instead of from Gregorovitch, you can run ads in the Daily Prophet -- the newspaper of the wizarding world.

But of course, these ads cost money. So running them will cut into your profits.

And Gregorovitch can run ads too.
6/

Let's say 1,000 first year students enter Hogwarts each year.

If *neither* of you runs ads in the Daily Prophet, these customers will be split 50/50 between the two of you. That is, about 500 students will come to you, and the other 500 will go to Gregorovitch.
7/

What happens if *one* of you runs ads, but the other doesn't?

Well, as you may expect, the one who runs ads will get more customers.

Let's say 900 customers will go to the one who runs ads, and only 100 will go to the one who doesn't.
8/

What if *both* of you run ads?

Well, then, your ads will cancel each other out.

You'll each still get 500 customers -- same as if neither of you had run ads.

But in this case, you'll both be poorer as a result of your ad spending.
9/

Let's say the Daily Prophet charges 5,000 Galleons (the wizard currency) for ads.

Also, let's say both you and Gregorovitch make 25 Galleons on every wand you sell -- not including ad expenses.
10/

Then:

If *neither* one of you runs ads, you each make 12,500 Galleons.

If *one* of you runs ads and the other doesn't, the one who runs ads makes 17,500 Galleons. The one who doesn't makes 2,500 Galleons.

If you *both* run ads, you both make 7,500 Galleons.

Calculations:
11/

Notice how, in this situation, *your* payoff depends on not just your actions, but also on *Gregorovitch's*?

Similarly, *his* payoff depends partly on *your* actions.

Analyzing situations like this -- with cross-dependent payoffs -- is what "game theory" is all about.
12/

Every "game" in game theory has 3 defining characteristics:

1) The "players" who play the game,
2) The "actions" that each player can take, and
3) The "payoffs" that each player gets from the game.
13/

Our game above has just 2 "players": you (Ollivander) and your rival (Gregorovitch).

But generally speaking, games can have any number of players.

For example, if a third wand maker decided to set up shop, we would suddenly have 3 players. And so on.
14/

Each player has a set of "actions" open to them.

From these actions, they have to choose one.

In our example, you have 2 actions to choose from: you can either "place ads" or "not place ads". Gregorovitch also has the same 2 actions open to him.
15/

Once each player has chosen an action, the players all receive "payoffs".

The payoff that each player gets depends not just on their own actions, but also on the actions chosen by the other players.

This is usually captured by a "payoff matrix".

Like so:
16/

As you can see above, the payoff matrix tells you everything there is to know about the game.

It lists the players, the actions open to each player, and the payoffs that each player will get for every possible combination of all the players' actions.
17/

Once we have the payoff matrix, the next step is to analyze it -- to try and figure out how the game will unfold.

This is where "Nash Equilibrium" comes in.

John Nash, who first proposed it and discovered many of its properties, won a Nobel prize for it in 1994.
18/

Let's take our example game again.

Suppose Gregorovitch decides not to run ads. In this case, your payoff is 12,500 if you don't run ads and 17,500 if you run ads (from the first column of the payoff matrix below).

Clearly, your optimal strategy in this case is to run ads.
19/

But what if Gregorovitch does the opposite and runs ads?

In this case, your payoff is 2,500 if you don't run ads and 7,500 if you run ads. Clearly, in this case also, your optimal strategy is to run ads.

So, no matter what Gregorovitch does, *you* should be running ads.
20/

The same reasoning also applies to Gregorovitch.

No matter what *you* do, *he* will be better served by running ads.

So, in this situation, if the two of you are rational, you'll both end up running ads.
21/

Such an outcome -- where your action is the optimal response to his *and* his action is the optimal response to yours -- is called a Nash Equilibrium.

In a Nash Equilibrium, *every* player's chosen action is the optimal response to the actions chosen by the other players.
22/

To put it differently: once the players reach a Nash Equilibrium, *no* player has an incentive to change their chosen action.

Why would they? Their current choice is already optimal.

This is why it's called an "equilibrium". Nobody has an incentive to depart from it.
23/

A Nash Equilibrium can sometimes seem paradoxical.

For instance, you and Gregorovitch both run ads in the Nash Equilibrium. In this outcome, you'll both make 7,500 Galleons.

But if you both decided not to run ads, you'd *both* be better off -- with 12,500 Galleons each.
24/

So, by running ads, you're each leaving 5,000 Galleons on the table.

And yet, the outcome where neither of you runs ads is *not* a Nash Equilibrium. The moment one of you decides not to run ads, the other has all the more incentive to run them.
25/

Some games don't have a Nash Equilibrium.

Other games have more than one.

Our example game is special. It has a single, unique Nash Equilibrium. Such games arise frequently in economics and business strategy.
26/

You can use "game theoretic thinking" to help you work out the dynamics of many competitive situations.

For example, in commodity businesses, the optimal pricing strategy of any one company is almost always to try and undercut the others on price.
27/

Why? Because, in a commodity business, there's no product differentiation. *Only* price matters.

So, even slightly undercutting your competitors can bring you significantly increased unit volumes. This can increase your profits -- provided you keep costs low.
28/

This is why it's so critical to be a low cost producer in such industries. If not, you end up being the one undercut by the others.
29/

By contrast, if a company's products are significantly differentiated in the eyes of consumers (the opposite of a commodity type situation), this can give the company greater pricing power, and hence greater control over its own destiny.
30/

In game theory terms, the payoffs earned by such companies are strongly correlated to their own actions -- rather than the actions of competitors.

If enough wizards believe that your wands are the best, they won't be swayed much by Gregorovitch's ads.
31/

In many ways, game theoretic thinking is a systematic way to model the power of incentives.

The "payoff matrix" clearly captures each agent's incentives -- and the actions they can take to optimize their own self-interest.
32/

As Charlie Munger is fond of saying: Show me the incentives, and I'll show you the outcome.

John Nash might word it slightly differently: Show me the payoff matrix, and I'll show you the Nash Equilibrium.
33/

If you're interested in learning more about the applications of game theory to business and finance, I can recommend the book "Competition Demystified", by Bruce Greenwald and Judd Kahn:

amazon.com/Competition-De…
34/

If you read the book, you'll realize that the "Ollivander vs Gregorovitch" game in this thread is just a thinly disguised version of the famous Prisoner's Dilemma.

The book also describes several other games that naturally arise in business -- such as "entry/preemption".
35/

Game theory and Nash Equilibria can seem like esoteric mathematical subjects.

But their fundamental concepts are simple, elegant, and beautiful.

Such mental models have helped sharpen my thinking about strategic interactions. I hope they're useful to you as well.
36/

If you've reached this point, your strategy is definitely optimal -- and your execution is flawless.

Thanks for reading. 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!

:(