File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed
Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -403,7 +403,7 @@ on optimal taxation with state-contingent debt sequential allocation implementa
403403``` {code-cell} python3
404404---
405405load: _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
759759triangle 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"]
885887log_example = LogUtility()
886888log_example.transfers = True # Government can use transfers
887889log_sequential = SequentialAllocation(log_example) # Solve sequential problem
Original file line number Diff line number Diff 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---
281281load: _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---
288288load: _static/lecture_specific/amss/recursive_allocation.py
289- tags: [output_scroll ]
289+ tags: [collapse-20 ]
290290---
291291```
292292
293293``` {code-cell} python3
294294---
295295load: _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$.
433433These 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
438439log_example = CRRAutility()
Original file line number Diff line number Diff line change @@ -152,21 +152,21 @@ Here it is
152152``` {code-cell} python3
153153---
154154load: _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---
161161load: _static/lecture_specific/amss/recursive_allocation.py
162- tags: [output_scroll ]
162+ tags: [collapse-20 ]
163163---
164164```
165165
166166``` {code-cell} python3
167167---
168168load: _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$.
176176Here 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
181182log_example = CRRAutility(π=(1 / 3) * np.ones((3, 3)),
You can’t perform that action at this time.
0 commit comments