You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lectures/cons_smooth.md
+75-18Lines changed: 75 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -17,9 +17,19 @@ kernelspec:
17
17
18
18
## Overview
19
19
20
-
In this lecture, we'll present some useful models of economic dynamics using only linear algebra -- matrix multiplication and matrix inversion.
20
+
Technically, this lecture is a sequel to this quantecon lecture {doc}`present values <pv>`, although it might not seem so at first.
21
21
22
-
{doc}`Present value formulas<pv>` are at the core of the models.
22
+
It will take a while for a "present value" or asset price explicilty to appear in this lecture, but when it does it will be a key actor.
23
+
24
+
In this lecture, we'll study a famous model of the "consumption function" that Milton Friedman {cite}`Friedman1956` and Robert Hall {cite}`Hall1978`) proposed to fit some empirical data patterns that the simple Keynesian model described in this quantecon lecture {doc}`geometric series <geom_series>` had missed.
25
+
26
+
The key insight of Friedman and Hall was that today's consumption ought not to depend just on today's income: it should also depend on a person's anticipations of her **future** incomes at various dates.
27
+
28
+
In this lecture, we'll study what is sometimes called the "consumption-smoothing model" using only linear algebra, in particular matrix multiplication and matrix inversion.
29
+
30
+
Formulas presented in {doc}`present value formulas<pv>` are at the core of the consumption smoothing model because they are used to define a consumer's "human wealth".
31
+
32
+
As usual, we'll start with by importing some Python modules.
23
33
24
34
```{code-cell} ipython3
25
35
import numpy as np
@@ -29,7 +39,12 @@ from collections import namedtuple
29
39
30
40
+++ {"user_expressions": []}
31
41
32
-
Let
42
+
Our model describes the behavior of a consumer who lives from time $t=0, 1, \ldots, T$, receives an income stream $\{y_t\}_{t=0}^T$,
43
+
and chooses a consumption stream $\{c_t\}_{t=0}^T$.
44
+
45
+
The consumer faces a gross interest rate of $R >1$ that is constant over time, at which she is free to borrow or lend, up to some limits that we'll describe below.
46
+
47
+
To set up the model, let
33
48
34
49
* $T \geq 2$ be a positive integer that constitutes a time-horizon
35
50
@@ -47,18 +62,20 @@ Let
47
62
48
63
* $a_{T+1} \geq 0$ be a terminal condition on final assets
49
64
50
-
A sequence of budget constraints constrains the triple of sequences $y, c, a$
65
+
The consumer faces a sequence of budget constraints that constrains the triple of sequences $y, c, a$
51
66
52
67
$$
53
68
a_{t+1} = R (a_t+ y_t - c_t), \quad t =0, 1, \ldots T
54
69
$$ (eq:a_t)
55
70
56
-
Our model has the following logical flow
71
+
Notice that there are $T+1$ such budget constraints, one for each $t=0, 1, \ldots, T$.
72
+
73
+
Our model has the following logical flow.
57
74
58
75
* start with an exogenous income sequence $y$, an initial financial wealth $a_0$, and
59
76
a candidate consumption path $c$.
60
77
61
-
* use equation {eq}`eq:a_t` to compute a path $a$ of financial wealth
78
+
* use the system of equations {eq}`eq:a_t` for $t=0, \ldots, T$ to compute a path $a$ of financial wealth
62
79
63
80
* verify that $a_{T+1}$ satisfies the terminal wealth constraint $a_{T+1} \geq 0$.
64
81
@@ -68,6 +85,13 @@ Our model has the following logical flow
68
85
69
86
Below, we'll describe how to execute these steps using linear algebra -- matrix inversion and multiplication.
70
87
88
+
The above procedure seems like a sensible way to find "budget-feasible" consumption paths $c$, i.e., paths that are consistent
89
+
with the exogenous income stream $y$, the initial financial asset level $a_0$, and the terminal asset level $a_{T+1}$.
90
+
91
+
In general, there will be many budget feasible consumption paths $c$.
92
+
93
+
Among all budget-feasible consumption paths, which one **should** the consumer want to choose?
94
+
71
95
72
96
We shall eventually evaluate alternative budget feasible consumption paths $c$ using the following **welfare criterion**
73
97
@@ -81,6 +105,10 @@ where $g_1 > 0, g_2 > 0$.
81
105
82
106
We shall see that when $\beta R = 1$ (a condition assumed by Milton Friedman {cite}`Friedman1956` and Robert Hall {cite}`Hall1978`), this criterion assigns higher welfare to **smoother** consumption paths.
83
107
108
+
By **smoother** we mean as close as possible to being constant over time.
109
+
110
+
Let's dive in and do some calculations that will help us understand how the model works.
111
+
84
112
Here we use default parameters $R = 1.05$, $g_1 = 1$, $g_2 = 1/2$, and $T = 65$.
85
113
86
114
We create a namedtuple to store these parameters with default values.
This is the consumption-smoothing model in a nutshell.
175
+
Equation {eq}`eq:conssmoothing` is the consumption-smoothing model in a nutshell.
140
176
141
177
+++ {"user_expressions": []}
142
178
143
179
## Permanent income model of consumption
144
180
145
181
As promised, we'll provide step by step instructions on how to use linear algebra, readily implemented
146
-
in Python, to solve the consumption smoothing model.
182
+
in Python, to compute all the objects in play in the consumption-smoothing model.
147
183
148
-
In the calculations below, please we'll set default values of $R > 1$, e.g., $R = 1.05$, and $\beta = R^{-1}$.
184
+
In the calculations below, we'll set default values of $R > 1$, e.g., $R = 1.05$, and $\beta = R^{-1}$.
149
185
150
186
### Step 1
151
187
@@ -166,7 +202,7 @@ $$
166
202
167
203
### Step 3
168
204
169
-
Formulate system
205
+
Formulate the system of difference equations as follows (we'll say more about the mechanics of using linear algebra to solve such difference equations later in the last part of this lecture):
Earlier, we had promised to present an argument that supports our claim that a constant consumption play $c_t = c_0$ for all
315
+
$t$ is optimal.
316
+
317
+
Let's do that now.
318
+
319
+
Although simple and direct, the approach we'll take is actually an example of what is called the "calculus of variations".
320
+
321
+
Let's dive in and see what the key idea is.
322
+
278
323
To explore what types of consumption paths are welfare-improving, we shall create an **admissible consumption path variation sequence** $\{v_t\}_{t=0}^T$
279
324
that satisfies
280
325
281
326
$$
282
327
\sum_{t=0}^T R^{-t} v_t = 0
283
328
$$
284
329
285
-
We'll compute a two-parameter class of admissible variations
330
+
Here we'll compute a two-parameter class of admissible variations
286
331
of the form
287
332
288
333
$$
@@ -421,7 +466,7 @@ plt.show()
421
466
welfare_grad = welfare_vec(ξ1_arr, 1.02)
422
467
welfare_grad = np.gradient(welfare_grad)
423
468
plt.plot(ξ1_arr, welfare_grad)
424
-
plt.ylabel('derivatives of welfare')
469
+
plt.ylabel('derivative of welfare')
425
470
plt.xlabel(r'$\xi_1$')
426
471
plt.show()
427
472
```
@@ -441,11 +486,23 @@ plt.show()
441
486
welfare_grad = welfare_vec(0.05, ϕ_arr)
442
487
welfare_grad = np.gradient(welfare_grad)
443
488
plt.plot(ξ1_arr, welfare_grad)
444
-
plt.ylabel('derivatives of welfare')
489
+
plt.ylabel('derivative of welfare')
445
490
plt.xlabel(r'$\phi$')
446
491
plt.show()
447
492
```
448
493
494
+
## Wrapping up the consumption-smoothing model
495
+
496
+
The consumption-smoothing model of Milton Friedman {cite}`Friedman1956` and Robert Hall {cite}`Hall1978`) is a cornerstone of modern macro
497
+
that has important ramifications about the size of the Keynesian "fiscal policy multiplier" described briefly in
498
+
quantecon lecture {doc}`geometric series <geom_series>`.
499
+
500
+
In particular, Milton Friedman and others showed that it **lowered** the fiscal policy multiplier relative to the one implied by
501
+
the simple Keynesian consumption function presented in {doc}`geometric series <geom_series>`.
502
+
503
+
Friedman and Hall's work opened the door to a lively literature on the aggregate consumption function and implied fiscal multipliers that
0 commit comments