Skip to content

Commit 5d7b202

Browse files
Tom's Dec 27 edits of Gorman lecture
1 parent 472b2ac commit 5d7b202

1 file changed

Lines changed: 54 additions & 47 deletions

File tree

lectures/gorman_heterogeneous_households.md

Lines changed: 54 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ kernelspec:
2525

2626
# Gorman Aggregation
2727

28-
{cite:t}`gorman1953community` described a class of preferences with the useful property that there exists a "representative household"
29-
in the sense that competitive equilibrium allocations can be computed by following a recursive procedure:
28+
## Overview
29+
30+
{cite:t}`gorman1953community` described a class of environments models with preferences having the useful property that there exists a "representative household" in the sense that competitive equilibrium allocations can be computed in the following way:
3031

3132
* take the heterogeneous preferences of a diverse collection of households and from them synthesize the preferences of a single hypothetical "representative household"
3233
* collect the endowments of all households and give them to the representative household
@@ -45,44 +46,30 @@ In general, computing a competitive equilibrium requires solving for the price s
4546
```
4647

4748

48-
49+
Chapter 12 of {cite:t}`HansenSargent2013` described how to adapt the preference specifications of {cite:t}`gorman1953community`
50+
to a linear-quadratic class of environments.
4951

5052

5153
This lecture uses the `quantecon.DLE` class to study economies that satisfy necessary conditions for Gorman
5254
aggregation of preferences.
5355

54-
Chapter 12 of {cite:t}`HansenSargent2013` described how to adapt the preference specifications of {cite:t}`gorman1953community`
55-
to the linear-quadratic class of environments assumed in their book.
56-
57-
The first step in implementing the above recursive algorithm will be to form a representative agent economy and then apply our DLE tools to compute its competitive equilibrium.
58-
59-
Thus, this lecture builds on tools and Python code described in {doc}`hs_recursive_models`, {doc}`growth_in_dles`, and {doc}`irfs_in_hall_model`.
60-
6156

6257

58+
To compute a competitive equilibrium, our first step will be to form a representative agent.
6359

6460

65-
In addition to what's in Anaconda, this lecture uses the `quantecon` library
66-
67-
```{code-cell} ipython3
68-
:tags: [hide-output]
61+
After that, we can use some of our DLE tools to compute competitive equilibrium
6962

