Skip to content

Commit 3e84d9d

Browse files
committed
avoid caption in solution
1 parent 607e457 commit 3e84d9d

1 file changed

Lines changed: 4 additions & 12 deletions

File tree

lectures/dovis_accounting_mf.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1507,13 +1507,9 @@ Plot $\phi^{fd}(b')$ and the associated fiscal-dominance value $V^{fd}(b', \xi_1
15071507
:class: dropdown
15081508
```
15091509

1510+
The following code plots the fiscal-dominance policy $\phi^{fd}(b')$ and the associated value $V^{fd}(b', \xi_1)$ from continuation values.
1511+
15101512
```{code-cell} ipython3
1511-
---
1512-
mystnb:
1513-
figure:
1514-
caption: Fiscal-dominance policy from continuation values
1515-
name: fig-fd-policy
1516-
---
15171513
p = params_la
15181514
b_prime_grid = B_grid * 0.5
15191515
ξ_mid = n_ξ_coarse // 2
@@ -1556,13 +1552,9 @@ Plot the recovered $\xi$ path for each and assess convergence.
15561552
:class: dropdown
15571553
```
15581554

1555+
The following code runs the particle filter with different numbers of particles and plots the recovered paths to assess convergence.
1556+
15591557
```{code-cell} ipython3
1560-
---
1561-
mystnb:
1562-
figure:
1563-
caption: Particle filter sensitivity
1564-
name: fig-pf-sensitivity
1565-
---
15661558
fig, axes = plt.subplots(1, 2, figsize=(14, 5))
15671559
15681560
for i, (N_part, color) in enumerate(zip(

0 commit comments

Comments
 (0)