Skip to content

Commit

Permalink
amss3 lecture literalinclude -> code-cell
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcky committed Jan 6, 2021
1 parent 6bd9e02 commit f4d1a20
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions lectures/amss3.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ $$

The following Python code sets up the economy

```{literalinclude} _static/lecture_specific/opt_tax_recur/crra_utility.py
```{code-cell} python3
:file: _static/lecture_specific/opt_tax_recur/crra_utility.py
```

### First and Second Moments
Expand Down Expand Up @@ -163,20 +164,23 @@ We begin by showing the code that we used in earlier lectures on the AMSS model.

Here it is

```{literalinclude} _static/lecture_specific/opt_tax_recur/sequential_allocation.py
```{code-cell} python3
---
file: _static/lecture_specific/opt_tax_recur/sequential_allocation.py
tags: [output_scroll]
---
```

```{literalinclude} _static/lecture_specific/amss/recursive_allocation.py
```{code-cell} python3
---
file: _static/lecture_specific/amss/recursive_allocation.py
tags: [output_scroll]
---
```

```{literalinclude} _static/lecture_specific/amss/utilities.py
```{code-cell} python3
---
file: _static/lecture_specific/amss/utilities.py
tags: [output_scroll]
---
```
Expand Down

1 comment on commit f4d1a20

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.