GitHub

@@ -42,7 +42,7 @@ and

4242

```{youtube} eYTGQCGpmXI

4343

```

444445-

Anders Munk-Nielsen put his code on github here <https://github.com/GamEconCph/Lectures-2021/tree/main/Bayesian%20Games>

45+

Anders Munk-Nielsen put his code [on GitHub](https://github.com/GamEconCph/Lectures-2021/tree/main/Bayesian%20Games).

46464747

Much of our Python code below is based on his.

4848

@@ -90,9 +90,9 @@ This means that bidders are in effect participating in a game in which players

90909191

This is a **Bayesian game**, a Nash equilibrium of which is called a **Bayesian Nash equilibrium**.

929293-

To complete the specification of the situation, we'll assume that prospective buyers' valuations are independently and indentically distributed according to a probability distribution that is known by all bidders.

93+

To complete the specification of the situation, we'll assume that prospective buyers' valuations are independently and identically distributed according to a probability distribution that is known by all bidders.

949495-

Bidder optimally chooses to bid less than $v_i$.

95+

Bidder optimally chooses to bid less than $v_i$.

96969797

### Characterization of FPSB Auction

9898

@@ -112,7 +112,7 @@ $$ (eq:optbid2)

112112113113114114115-

A proof for this assertion is available at this Wikepedia page about Vicker auctions (https://en.wikipedia.org/wiki/Vickrey_auction)

115+

A proof for this assertion is available at the [Wikepedia page](https://en.wikipedia.org/wiki/Vickrey_auction) about Vickery auctions

116116117117

+++

118118

@@ -122,13 +122,14 @@ A proof for this assertion is available at this Wikepedia page about Vicker auc

122122123123

**Protocols:** In a second-price sealed-bid (SPSB) auction, the winner pays the second-highest bid.

124124125-

## Characterization of SPSB Auction.

125+

## Characterization of SPSB Auction

126126127127

In a SPSB auction bidders optimally choose to bid their values.

128128129129

Formally, a dominant strategy profile in a SPSB auction with a single, indivisible item has each bidder bidding its value.

130130131-

A proof is provided at this Wikepedia page about Vicker auctions (https://en.wikipedia.org/wiki/Vickrey_auction)

131+

A proof is provided at [the Wikepedia

132+

page](https://en.wikipedia.org/wiki/Vickrey_auction) about Vicker auctions

132133133134

+++

134135

@@ -138,13 +139,13 @@ A proof is provided at this Wikepedia page about Vicker auctions (https://en.wik

138139139140

We assume valuation $v_{i}$ of bidder $i$ is distributed $v_{i} \stackrel{\text{i.i.d.}}{\sim} U(0,1)$.

140141141-

Under this assumption, we can analytically compute probabilitiy distributions of prices bid in both FPSB and SPSB.

142+

Under this assumption, we can analytically compute probability distributions of prices bid in both FPSB and SPSB.

142143143-

We'll simulate outcomes and, by using a law of large numbers verify, that the simulated outcomes agree with analytical ones.

144+

We'll simulate outcomes and, by using a law of large numbers, verify that the simulated outcomes agree with analytical ones.

144145145146

We can use our simulation to illustrate a **Revenue Equivalence Theorem** that asserts that on average first-price and second-price sealed bid auctions provide a seller the same revenue.

146147147-

To read about the revenue equivalence theorem, see this Wikepdia page (https://en.wikipedia.org/wiki/Revenue_equivalence)

148+

To read about the revenue equivalence theorem, see [this Wikepedia page](https://en.wikipedia.org/wiki/Revenue_equivalence)

148149149150

+++

150151

@@ -170,7 +171,7 @@ $$

170171

\end{aligned}

171172

$$

172173173-

and the PDF of $y$ is $\tilde{f}_{n-1}(y) = (n-1)y^{n-2}$.

174+

and the PDF of $y_i$ is $\tilde{f}_{n-1}(y) = (n-1)y^{n-2}$.

174175175176

Then bidder $i$'s optimal bid in a **FPSB** auction is:

176177

@@ -343,7 +344,7 @@ The Revenue Equivalence Theorem lets us an optimal bidding strategy for a FPSB

343344344345

Let $b(v_{i})$ be the optimal bid in a FPSB auction.

345346346-

The revenue equivlance theorem tells us that a bidder agent with value $v_{i}$ on average receives the same **payment** in the two types of auction.

347+

The revenue equivalence theorem tells us that a bidder agent with value $v_{i}$ on average receives the same **payment** in the two types of auction.

347348348349

Consequently,

349350

@@ -359,8 +360,8 @@ It follows that an optimal bidding strategy in a FPSB auction is $b(v_{i}) = \ma

359360360361

+++

361362362-

In equations {eq}`eq:optbid1` and {eq}`eq:optbid1`, we displayed formulas for optimal bids in a symmetric Bayesian Nash Equilibrium of a

363-

a FPSB auction"

363+

In equations {eq}`eq:optbid1` and {eq}`eq:optbid1`, we displayed formulas for

364+

optimal bids in a symmetric Bayesian Nash Equilibrium of a FPSB auction.

364365365366

$$

366367

\mathbf{E}[y_{i} | y_{i} < v_{i}]

Read the original on github.com ↗