@@ -93,21 +93,21 @@ Let $K_t$ be the stock of physical capital at time $t$.
93
93
Let $\vec{C}$ = $\{ C_0,\dots, C_T\} $ and
94
94
$\vec{K}$ = $\{ K_0,\dots,K_ {T+1}\} $.
95
95
96
- ### Digression: an Aggregation Theory
96
+ ### Digression: Aggregation Theory
97
97
98
98
We use a concept of a representative consumer to be thought of as follows.
99
99
100
- There is a unit mass of identical consumers.
100
+ There is a unit mass of identical consumers indexed by $\omega \in [ 0,1 ] $ .
101
101
102
- For $\omega \in [ 0,1 ] $, consumption of consumer is $c(\omega)$.
102
+ Consumption of consumer $\omega$ is $c(\omega)$.
103
103
104
104
Aggregate consumption is
105
105
106
106
$$
107
107
C = \int_0^1 c(\omega) d \omega
108
108
$$
109
109
110
- Consider the a welfare problem of choosing an allocation $\{ c(\omega)\} $ across consumers to maximize
110
+ Consider a welfare problem that chooses an allocation $\{ c(\omega)\} $ across consumers to maximize
111
111
112
112
$$
113
113
\int_0^1 u(c(\omega)) d \omega
@@ -122,16 +122,16 @@ $$ (eq:feas200)
122
122
Form a Lagrangian $L = \int_0^1 u(c(\omega)) d \omega + \lambda [C - \int_0^1 c(\omega) d \omega ] $.
123
123
124
124
Differentiate under the integral signs with respect to each $\omega$ to obtain the first-order
125
- necessary condtions
125
+ necessary conditions
126
126
127
127
$$
128
128
u'(c(\omega)) = \lambda.
129
129
$$
130
130
131
- This condition implies that $c(\omega)$ equals a constant $c$ that is independent
131
+ These conditions imply that $c(\omega)$ equals a constant $c$ that is independent
132
132
of $\omega$.
133
133
134
- To find $c$, use the feasibility constraint {eq}`eq:feas200` to conclude that
134
+ To find $c$, use feasibility constraint {eq}`eq:feas200` to conclude that
135
135
136
136
$$
137
137
c(\omega) = c = C.
@@ -142,7 +142,7 @@ consumes amount $C$.
142
142
143
143
It appears often in aggregate economics.
144
144
145
- We shall use it in this lecture and in {doc}`Cass-Koopmans Competitive Equilibrium <cass_koopmans_2>`.
145
+ We shall use this aggregation theory here and also in this lecture {doc}`Cass-Koopmans Competitive Equilibrium <cass_koopmans_2>`.
146
146
147
147
148
148
#### An Economy
@@ -153,7 +153,7 @@ $t$ and likes the consumption good at each $t$.
153
153
154
154
The representative household inelastically supplies a single unit of
155
155
labor $N_t$ at each $t$, so that
156
- $N_t =1 \text{ for all } t \in [0,T] $.
156
+ $N_t =1 \text{ for all } t \in \{0, 1, \ldots, T\} $.
157
157
158
158
The representative household has preferences over consumption bundles
159
159
ordered by the utility functional:
@@ -165,7 +165,9 @@ U(\vec{C}) = \sum_{t=0}^{T} \beta^t \frac{C_t^{1-\gamma}}{1-\gamma}
165
165
```
166
166
167
167
where $\beta \in (0,1)$ is a discount factor and $\gamma >0$
168
- governs the curvature of the one-period utility function with larger $\gamma$ implying more curvature.
168
+ governs the curvature of the one-period utility function.
169
+
170
+ Larger $\gamma$'s imply more curvature.
169
171
170
172
Note that
171
173
@@ -200,7 +202,7 @@ A feasible allocation $\vec{C}, \vec{K}$ satisfies
200
202
```{math}
201
203
:label: allocation
202
204
203
- C_t + K_{t+1} \leq F(K_t,N_t) + (1-\delta) K_t, \quad \text{for all } t \in [ 0, T]
205
+ C_t + K_{t+1} \leq F(K_t,N_t) + (1-\delta) K_t \quad \text{for all } t \in \{ 0, 1, \ldots, T\}
204
206
```
205
207
206
208
where $\delta \in (0,1)$ is a depreciation rate of capital.
221
223
\left(F(K_t,1) + (1-\delta) K_t- C_t - K_ {t+1} \right)\right\}
222
224
$$ (eq:Lagrangian201)
223
225
224
- and then pose the following min-max problem:
226
+ and pose the following min-max problem:
225
227
226
228
```{math}
227
229
:label: min-max-prob
@@ -233,9 +235,9 @@ and then pose the following min-max problem:
233
235
maximization with respect to $\vec{C}, \vec{K}$ and
234
236
minimization with respect to $\vec{\mu}$.
235
237
- Our problem satisfies
236
- conditions that assure that required second-order
238
+ conditions that assure that second-order
237
239
conditions are satisfied at an allocation that satisfies the
238
- first-order conditions that we are about to compute.
240
+ first-order necessary conditions that we are about to compute.
239
241
240
242
Before computing first-order conditions, we present some handy formulas.
241
243
@@ -290,9 +292,11 @@ f(K_t) - f'(K_t) K_t
290
292
\end{aligned}
291
293
$$
292
294
295
+ (Here we are using that $N_t = 1$ for all $t$, so that $K_t = \frac{K_t}{N_t}$.)
296
+
293
297
### First-order necessary conditions
294
298
295
- We now compute **first-order necessary conditions** for extremization of the Lagrangian {eq}`eq:Lagrangian201`:
299
+ We now compute **first-order necessary conditions** for extremization of Lagrangian {eq}`eq:Lagrangian201`:
296
300
297
301
```{math}
298
302
:label: constraint1
@@ -319,7 +323,7 @@ K_{T+1}: \qquad -\mu_T \leq 0, \ \leq 0 \text{ if } K_{T+1}=0; \ =0 \text{ if }
319
323
```
320
324
321
325
In computing {eq}`constraint3` we recognize that $K_t$ appears
322
- in both the time $t$ and time $t-1$ feasibility constraints.
326
+ in both the time $t$ and time $t-1$ feasibility constraints {eq}`allocation` .
323
327
324
328
Restrictions {eq}`constraint4` come from differentiating with respect
325
329
to $K_{T+1}$ and applying the following **Karush-Kuhn-Tucker condition** (KKT)
@@ -347,7 +351,7 @@ u'\left(C_{t+1}\right)\left[(1-\delta)+f'\left(K_{t+1}\right)\right]=
347
351
u'\left(C_{t}\right) \quad \text{ for all } t=0,1,\dots, T
348
352
```
349
353
350
- Applying the inverse of the utility function on both sides of the above
354
+ Applying the inverse marginal utility of consumption function on both sides of the above
351
355
equation gives
352
356
353
357
$$
363
367
(1-\delta)] \right)^{1/\gamma} \end{aligned}
364
368
$$
365
369
370
+ This is a non-linear first-order difference equation that an optimal sequence $\vec C$ must satisfy.
371
+
366
372
Below we define a `jitclass` that stores parameters and functions
367
373
that define our economy.
368
374
@@ -454,7 +460,7 @@ We use **shooting** to compute an optimal allocation
454
460
$\vec{C}, \vec{K}$ and an associated Lagrange multiplier sequence
455
461
$\vec{\mu}$.
456
462
457
- The first -order necessary conditions
463
+ First -order necessary conditions
458
464
{eq}`constraint1`, {eq}`constraint2`, and
459
465
{eq}`constraint3` for the planning problem form a system of **difference equations** with
460
466
two boundary conditions:
@@ -476,10 +482,13 @@ If we did, our job would be easy:
476
482
- We could continue in this way to compute the remaining elements of
477
483
$\vec{C}, \vec{K}, \vec{\mu}$.
478
484
479
- But we don't have an initial condition for $\mu_0$, so this
480
- won't work.
485
+ However, we woujld not be assured that the Kuhn-Tucker condition {eq}`kkt` would be satisfied.
486
+
487
+ Furthermore, we don't have an initial condition for $\mu_0$.
488
+
489
+ So this won't work.
481
490
482
- Indeed, part of our task is to compute the optimal value of $\mu_0$.
491
+ Indeed, part of our task is to compute the ** optimal** value of $\mu_0$.
483
492
484
493
To compute $\mu_0$ and the other objects we want, a simple modification of the above procedure will work.
485
494
@@ -490,7 +499,7 @@ algorithm that consists of the following steps:
490
499
491
500
- Guess an initial Lagrange multiplier $\mu_0$.
492
501
- Apply the **simple algorithm** described above.
493
- - Compute $k_ {T+1}$ and check whether it
502
+ - Compute $K_ {T+1}$ and check whether it
494
503
equals zero.
495
504
- If $K_{T+1} =0$, we have solved the problem.
496
505
- If $K_{T+1} > 0$, lower $\mu_0$ and try again.
@@ -499,8 +508,8 @@ algorithm that consists of the following steps:
499
508
The following Python code implements the shooting algorithm for the
500
509
planning problem.
501
510
502
- We actually modify the algorithm slightly by starting with a guess for
503
- $c_0$ instead of $\mu_0$ in the following code.
511
+ (Actually, we modified the preceding algorithm slightly by starting with a guess for
512
+ $c_0$ instead of $\mu_0$ in the following code.)
504
513
505
514
```{code-cell} python3
506
515
@njit
@@ -569,7 +578,7 @@ We make an initial guess for $C_0$ (we can eliminate
569
578
$\mu_0$ because $C_0$ is an exact function of
570
579
$\mu_0$).
571
580
572
- We know that the lowest $C_0$ can ever be is $0$ and the
581
+ We know that the lowest $C_0$ can ever be is $0$ and that the
573
582
largest it can be is initial output $f(K_0)$.
574
583
575
584
Guess $C_0$ and shoot forward to $T+1$.
@@ -670,7 +679,7 @@ to the $\lim_{T \rightarrow + \infty } K_t$, which we'll call steady state capi
670
679
In a steady state $K_{t+1} = K_t=\bar{K}$ for all very
671
680
large $t$.
672
681
673
- Evalauating the feasibility constraint {eq}`allocation` at $\bar K$ gives
682
+ Evalauating feasibility constraint {eq}`allocation` at $\bar K$ gives
674
683
675
684
```{math}
676
685
:label: feasibility-constraint
703
712
\bar{K} = f'^{-1}(\rho+\delta)
704
713
$$
705
714
706
- For the production function {eq}`production-function` this becomes
715
+ For production function {eq}`production-function`, this becomes
707
716
708
717
$$
709
718
\alpha \bar{K}^{\alpha-1} = \rho + \delta
@@ -763,10 +772,10 @@ its steady state value most of the time.
763
772
plot_paths(pp, 0.3, k_ss/3, [250, 150, 50, 25], k_ss=k_ss);
764
773
```
765
774
766
- Different colors in the above graphs are associated with
775
+ In the above graphs, different colors are associated with
767
776
different horizons $T$.
768
777
769
- Notice that as the horizon increases, the planner puts $K_t$
778
+ Notice that as the horizon increases, the planner keeps $K_t$
770
779
closer to the steady state value $\bar K$ for longer.
771
780
772
781
This pattern reflects a **turnpike** property of the steady state.
@@ -859,7 +868,7 @@ Since $K_0<\bar K$, $f'(K_0)>\rho +\delta$.
859
868
The planner chooses a positive saving rate that is higher than the steady state
860
869
saving rate.
861
870
862
- Note, $f''(K)<0$, so as $K$ rises, $f'(K)$ declines.
871
+ Note that $f''(K)<0$, so as $K$ rises, $f'(K)$ declines.
863
872
864
873
The planner slowly lowers the saving rate until reaching a steady
865
874
state in which $f'(K)=\rho +\delta$.
@@ -893,7 +902,7 @@ technology and preference structure as deployed here.
893
902
894
903
In that lecture, we replace the planner of this lecture with Adam Smith's **invisible hand**.
895
904
896
- In place of quantity choices made by the planner, there are market prices that are set by a mechanism outside the model, a so-called invisible hand.
905
+ In place of quantity choices made by the planner, there are market prices that are set by a *deus ex machina* from outside the model, a so-called invisible hand.
897
906
898
907
Equilibrium market prices must reconcile distinct decisions that are made independently
899
908
by a representative household and a representative firm.
0 commit comments