Skip to content

Commit d638cb8

Browse files
Tom's edit or ree lecture
1 parent a6748f4 commit d638cb8

File tree

1 file changed

+44
-33
lines changed

1 file changed

+44
-33
lines changed

lectures/rational_expectations.md

Lines changed: 44 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,19 @@ tags: [hide-output]
3939

4040
## Overview
4141

42-
This lecture introduces the concept of *rational expectations equilibrium*.
42+
This lecture introduces the concept of a *rational expectations equilibrium*.
4343

44-
To illustrate it, we describe a linear quadratic version of a famous and important model
44+
To illustrate it, we describe a linear quadratic version of a model
4545
due to Lucas and Prescott {cite}`LucasPrescott1971`.
4646

47-
This 1971 paper is one of a small number of research articles that kicked off the *rational expectations revolution*.
47+
This 1971 paper is one of a small number of research articles that ignited the *rational expectations revolution*.
4848

4949
We follow Lucas and Prescott by employing a setting that is readily "Bellmanized" (i.e., capable of being formulated in terms of dynamic programming problems).
5050

51-
Because we use linear quadratic setups for demand and costs, we can adapt the LQ programming techniques described in {doc}`this lecture <lqcontrol>`.
51+
Because we use linear quadratic setups for demand and costs, we can deploy the LQ programming techniques described in {doc}`this lecture <lqcontrol>`.
5252

53-
We will learn about how a representative agent's problem differs from a planner's, and how a planning problem can be used to compute rational expectations quantities.
53+
We will learn about how a representative agent's problem differs from a planner's, and how a planning problem can be used to compute quantities and prices in a rational expectations
54+
equilibrium.
5455

