@@ -12,27 +12,25 @@ kernelspec:
1212name: python3
1313---
141415-# Competitive equilibrium with one-period Arrow securities
15+# Competitive equilibria with Arrow securities
16161717+++
181819-## Bellmanizing and Computing
19+## Introduction
202021-This lecture implements a Python version of the model presented in section 9.3.3 of RMT5 chapter 9.
22-23-This lecture is a laboratory for experimenting with instances of a competitive equilibrium of a pure exchange economy with
21+This lecture is a laboratory for experimenting with instances of competitive equilibria of an infinite-horizon pure exchange economy with
24222523* Markov endowments
262427-* Complete markets in one period Arrow state-contingent securities
25+* Complete markets in one-period Arrow state-contingent securities
28262927* Discounted expected utility preferences of a kind often specified in macro and finance
30283129* Common expected utility preferences across agents
32303331* Common beliefs across agents
343235-* A CRRA one-period utility function that implies the existence of a representative consumer whose consumption process can be plugged into a formula for the pricing kernel for one-step Arrow securities and thereby determine equilbrium prices before determing an equilibrium distribution of wealth
33+* A constant relative risk aversion (CRRA) one-period utility function that implies the existence of a representative consumer whose consumption process can be plugged into a formula for the pricing kernel for one-step Arrow securities and thereby determine equilbrium prices before determing an equilibrium distribution of wealth
36343735* Diverse endowments across agents that provide motivations for reallocating goods across time and Markov states
3836@@ -44,13 +42,28 @@ We use Bellman equations to describe
44424543* continuation wealths
464447-* state-by-state natural debt limits
45+* state-by-state natural debt limits
46+47+48+In the course of presenting the model we shall describe these important ideas
49+50+* the widespread use a **resolvent operator** in this class of models
51+52+* the necessity of state-by-state **borrowing limits** in infinite horizon economies
53+54+* the absence of any required **borrowing limits** in finite horizon economies
55+56+* a counterpart of the law of iterated expectations known as a **law of iterated values**
57+58+* a notion of **state-variable degeneracy** that prevails within a competitive equilibrium and that explains repeated appearances of resolvent operators
485949605061+++
51625263## The setting
536465+In effect, this lecture implements a Python version of the model presented in section 9.3.3 of Ljungqvist and Sargent {cite}`Ljungqvist2012`.
66+5467### Preferences and endowments
55685669In each period $t\geq 0$, there is a realization of a stochastic
@@ -130,14 +143,18 @@ that consumers share probabilities $\pi_t(s^t)$ for all $t$ and $s^t$.
130143131144132145A **feasible allocation** satisfies
133-$$\sum_i c_t^i(s^t) \leq \sum_i y_t^i(s^t) $$
146+147+$$
148+\sum_i c_t^i(s^t) \leq \sum_i y_t^i(s^t)
149+$$
150+134151for all $t$ and for all $s^t$.
135152136153+++
137154138155### Recursive formulation
139156140-Following descriptions in section 9.3.3 of RMT5 chapter 9, we set up a competitive equilibrium of a pure exchange economy with complete markets in one-period Arrow securities.
157+Following descriptions in section 9.3.3 of Ljungqvist and Sargent {cite}`Ljungqvist2012` chapter 9, we set up a competitive equilibrium of a pure exchange economy with complete markets in one-period Arrow securities.
141158142159When endowments $y^i(s)$ are all functions of a common Markov state $s$,
143160the pricing kernel takes the form $Q(s'|s)$.
@@ -237,7 +254,7 @@ the single budget constraint in arrangement with all trades occurring at tim
237254238255239256240-Starting the system off with $a_0^i =0 \ \forall i$ has a striking implication that we can call **state variable degeneracy**.
257+Starting the system off with $a_0^i =0$ forall $i$ has a striking implication that we can call **state variable degeneracy**.
241258242259243260Thus, although there are two state variables in the value function $v^i(a,s)$, within a recursive competitive equilibrium
@@ -251,9 +268,9 @@ starting from $a_0^i = 0 \ \forall i$ at the starting Markov state $s_0$, two
251268The first finding asserts that each household recurrently visits the zero financial wealth state with which he began life.
252269253270254-The second finding asserts that the exogenous Markov state is all we require to track an individual.
271+The second finding asserts that the exogenous Markov state is all we require to track an individual within a competitive equilibrium.
255272256-Financial wealth turns out to be redundant.
273+Financial wealth turns out to be redundant because it is an exact function of the Markov state for each individual.
257274258275259276This outcome depends critically on there being complete markets in Arrow securities.
@@ -519,7 +536,7 @@ Note that $Q_{ij}$ is independent of vector $\alpha$.
519536520537Thus, we have the
521538522-**Key finding:** We can compute competitive equilibrium prices prior to computing a distribution of wealth.
539+**Key finding:** We can compute competitive equilibrium **prices** prior to computing a **distribution of wealth**.
523540524541+++
525542@@ -630,7 +647,7 @@ y\left(\bar{s}_{n}\right)
630647\end{array}\right]
631648$$
632649633-Note that $\sum_{k=1}^K \psi^k = \boldsymbol{0}_{n \times 1}$.
650+Note that $\sum_{k=1}^K \psi^k = {0}_{n \times 1}$.
634651635652**Remark:** At the initial state $s_0 \in \begin{bmatrix} \bar s_1, \ldots, \bar s_n \end{bmatrix}$
636653the continuation wealth $\psi^k(s_0) = 0$ for all agents $k = 1, \ldots, K$. This indicates that
@@ -655,7 +672,8 @@ $$ a_k(s) = \psi^k(s), \quad s \in \left[\bar s_1, \ldots, \bar s_n \right] $$
655672### Equilibrium wealth distribution $\alpha$
656673657674658-With the initial state being a particular state $s_0 \in \left[\bar{s}_1, \ldots, \bar{s}_n\right]$, we must have
675+With the initial state being a particular state $s_0 \in \left[\bar{s}_1, \ldots, \bar{s}_n\right]$,
676+we must have
659677660678$$
661679\psi^k\left(s_0\right) = 0, \quad k=1, \ldots, K
@@ -1146,7 +1164,8 @@ for i in range(1, 4):
11461164The Python class **RecurCompetitive** provided above also can be used to compute competitive equilibrium
11471165allocations and Arrow securities prices for finite horizon economies.
114811661149-The setting is a finite-horizon version of the one above except that time now runs for $T+1$ periods from $t \in {\bf T} = \{ 0, 1, \ldots, T\}$.
1167+The setting is a finite-horizon version of the one above except that time now runs for $T+1$ periods
1168+$t \in {\bf T} = \{ 0, 1, \ldots, T\}$.
1150116911511170Consequently, we want $T+1$ counterparts to objects described above, with one important exception:
11521171we won't need **borrowing limits** because they aren't required for a finite horizon economy in which a
@@ -1205,7 +1224,7 @@ y\left(\bar{s}_{n}\right)
12051224\end{array}\right]
12061225$$
120712261208-Note that $\sum_{k=1}^K \psi_t^k = \boldsymbol{0}_{n \times 1}$ for all $t \in {\bf T}$.
1227+Note that $\sum_{k=1}^K \psi_t^k = {0}_{n \times 1}$ for all $t \in {\bf T}$.
1209122812101229**Remark:** At the initial state $s_0 \in \begin{bmatrix} \bar s_1, \ldots, \bar s_n \end{bmatrix}$,
12111230 for all agents $k = 1, \ldots, K$, continuation wealth $\psi_0^k(s_0) = 0$. This indicates that