GitHub

Original file line numberDiff line numberDiff line change

@@ -403,7 +403,7 @@ on optimal taxation with state-contingent debt sequential allocation implementa

403403

```{code-cell} python3

404404

---

405405

load: _static/lecture_specific/opt_tax_recur/sequential_allocation.py

406-

tags: [output_scroll]

406+

tags: [collapse-20]

407407

---

408408

```

409409

@@ -759,6 +759,7 @@ Paths with circles are histories in which there is peace, while those with

759759

triangle denote war.

760760
761761

```{code-cell} python3

762+

:tags: ["scroll-output"]

762763

# Initialize μgrid for value function iteration

763764

μ_grid = np.linspace(-0.7, 0.01, 300)

764765

@@ -882,6 +883,7 @@ state-contingent debt (circles) and the economy with only a risk-free bond

882883

(triangles).

883884
884885

```{code-cell} python3

886+

:tags: ["scroll-output"]

885887

log_example = LogUtility()

886888

log_example.transfers = True # Government can use transfers

887889

log_sequential = SequentialAllocation(log_example) # Solve sequential problem

Original file line numberDiff line numberDiff line change

@@ -279,21 +279,21 @@ The code is mostly taken or adapted from the earlier lectures {doc}`optimal tax

279279

```{code-cell} python3

280280

---

281281

load: _static/lecture_specific/opt_tax_recur/sequential_allocation.py

282-

tags: [output_scroll]

282+

tags: [collapse-20]

283283

---

284284

```

285285
286286

```{code-cell} python3

287287

---

288288

load: _static/lecture_specific/amss/recursive_allocation.py

289-

tags: [output_scroll]

289+

tags: [collapse-20]

290290

---

291291

```

292292
293293

```{code-cell} python3

294294

---

295295

load: _static/lecture_specific/amss/utilities.py

296-

tags: [output_scroll]

296+

tags: [collapse-20]

297297

---

298298

```

299299

@@ -433,6 +433,7 @@ debt equal to $b_0 = -1.038698407551764$.

433433

These graphs report outcomes for both the Lucas-Stokey economy with complete markets and the AMSS economy with one-period risk-free debt only.

434434
435435

```{code-cell} python3

436+

:tags: ["scroll-output"]

436437

μ_grid = np.linspace(-0.09, 0.1, 100)

437438
438439

log_example = CRRAutility()

Original file line numberDiff line numberDiff line change

@@ -152,21 +152,21 @@ Here it is

152152

```{code-cell} python3

153153

---

154154

load: _static/lecture_specific/opt_tax_recur/sequential_allocation.py

155-

tags: [output_scroll]

155+

tags: [collapse-20]

156156

---

157157

```

158158
159159

```{code-cell} python3

160160

---

161161

load: _static/lecture_specific/amss/recursive_allocation.py

162-

tags: [output_scroll]

162+

tags: [collapse-20]

163163

---

164164

```

165165
166166

```{code-cell} python3

167167

---

168168

load: _static/lecture_specific/amss/utilities.py

169-

tags: [output_scroll]

169+

tags: [collapse-20]

170170

---

171171

```

172172

@@ -176,6 +176,7 @@ government debt equal to $-.5$.

176176

Here is a graph of a long simulation of 102000 periods.

177177
178178

```{code-cell} python3

179+

:tags: ["scroll-output"]

179180

μ_grid = np.linspace(-0.09, 0.1, 100)

180181
181182

log_example = CRRAutility(π=(1 / 3) * np.ones((3, 3)),

Read the original on github.com ↗