5556
We will also learn about how a rational expectations equilibrium can be characterized as a [fixed point](https://en.wikipedia.org/wiki/Fixed_point_%28mathematics%29) of a mapping from a *perceived law of motion* to an *actual law of motion*.
5657

@@ -82,10 +83,22 @@ from quantecon import LQ
8283

8384
This widely used method applies in contexts in which a "representative firm" or agent is a "price taker" operating within a competitive equilibrium.
8485

86+
The following setting justifies the concept of a representative firm.
87+
88+
There is a uniform unit measure of identical firms named $\omega \in \Omega = [0,1]$.
89+
90+
The output of firm $\omega$ is $y(\omega)$.
91+
92+
The output of all firms is $Y = \int_{0}^1 y(\omega) d \, \omega $.
93+
94+
All firms end up choosing to produce the same output, so that at the end of the day $ y(\omega) = y $ and $Y =y = \int_{0}^1 y(\omega) d \, \omega $.
95+
96+
This setting allows us to speak of a ``representative firm'' that chooses to produce $y$.
97+
8598
We want to impose that
8699

87-
* The representative firm or individual takes *aggregate* $Y$ as given when it chooses individual $y$, but $\ldots$.
88-
* At the end of the day, $Y = y$, so that the representative firm is indeed representative.
100+
* The representative firm or individual firm takes *aggregate* $Y$ as given when it chooses individual $y(\omega)$, but $\ldots$.
101+
* At the end of the day, $Y = y(\omega) = y$, so that the representative firm is indeed representative.
89102

90103
The Big $Y$, little $y$ trick accomplishes these two goals by
91104

@@ -98,9 +111,9 @@ We begin by applying the Big $Y$, little $y$ trick in a very simple static cont
98111

99112
#### A Simple Static Example of the Big Y, Little y Trick
100113

101-
Consider a static model in which a collection of $n$ firms produce a homogeneous good that is sold in a competitive market.
114+
Consider a static model in which a unit measure of firms produce a homogeneous good that is sold in a competitive market.
102115

103-
Each of these $n$ firms sells output $y$.
116+
Each of these firms ends up producing and selling output $y (\omega) = y$.
104117

105118
The price $p$ of the good lies on an inverse demand curve
106119

@@ -113,7 +126,9 @@ p = a_0 - a_1 Y
113126
where
114127

115128
* $a_i > 0$ for $i = 0, 1$
116-
* $Y = n y$ is the market-wide level of output
129+
* $Y = \int_0^1 y(\omega) d \omega$ is the market-wide level of output
130+
131+
For convenience, we'll often just write $y$ instead of $y(\omega)$ when we are describing the choice problem of an individual firm $\omega \in \Omega$.
117132

118133
Each firm has a total cost function
119134

@@ -149,13 +164,13 @@ The first-order condition for problem {eq}`max_problem_static` is
149164
a_0 - a_1 Y - c_1 - c_2 y = 0
150165
```
151166

152-
At this point, *but not before*, we substitute $Y = ny$ into {eq}`BigYsimpleFONC`
167+
At this point, *but not before*, we substitute $Y = y$ into {eq}`BigYsimpleFONC`
153168
to obtain the following linear equation
154169

155170
```{math}
156171
:label: staticY
157172
158-
a_0 - c_1 - (a_1 + n^{-1} c_2) Y = 0
173+
a_0 - c_1 - (a_1 + c_2) Y = 0
159174
```
160175

161176
to be solved for the competitive equilibrium market-wide output $Y$.
@@ -175,13 +190,13 @@ References for this lecture include
175190
```{index} single: Rational Expectations Equilibrium; Definition
176191
```
177192

178-
Our first illustration of a rational expectations equilibrium involves a market with $n$ firms, each of which seeks to maximize the discounted present value of profits in the face of adjustment costs.
193+
Our first illustration of a rational expectations equilibrium involves a market with a unit measure of identical firms, each of which seeks to maximize the discounted present value of profits in the face of adjustment costs.
179194

180195
The adjustment costs induce the firms to make gradual adjustments, which in turn requires consideration of future prices.
181196

182197
Individual firms understand that, via the inverse demand curve, the price is determined by the amounts supplied by other firms.
183198

184-
Hence each firm wants to forecast future total industry supplies.
199+
Hence each firm wants to forecast future total industry output.
185200

186201
In our context, a forecast is generated by a belief about the law of motion for the aggregate state.
187202

@@ -198,7 +213,7 @@ We formulate a rational expectations equilibrium in terms of a fixed point of an
198213

199214
To illustrate, consider a collection of $n$ firms producing a homogeneous good that is sold in a competitive market.
200215

201-
Each of these $n$ firms sell output $y_t$.
216+
Each firm sell output $y_t(\omega) = y_t$.
202217

203218
The price $p_t$ of the good lies on the inverse demand curve
204219

@@ -211,7 +226,7 @@ p_t = a_0 - a_1 Y_t
211226
where
212227

213228
* $a_i > 0$ for $i = 0, 1$
214-
* $Y_t = n y_t$ is the market-wide level of output
229+
* $Y_t = \int_0^1 y_t(\omega) d \omega = y_t$ is the market-wide level of output
215230

216231
(ree_fp)=
217232
#### The Firm's Problem
@@ -256,11 +271,11 @@ In view of {eq}`ree_comp3d`, the firm's incentive to forecast the market price t
256271

257272
Aggregate output depends on the choices of other firms.
258273

259-
We assume that $n$ is such a large number that the output of any single firm has a negligible effect on aggregate output.
274+
The output $y_t(\omega)$ of a single firm $\omega$ has a negligible effect on aggregate output $\int_0^1 y_t(\omega) d \omega$.
260275

261276
That justifies firms in regarding their forecasts of aggregate output as being unaffected by their own output decisions.
262277

263-
#### The Firm's Beliefs
278+
#### Representative Firm's Beliefs
264279

265280
We suppose the firm believes that market-wide output $Y_t$ follows the law of motion
266281

@@ -301,13 +316,13 @@ where
301316
```{math}
302317
:label: ree_opbe
303318
304-
h(y, Y) := \argmax_{y'}
319+
h(y, Y) := \textrm{argmax}_{y'}
305320
\left\{ a_0 y - a_1 y Y - \frac{ \gamma (y' - y)^2}{2} + \beta v(y', H(Y))\right\}
306321
```
307322

308323
Evidently $v$ and $h$ both depend on $H$.
309324

310-
#### A First-Order Characterization
325+
#### Characterization with First-Order Necessary Conditions
311326

312327
In what follows it will be helpful to have a second characterization of $h$, based on first-order conditions.
313328

@@ -342,7 +357,7 @@ The firm optimally sets an output path that satisfies {eq}`ree_comp7`, taking {
342357

343358
This last condition is called the *transversality condition*, and acts as a first-order necessary condition "at infinity".
344359

345-
The firm's decision rule solves the difference equation {eq}`ree_comp7` subject to the given initial condition $y_0$ and the transversality condition.
360+
A representative firm's decision rule solves the difference equation {eq}`ree_comp7` subject to the given initial condition $y_0$ and the transversality condition.
346361

347362
Note that solving the Bellman equation {eq}`comp4` for $v$ and then $h$ in {eq}`ree_opbe` yields
348363
a decision rule that automatically imposes both the Euler equation {eq}`ree_comp7` and the transversality condition.
@@ -351,12 +366,12 @@ a decision rule that automatically imposes both the Euler equation {eq}`ree_comp
351366

352367
As we've seen, a given belief translates into a particular decision rule $h$.
353368

354-
Recalling that $Y_t = ny_t$, the *actual law of motion* for market-wide output is then
369+
Recalling that in equilbrium $Y_t = y_t$, the *actual law of motion* for market-wide output is then
355370

356371
```{math}
357372
:label: ree_comp9a
358373
359-
Y_{t+1} = n h(Y_t/n, Y_t)
374+
Y_{t+1} = h(Y_t, Y_t)
360375
```
361376

362377
Thus, when firms believe that the law of motion for market-wide output is {eq}`ree_hlom`, their optimizing behavior makes the actual law of motion be {eq}`ree_comp9a`.
@@ -367,7 +382,7 @@ Thus, when firms believe that the law of motion for market-wide output is {eq}`r
367382
A *rational expectations equilibrium* or *recursive competitive equilibrium* of the model with adjustment costs is a decision rule $h$ and an aggregate law of motion $H$ such that
368383

369384
1. Given belief $H$, the map $h$ is the firm's optimal policy function.
370-
1. The law of motion $H$ satisfies $H(Y)= nh(Y/n,Y)$ for all
385+
1. The law of motion $H$ satisfies $H(Y)= h(Y,Y)$ for all
371386
$Y$.
372387

373388
Thus, a rational expectations equilibrium equates the perceived and actual laws of motion {eq}`ree_hlom` and {eq}`ree_comp9a`.
@@ -385,7 +400,7 @@ The $H$ component of a rational expectations equilibrium is a fixed point of $\P
385400
```{index} single: Rational Expectations Equilibrium; Computation
386401
```
387402

388-
Now let's consider the problem of computing the rational expectations equilibrium.
403+
Now let's compute a rational expectations equilibrium.
389404

390405
### Failure of Contractivity
391406

@@ -420,7 +435,6 @@ The optimal quantities from the planning problem are rational expectations equil
420435

421436
The rational expectations equilibrium price can be obtained as a shadow price in the planning problem.
422437

423-
For convenience, in this section, we set $n=1$.
424438

425439
We first compute a sum of consumer and producer surplus at time $t$
426440

@@ -441,7 +455,7 @@ $$
441455

442456
subject to an initial condition for $Y_0$.
443457

444-
### Solution of the Planning Problem
458+
### Solution of Planning Problem
445459

446460
Evaluating the integral in {eq}`comp10` yields the quadratic form $a_0
447461
Y_t - a_1 Y_t^2 / 2$.
@@ -478,20 +492,17 @@ equation
478492
\beta a_0 + \gamma Y_t - [\beta a_1 + \gamma (1+ \beta)]Y_{t+1} + \gamma \beta Y_{t+2} =0
479493
```
480494

481-
### The Key Insight
495+
### Key Insight
482496

483497
Return to equation {eq}`ree_comp7` and set $y_t = Y_t$ for all $t$.
484498

485-
(Recall that for this section we've set $n=1$ to simplify the
486-
calculations)
487-
488499
A small amount of algebra will convince you that when $y_t=Y_t$, equations {eq}`comp16` and {eq}`ree_comp7` are identical.
489500

490501
Thus, the Euler equation for the planning problem matches the second-order difference equation
491502
that we derived by
492503

493504
1. finding the Euler equation of the representative firm and
494-
1. substituting into it the expression $Y_t = n y_t$ that "makes the representative firm be representative".
505+
1. substituting into it the expression $Y_t = y_t$ that "makes the representative firm be representative".
495506

496507
If it is appropriate to apply the same terminal conditions for these two difference equations, which it is, then we have verified that a solution of the planning problem is also a rational expectations equilibrium quantity sequence.
497508

@@ -550,7 +561,7 @@ $$
550561

551562
Express the solution of the firm's problem in the form {eq}`ree_ex5` and give the values for each $h_j$.
552563

553-
If there were $n$ identical competitive firms all behaving according to {eq}`ree_ex5`, what would {eq}`ree_ex5` imply for the *actual* law of motion {eq}`ree_hlom` for market supply.
564+
If there were a unit measure of identical competitive firms all behaving according to {eq}`ree_ex5`, what would {eq}`ree_ex5` imply for the *actual* law of motion {eq}`ree_hlom` for market supply.
554565

555566
(ree_ex2)=
556567
### Exercise 2

0 commit comments

Comments
 (0)