Skip to content

Commit

Permalink
Tom's edits on March 21 of lectures in intro repo branch
Browse files Browse the repository at this point in the history
  • Loading branch information
thomassargent30 committed Mar 21, 2024
1 parent 8265aed commit dd7745d
Show file tree
Hide file tree
Showing 5 changed files with 151 additions and 21 deletions.
46 changes: 46 additions & 0 deletions lectures/_static/quant-econ.bib
Original file line number Diff line number Diff line change
Expand Up @@ -2821,3 +2821,49 @@ @article{sargent1981
pages={1--17},
year={1981}
}




@article{sargent2009conquest,
title={The conquest of South American inflation},
author={Sargent, Thomas and Williams, Noah and Zha, Tao},
journal={Journal of Political Economy},
volume={117},
number={2},
pages={211--256},
year={2009},
publisher={The University of Chicago Press}
}

@article{marcet2003recurrent,
title={Recurrent hyperinflations and learning},
author={Marcet, Albert and Nicolini, Juan P},
journal={American Economic Review},
volume={93},
number={5},
pages={1476--1498},
year={2003},
publisher={American Economic Association}
}


@article{bruno1990seigniorage,
title={Seigniorage, operating rules, and the high inflation trap},
author={Bruno, Michael and Fischer, Stanley},
journal={The Quarterly Journal of Economics},
volume={105},
number={2},
pages={353--374},
year={1990},
publisher={MIT Press}
}

@incollection{sargent1989least,
title={Least squares learning and the dynamics of hyperinflation},
author={Marcet, Albert and Sargent, Thomas J},
editor = {William Barnett, John Geweke, and Karl Shell},
booktitle={Sunspots, Complexity, and Chaos},
year={1989},
publisher={Cambridge University Press}
}
8 changes: 4 additions & 4 deletions lectures/cagan_adaptive.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ kernelspec:
name: python3
---

# A Monetarist Theory of Price Levels with Adaptive Expectations
# Monetarist Theory of Price Levels with Adaptive Expectations

## Introduction
## Overview


This lecture is a sequel or prequel to the lecture {doc}`cagan_ree`.
Expand All @@ -22,7 +22,7 @@ We'll use linear algebra to do some experiments with an alternative "monetarist

Like the model in {doc}`cagan_ree`, the model asserts that when a government persistently spends more than it collects in taxes and prints money to finance the shortfall, it puts upward pressure on the price level and generates persistent inflation.

Instead of the "perfect foresight" or "rational expectations" version of the model in {doc}`cagan_ree`, our model in the present lecture is an "adaptive expectations" version of a model that Philip Cagan {cite}`Cagan` used to study the monetary dynamics of hyperinflations.
Instead of the "perfect foresight" or "rational expectations" version of the model in {doc}`cagan_ree`, our model in the present lecture is an "adaptive expectations" version of a model that {cite}`Cagan` used to study the monetary dynamics of hyperinflations.

It combines these components:

Expand Down Expand Up @@ -79,7 +79,7 @@ $$
$$ (eq:eqpipi)
We assume that the expected rate of inflation $\pi_t^*$ is governed
by the following adaptive expectations scheme proposed by {cite}`Friedman1956` and {citet}`Cagan`:
by the following adaptive expectations scheme proposed by {cite}`Friedman1956` and {cite}`Cagan`:
$$
\pi_{t+1}^* = \lambda \pi_t^* + (1 -\lambda) \pi_t
Expand Down
21 changes: 16 additions & 5 deletions lectures/laffer_adaptive.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ $$

that we adopted in lectures {doc}`money_inflation` and lectures {doc}`money_inflation_nonlinear`, we'll now assume that $\pi_t^*$ is determined by the adaptive expectations hypothesis described in equation {eq}`eq:adaptex` reported below.



We shall discover that changing our hypothesis about expectations formation in this way will change some our findings and leave others intact. In particular, we shall discover that


Expand All @@ -45,6 +47,18 @@ These more plausible comparative dynamics underly the "old time religion" that s
"inflation is always and everwhere caused by government deficits".


These issues were studyied by {cite}`bruno1990seigniorage`.

Their purpose was to reverse what they thought were counter intuitive
predictions of their model under rational expectations (i.e., perfect foresight in this context)
by dropping rational expectations and instead assuming that people form expectations about future inflation rates according to the "adaptive expectations" scheme {eq}`eq:adaptex` described below.