70-
!pip install --upgrade quantecon
71-
```
72-
73-
We make the following imports
63+
* prices without knowing the allocation of consumption to individual households
64+
* households' individual wealth levels
65+
* households' consumption levels
66+
*
67+
Thus, this lecture builds on tools and Python code described in {doc}`hs_recursive_models`, {doc}`growth_in_dles`, and {doc}`irfs_in_hall_model`.
7468

75-
```{code-cell} ipython3
76-
import numpy as np
77-
from scipy.linalg import solve_discrete_are
78-
from quantecon import DLE
79-
from quantecon import LQ
80-
import matplotlib.pyplot as plt
81-
```
69+
8270

83-
## Overview
8471

85-
When conditions for Gorman aggregation of preferences are satisfied, we can compute a competitive equilibrium of heterogeneous-household economy in two steps: solve a representative-agent linear-quadratic planning problem for aggregates, then recover household allocations via a sharing-formula that makes each household's consumption a household-specific constant share of aggregate consumption.
72+
In a little more detail, when conditions for Gorman aggregation of preferences are satisfied, we can compute a competitive equilibrium of heterogeneous-household economy in two steps: solve a representative-agent linear-quadratic planning problem for aggregates, then recover household allocations via a sharing-formula that makes each household's consumption a household-specific constant share of aggregate consumption.
8673

8774
* a household's share parameter will depend on the implicit Pareto weight implied by the initial distribution of endowment.
8875

@@ -110,18 +97,39 @@ With the help of this powerful result, we proceed in two steps:
11097
2. Compute household-specific policies and the Gorman sharing rule.
11198

11299

113-
For the special case in Section 12.6 of {cite:t}`HansenSargent2013`, where preference shocks are inactive, we can also
100+
For a special case described in Section 12.6 of {cite:t}`HansenSargent2013`, where preference shocks are inactive, we can also
101+
102+
3. Implement the Arrow-Debreu allocation by allowing households to trade a risk-free one-period bond and a single mutual fund that owns all of the economy's physical capital.
103+
104+
We shall provide examples of these steps in economies with two and then with many households.
114105

115-
3. Implement the Arrow-Debreu allocation using only a mutual fund (aggregate stock) and a one-period bond.
106+
Before studying these things in the context of the DLE class, we'll first introduce Gorman aggregation in a static economy.
116107

117-
We shall provide examples of these steps in economies with two and many households.
118108

119-
Before studying these things in the context of the DLE class, we first introduce Gorman aggregation in a static economy.
109+
110+
In addition to what's in Anaconda, this lecture uses the `quantecon` library
111+
112+
```{code-cell} ipython3
113+
:tags: [hide-output]
114+
115+
!pip install --upgrade quantecon
116+
```
117+
118+
We make the following imports
119+
120+
```{code-cell} ipython3
121+
import numpy as np
122+
from scipy.linalg import solve_discrete_are
123+
from quantecon import DLE
124+
from quantecon import LQ
125+
import matplotlib.pyplot as plt
126+
```
127+
120128

121129
(static_gorman)=
122130
### Gorman aggregation in a static economy
123131

124-
To see where the sharing rule comes from, start with a static economy with $n$ goods, price vector $p$, and households $j = 1, \ldots, J$.
132+
To indicate where our competitive equilibrium sharing rule originates, we start with a static economy with $n$ goods, price vector $p$, and households $j = 1, \ldots, J$.
125133

126134
Let $c^a$ denote the aggregate amount of consumption to be allocated among households.
127135

@@ -425,7 +433,7 @@ All households observe the same aggregate information set $\{\mathcal{J}_t\}$; i
425433
426434
These restrictions enable Gorman aggregation by ensuring that household demands are affine in wealth.
427435
428-
This will allow us to solve for aggregate allocations and prices without knowing the distribution of wealth across households as we shall see in {ref}`sharing_rules`.
436+
This will allow us to solve for aggregate allocations and prices without knowing the distribution of wealth across households, as we shall see in {ref}`sharing_rules`.
429437
430438
### The representative agent problem
431439
@@ -440,11 +448,13 @@ $$ (eq:agg_preference_aggregates)
440448
441449
Aggregates are economy-wide totals: $c_t := \sum_j c_{jt}$, $b_t := \sum_j b_{jt}$, $d_t := \sum_j d_{jt}$, and similarly for $(i_t, k_t, h_t, s_t, g_t)$.
442450
443-
Under the Gorman/LQ restrictions, we can compute equilibrium prices and aggregate quantities by synthesizing a fictitious *representative agent* whose first-order conditions reproduce the competitive equilibrium conditions for aggregates.
451+
Under the Gorman/LQ restrictions, we can compute equilibrium prices and aggregate quantities by synthesizing a fictitious *representative agent* whose first-order conditions generate equations that determine correct equilibrium prices and a correct *aggregate* consumption allocation and aggregate capital process.
452+
453+
* these equations will not be sufficient to determine the allocation of aggregate consumption among individual households.
444454
445-
This representative problem is an aggregation device: it is chosen to deliver the correct *aggregate* allocation and prices.
455+
Posing a social planning problem for a representative problem is thus a device for computing the correct *aggregate* allocation along with correct competitive equilibrium prices.
446456
447-
The representative agent maximizes
457+
The social planner in our representative agent economy maximizes
448458
449459
$$
450460
-\frac{1}{2} \mathbb{E}_0 \sum_{t=0}^\infty \beta^t
@@ -909,7 +919,7 @@ def heter(
909919
910920
911921
912-
This section studies the special case from Section 12.6 of {cite:t}`HansenSargent2013` in which the Arrow-Debreu allocation can be implemented by opening competitive markets only in a mutual fund and a one-period bond.
922+
This section studies a special case from Section 12.6 of {cite:t}`HansenSargent2013` in which the Arrow-Debreu allocation can be implemented by opening competitive markets only in a mutual fund and a one-period bond.
913923
914924
* So in our setting, we don't literally require that markets in a complete set of contingent claims be present.
915925
@@ -995,7 +1005,7 @@ First, write the budget constraint.
9951005
9961006
Household $j$'s time-$t$ resources are its mutual fund dividend $\mu_j d_t$ plus the return on its bond position $R(\mu_j k_{t-1} + \hat{k}_{j,t-1})$.
9971007
998-
Its uses of funds are consumption $c_{jt}$ plus the new bond position $(\mu_j k_t + \hat{k}_{jt})$:
1008+
Its uses of funds are consumption $c_{jt}$ plus the new bond position $(\mu_j k_t + \hat{k}_{jt})$, so
9991009
10001010
$$
10011011
\underbrace{\mu_j d_t}_{\text{mutual fund dividend}} + \underbrace{R(\mu_j k_{t-1} + \hat{k}_{j,t-1})}_{\text{bond return}} = \underbrace{c_{jt}}_{\text{consumption}} + \underbrace{(\mu_j k_t + \hat{k}_{jt})}_{\text{new bonds}}
@@ -1401,7 +1411,7 @@ The next figure plots the limited-markets bond adjustment and confirms that the
14011411
---
14021412
mystnb:
14031413
figure:
1404-
caption: bond adjustment positions
1414+
caption: bond position adjustments
14051415
name: fig-gorman-bond-adjustment
14061416
---
14071417
fig, ax = plt.subplots()
@@ -1755,9 +1765,7 @@ plt.show()
17551765
17561766
### Closed-loop state-space system
17571767
1758-
The DLE framework represents the economy as a linear state-space system.
1759-
1760-
After solving the optimal control problem and substituting the policy rule, we obtain a closed-loop system:
1768+
We can use our DLE tools first to solve the representative-household social planning problem and represent equilibrium quantities as a linear closed-loop state-space system that takes the usual Chapter 5 {cite:t}`HansenSargent2013` form
17611769
17621770
$$
17631771
x_{t+1} = A_0 x_t + C w_{t+1},
@@ -1774,7 +1782,7 @@ z_t
17741782
\end{bmatrix},
17751783
$$
17761784
1777-
with $h_{t-1}$ the household service stock, $k_{t-1}$ the capital stock, and $z_t$ the exogenous state (constant, aggregate endowment states, and idiosyncratic shock states).
1785+
with $h_{t-1}$ the aggregate household service stock, $k_{t-1}$ the aggregate capital stock, and $z_t$ the exogenous state (constant, aggregate endowment states, and idiosyncratic shock states).
17781786
17791787
Any equilibrium quantity is a linear function of the state.
17801788
@@ -1816,7 +1824,7 @@ n_k = np.atleast_2d(econ.thetak).shape[0]
18161824
n_endo = n_h + n_k # endogenous state dimension
18171825
```
18181826
1819-
With the state-space representation, we can compute impulse responses to show how shocks propagate through the economy.
1827+
With the state-space representation, we can compute impulse responses to show how shocks propagate.
18201828
18211829
To trace the impulse response to shock $j$, we set `shock_idx=j` which selects column $j$ of the loading matrix $C$.
18221830
@@ -1927,12 +1935,11 @@ Indeed, the average of individual household endowments tracks the aggregate endo
19271935
19281936
## Redistributing by adjusting Pareto weights
19291937
1930-
This section analyzes Pareto-efficient tax-and-transfer schemes by simply taking competitive equilibrium allocations and then using
1938+
This section analyzes Pareto-efficient tax-and-transfer schemes by starting with competitive equilibrium allocations and using a specific
19311939
a set of nonnegative Pareto weights that sum to one.
19321940
19331941
```{note}
1934-
There are various schemes that would deliver such efficient redistributions, but in terms of what interests us in this example,
1935-
they are all equivalent.
1942+
There are various tax-and-transfer schemes that would deliver such efficient redistributions, but in terms of what interests us in this example, they are all equivalent.
19361943
```
19371944
19381945
### Redistribution via Pareto weights

0 commit comments

Comments
 (0)