Skip to content

Commit 81fbfae

Browse files
committed
minor updates
1 parent 82de8c9 commit 81fbfae

File tree

1 file changed

+38
-51
lines changed

1 file changed

+38
-51
lines changed

lectures/gorman_heterogeneous_households.md

Lines changed: 38 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jupytext:
44
extension: .md
55
format_name: myst
66
format_version: 0.13
7-
jupytext_version: 1.17.1
7+
jupytext_version: 1.17.3
88
kernelspec:
99
display_name: Python 3 (ipykernel)
1010
language: python
@@ -25,17 +25,17 @@ 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'
28+
{cite:t}`gorman1953community` described a class of preferences with the useful property that there exists a "representative household"
2929
in the sense that competitive equilibrium allocations can be computed by following a recursive procedure:
3030

31-
* take the heterogeneous preferences of a diverse collection of households and from them synthesize the preferences of a single hypothetical 'representative household'
31+
* take the heterogeneous preferences of a diverse collection of households and from them synthesize the preferences of a single hypothetical "representative household"
3232
* collect the endowments of all households and give them to the representative household
3333
* construct a competitive equilibrium allocation and price system for the representative agent economy
3434
* at the competitive equilibrium price system, compute the wealth -- i.e., the present value -- of each household's initial endowment
3535
* find a consumption plan for each household that maximizes its utility functional subject to the wealth that you computed in the previous step
3636

3737

38-
This procedure allows us to compute the competitive equilibrium price system for our heterogeneous household economy **prior** to computing the
38+
This procedure allows us to compute the competitive equilibrium price system for our heterogeneous household economy *prior* to computing the
3939
competitive equilibrium allocation.
4040

4141
That substantially simplifies calculating a competitive equilibrium.
@@ -118,6 +118,7 @@ We shall provide examples of these steps in economies with two and many househo
118118

119119
Before studying these things in the context of the DLE class, we first introduce Gorman aggregation in a static economy.
120120

121+
(static_gorman)=
121122
### Gorman aggregation in a static economy
122123

123124
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$.
@@ -210,7 +211,7 @@ It follows that $\psi_j$ and $\psi_c$ are homogeneous of degree zero in prices,
210211

211212
The baseline indifference curves are either the highest or lowest indifference curves, corresponding respectively to cases in which the utility indices $u^j$ are restricted to be nonpositive or nonnegative.
212213

213-
As noted by Gorman, when preferences are of this form, there is a well-defined compensated demand function for a fictitious representative consumer obtained by aggregating individual demands:
214+
As noted by Gorman, when preferences are of this form, there is a well-defined compensated demand function for a fictitious representative agent obtained by aggregating individual demands:
214215

