Skip to content

Commit 9d05152

Browse files
Tom's edits of two intermediate lectures Sept 26
1 parent 1bf43db commit 9d05152

File tree

2 files changed

+88
-23
lines changed

2 files changed

+88
-23
lines changed

lectures/multivariate_normal.md

Lines changed: 48 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1735,6 +1735,19 @@ $$
17351735
\end{aligned}
17361736
$$
17371737

1738+
We can express our finding that the probability distribution of
1739+
$x_0$ conditional on $y_0$ is ${\mathcal N}(\tilde x_0, \tilde \Sigma_0)$ by representing $x_0$
1740+
as
1741+
1742+
$$
1743+
x_0 = \tilde x_0 + \zeta_0
1744+
$$ (eq:x0rep2)
1745+
1746+
where $\zeta_0$ is a Gaussian random vector that is orthogonal to $\tilde x_0$ and $y_0$ and that
1747+
has mean vector $0$ and conditional covariance matrix $ E [\zeta_0 \zeta_0' | y_0] = \tilde \Sigma_0$.
1748+
1749+
1750+
17381751
### Step toward dynamics
17391752
17401753
Now suppose that we are in a time series setting and that we have the
@@ -1747,20 +1760,48 @@ $$
17471760
where $A$ is an $n \times n$ matrix and $C$ is an
17481761
$n \times m$ matrix.
17491762
1750-
It follows that the probability distribution of $x_1$ conditional
1751-
on $y_0$ is
1763+
Using equation {eq}`eq:x0rep2`, we can also represent $x_1$ as
17521764
17531765
$$
1754-
x_1 | y_0 \sim {\mathcal N}(A \tilde x_0 , A \tilde \Sigma_0 A' + C C' )
1766+
x_1 = A (\tilde x_0 + \zeta_0) + C w_1
17551767
$$
17561768
1757-
Define
1769+
It follows that
17581770
1771+
$$ E x_1 | y_0 = A \tilde x_0
17591772
$$
1760-
\begin{aligned} \hat x_1 & = A \tilde x_0 \cr
1761-
\Sigma_1 & = A \tilde \Sigma_0 A' + C C'
1762-
\end{aligned}
1773+
1774+
1775+
and that the corresponding conditional covariance matrix $E (x_1 - E x_1| y_0) (x_1 - E x_1| y_0)' \equiv \Sigma_1$ is
1776+
1777+
$$
1778+
\Sigma_1 = A \tilde \Sigma_0 A' + C C'
1779+
$$
1780+
1781+
or
1782+
17631783
$$
1784+
\Sigma_1 = A \Sigma_0 A' - A \Sigma_0 G' (G \Sigma_0 G' + R)^{-1} G \Sigma_0 A'
1785+
$$
1786+
1787+
We can write the mean of $x_1$ conditional on $y_0$ as
1788+
1789+
$$
1790+
\hat x_1 = A \hat x_0 + A \Sigma_0 G' (G \Sigma_0 G' + R)^{-1} (y_0 - G \hat x_0)
1791+
$$
1792+
1793+
or
1794+
1795+
$$
1796+
\hat x_1 = A \hat x_0 + K_0 (y_0 - G \hat x_0)
1797+
$$
1798+
1799+
where
1800+
1801+
$$
1802+
K_0 = A \Sigma_0 G' (G \Sigma_0 G' + R)^{-1}
1803+
$$
1804+
17641805

17651806
### Dynamic version
17661807

lectures/rational_expectations.md

