You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lectures/rational_expectations.md
+44-33Lines changed: 44 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,18 +39,19 @@ tags: [hide-output]
39
39
40
40
## Overview
41
41
42
-
This lecture introduces the concept of *rational expectations equilibrium*.
42
+
This lecture introduces the concept of a *rational expectations equilibrium*.
43
43
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
45
45
due to Lucas and Prescott {cite}`LucasPrescott1971`.
46
46
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*.
48
48
49
49
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).
50
50
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>`.
52
52
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.
54
55
55
56
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*.
56
57
@@ -82,10 +83,22 @@ from quantecon import LQ
82
83
83
84
This widely used method applies in contexts in which a "representative firm" or agent is a "price taker" operating within a competitive equilibrium.
84
85
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
+
85
98
We want to impose that
86
99
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.
89
102
90
103
The Big $Y$, little $y$ trick accomplishes these two goals by
91
104
@@ -98,9 +111,9 @@ We begin by applying the Big $Y$, little $y$ trick in a very simple static cont
98
111
99
112
#### A Simple Static Example of the Big Y, Little y Trick
100
113
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.
102
115
103
-
Each of these $n$ firms sells output $y$.
116
+
Each of these firms ends up producing and selling output $y (\omega) = y$.
104
117
105
118
The price $p$ of the good lies on an inverse demand curve
106
119
@@ -113,7 +126,9 @@ p = a_0 - a_1 Y
113
126
where
114
127
115
128
* $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$.
117
132
118
133
Each firm has a total cost function
119
134
@@ -149,13 +164,13 @@ The first-order condition for problem {eq}`max_problem_static` is
149
164
a_0 - a_1 Y - c_1 - c_2 y = 0
150
165
```
151
166
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`
153
168
to obtain the following linear equation
154
169
155
170
```{math}
156
171
:label: staticY
157
172
158
-
a_0 - c_1 - (a_1 + n^{-1} c_2) Y = 0
173
+
a_0 - c_1 - (a_1 + c_2) Y = 0
159
174
```
160
175
161
176
to be solved for the competitive equilibrium market-wide output $Y$.
@@ -175,13 +190,13 @@ References for this lecture include
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.
179
194
180
195
The adjustment costs induce the firms to make gradual adjustments, which in turn requires consideration of future prices.
181
196
182
197
Individual firms understand that, via the inverse demand curve, the price is determined by the amounts supplied by other firms.
183
198
184
-
Hence each firm wants to forecast future total industry supplies.
199
+
Hence each firm wants to forecast future total industry output.
185
200
186
201
In our context, a forecast is generated by a belief about the law of motion for the aggregate state.
187
202
@@ -198,7 +213,7 @@ We formulate a rational expectations equilibrium in terms of a fixed point of an
198
213
199
214
To illustrate, consider a collection of $n$ firms producing a homogeneous good that is sold in a competitive market.
200
215
201
-
Each of these $n$ firms sell output $y_t$.
216
+
Each firm sell output $y_t(\omega) = y_t$.
202
217
203
218
The price $p_t$ of the good lies on the inverse demand curve
204
219
@@ -211,7 +226,7 @@ p_t = a_0 - a_1 Y_t
211
226
where
212
227
213
228
* $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
215
230
216
231
(ree_fp)=
217
232
#### The Firm's Problem
@@ -256,11 +271,11 @@ In view of {eq}`ree_comp3d`, the firm's incentive to forecast the market price t
256
271
257
272
Aggregate output depends on the choices of other firms.
258
273
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$.
260
275
261
276
That justifies firms in regarding their forecasts of aggregate output as being unaffected by their own output decisions.
262
277
263
-
#### The Firm's Beliefs
278
+
#### Representative Firm's Beliefs
264
279
265
280
We suppose the firm believes that market-wide output $Y_t$ follows the law of motion
266
281
@@ -301,13 +316,13 @@ where
301
316
```{math}
302
317
:label: ree_opbe
303
318
304
-
h(y, Y) := \argmax_{y'}
319
+
h(y, Y) := \textrm{argmax}_{y'}
305
320
\left\{ a_0 y - a_1 y Y - \frac{ \gamma (y' - y)^2}{2} + \beta v(y', H(Y))\right\}
306
321
```
307
322
308
323
Evidently $v$ and $h$ both depend on $H$.
309
324
310
-
#### A First-Order Characterization
325
+
#### Characterization with First-Order Necessary Conditions
311
326
312
327
In what follows it will be helpful to have a second characterization of $h$, based on first-order conditions.
313
328
@@ -342,7 +357,7 @@ The firm optimally sets an output path that satisfies {eq}`ree_comp7`, taking {
342
357
343
358
This last condition is called the *transversality condition*, and acts as a first-order necessary condition "at infinity".
344
359
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.
346
361
347
362
Note that solving the Bellman equation {eq}`comp4` for $v$ and then $h$ in {eq}`ree_opbe` yields
348
363
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
351
366
352
367
As we've seen, a given belief translates into a particular decision rule $h$.
353
368
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
355
370
356
371
```{math}
357
372
:label: ree_comp9a
358
373
359
-
Y_{t+1} = n h(Y_t/n, Y_t)
374
+
Y_{t+1} = h(Y_t, Y_t)
360
375
```
361
376
362
377
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
367
382
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
368
383
369
384
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
371
386
$Y$.
372
387
373
388
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
Return to equation {eq}`ree_comp7` and set $y_t = Y_t$ for all $t$.
484
498
485
-
(Recall that for this section we've set $n=1$ to simplify the
486
-
calculations)
487
-
488
499
A small amount of algebra will convince you that when $y_t=Y_t$, equations {eq}`comp16` and {eq}`ree_comp7` are identical.
489
500
490
501
Thus, the Euler equation for the planning problem matches the second-order difference equation
491
502
that we derived by
492
503
493
504
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".
495
506
496
507
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.
497
508
@@ -550,7 +561,7 @@ $$
550
561
551
562
Express the solution of the firm's problem in the form {eq}`ree_ex5` and give the values for each $h_j$.
552
563
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.
0 commit comments