Skip to content

Commit 361f0b9

Browse files
Tom's Aug 17 edits of money_inflation_nonlinear lecture
1 parent 659a09a commit 361f0b9

File tree

2 files changed

+74
-53
lines changed

2 files changed

+74
-53
lines changed
Loading

lectures/money_inflation_nonlinear.md

+74-53
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ That lecture will show that
4545
* it reverses the perverse dynamics by making the *lower* stationary inflation rate the one to which the system typically converges
4646
* a more plausible comparative dynamic outcome emerges in which now inflation can be *reduced* by running *lower* government deficits
4747

48-
## The model
48+
## The Model
4949

5050
Let
5151

@@ -70,56 +70,9 @@ where $g$ is the part of government expenditures financed by printing money.
7070
7171
**Remark:** Please notice that while equation {eq}`eq:mdemand` is linear in logs of the money supply and price level, equation {eq}`eq:msupply` is linear in levels. This will require adapting the equilibrium computation methods that we deployed in {doc}`money_inflation`.
7272
73-
## Computing an equilibrium sequence
7473
75-
We'll deploy a method similar to *Method 2* used in {doc}`money_inflation`.
76-
77-
We'll take the time $t$ state vector to be $m_t, p_t$.
78-
79-
* we'll treat $m_t$ as a ''natural state variable'' and $p_t$ as a ''jump'' variable.
80-
81-
Let
82-
83-
$$
84-
\lambda \equiv \frac{\alpha}{1+ \alpha}
85-
$$
86-
87-
Let's rewrite equation {eq}`eq:mdemand`, respectively, as
88-
89-
$$
90-
p_t = (1-\lambda) m_{t+1} + \lambda p_{t+1}
91-
$$ (eq:mdemand2)
92-
93-
We'll summarize our algorithm with the following pseudo-code.
94-
95-
**Pseudo-code**
96-
97-
* start for $m_0, p_0$ at time $t =0$
98-
99-
* solve {eq}`eq:msupply` for $m_{t+1}$
100-
101-
* solve {eq}`eq:mdemand2` for $p_{t+1} = \lambda^{-1} p_t + (1 - \lambda^{-1}) m_{t+1}$
102-
103-
* compute the inflation rate $\pi_t = p_{t+1} - p_t$ and growth of money supply $\mu_t = m_{t+1} - m_t $
10474
105-
* iterate on $t$ to convergence of $\pi_t \rightarrow \overline \pi$ and $\mu_t \rightarrow \overline \mu$
106-
107-
It will turn out that
108-
109-
* if they exist, limiting values $\overline \pi$ and $\overline \mu$ will be equal
110-
111-
* if limiting values exist, there are two possible limiting values, one high, one low
112-
113-
* for almost all initial log price levels $p_0$, the limiting $\overline \pi = \overline \mu$ is
114-
the higher value
115-
116-
* for each of the two possible limiting values $\overline \pi$ ,there is a unique initial log price level $p_0$ that implies that $\pi_t = \mu_t = \overline \mu$ for all $t \geq 0$
117-
118-
* this unique initial log price level solves $\log(\exp(m_0) + g \exp(p_0)) - p_0 = - \alpha \overline \pi $
119-
120-
* the preceding equation for $p_0$ comes from $m_1 - p_0 = - \alpha \overline \pi$
121-
122-
## Limiting values of inflation rate
75+
## Limiting Values of Inflation Rate
12376
12477
We can compute the two prospective limiting values for $\overline \pi$ by studying the steady-state Laffer curve.
12578
@@ -203,7 +156,7 @@ print(f'The two steady state of π are: {π_l, π_u}')
203156
204157
We find two steady state $\overline \pi$ values.
205158
206-
## Steady state Laffer curve
159+
## Steady State Laffer curve
207160
208161
The following figure plots the steady state Laffer curve together with the two stationary inflation rates.
209162
@@ -247,9 +200,16 @@ def plot_laffer(model, πs):
247200
plot_laffer(model, (π_l, π_u))
248201
```
249202
250-
## Associated initial price levels
203+
## Initial Price Levels
204+
205+
Now that we have our hands on the two possible steady states, we can compute two functions $\underline p(m_0)$ and
206+
$\overline p(m_0)$, which as initial conditions for $p_t$ at time $t$, imply that $\pi_t = \overline \pi $ for all $t \geq 0$.
207+
208+
The function $\underline p(m_0)$ will be associated with $\pi_l$ the lower steady-state inflation rate.
209+
210+
The function $\overline p(m_0)$ will be associated with $\pi_u$ the lower steady-state inflation rate.
211+
251212
252-
Now that we have our hands on the two possible steady states, we can compute two initial log price levels $p_0$, which as initial conditions, imply that $\pi_t = \overline \pi $ for all $t \geq 0$.
253213
254214
```{code-cell} ipython3
255215
def solve_p0(p0, m0, α, g, π):
@@ -312,7 +272,68 @@ eq_g = lambda x: np.exp(-model.α * x) - np.exp(-(1 + model.α) * x)
312272
print('eq_g == g:', np.isclose(eq_g(m_seq[-1] - m_seq[-2]), model.g))
313273
```
314274
315-
## Slippery side of Laffer curve dynamics
275+
## Computing an Equilibrium Sequence
276+
277+
We'll deploy a method similar to *Method 2* used in {doc}`money_inflation`.
278+
279+
We'll take the time $t$ state vector to be the pair $(m_t, p_t)$.
280+
281+
We'll treat $m_t$ as a ``natural state variable`` and $p_t$ as a ``jump`` variable.
282+
283+
Let
284+
285+
$$
286+
\lambda \equiv \frac{\alpha}{1+ \alpha}
287+
$$
288+
289+
Let's rewrite equation {eq}`eq:mdemand` as
290+
291+
$$
292+
p_t = (1-\lambda) m_{t+1} + \lambda p_{t+1}
293+
$$ (eq:mdemand2)
294+
295+
We'll summarize our algorithm with the following pseudo-code.
296+
297+
**Pseudo-code**
298+
299+
The heart of the pseudo-code iterates on the following mapping from state vector $(m_t, p_t)$ at time $t$
300+
to state vector $(m_{t+1}, p_{t+1})$ at time $t+1$.
301+
302+
303+
* starting from a given pair $(m_t, p_t)$ at time $t \geq 0$
304+
305+
* solve {eq}`eq:msupply` for $m_{t+1}$
306+
307+
* solve {eq}`eq:mdemand2` for $p_{t+1} = \lambda^{-1} p_t + (1 - \lambda^{-1}) m_{t+1}$
308+
309+
* compute the inflation rate $\pi_t = p_{t+1} - p_t$ and growth of money supply $\mu_t = m_{t+1} - m_t $
310+
311+
Next, compute the two functions $\underline p(m_0)$ and $\overline p(m_0)$ described above
312+
313+
Now initiate the algorithm as follows.
314+
315+
* set $m_0 >0$
316+
* set a value of $p_0 \in [\underline p(m_0), \overline p(m_0)]$ and form the pair $(m_0, p_0)$ at time $t =0$
317+
318+
Starting from $(m_0, p_0)$ iterate on $t$ to convergence of $\pi_t \rightarrow \overline \pi$ and $\mu_t \rightarrow \overline \mu$
319+
320+
It will turn out that
321+
322+
* if they exist, limiting values $\overline \pi$ and $\overline \mu$ will be equal
323+
324+
* if limiting values exist, there are two possible limiting values, one high, one low
325+
326+
* for almost all initial log price levels $p_0$, the limiting $\overline \pi = \overline \mu$ is
327+
the higher value
328+
329+
* for each of the two possible limiting values $\overline \pi$ ,there is a unique initial log price level $p_0$ that implies that $\pi_t = \mu_t = \overline \mu$ for all $t \geq 0$
330+
331+
* this unique initial log price level solves $\log(\exp(m_0) + g \exp(p_0)) - p_0 = - \alpha \overline \pi $
332+
333+
* the preceding equation for $p_0$ comes from $m_1 - p_0 = - \alpha \overline \pi$
334+
335+
336+
## Slippery Side of Laffer Curve Dynamics
316337
317338
We are now equipped to compute time series starting from different $p_0$ settings, like those in {doc}`money_inflation`.
318339

0 commit comments

Comments
 (0)