Skip to content

Commit 9d384f8

Browse files
Tom's second edit of June 28 of consumption-smoothing lecture
1 parent d31fdd6 commit 9d384f8

File tree

1 file changed

+75
-18
lines changed

1 file changed

+75
-18
lines changed

lectures/cons_smooth.md

Lines changed: 75 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,19 @@ kernelspec:
1717

1818
## Overview
1919

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.
2121

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.
2333

2434
```{code-cell} ipython3
2535
import numpy as np
@@ -29,7 +39,12 @@ from collections import namedtuple
2939

3040
+++ {"user_expressions": []}
3141

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
3348

3449
* $T \geq 2$ be a positive integer that constitutes a time-horizon
3550

@@ -47,18 +62,20 @@ Let
4762

4863
* $a_{T+1} \geq 0$ be a terminal condition on final assets
4964

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$
5166

5267
$$
5368
a_{t+1} = R (a_t+ y_t - c_t), \quad t =0, 1, \ldots T
5469
$$ (eq:a_t)
5570
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.
5774
5875
* start with an exogenous income sequence $y$, an initial financial wealth $a_0$, and
5976
a candidate consumption path $c$.
6077
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
6279
6380
* verify that $a_{T+1}$ satisfies the terminal wealth constraint $a_{T+1} \geq 0$.
6481
@@ -68,6 +85,13 @@ Our model has the following logical flow
6885
6986
Below, we'll describe how to execute these steps using linear algebra -- matrix inversion and multiplication.
7087
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+
7195
7296
We shall eventually evaluate alternative budget feasible consumption paths $c$ using the following **welfare criterion**
7397
@@ -81,6 +105,10 @@ where $g_1 > 0, g_2 > 0$.
81105
82106
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.
83107
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+
84112
Here we use default parameters $R = 1.05$, $g_1 = 1$, $g_2 = 1/2$, and $T = 65$.
85113
86114
We create a namedtuple to store these parameters with default values.
@@ -101,14 +129,20 @@ def creat_cs_model(R=1.05, g1=1, g2=1/2, T=65):
101129
102130
## Friedman-Hall consumption-smoothing model
103131
104-
A key object is what Milton Friedman called "non-human" or "non-financial" wealth at time $0$:
132+
A key object in the model is what Milton Friedman called "human" or "non-financial" wealth at time $0$:
105133
106134
107135
$$
108136
h_0 \equiv \sum_{t=0}^T R^{-t} y_t = \begin{bmatrix} 1 & R^{-1} & \cdots & R^{-T} \end{bmatrix}
109137
\begin{bmatrix} y_0 \cr y_1 \cr \vdots \cr y_T \end{bmatrix}
110138
$$
111139
140+
Human or non-financial wealth is evidently just the present value at time $0$ of the consumer's income stream $y$.
141+
142+
Notice that formally it very much resembles the asset price that we computed in this quantecon lecture {doc}`present values <pv>`.
143+
144+
Indeed, this is why Milton Friedman called it "human capital".
145+
112146
By iterating on equation {eq}`eq:a_t` and imposing the terminal condition
113147
114148
$$
@@ -121,31 +155,33 @@ $$
121155
\sum_{t=0}^T R^{-t} c_t = a_0 + h_0,
122156
$$
123157
124-
which says that the present value of the consumption stream equals the sum of finanical and non-financial wealth.
158+
which says that the present value of the consumption stream equals the sum of finanical and non-financial (or human) wealth.
125159
126-
Robert Hall {cite}`Hall1978` showed that when $\beta R = 1$, a condition Milton Friedman had assumed,
160+
Robert Hall {cite}`Hall1978` showed that when $\beta R = 1$, a condition Milton Friedman had also assumed,
127161
it is "optimal" for a consumer to **smooth consumption** by setting
128162
129163
$$
130164
c_t = c_0 \quad t =0, 1, \ldots, T
131165
$$
132166
167+
(Later we'll present a "variational argument" that shows that this constant path is indeed optimal when $\beta R =1$.)
168+
133169
In this case, we can use the intertemporal budget constraint to write
134170
135171
$$
136-
c_0 = \left(\sum_{t=0}^T R^{-t}\right)^{-1} (a_0 + h_0)
137-
$$
172+
c_t = \left(\sum_{t=0}^T R^{-t}\right)^{-1} (a_0 + h_0), \quad t= 0, 1, \ldots, T.
173+
$$ (eq:conssmoothing)
138174
139-
This is the consumption-smoothing model in a nutshell.
175+
Equation {eq}`eq:conssmoothing` is the consumption-smoothing model in a nutshell.
140176
141177
+++ {"user_expressions": []}
142178
143179
## Permanent income model of consumption
144180
145181
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.
147183
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}$.
149185
150186
### Step 1
151187
@@ -166,7 +202,7 @@ $$
166202
167203
### Step 3
168204
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):
170206
171207
$$
172208
\begin{bmatrix}
@@ -275,14 +311,23 @@ print('Welfare:', welfare(cs_model, c_seq))
275311
276312
### Feasible consumption variations
277313
314+
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+
278323
To explore what types of consumption paths are welfare-improving, we shall create an **admissible consumption path variation sequence** $\{v_t\}_{t=0}^T$
279324
that satisfies
280325
281326
$$
282327
\sum_{t=0}^T R^{-t} v_t = 0
283328
$$
284329
285-
We'll compute a two-parameter class of admissible variations
330+
Here we'll compute a two-parameter class of admissible variations
286331
of the form
287332
288333
$$
@@ -421,7 +466,7 @@ plt.show()
421466
welfare_grad = welfare_vec(ξ1_arr, 1.02)
422467
welfare_grad = np.gradient(welfare_grad)
423468
plt.plot(ξ1_arr, welfare_grad)
424-
plt.ylabel('derivatives of welfare')
469+
plt.ylabel('derivative of welfare')
425470
plt.xlabel(r'$\xi_1$')
426471
plt.show()
427472
```
@@ -441,11 +486,23 @@ plt.show()
441486
welfare_grad = welfare_vec(0.05, ϕ_arr)
442487
welfare_grad = np.gradient(welfare_grad)
443488
plt.plot(ξ1_arr, welfare_grad)
444-
plt.ylabel('derivatives of welfare')
489+
plt.ylabel('derivative of welfare')
445490
plt.xlabel(r'$\phi$')
446491
plt.show()
447492
```
448493
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
504+
remains very active today.
505+
449506
450507
## Difference equations with linear algebra
451508

0 commit comments

Comments
 (0)