Skip to content

Commit 6d038c6

Browse files
committed
update_money_inflation_nonlinear
This updates the lecture money_inflation_nonlinear.md according to #446. In particular, this includes ## Code - Remove the grid. - Change the legend for the [Laffer curve plot](https://intro.quantecon.org/money_inflation_nonlinear.html#laffer-curve-nonlinear) to "Laffer curve". Also, use default colors in `matplotlib`. ## Content - Bold face is reserved for definitions and italics are used for emphases. - Only the first word in the title should be capitalized. - Migrate some of "This lecture studies" to "We study ...". - Maintain consistent use of bar and overline. - (28.3) repeats (28.2). Consider removing (28.3) and adjusting the links to (28.2) if (28.3) is removed. - Define all the notations like $\pi$ and $m$. - "limiting values exists" -> exist - "...that studies a linear version of the model in this lecture`" -> "that studies a linear version of the model in this lecture." - In Equation (28.6) we have $x: x \ge 0$. Remove "x:", and put a curly bracket covering the equation after max to indicate the scope of max.
1 parent 83cd9ba commit 6d038c6

File tree

1 file changed

+32
-40
lines changed

1 file changed

+32
-40
lines changed

Diff for: lectures/money_inflation_nonlinear.md

+32-40
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ kernelspec:
1515

1616
## Overview
1717

18-
This lecture studies stationary and dynamic **Laffer curves** in the inflation tax rate in a non-linear version of the model studied in this lecture {doc}`money_inflation`.
18+
We study stationary and dynamic *Laffer curves* in the inflation tax rate in a non-linear version of the model studied in this lecture {doc}`money_inflation`.
1919

20-
This lecture uses the log-linear version of the demand function for money that {cite}`Cagan`
20+
We use the log-linear version of the demand function for money that {cite}`Cagan`
2121
used in his classic paper in place of the linear demand function used in this lecture {doc}`money_inflation`.
2222

2323
That change requires that we modify parts of our analysis.
@@ -26,7 +26,7 @@ In particular, our dynamic system is no longer linear in state variables.
2626

2727
Nevertheless, the economic logic underlying an analysis based on what we called ''method 2'' remains unchanged.
2828

29-
in this lecture we shall discover qualitatively similar outcomes to those that we studied in the lecture {doc}`money_inflation`.
29+
We shall discover qualitatively similar outcomes to those that we studied in the lecture {doc}`money_inflation`.
3030

3131
That lecture presented a linear version of the model in this lecture.
3232

@@ -35,17 +35,17 @@ As in that lecture, we discussed these topics:
3535
* an **inflation tax** that a government gathers by printing paper or electronic money
3636
* a dynamic **Laffer curve** in the inflation tax rate that has two stationary equilibria
3737
* perverse dynamics under rational expectations in which the system converges to the higher stationary inflation tax rate
38-
* a peculiar comparative stationary-state analysis connected with that stationary inflation rate that assert that inflation can be **reduced** by running **higher** government deficits
38+
* a peculiar comparative stationary-state analysis connected with that stationary inflation rate that assert that inflation can be *reduced* by running *higher* government deficits
3939

4040
These outcomes will set the stage for the analysis of this lecture {doc}`laffer_adaptive` that studies a version of the present model that uses a version of "adaptive expectations" instead of rational expectations.
4141

4242
That lecture will show that
4343