215216
$$
216217
c^a = \psi_a(p) + u^a \psi_c(p),
@@ -259,7 +260,7 @@ $$
259260
260261
Notice that the coefficient on $W^j$ is the same for all $j$ since $\psi_c(p)/(p \cdot \psi_c(p))$ is a function only of the price vector $p$.
261262
262-
The individual allocations can be determined from the Engel curves by substituting for $p$ the gradient vector obtained from the representative consumer's optimal allocation problem.
263+
The individual allocations can be determined from the Engel curves by substituting for $p$ the gradient vector obtained from the representative agent's optimal allocation problem.
263264
264265
In the quadratic specifications used in this lecture (and in {cite:t}`HansenSargent2013`), the baseline components are degenerate in the sense that $\psi_j(p) = \chi^j$ is independent of $p$, where $\chi^j$ is a consumer-specific bliss point represented by a vector with the same dimension as $c^j$.
265266
@@ -312,7 +313,7 @@ The exogenous state $z_t$ follows a first-order vector autoregression
312313
313314
$$
314315
z_{t+1} = A_{22} z_t + C_2 w_{t+1},
315-
$$
316+
$$ (eq:exogenous_var)
316317
317318
where $A_{22}$ governs persistence and $C_2$ maps i.i.d. shocks $w_{t+1}$ into the state.
318319
@@ -342,7 +343,7 @@ The economy's resource constraint is
342343
$$
343344
\Phi_c c_t + \Phi_g g_t + \Phi_i i_t = \Gamma k_{t-1} + d_t, \quad
344345
k_t = \Delta_k k_{t-1} + \Theta_k i_t,
345-
$$
346+
$$ (eq:resource_constraint)
346347
347348
and
348349
@@ -351,7 +352,7 @@ h_t = \Delta_h h_{t-1} + \Theta_h c_t, \quad
351352
s_t = \Lambda h_{t-1} + \Pi_h c_t, \quad
352353
b_t = U_b z_t, \quad
353354
d_t = U_d z_t.
354-
$$
355+
$$ (eq:household_service_tech)
355356
356357
Here $h_t$ is the aggregate household service,
357358
$s_t$ is the aggregate service flow derived from household capital,
@@ -363,11 +364,6 @@ In the one-good case used in the limited-markets section, these reduce to scalar
363364
364365
We write $\Pi_h$ for the household service-technology matrix $\Pi$ in {cite:t}`HansenSargent2013`.
365366
366-
Selection matrices such as $S_{(q)}$ map the aggregate state $x_t$ into aggregate quantities such as $q_t = S_{(q)} x_t$
367-
for $q = c, i, k, h, s, g, b, d$.
368-
369-
Shadow-price mappings $M_c, M_k, \ldots$ are used to value streams and recover equilibrium prices.
370-
371367
### The individual household problem
372368
373369
Recall that we operate in an economy with $J$ households indexed by $j = 1, 2, \ldots, J$.
@@ -430,7 +426,7 @@ These restrictions enable Gorman aggregation by ensuring that household demands
430426
431427
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`.
432428
433-
### The aggregate planning problem
429+
### The representative agent problem
434430
435431
We construct aggregates by summing across households:
436432
@@ -443,33 +439,30 @@ $$ (eq:agg_preference_aggregates)
443439
444440
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)$.
445441
446-
The planner maximizes the utility functional of the representative household
442+
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.
443+
444+
This representative problem is an aggregation device: it is chosen to deliver the correct *aggregate* allocation and prices.
445+
446+
The representative agent maximizes
447447
448448
$$
449449
-\frac{1}{2} \mathbb{E}_0 \sum_{t=0}^\infty \beta^t
450450
\left[(s_t - b_t)^\top(s_t - b_t) + g_t^\top g_t\right]
451451
$$ (eq:planner_objective)
452452
453-
where $g_t = \sum_j \ell_{jt}$ is aggregate labor supply, subject to technology constraints
453+
subject to the technology constraints {eq}`eq:resource_constraint` and {eq}`eq:household_service_tech`, and the exogenous state process {eq}`eq:exogenous_var`.
454454
455-
$$
456-
\begin{aligned}
457-
\Phi_c c_t + \Phi_g g_t + \Phi_i i_t &= \Gamma k_{t-1} + d_t, \\
458-
k_t &= \Delta_k k_{t-1} + \Theta_k i_t, \\
459-
h_t &= \Delta_h h_{t-1} + \Theta_h c_t, \\
460-
s_t &= \Lambda h_{t-1} + \Pi_h c_t,
461-
\end{aligned}
462-
$$ (eq:planner_constraints)
455+
The variable $g_t$ is the aggregate intermediate good.
463456
464-
and exogenous processes
457+
With quadratic labor costs and linear budget terms, household $j$'s intratemporal first-order condition implies $\ell_{jt} = \mu^w_{0j} w_{0t}$, where $\mu^w_{0j}$ is household $j$'s time-zero marginal utility of wealth.
465458
466-
$$
467-
z_{t+1} = A_{22} z_t + C_2 w_{t+1}, \quad
468-
b_t = U_b z_t, \quad
469-
d_t = U_d z_t.
470-
$$ (eq:exogenous_process)
459+
Aggregating gives $g_t := \sum_j \ell_{jt} = \mu^w_{0a} w_{0t}$, where $\mu^w_{0a}=\sum_j \mu^w_{0j}$.
471460
472-
Note that the constraints involve lagged stocks $(h_{t-1}, k_{t-1})$ and the current exogenous state $z_t$. These predetermined variables form the planner's state:
461+
Hence, the representative agent is constructed so that its first-order condition delivers the same aggregate relation $g_t=\mu^w_{0a} w_{0t}$.
462+
463+
Note that constraints above involve lagged stocks $(h_{t-1}, k_{t-1})$ and the current exogenous state $z_t$.
464+
465+
These predetermined variables form the planner's state:
473466
474467
$$
475468
x_t = [h_{t-1}^\top, k_{t-1}^\top, z_t^\top]^\top.
@@ -494,7 +487,7 @@ These shadow prices correspond to competitive equilibrium prices.
494487
495488
This section presents Gorman consumption sharing rules.
496489
497-
Our preference specification is an infinite-dimensional generalization of the static Gorman setup described above, where goods are indexed by both dates and states of the world.
490+
Our preference specification is an infinite-dimensional generalization of the static Gorman setup described in {ref}`static_gorman`, where goods are indexed by both dates and states of the world.
498491
499492
Let $\mu_{0j}^w$ denote household $j$'s *time-zero marginal utility of wealth*, the Lagrange multiplier on its intertemporal budget constraint.
500493
@@ -618,13 +611,15 @@ we can append the recursion for $c_t$ from the aggregate problem to obtain a rec
618611
619612
#### Labor allocation rule
620613
621-
The allocation rule for household $j$'s labor (i.e., the "intermediate good" $g_{jt} = \ell_{jt}$) is
614+
Once the aggregate allocation and prices are obtained from the representative problem, individual labor allocations follow from the ratio of individual to aggregate marginal utilities of wealth:
622615
623616
$$
624-
\ell_{jt} = \mu_j \, g_t,
617+
\ell_{jt} = \frac{\mu_{0j}^w}{\mu_{0a}^w} \, g_t \equiv \mu_j \, g_t,
625618
$$ (eq:labor_allocation)
626619
627-
where $g_t = \sum_j \ell_{jt}$ is the aggregate intermediate good.
620+
where $g_t$ is the aggregate intermediate good determined by the representative agent's first-order condition.
621+
622+
This step recovers household labor supplies consistent with the competitive equilibrium.
628623
629624
#### Risk sharing
630625
@@ -1340,7 +1335,7 @@ U_b1 = np.array([[15.0, 0.0, 0.0, 0.0, 0.0]])
13401335
U_b2 = np.array([[15.0, 0.0, 0.0, 0.0, 0.0]])
13411336
U_b = U_b1 + U_b2
13421337
1343-
# HH1: d_1 = 4 + 0.2ε_2 (idiosyncratic);
1338+
# HH1: d_1 = 4 + 0.2ε_1 (idiosyncratic);
13441339
# HH2: d_2 = 3 + d_tilde2 (aggregate AR(2))
13451340
U_d1 = np.array([[4.0, 0.0, 0.0, 0.2, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0]])
13461341
U_d2 = np.array([[3.0, 1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0]])
@@ -1514,7 +1509,7 @@ Here $\varepsilon^{d}_{j,t+1}$ and $\varepsilon^{b}_{j,t+1}$ are mean-zero, unit
15141509
Setting $\rho^{d}_j = 0$ (or $\rho^{b}_j = 0$) recovers i.i.d. shocks.
15151510
15161511
```{code-cell} ipython3
1517-
def build_reverse_engineered_gorman_extended(
1512+
def build_gorman_extended(
15181513
n,
15191514
rho1, rho2, sigma_a,
15201515
alphas, phis, sigmas,
@@ -1696,22 +1691,14 @@ n_absorb = 50
16961691
ρ_idio_min, ρ_idio_max = 0.0, 0.98
16971692
ρ_idio = ρ_idio_min + (ρ_idio_max - ρ_idio_min) * (poorness[n_absorb:] ** 1.0)
16981693
1699-
# Preference shocks (disabled by default)
1694+
# Preference shocks are muted
17001695
b_bar = 5.0
1701-
enable_pref_shocks = False
1702-
pref_shock_scale = 0.5
1703-
pref_shock_persistence = 0.7
1704-
1705-
if enable_pref_shocks:
1706-
γs_pref = pref_shock_scale * np.ones(N)
1707-
ρ_pref = pref_shock_persistence
1708-
else:
1709-
γs_pref = np.zeros(N)
1710-
ρ_pref = 0.0
1696+
γs_pref = np.zeros(N)
1697+
ρ_pref = 0.0
17111698
17121699
t0 = 200
17131700
1714-
A22, C2, Ub, Ud, Ub_list, Ud_list, x0 = build_reverse_engineered_gorman_extended(
1701+
A22, C2, Ub, Ud, Ub_list, Ud_list, x0 = build_gorman_extended(
17151702
n=N,
17161703
rho1=ρ1, rho2=ρ2, sigma_a=σ_a,
17171704
alphas=αs, phis=φs, sigmas=σs,
@@ -1949,7 +1936,7 @@ they are all equivalent.
19491936
19501937
### Redistribution via Pareto weights
19511938
1952-
The sharing rule {eq}`eq:sharing_rule` can be written as $c_{jt} - \chi_{jt} = \mu_j (c_t - \chi_t)$, where $\mu_j$ is household $j$'s wealth share.
1939+
The sharing rule {eq}`eq:sharing_rule` can be written as $c_{jt} - \chi_{jt} = \mu_j (c_t - \chi_t)$, where $\mu_j$ is household $j$'s Gorman weight.
19531940
19541941
Define the Pareto weight $\lambda_j := \mu_j$, with $\sum_{j=1}^J \lambda_j = 1$.
19551942

0 commit comments

Comments
 (0)