Skip to content

Commit 472b2ac

Browse files
committed
updates
1 parent 81fbfae commit 472b2ac

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

lectures/gorman_heterogeneous_households.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ We make the following imports
7676
import numpy as np
7777
from scipy.linalg import solve_discrete_are
7878
from quantecon import DLE
79-
from quantecon._lqcontrol import LQ
79+
from quantecon import LQ
8080
import matplotlib.pyplot as plt
8181
```
8282

@@ -400,6 +400,7 @@ Here $\mathbb{E}_0$ is expectation conditional on time-zero information $\mathca
400400
The prices are:
401401
- $p_{0t}$: the time-0 Arrow-Debreu price vector for date-$t$ consumption goods (across states), so $p_{0t} \cdot c_{jt}$ is the time-0 value of date-$t$ consumption
402402
- $w_{0t}$: the time-0 value of date-$t$ labor
403+
- $\alpha_{0t}$: the time-0 price vector for date-$t$ endowments (dividends)
403404
- $v_0$: the time-0 value of initial capital
404405
405406
These prices are determined in equilibrium.
@@ -485,7 +486,7 @@ These shadow prices correspond to competitive equilibrium prices.
485486
(sharing_rules)=
486487
### Consumption sharing rules
487488
488-
This section presents Gorman consumption sharing rules.
489+
This section presents the Gorman consumption sharing rules.
489490
490491
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.
491492
@@ -635,7 +636,7 @@ For a fixed Lagrange multiplier $\mu_{0j}^w$ on the household's budget constrain
635636
636637
One could compute individual allocations by iterating to find the multiplier $\mu_{0j}^w$ that satisfies the budget constraint.
637638
638-
But there is a more elegant approach that uses our Gorman allocation rules.
639+
But there is a more elegant approach that uses the Gorman allocation rules.
639640
640641
### Computing household allocations
641642
@@ -908,7 +909,7 @@ def heter(
908909
909910
910911
911-
This section studies the special Section 12.6 {cite:t}`HansenSargent2013` case in which the Arrow-Debreu allocation can be implemented by opening competitive markets only in a mutual fund and a one-period bond.
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.
912913
913914
* So in our setting, we don't literally require that markets in a complete set of contingent claims be present.
914915
@@ -1286,19 +1287,19 @@ $$
12861287
We set $b^i_t = 15$ for $i = 1, 2$, so the aggregate preference shock is $b_t = \sum_i b^i_t = 30$. The endowment processes are
12871288
12881289
$$
1289-
d^1_t = 4 + 0.2\, w^1_t, \qquad
1290+
d^1_t = 4 + 0.2\, \varepsilon^1_t, \qquad
12901291
d^2_t = 3 + \tilde{d}^2_t,
12911292
$$
12921293
1293-
where $w^1_t$ is Gaussian white noise with variance $(0.2)^2$, and $\tilde{d}^2_t$ follows
1294+
where $\varepsilon^1_t$ is standard Gaussian noise (so the idiosyncratic component has standard deviation $0.2$), and $\tilde{d}^2_t$ follows
12941295
12951296
$$
1296-
\tilde{d}^2_t = 1.2\, \tilde{d}^2_{t-1} - 0.22\, \tilde{d}^2_{t-2} + 0.25\, w^2_t,
1297+
\tilde{d}^2_t = 1.2\, \tilde{d}^2_{t-1} - 0.22\, \tilde{d}^2_{t-2} + 0.25\, \varepsilon^2_t,
12971298
$$
12981299
1299-
with $w^2_t$ Gaussian white noise with variance $(0.25)^2$.
1300+
with $\varepsilon^2_t$ also standard Gaussian noise (so the innovation has standard deviation $0.25$).
13001301
1301-
Here $w^1_t$ and $w^2_t$ are components of the exogenous innovation vector driving $z_t$ and should not be confused with the wage-price sequence $w_{0t}$ in the household budget constraint.
1302+
Here $\varepsilon^1_t$ and $\varepsilon^2_t$ are components of the exogenous innovation vector $w_{t+1}$ driving $z_t$ and should not be confused with the wage-price sequence $w_{0t}$ in the household budget constraint.
13021303
13031304
```{code-cell} ipython3
13041305
# Technology: c + i = γ_1 * k_{t-1} + d, with β = 1/(γ_1 + δ_k)
@@ -1850,7 +1851,7 @@ idx_da = n_h + n_k + 1
18501851
T_irf = 50
18511852
shock_size = 1.0
18521853
irf_x, irf_y = compute_irf(A0, C, G, shock_idx=0, T=T_irf, shock_size=shock_size)
1853-
idx_k = 4
1854+
idx_k = 4 # index of capital in stacked observable vector G @ x
18541855
18551856
18561857
da_irf = irf_x[idx_da, :]

0 commit comments

Comments
 (0)