You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lectures/cagan_adaptive.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -464,9 +464,9 @@ The sluggish fall in inflation is explained by how anticipated inflation $\pi_t
464
464
465
465
For Experiment 1 (sudden stabilization at $T_1 = 60$ from $\mu_0 = 0.5$ to $\mu^* = 0$), solve the model for $\lambda \in \{0.86,\, 0.90,\, 0.95,\, 0.98\}$ and, on a single graph, plot the actual inflation rate $\pi_t$ for each value.
466
466
467
-
(a) How do the sign and speed of post-stabilization convergence change as $\lambda$ varies within the stable region?
467
+
a. How do the sign and speed of post-stabilization convergence change as $\lambda$ varies within the stable region?
468
468
469
-
(b) For each $\lambda$, print $\rho$ and the peak absolute value of $\pi_t$ for $t \geq T_1$.
469
+
b. For each $\lambda$, print $\rho$ and the peak absolute value of $\pi_t$ for $t \geq T_1$.
470
470
```
471
471
472
472
```{solution-start} ca_ex1
@@ -494,7 +494,7 @@ ax.set_title('Inflation paths for different λ (sudden stabilization)')
494
494
ax.legend()
495
495
plt.show()
496
496
497
-
print(f'{"λ":>6} | {"ρ":>10} | {"|ρ|<1":>8} | {"peak |π| after T₁":>20}')
497
+
print(f'{"λ":>6} | {"ρ":>10} | {"|ρ|<1":>8} | {"peak |π| after T1":>20}')
498
498
print('-' * 56)
499
499
for λ in λ_vals:
500
500
m = create_cagan_adaptive_model(λ=λ)
@@ -524,12 +524,12 @@ expectations, in contrast to a rational-expectations equilibrium.
524
524
525
525
For the default model (`md`) and both experiments:
526
526
527
-
(a) Compute and plot the forecast error $e_t = \pi_t^* - \pi_t$ for
527
+
a. Compute and plot the forecast error $e_t = \pi_t^* - \pi_t$ for
528
528
$t = 0, 1, \ldots, T$.
529
529
530
-
(b) For each experiment, is $e_t$ systematically positive or negative during
531
-
the disinflation? Explain why this systematic bias could not survive under
532
-
rational expectations.
530
+
b. For each experiment, determine whether $e_t$ is systematically positive or
531
+
negative during the disinflation and explain why this systematic bias could
532
+
not survive under rational expectations.
533
533
534
534
(Recall that `Eπ_seq` returned by `solve_cagan_adaptive` has $T+2$ elements
535
535
while `π_seq` has $T+1$; use `Eπ_seq[:-1]` to align them.)
print(f'Exp 1 — mean forecast error t < T₁: {e1[:T1].mean():.4f}')
579
-
print(f'Exp 1 — mean forecast error t ≥ T₁: {e1[T1:].mean():.4f}')
580
-
print(f'Exp 2 — mean forecast error overall: {e2.mean():.4f}')
578
+
print(f'Exp 1: mean forecast error t < T1: {e1[:T1].mean():.4f}')
579
+
print(f'Exp 1: mean forecast error t >= T1: {e1[T1:].mean():.4f}')
580
+
print(f'Exp 2: mean forecast error overall: {e2.mean():.4f}')
581
581
```
582
582
583
583
During disinflation, actual inflation falls *below* expected inflation, so
584
-
$e_t = \pi_t^* - \pi_t > 0$ throughout the transition — the public
584
+
$e_t = \pi_t^* - \pi_t > 0$ throughout the transition, so the public
585
585
systematically **over-predicts** inflation.
586
586
587
587
Under rational expectations this persistent one-sided bias would be immediately arbitraged away as agents adjust their forecasting rule until $e_t$ has mean zero.
@@ -604,14 +604,14 @@ $$
604
604
605
605
Using Experiment 1 and the default model `md`:
606
606
607
-
(a) Compute $\rho$ analytically from the model parameters and verify that
607
+
a. Compute $\rho$ analytically from the model parameters and verify that
608
608
$|\rho| < 1$ (the stability condition {eq}`eq:suffcond`).
609
609
610
-
(b) From the solved path `π_seq`, compute the empirical ratios
610
+
b. From the solved path `π_seq`, compute the empirical ratios
611
611
$\pi_{t+1}/\pi_t$ for $t = T_1 + 1, \ldots, T_1 + 10$ and compare them
612
612
to $\rho$.
613
613
614
-
(c) Plot $\log|\pi_t|$ against $t$ for $t \geq T_1$ and verify that it is
614
+
c. Plot $\log|\pi_t|$ against $t$ for $t \geq T_1$ and verify that it is
Experiment 2 uses a gradual decline in money growth
677
677
$\mu_t = \phi^t \mu_0 + (1-\phi^t)\mu^*$ with $\phi = 0.9$.
678
678
679
-
(a) For the same gradual $\mu$ path, compare the inflation $\pi_t$ and expected inflation $\pi_t^*$ paths for two stable cases:
679
+
a. For the same gradual $\mu$ path, compare the inflation $\pi_t$ and expected inflation $\pi_t^*$ paths for two stable cases:
680
680
681
681
* **Faster adjustment**: $\lambda = 0.86$
682
682
* **Slower adjustment**: $\lambda = 0.95$
683
683
684
684
Plot $\pi_t$, $\pi_t^*$, and $\mu_t$ for each case on side-by-side graphs.
685
685
686
-
(b) For each case, compute the mean absolute forecast error $\bar{e} = \frac{1}{T+1}\sum_{t=0}^T |\pi_t^* - \pi_t|$.
686
+
b. For each case, compute the mean absolute forecast error $\bar{e} = \frac{1}{T+1}\sum_{t=0}^T |\pi_t^* - \pi_t|$.
687
687
688
-
(c) Explain why the faster-adjustment case can move below the money-growth path while the slower-adjustment case displays more persistent forecast errors.
688
+
c. Explain why the faster-adjustment case can move below the money-growth path while the slower-adjustment case displays more persistent forecast errors.
Copy file name to clipboardExpand all lines: lectures/cagan_ree.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -461,8 +461,9 @@ Such a completely unanticipated shock is popularly known as an "MIT shock".
461
461
462
462
The mental experiment involves switching at time $T_1$ from an initial "continuation path" for $\{\mu_t, \pi_t\} $ to another path that involves a permanently lower inflation rate.
463
463
464
-
**Initial Path:** $\mu_t = \mu_0$ for all $t \geq 0$. So this path is for $\{\mu_t\}_{t=0}^\infty$; the associated
465
-
path for $\pi_t$ has $\pi_t = \mu_0$.
464
+
**Initial Path:** $\mu_t = \mu_0$ for all $t \geq 0$.
465
+
466
+
This path is for $\{\mu_t\}_{t=0}^\infty$; the associated path for $\pi_t$ has $\pi_t = \mu_0$.
466
467
467
468
**Revised Continuation Path** Where $ \mu_0 > \mu^*$, we construct a continuation path $\{\mu_s\}_{s=T_1}^\infty$
468
469
by setting $\mu_s = \mu^*$ for all $s \geq T_1$. The perfect foresight continuation path for
@@ -661,8 +662,8 @@ at $T_1 = 60$, with $T = 80$), solve the model for
661
662
$\alpha \in \{1,\, 3,\, 5,\, 10,\, 25\}$ and plot the inflation path $\pi_t$ for
662
663
each value on a single graph.
663
664
664
-
Describe how the **anticipation effect** — the pre-stabilization fall in inflation
665
-
— changes with $\alpha$.
665
+
Describe how the **anticipation effect**, the pre-stabilization fall in inflation,
0 commit comments