```{note}
{cite}`sargent1989least` had studied another way of selecting stationary equilibrium that involved replacing rational expectations with a model of learning via least squares regression.
{cite}`marcet2003recurrent` and {cite}`sargent2009conquest` extended that work and applied it to study recurrent high-inflation episodes in Latin America.
```


## The Model

Let
Expand Down Expand Up @@ -378,11 +392,8 @@ print('eq_g == g:', np.isclose(eq_g(m_seq[-1] - m_seq[-2]), model.g))
We are now equipped to compute time series starting from different $p_{-1}, \pi_{-1}^*$ settings, analogous to those in the this XXXX **money_inflation** lecture.
We are now equipped to compute time series starting from different $p_{-1}, \pi_{-1}^*$ settings, analogous to those in this lecture {doc}`money_inflation` and this lecture {doc}`money_inflation_nonlinear`.
HUMPHREY -- MARCH 16 MODIFICATION OF CHOICE OF "PERTURBED" INITIAL CONDITIONS $p_{-1}, \pi_{-1}^*$
PLEASE RESTRICT THE PERTURBATIONS AS FOLLOWS.
Now we'll study how outcomes unfold when we start $p_{-1}, \pi_{-1}^*$ away from a stationary point of the dynamic Laffer curve, i.e., away from either $\pi_u$ or $ \pi_l$.
Expand All @@ -391,7 +402,7 @@ To construct a perturbation pair $\check p_{-1}, \check \pi_{-1}^*$we'll impleme
* set $\check \pi_{-1}^* $ not equal to one of the stationary points $\pi_u$ or $ \pi_l$.
* set $\check p_{-1} = m_0 + \alpha \check \pi_{-1}^*$
Do this "cautiously" around each of the fixed points $\pi_u$ or $ \pi_l$.
```{code-cell} ipython3
:tags: [hide-cell]
Expand Down
72 changes: 63 additions & 9 deletions lectures/money_inflation.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ kernelspec:

+++ {"user_expressions": []}

# Money Supplies and Price Levels
# Money Financed Government Deficits and Price Levels

+++ {"user_expressions": []}

Expand All @@ -22,39 +22,40 @@ kernelspec:
This lecture extends and modifies the model in this lecture {doc}`cagan_ree` by modifying the
law of motion that governed the supply of money.

In particular, this lecture describes a theory of price level variations that consists of two components
The model in this lecture consists of two components

* a demand function for money
* a law of motion for the supply of money

The demand function describes the public's demand for "real balances", defined as the ratio of nominal money balances to the price level

* it assumes that the demand for real balance today varies inversely with the rate of inflation that the public forecasts to prevail between today and tomorrow
* it assumes that the public's forecast of that rate of inflation is perfect

The law of motion for the supply of money assumes that the government prints money to finance government expenditures

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

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

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

In this lecture, we'll roll up our sleeves and solve those equations in a couple of different ways.

As we'll see, Python is good at solving them.
In this lecture, we'll roll up our sleeves and solve those equations in two different ways.


(One of the methods for solving vector linear difference equations will take advantage of a decomposition of a matrix that is studied in this lecture {doc}`eigen_I`.)

In this lecture we will encounter these concepts
In this lecture we will encounter these concepts from macroeconomics:

* an **inflation tax** that a government gathers by printing paper or electronic money
* a dynamic **Laffer curve** in the inflation tax rate that has two stationary equilibria
* perverse dynamics under rational expectations in which the system converges to the higher stationary inflation tax rate
* a peculiar comparative stationary-state analysis connected with that stationary inflation rate that assert that inflation can be **reduced** by running **higher** government deficits
* 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.

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

These outcomes will set the stage for the analysis of this lecture {doc}`laffer_adaptive` that studies a nonlinear version of the present model that uses a version of "adaptive expectations" instead of rational expectations.
These outcomes set the stage for the analysis to be presented in this lecture {doc}`laffer_adaptive` that studies a nonlinear version of the present model; it assumes a version of "adaptive expectations" instead of rational expectations.

That lecture will show that

Expand Down Expand Up @@ -203,10 +204,12 @@ Notice that both $R_t = \frac{p_t}{p_{t+1}}$ and $b_t = \frac{m_{t+1}}{p_t} $ ar
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:
$$
\begin{aligned}
g & = \bar b ( 1 - \bar R) \cr
\bar b & = \gamma_1- \gamma_2 \bar R^{-1}
\end{aligned}
$$
Together these equations imply
Expand Down Expand Up @@ -952,3 +955,54 @@ Please notice that for $m_t$ and $p_t$, we have used log scales for the coordin
Using log scales allows us to spot distinct constant limiting gross rates of growth ${R_u}^{-1}$ and
${R_l}^{-1}$ by eye.
## Peculiar stationary outcomes
As promised at the start of this lecture, we have encountered these concepts from macroeconomics:
* an **inflation tax** that a government gathers by printing paper or electronic money
* a dynamic **Laffer curve** in the inflation tax rate that has two stationary equilibria
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`.
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.
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`:
* the figure indicates that inflation can be **reduced** by running **higher** government deficits, i.e., by raising more resources through printing money.
```{note}
The same qualitive outcomes prevail in this lecture {doc}`money_inflation_nonlinear` that studies a nonlinear version of the model in this lecture.
```
## Equilibrium selection criterion
We have discovered that as a model of price level paths or model is **incomplete** because there is a continuum of "equilibrium" paths for $\{m_{t+1}, p_t\}_{t=0}^\infty$ that are consistent with the demand for real balances always equaling the supply.
Through application of our computational methods 1 and 2, we have learned that this continuum can be indexed by choice of one of two scalars:
* for computational method 1, $R_0$
* for computational method 2, $p_0$
To apply our model, we have somehow to **complete** it by **selecting** an equilibrium path from among the continuum of possible paths.
We discovered that
* all but one of the equilibrium paths converge to limits in which the higher of two possible stationary inflation tax prevails
* there is a unique equilibrium path associated with "plausible" statements about how reductions in government deficits affect a stationary inflation rate
On grounds of plausibility, we recommend following many macroeconomists in selecting the unique equilibrium that converges to the lower stationary inflation tax rate.
As we shall see, we shall accept this recommendation in lecture {doc}`unpleasant`.
In lecture, {doc}`laffer_adaptive`, we shall explore how {cite}`bruno1990seigniorage` and others justified this in other ways.
25 changes: 22 additions & 3 deletions lectures/money_inflation_nonlinear.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ That lecture will show that
* a more plausible comparative dynamic outcome emerges in which now inflation can be **reduced** by running **lower** government deficits


GGHH




Expand Down Expand Up @@ -112,7 +112,7 @@ We'll summarize our algorithm with the following pseudo-code.
**Pseudo-code**
* start for $m_0, p0$ at time $t =0$
* start for $m_0, p_0$ at time $t =0$
* solve {eq}`eq:msupply2` for $m_{t+1}$
Expand Down Expand Up @@ -348,7 +348,7 @@ print('eq_g == g:', np.isclose(eq_g(m_seq[-1] - m_seq[-2]), model.g))
## Slippery Side of Laffer Curve Dynamics
We are now equipped to compute time series starting from different $p_0$ settings, like those in the this XXXX **money_inflation** lecture.
We are now equipped to compute time series starting from different $p_0$ settings, like those in this lecture {doc}`money_inflation`.
```{code-cell} ipython3
:tags: [hide-cell]
Expand Down Expand Up @@ -413,3 +413,22 @@ p0_bars = (p0_l, p0_u)
draw_iterations(p0s, model, line_params, p0_bars, num_steps=20)
```
REQUEST FOR HUMPRHEY: PLEASE MAKE A CAPTION BELOW THE ABOVE GRAPH THAT WE CAN REFER TO AS WE DO
THE LECTURE MONEY_INFLATION.MD
IF WE ZOOM, I CAN EXPLAIN QUICKLY.
Staring at the paths of price levels in {numref}`p0_pathnonlin` 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`.
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.
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`:
* the figure indicates that inflation can be **reduced** by running **higher** government deficits, i.e., by raising more resources through printing money.
```{note}
The same qualitive outcomes prevail in this lecture {doc}`money_inflation` that studies a linear version of the model in this lecture`.
```

0 comments on commit dd7745d

Please sign in to comment.