Lines changed: 40 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ This lecture introduces the concept of a *rational expectations equilibrium*.
4444
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 ignited the *rational expectations revolution*.
47+
That 1971 paper is one of a small number of research articles that ignited a *rational expectations revolution*.
4848

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).
49+
We follow Lucas and Prescott by employing a setting that is readily "Bellmanized" (i.e., susceptible to being formulated as a dynamic programming problems.
5050

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

@@ -79,11 +79,11 @@ We'll also use the LQ class from `QuantEcon.py`.
7979
from quantecon import LQ
8080
```
8181

82-
### The Big Y, Little y Trick
82+
### The Big Y, little y Trick
8383

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+
This widely used method applies in contexts in which a **representative firm** or agent is a "price taker" operating within a competitive equilibrium.
8585

86-
The following setting justifies the concept of a representative firm.
86+
The following setting justifies the concept of a representative firm that stands in for a large number of other firms too.
8787

8888
There is a uniform unit measure of identical firms named $\omega \in \Omega = [0,1]$.
8989

@@ -93,7 +93,7 @@ The output of all firms is $Y = \int_{0}^1 y(\omega) d \, \omega $.
9393

9494
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 $.
9595

96-
This setting allows us to speak of a ``representative firm'' that chooses to produce $y$.
96+
This setting allows us to speak of a representative firm that chooses to produce $y$.
9797

9898
We want to impose that
9999

@@ -109,7 +109,7 @@ Please watch for how this strategy is applied as the lecture unfolds.
109109

110110
We begin by applying the Big $Y$, little $y$ trick in a very simple static context.
111111

112-
#### A Simple Static Example of the Big Y, Little y Trick
112+
#### A Simple Static Example of the Big Y, little y Trick
113113

114114
Consider a static model in which a unit measure of firms produce a homogeneous good that is sold in a competitive market.
115115

@@ -177,6 +177,30 @@ to be solved for the competitive equilibrium market-wide output $Y$.
177177

178178
After solving for $Y$, we can compute the competitive equilibrium price $p$ from the inverse demand curve {eq}`ree_comp3d_static`.
179179

180+
### Related Planning Problem
181+
182+
Define **consumer surplus** as the area under the inverse demand curve:
183+
184+
$$
185+
S_c (Y)= \int_0^Y (a_0 - a_1 s) ds = a_o Y - \frac{a_1}{2} Y^2 .
186+
$$
187+
188+
Define the social cost of production as
189+
190+
$$ S_p (Y) = c_1 Y + \frac{c_2}{2} Y^2 $$
191+
192+
Consider the planning problem
193+
194+
$$
195+
\max_{Y} [ S_c(Y) - S_p(Y) ]
196+
$$
197+
198+
The first-order necessary condition for the planning problem is equation {eq}`staticY`.
199+
200+
Thus, a $Y$ that solves {eq}`staticY` is a competitive equilibrium output as well as an output that solves the planning problem.
201+
202+
This type of outcome provides an intellectual justification for liking a competitive equilibrium.
203+
180204
### Further Reading
181205

182206
References for this lecture include
@@ -185,7 +209,7 @@ References for this lecture include
185209
* {cite}`Sargent1987`, chapter XIV
186210
* {cite}`Ljungqvist2012`, chapter 7
187211

188-
## Defining Rational Expectations Equilibrium
212+
## Rational Expectations Equilibrium
189213

190214
```{index} single: Rational Expectations Equilibrium; Definition
191215
```
@@ -391,11 +415,11 @@ Thus, a rational expectations equilibrium equates the perceived and actual laws
391415

392416
As we've seen, the firm's optimum problem induces a mapping $\Phi$ from a perceived law of motion $H$ for market-wide output to an actual law of motion $\Phi(H)$.
393417

394-
The mapping $\Phi$ is the composition of two operations, taking a perceived law of motion into a decision rule via {eq}`comp4`--{eq}`ree_opbe`, and a decision rule into an actual law via {eq}`ree_comp9a`.
418+
The mapping $\Phi$ is the composition of two mappings, the first of which maps a perceived law of motion into a decision rule via {eq}`comp4`--{eq}`ree_opbe`, the second of which maps a decision rule into an actual law via {eq}`ree_comp9a`.
395419

396420
The $H$ component of a rational expectations equilibrium is a fixed point of $\Phi$.
397421

398-
## Computation of an Equilibrium
422+
## Computing an Equilibrium
399423

400424
```{index} single: Rational Expectations Equilibrium; Computation
401425
```
@@ -408,18 +432,18 @@ Readers accustomed to dynamic programming arguments might try to address this pr
408432

409433
Unfortunately, the mapping $\Phi$ is not a contraction.
410434

411-
In particular, there is no guarantee that direct iterations on $\Phi$ converge [^fn_im].
435+
Indeed, there is no guarantee that direct iterations on $\Phi$ converge [^fn_im].
412436

413-
Furthermore, there are examples in which these iterations diverge.
437+
There are examples in which these iterations diverge.
414438

415-
Fortunately, there is another method that works here.
439+
Fortunately, another method works here.
416440

417441
The method exploits a connection between equilibrium and Pareto optimality expressed in
418442
the fundamental theorems of welfare economics (see, e.g, {cite}`MCWG1995`).
419443

420444
Lucas and Prescott {cite}`LucasPrescott1971` used this method to construct a rational expectations equilibrium.
421445

422-
The details follow.
446+
Some details follow.
423447

424448
(ree_pp)=
425449
### A Planning Problem Approach
@@ -431,7 +455,7 @@ Our plan of attack is to match the Euler equations of the market problem with th
431455

432456
As we'll see, this planning problem can be solved by LQ control ({doc}`linear regulator <lqcontrol>`).
433457

434-
The optimal quantities from the planning problem are rational expectations equilibrium quantities.
458+
Optimal quantities from the planning problem are rational expectations equilibrium quantities.
435459

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

@@ -514,7 +538,7 @@ $H$ that the representative firm faces within a rational expectations equilibriu
514538
#### Structure of the Law of Motion
515539

516540
As you are asked to show in the exercises, the fact that the planner's
517-
problem is an LQ problem implies an optimal policy --- and hence aggregate law
541+
problem is an LQ control problem implies an optimal policy --- and hence aggregate law
518542
of motion --- taking the form
519543

520544
```{math}

0 commit comments

Comments
 (0)