Skip to content

Commit ac1d5d3

Browse files
authored
Update money_inflation.md (#440)
* Update money_inflation.md This updates lecture money_inflation.md according to #437. In particular, it involves, ## Code - Remove the grid in the plot - Use `solve` to calculate the inverse ## Content - Change bold non-definition words to italics - $m_{t+1}^d/p_t =\gamma_1 - \gamma_2 \frac{p_{t+1}}{p_t}, \quad t \geq 0$ -> $\frac{m_{t+1}^d}{p_t} =\gamma_1 - \gamma_2 \frac{p_{t+1}}{p_t}, \quad t \geq 0$ where $\gamma_1$ and $\gamma_2$ are positive parameters. - Remove the repetition of definition of $b_t$ and $R_{t-1}$ - Remove the $()$ in 26.6 - Check capitalization for titles - gross rates of return on currency -> gross rates of return on currency and real balance - $\bar R < 1$ -> $\bar R \le 1$ - $\bar R \in [\frac{\gamma2}{\gamma1}, 1] \equiv [\underline R, \overline R]$ -> $\bar R \in [\frac{\gamma_2}{\gamma_1}, 1] \equiv [\underline R, \overline R]$ - $R_t \in \bar R = [\underline R, \overline R], \quad t \geq 0$ -> $R_t \in [\underline R, \overline R], \quad t \geq 0$ - two values of $R$ -> Two steady-state values of $R$ - $R_l$ ->$R_\ell$ - An equilibrium sequences are not unique -> equilibrium sequences are not unique - Remove the repetitive ``` $$\begin{aligned} b_t & = b_{t-1} R_{t-1} + g \cr R_t^{-1} & = \frac{\gamma_1}{\gamma_2} - \gamma_2^{-1} b_t \end{aligned}$$ ``` - "code plot outcomes" -> "code plot to outcomes" - Set $ \Lambda= \begin{bmatrix} {R_l}^{-1} & 0 \cr 0 & {R_u}^{-1} \end{bmatrix}$ - $Q y_0 = y^*_0 = \begin{bmatrix} y^*_{1,0} \cr 0 \end{bmatrix}$ -> $Q^{-1} y_0 = y^*_0 = \begin{bmatrix} y^*_{1,0} \cr 0 \end{bmatrix}$. * Update money_inflation.md update bold to italics and typos
1 parent 90db84e commit ac1d5d3

File tree

1 file changed

+48
-60
lines changed

1 file changed

+48
-60
lines changed

lectures/money_inflation.md

Lines changed: 48 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ The law of motion for the supply of money assumes that the government prints mon
3232

3333
Our model equates the demand for money to the supply at each time $t \geq 0$.
3434

35-
Equality between those demands and supply gives in a **dynamic** model in which money supply
36-
and price level **sequences** are simultaneously determined by a set of simultaneous linear equations.
35+
Equality between those demands and supply gives a *dynamic* model in which money supply
36+
and price level *sequences* are simultaneously determined by a set of simultaneous linear equations.
3737

3838
These equations take the form of what are often called vector linear **difference equations**.
3939

@@ -47,7 +47,7 @@ In this lecture we will encounter these concepts from macroeconomics:
4747
* an **inflation tax** that a government gathers by printing paper or electronic money
4848
* a dynamic **Laffer curve** in the inflation tax rate that has two stationary equilibria
4949
* perverse dynamics under rational expectations in which the system converges to the higher stationary inflation tax rate
50-
* a peculiar comparative stationary-state outcome connected with that stationary inflation rate: it asserts that inflation can be **reduced** by running **higher** government deficits, i.e., by raising more resources by printing money.
50+
* a peculiar comparative stationary-state outcome connected with that stationary inflation rate: it asserts that inflation can be *reduced* by running *higher* government deficits, i.e., by raising more resources by printing money.
5151

5252
The same qualitive outcomes prevail in this lecture {doc}`money_inflation_nonlinear` that studies a nonlinear version of the model in this lecture.
5353

@@ -56,8 +56,8 @@ These outcomes set the stage for the analysis to be presented in this lecture {
5656
That lecture will show that
5757

5858
* replacing rational expectations with adaptive expectations leaves the two stationary inflation rates unchanged, but that $\ldots$
59-
* it reverse the pervese dynamics by making the **lower** stationary inflation rate the one to which the system typically converges
60-
* a more plausible comparative dynamic outcome emerges in which now inflation can be **reduced** by running **lower** government deficits
59+
* it reverse the pervese dynamics by making the *lower* stationary inflation rate the one to which the system typically converges
60+
* a more plausible comparative dynamic outcome emerges in which now inflation can be *reduced* by running *lower* government deficits
6161

6262
This outcome will be used to justify a selection of a stationary inflation rate that underlies the analysis of unpleasant monetarist arithmetic to be studies in this lecture {doc}`unpleasant`.
6363

@@ -68,9 +68,9 @@ We'll use theses tools from linear algebra:
6868
* eigenvalues and eigenvectors of a matrix
6969

7070

71-
## Demand for and Supply of Money
71+
## Demand for and supply of money
7272

73-
We say demand**s** and suppl**ies** (plurals) because there is one of each for each $t \geq 0$.
73+
We say demand*s* and suppl*ies* (plurals) because there is one of each for each $t \geq 0$.
7474

7575
Let
7676

@@ -82,7 +82,7 @@ Let
8282
* $b_t = \frac{m_{t+1}}{p_t}$ is real balances at the end of time $t$
8383
* $R_t = \frac{p_t}{p_{t+1}} $ be the gross rate of return on currency held from time $t$ to time $t+1$
8484

85-
It is often helpful to state units in which quantities are measured:
85+
It is often helpful to state units in which quantities are measured:
8686

8787
* $m_t$ and $m_t^d$ are measured in dollars
8888
* $g$ is measured in time $t$ goods
@@ -96,8 +96,9 @@ Our job now is to specify demand and supply functions for money.
9696
We assume that the demand for currency satisfies the Cagan-like demand function
9797

9898
$$
99-
m_{t+1}^d/p_t =\gamma_1 - \gamma_2 \frac{p_{t+1}}{p_t}, \quad t \geq 0
99+
\frac{m_{t+1}^d}{p_t}=\gamma_1 - \gamma_2 \frac{p_{t+1}}{p_t}, \quad t \geq 0
100100
$$ (eq:demandmoney)
101+
where $\gamma_1, \gamma_2$ are positive parameters.
101102
102103
Now we turn to the supply of money.
103104
@@ -125,7 +126,7 @@ The demand for money at any time $t$ depends on the price level at time $t$ and
125126
126127
The supply of money at time $t+1$ depends on the money supply at time $t$ and the price level at time $t$.
127128
128-
So the infinite sequence of equations {eq}`eq:syeqdemand` for $ t \geq 0$ imply that the **sequences** $\{p_t\}_{t=0}^\infty$ and $\{m_t\}_{t=0}^\infty$ are tied together and ultimately simulataneously determined.
129+
So the infinite sequence of equations {eq}`eq:syeqdemand` for $ t \geq 0$ imply that the *sequences* $\{p_t\}_{t=0}^\infty$ and $\{m_t\}_{t=0}^\infty$ are tied together and ultimately simulataneously determined.
129130
130131
131132
## Equilibrium price and money supply sequences
@@ -144,11 +145,6 @@ $$
144145
b_t - b_{t-1} R_{t-1} = g
145146
$$ (eq:bmotion)
146147
147-
where
148-
149-
* $b_t = \frac{m_{t+1}}{p_t}$ is real balances at the end of period $t$
150-
* $R_{t-1} = \frac{p_{t-1}}{p_t}$ is the gross rate of return on real balances held from $t-1$ to $t$
151-
152148
The demand for real balances is
153149
154150
$$
@@ -178,11 +174,11 @@ In a steady state equilibrium, a subset of key variables remain constant or **i
178174
179175
Finding such state variables is something of an art.
180176
181-
In many models, a good source of candidates for such invariant variables is a set of **ratios**.
177+
In many models, a good source of candidates for such invariant variables is a set of *ratios*.
182178
183179
This is true in the present model.
184180
185-
### Steady States
181+
### Steady states
186182
187183
In a **steady state** equilibrium of the model we are studying,
188184
@@ -195,9 +191,9 @@ $$
195191
196192
for $t \geq 0$.
197193
198-
Notice that both $R_t = \frac{p_t}{p_{t+1}}$ and $b_t = \frac{m_{t+1}}{p_t} $ are **ratios**.
194+
Notice that both $R_t = \frac{p_t}{p_{t+1}}$ and $b_t = \frac{m_{t+1}}{p_t} $ are *ratios*.
199195
200-
To compute a steady state, we seek gross rates of return on currency $\bar R, \bar b$ that satisfy steady-state versions of both the government budget constraint and the demand function for real balances:
196+
To compute a steady state, we seek gross rates of return on currency and real balances $\bar R, \bar b$ that satisfy steady-state versions of both the government budget constraint and the demand function for real balances:
201197
202198
$$
203199
\begin{aligned}
@@ -213,7 +209,7 @@ $$
213209
$$ (eq:seignsteady)
214210
215211
216-
The left side is the steady-state amount of **seigniorage** or government revenues that the government gathers by paying a gross rate of return $\bar R < 1$ on currency.
212+
The left side is the steady-state amount of **seigniorage** or government revenues that the government gathers by paying a gross rate of return $\bar R \le 1$ on currency.
217213
218214
The right side is government expenditures.
219215
@@ -223,14 +219,14 @@ $$
223219
S(\bar R) = (\gamma_1 + \gamma_2) - \frac{\gamma_2}{\bar R} - \gamma_1 \bar R
224220
$$ (eq:SSsigng)
225221
226-
Notice that $S(\bar R) \geq 0$ only when $\bar R \in [\frac{\gamma2}{\gamma1}, 1]
222+
Notice that $S(\bar R) \geq 0$ only when $\bar R \in [\frac{\gamma_2}{\gamma_1}, 1]
227223
\equiv [\underline R, \overline R]$ and that $S(\bar R) = 0$ if $\bar R = \underline R$
228224
or if $\bar R = \overline R$.
229225
230226
We shall study equilibrium sequences that satisfy
231227
232228
$$
233-
R_t \in \bar R = [\underline R, \overline R], \quad t \geq 0.
229+
R_t \in [\underline R, \overline R], \quad t \geq 0.
234230
$$
235231
236232
Maximizing steady state seigniorage {eq}`eq:SSsigng` with respect to $\bar R$, we find that the maximizing rate of return on currency is
@@ -255,7 +251,7 @@ A steady state gross rate of return $\bar R$ solves quadratic equation {eq}`eq:
255251
256252
So two steady states typically exist.
257253
258-
## Some Code
254+
## Some code
259255
260256
Let's start with some imports:
261257
@@ -308,10 +304,10 @@ print(f'R_max, g_max = {R_max:.4f}, {g_max:.4f}')
308304
309305
Now let's plot seigniorage as a function of alternative potential steady-state values of $R$.
310306
311-
We'll see that there are two values of $R$ that attain seigniorage levels equal to $g$,
312-
one that we'll denote $R_l$, another that we'll denote $R_u$.
307+
We'll see that there are two steady-state values of $R$ that attain seigniorage levels equal to $g$,
308+
one that we'll denote $R_\ell$, another that we'll denote $R_u$.
313309
314-
They satisfy $R_l < R_u$ and are affiliated with a higher inflation tax rate $(1-R_l)$ and a lower
310+
They satisfy $R_\ell < R_u$ and are affiliated with a higher inflation tax rate $(1-R_\ell)$ and a lower
315311
inflation tax rate $1 - R_u$.
316312
317313
```{code-cell} ipython3
@@ -336,13 +332,12 @@ plt.xlabel('$R$')
336332
plt.ylabel('seigniorage')
337333
338334
plt.legend()
339-
plt.grid(True)
340335
plt.show()
341336
```
342337
343338
Let's print the two steady-state rates of return $\bar R$ and the associated seigniorage revenues that the government collects.
344339
345-
(By construction, both steady state rates of return should raise the same amounts real revenue).
340+
(By construction, both steady state rates of return should raise the same amounts real revenue.)
346341
347342
We hope that the following code will confirm this.
348343
@@ -356,7 +351,7 @@ print(f'R_l, g_l = {msm.R_l:.4f}, {g2:.4f}')
356351
357352
Now let's compute the maximum steady state amount of seigniorage that could be gathered by printing money and the state state rate of return on money that attains it.
358353
359-
## Two Computation Strategies
354+
## Two computation strategies
360355
361356
We now proceed to compute equilibria, not necessarily steady states.
362357
@@ -373,7 +368,7 @@ $$
373368
b_t & = b_{t-1} R_{t-1} + g \cr
374369
R_t^{-1} & = \frac{\gamma_1}{\gamma_2} - \gamma_2^{-1} b_t
375370
\end{aligned}
376-
$$
371+
$$ (eq:rtbt)
377372
378373
* Construct the associated equilibrium $p_0$ from
379374
@@ -393,7 +388,7 @@ $$ (eq:method1)
393388
**Remark 1:** method 1 uses an indirect approach to computing an equilibrium by first computing an equilibrium $\{R_t, b_t\}_{t=0}^\infty$ sequence and then using it to back out an equilibrium $\{p_t, m_t\}_{t=0}^\infty$ sequence.
394389
395390
396-
**Remark 2:** notice that method 1 starts by picking an **initial condition** $R_0$ from a set $[\frac{\gamma_2}{\gamma_1}, R_u]$. An equilibrium $\{p_t, m_t\}_{t=0}^\infty$ sequences are not unique. There is actually a continuum of equilibria indexed by a choice of $R_0$ from the set $[\frac{\gamma_2}{\gamma_1}, R_u]$.
391+
**Remark 2:** notice that method 1 starts by picking an **initial condition** $R_0$ from a set $[\frac{\gamma_2}{\gamma_1}, R_u]$. Equilibrium $\{p_t, m_t\}_{t=0}^\infty$ sequences are not unique. There is actually a continuum of equilibria indexed by a choice of $R_0$ from the set $[\frac{\gamma_2}{\gamma_1}, R_u]$.
397392
398393
**Remark 3:** associated with each selection of $R_0$ there is a unique $p_0$ described by
399394
equation {eq}`eq:p0fromR0`.
@@ -425,37 +420,30 @@ It is natural to take the initial stock of money $m_0 >0$ as an initial conditio
425420
426421
But what about $p_0$?
427422
428-
Isn't it something that we want to be **determined** by our model?
423+
Isn't it something that we want to be *determined* by our model?
429424
430425
Yes, but sometimes we want too much, because there is actually a continuum of initial $p_0$ levels that are compatible with the existence of an equilibrium.
431426
432427
As we shall see soon, selecting an initial $p_0$ in method 2 is intimately tied to selecting an initial rate of return on currency $R_0$ in method 1.
433428
434-
## Computation Method 1
429+
## Computation method 1
435430
436431
%We start from an arbitrary $R_0$ and $b_t = \frac{m_{t+1}}{p_t}$, we have
437432
438433
%$$
439434
%b_0 = \gamma_1 - \gamma_0 R_0^{-1}
440435
%$$
441436

442-
Remember that there exist two steady state equilibrium values $ R_l < R_u$ of the rate of return on currency $R_t$.
437+
Remember that there exist two steady state equilibrium values $ R_\ell < R_u$ of the rate of return on currency $R_t$.
443438

444439
We proceed as follows.
445440

446441
Start at $t=0$
447442
* select a $R_0 \in [\frac{\gamma_2}{\gamma_1}, R_u]$
448443
* compute $b_0 = \gamma_1 - \gamma_0 R_0^{-1} $
449444

450-
Then for $t \geq 1$ construct $(b_t, R_t)$ by
451-
iterating on the system
452-
453-
$$
454-
\begin{aligned}
455-
b_t & = b_{t-1} R_{t-1} + g \cr
456-
R_t^{-1} & = \frac{\gamma_1}{\gamma_2} - \gamma_2^{-1} b_t
457-
\end{aligned}
458-
$$
445+
Then for $t \geq 1$ construct $b_t, R_t$ by
446+
iterating on equation {eq}`eq:rtbt`.
459447

460448
When we implement this part of method 1, we shall discover the following striking
461449
outcome:
@@ -464,9 +452,9 @@ outcome:
464452
$\{R_t\}$ always converges to a limiting "steady state" value $\bar R$ that depends on the initial
465453
condition $R_0$.
466454

467-
* there are only two possible limit points $\{ R_l, R_u\}$.
455+
* there are only two possible limit points $\{ R_\ell, R_u\}$.
468456

469-
* for almost every initial condition $R_0$, $\lim_{t \rightarrow +\infty} R_t = R_l$.
457+
* for almost every initial condition $R_0$, $\lim_{t \rightarrow +\infty} R_t = R_\ell$.
470458

471459
* if and only if $R_0 = R_u$, $\lim_{t \rightarrow +\infty} R_t = R_u$.
472460

@@ -501,7 +489,7 @@ def simulate_system(R0, model, num_steps):
501489
return b_values, R_values
502490
```
503491

504-
Let's write some code plot outcomes for several possible initial values $R_0$.
492+
Let's write some code to plot outcomes for several possible initial values $R_0$.
505493

506494
```{code-cell} ipython3
507495
:tags: [hide-cell]
@@ -566,7 +554,7 @@ R0s = np.append(msm.R_l, R0s)
566554
draw_paths(R0s, msm, line_params, num_steps=20)
567555
```
568556

569-
Notice how sequences that start from $R_0$ in the half-open interval $[R_l, R_u)$ converge to the steady state associated with to $ R_l$.
557+
Notice how sequences that start from $R_0$ in the half-open interval $[R_\ell, R_u)$ converge to the steady state associated with to $ R_\ell$.
570558

571559
## Computation method 2
572560

@@ -617,7 +605,7 @@ H = H_1^{-1} H_2
617605
$$
618606
619607
```{code-cell} ipython3
620-
H = np.linalg.inv(H1) @ H2
608+
H = np.linalg.solve(H1, H2)
621609
print('H = \n', H)
622610
```
623611
@@ -659,11 +647,11 @@ where $\Lambda$ is a diagonal matrix of eigenvalues and the columns of $Q$ are e
659647
It turns out that
660648
661649
$$
662-
\begin{bmatrix} {R_l}^{-1} & 0 \cr
650+
\Lambda = \begin{bmatrix} {R_\ell}^{-1} & 0 \cr
663651
0 & {R_u}^{-1} \end{bmatrix}
664652
$$
665653
666-
where $R_l$ and $R_u$ are the lower and higher steady-state rates of return on currency that we computed above.
654+
where $R_\ell$ and $R_u$ are the lower and higher steady-state rates of return on currency that we computed above.
667655
668656
```{code-cell} ipython3
669657
Λ, Q = np.linalg.eig(H)
@@ -711,7 +699,7 @@ $$
711699
then
712700
713701
$$
714-
\lim_{t\rightarrow + \infty} \frac{p_{t+1}}{p_t} = {R_l}^{-1}.
702+
\lim_{t\rightarrow + \infty} \frac{p_{t+1}}{p_t} = {R_\ell}^{-1}.
715703
$$
716704
717705
Let's verify these claims step by step.
@@ -740,7 +728,7 @@ def iterate_H(y_0, H, num_steps):
740728
return y
741729
```
742730
743-
For almost all initial vectors $y_0$, the gross rate of inflation $\frac{p_{t+1}}{p_t}$ eventually converges to the larger eigenvalue ${R_l}^{-1}$.
731+
For almost all initial vectors $y_0$, the gross rate of inflation $\frac{p_{t+1}}{p_t}$ eventually converges to the larger eigenvalue ${R_\ell}^{-1}$.
744732
745733
The only way to avoid this outcome is for $p_0$ to take the specific value described by {eq}`eq:magicp0`.
746734
@@ -759,7 +747,7 @@ $$ (eq:stardynamics)
759747
760748
This equation represents the dynamics of our system in a way that lets us isolate the
761749
force that causes gross inflation to converge to the inverse of the lower steady state rate
762-
of inflation $R_l$ that we discovered earlier.
750+
of inflation $R_\ell$ that we discovered earlier.
763751
764752
Staring at equation {eq}`eq:stardynamics` indicates that unless
765753
@@ -770,7 +758,7 @@ y^*_0 = \begin{bmatrix} y^*_{1,0} \cr 0 \end{bmatrix}
770758
```
771759
772760
the path of $y^*_t$, and therefore the paths of both $m_t$ and $p_t$ given by
773-
$y_t = Q y^*_t$ will eventually grow at gross rates ${R_l}^{-1}$ as
761+
$y_t = Q y^*_t$ will eventually grow at gross rates ${R_\ell}^{-1}$ as
774762
$t \rightarrow +\infty$.
775763
776764
Equation {eq}`equation_11` also leads us to conclude that there is a unique setting
@@ -781,7 +769,7 @@ For this to occur, the required setting of $y_0$ must evidently have the propert
781769
that
782770
783771
$$
784-
Q y_0 = y^*_0 = \begin{bmatrix} y^*_{1,0} \cr 0 \end{bmatrix} .
772+
Q^{-1} y_0 = y^*_0 = \begin{bmatrix} y^*_{1,0} \cr 0 \end{bmatrix} .
785773
$$
786774
787775
But note that since
@@ -793,7 +781,7 @@ is truly a **state** variable, $p_0$ is a **jump** variable that
793781
must adjust at $t=0$ in order to satisfy the equation.
794782
795783
Thus, in a nutshell the unique value of the vector $y_0$ for which
796-
the paths of $y_t$ **don't** eventually grow at rate ${R_l}^{-1}$ requires setting the second component
784+
the paths of $y_t$ *don't* eventually grow at rate ${R_\ell}^{-1}$ requires setting the second component
797785
of $y^*_0$ equal to zero.
798786
799787
The component $p_0$ of the initial vector
@@ -942,7 +930,7 @@ draw_iterations(p0s, msm, line_params, num_steps=20)
942930
Please notice that for $m_t$ and $p_t$, we have used log scales for the coordinate (i.e., vertical) axes.
943931
944932
Using log scales allows us to spot distinct constant limiting gross rates of growth ${R_u}^{-1}$ and
945-
${R_l}^{-1}$ by eye.
933+
${R_\ell}^{-1}$ by eye.
946934
947935
948936
## Peculiar stationary outcomes
@@ -952,13 +940,13 @@ As promised at the start of this lecture, we have encountered these concepts fro
952940
* an **inflation tax** that a government gathers by printing paper or electronic money
953941
* a dynamic **Laffer curve** in the inflation tax rate that has two stationary equilibria
954942
955-
Staring at the paths of rates of return on the price level in figure {numref}`R0_path` and price levels in {numref}`p0_path` show indicate that almost all paths converge to the **higher** inflation tax rate displayed in the stationary state Laffer curve displayed in figure {numref}`infl_tax`.
943+
Staring at the paths of rates of return on the price level in figure {numref}`R0_path` and price levels in {numref}`p0_path` show indicate that almost all paths converge to the *higher* inflation tax rate displayed in the stationary state Laffer curve displayed in figure {numref}`infl_tax`.
956944
957945
Thus, we have indeed discovered what we earlier called "perverse" dynamics under rational expectations in which the system converges to the higher of two possible stationary inflation tax rates.
958946
959947
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}`infl_tax`:
960948
961-
* the figure indicates that inflation can be **reduced** by running **higher** government deficits, i.e., by raising more resources through printing money.
949+
* the figure indicates that inflation can be *reduced* by running *higher* government deficits, i.e., by raising more resources through printing money.
962950
963951
964952
```{note}
@@ -976,7 +964,7 @@ Through application of our computational methods 1 and 2, we have learned that
976964
* for computational method 1, $R_0$
977965
* for computational method 2, $p_0$
978966
979-
To apply our model, we have somehow to **complete** it by **selecting** an equilibrium path from among the continuum of possible paths.
967+
To apply our model, we have somehow to *complete* it by *selecting* an equilibrium path from among the continuum of possible paths.
980968
981969
We discovered that
982970

0 commit comments

Comments
 (0)