4444
* replacing rational expectations with adaptive expectations leaves the two stationary inflation rates unchanged, but that $\ldots$
45-
* it reverse the pervese dynamics by making the **lower** stationary inflation rate the one to which the system typically converges
46-
* a more plausible comparative dynamic outcome emerges in which now inflation can be **reduced** by running **lower** government deficits
45+
* it reverse the pervese dynamics by making the *lower* stationary inflation rate the one to which the system typically converges
46+
* 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,9 +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
73+
## Computing an equilibrium sequence
7474
75-
We'll deploy a method similar to **Method 2** used in {doc}`money_inflation`.
75+
We'll deploy a method similar to *Method 2* used in {doc}`money_inflation`.
7676
7777
We'll take the time $t$ state vector to be $m_t, p_t$.
7878
@@ -84,14 +84,7 @@ $$
8484
\lambda \equiv \frac{\alpha}{1+ \alpha}
8585
$$
8686
87-
Let's rewrite equations {eq}`eq:msupply` and {eq}`eq:mdemand`, respectively, as
88-
89-
90-
$$
91-
\exp(m_{t+1}) - \exp(m_t) = g \exp(p_t)
92-
$$ (eq:msupply2)
93-
94-
and
87+
Let's rewrite equation {eq}`eq:mdemand`, respectively, as
9588
9689
$$
9790
p_t = (1-\lambda) m_{t+1} + \lambda p_{t+1}
@@ -103,34 +96,34 @@ We'll summarize our algorithm with the following pseudo-code.
10396
10497
* start for $m_0, p_0$ at time $t =0$
10598
106-
* solve {eq}`eq:msupply2` for $m_{t+1}$
99+
* solve {eq}`eq:msupply` for $m_{t+1}$
107100
108101
* solve {eq}`eq:mdemand2` for $p_{t+1} = \lambda^{-1} p_t + (1 - \lambda^{-1}) m_{t+1}$
109102
110-
* compute $\pi_t = p_{t+1} - p_t$ and $\mu_t = m_{t+1} - m_t $
103+
* compute the inflation rate $\pi_t = p_{t+1} - p_t$ and growth of money supply $\mu_t = m_{t+1} - m_t $
111104
112105
* iterate on $t$ to convergence of $\pi_t \rightarrow \overline \pi$ and $\mu_t \rightarrow \overline \mu$
113106
114107
It will turn out that
115108
116109
* if they exist, limiting values $\overline \pi$ and $\overline \mu$ will be equal
117110
118-
* if limiting values exists, there are two possible limiting values, one high, one low
111+
* if limiting values exist, there are two possible limiting values, one high, one low
119112
120113
* for almost all initial log price levels $p_0$, the limiting $\overline \pi = \overline \mu$ is
121114
the higher value
122115
123-
* for each of the two possible limiting values $\bar \pi$ ,there is a unique initial log price level $p_0$ that implies that $\pi_t = \mu_t = \bar \mu$ for all $t \geq 0$
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$
124117
125-
* this unique initial log price level solves $\log(\exp(m_0) + g \exp(p_0)) - p_0 = - \alpha \bar \pi $
118+
* this unique initial log price level solves $\log(\exp(m_0) + g \exp(p_0)) - p_0 = - \alpha \overline \pi $
126119
127-
* the preceding equation for $p_0$ comes from $m_1 - p_0 = - \alpha \bar \pi$
120+
* the preceding equation for $p_0$ comes from $m_1 - p_0 = - \alpha \overline \pi$
128121
129-
## Limiting Values of Inflation Rate
122+
## Limiting values of inflation rate
130123
131-
We can compute the two prospective limiting values for $\bar \pi$ by studying the steady-state Laffer curve.
124+
We can compute the two prospective limiting values for $\overline \pi$ by studying the steady-state Laffer curve.
132125
133-
Thus, in a **steady state**
126+
Thus, in a *steady state*
134127
135128
$$
136129
m_{t+1} - m_t = p_{t+1} - p_t = x \quad \forall t ,
@@ -147,7 +140,7 @@ $$ (eq:steadypi)
147140
where we require that
148141
149142
$$
150-
g \leq \max_{x: x \geq 0} \exp(-\alpha x) - \exp(-(1 + \alpha) x) ,
143+
g \leq \max_{x \geq 0} \{\exp(-\alpha x) - \exp(-(1 + \alpha) x) \},
151144
$$ (eq:revmax)
152145
153146
so that it is feasible to finance $g$ by printing money.
@@ -159,7 +152,7 @@ The right side of {eq}`eq:steadypi` is the quantity of time $t$ goods that the
159152
Soon we'll plot the left and right sides of equation {eq}`eq:steadypi`.
160153
161154
But first we'll write code that computes a steady-state
162-
$\bar \pi$.
155+
$\overline \pi$.
163156
164157
Let's start by importing some libraries
165158
@@ -182,7 +175,7 @@ CaganLaffer = namedtuple('CaganLaffer',
182175
"λ",
183176
"g" ])
184177
185-
# Create a CaganLaffer model
178+
# Create a Cagan Laffer model
186179
def create_model(α=0.5, m0=np.log(100), g=0.35):
187180
return CaganLaffer(α=α, m0=m0, λ=α/(1+α), g=g)
188181
@@ -191,7 +184,7 @@ model = create_model()
191184
192185
+++ {"user_expressions": []}
193186
194-
Now we write code that computes steady-state $\bar \pi$s.
187+
Now we write code that computes steady-state $\overline \pi$s.
195188
196189
```{code-cell} ipython3
197190
# Define formula for π_bar
@@ -208,9 +201,9 @@ def solve_π_bar(model, x0):
208201
print(f'The two steady state of π are: {π_l, π_u}')
209202
```
210203
211-
We find two steady state $\bar \pi$ values
204+
We find two steady state $\overline \pi$ values.
212205
213-
## Steady State Laffer Curve
206+
## Steady state Laffer curve
214207
215208
The following figure plots the steady state Laffer curve together with the two stationary inflation rates.
216209
@@ -237,7 +230,7 @@ def plot_laffer(model, πs):
237230
238231
# Plot the function
239232
plt.plot(x_values, y_values,
240-
label=f'$exp((-{α})x) - exp(- (1- {α}) x)$')
233+
label=f'Laffer curve')
241234
for π, label in zip(πs, ['$\pi_l$', '$\pi_u$']):
242235
plt.text(π, plt.gca().get_ylim()[0]*2,
243236
label, horizontalalignment='center',
@@ -248,16 +241,15 @@ def plot_laffer(model, πs):
248241
plt.xlabel('$\pi$')
249242
plt.ylabel('seigniorage')
250243
plt.legend()
251-
plt.grid(True)
252244
plt.show()
253245
254246
# Steady state Laffer curve
255247
plot_laffer(model, (π_l, π_u))
256248
```
257249
258-
## Associated Initial Price Levels
250+
## Associated initial price levels
259251
260-
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 = \bar \pi $ for all $t \geq 0$.
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$.
261253
262254
```{code-cell} ipython3
263255
def solve_p0(p0, m0, α, g, π):
@@ -320,7 +312,7 @@ eq_g = lambda x: np.exp(-model.α * x) - np.exp(-(1 + model.α) * x)
320312
print('eq_g == g:', np.isclose(eq_g(m_seq[-1] - m_seq[-2]), model.g))
321313
```
322314
323-
## Slippery Side of Laffer Curve Dynamics
315+
## Slippery side of Laffer curve dynamics
324316
325317
We are now equipped to compute time series starting from different $p_0$ settings, like those in this lecture {doc}`money_inflation`.
326318
@@ -398,16 +390,16 @@ p0_bars = (p0_l, p0_u)
398390
draw_iterations(p0s, model, line_params, p0_bars, num_steps=20)
399391
```
400392
401-
Staring at the paths of price levels in {numref}`p0_path_nonlin` reveals that almost all paths converge to the **higher** inflation tax rate displayed in the stationary state Laffer curve. displayed in figure {numref}`laffer_curve_nonlinear`.
393+
Staring at the paths of price levels in {numref}`p0_path_nonlin` reveals that almost all paths converge to the *higher* inflation tax rate displayed in the stationary state Laffer curve. displayed in figure {numref}`laffer_curve_nonlinear`.
402394
403395
Thus, we have reconfirmed what we have called the "perverse" dynamics under rational expectations in which the system converges to the higher of two possible stationary inflation tax rates.
404396
405397
Those dynamics are "perverse" not only in the sense that they imply that the monetary and fiscal authorities that have chosen to finance government expenditures eventually impose a higher inflation tax than required to finance government expenditures, but because of the following "counterintuitive" situation that we can deduce by staring at the stationary state Laffer curve displayed in figure {numref}`laffer_curve_nonlinear`:
406398
407-
* the figure indicates that inflation can be **reduced** by running **higher** government deficits, i.e., by raising more resources through printing money.
399+
* the figure indicates that inflation can be *reduced* by running *higher* government deficits, i.e., by raising more resources through printing money.
408400
409401
```{note}
410-
The same qualitive outcomes prevail in this lecture {doc}`money_inflation` that studies a linear version of the model in this lecture`.
402+
The same qualitive outcomes prevail in this lecture {doc}`money_inflation` that studies a linear version of the model in this lecture.
411403
```
412404
413405
We discovered that

0 commit comments

Comments
 (0)