Skip to content

Commit b6d11d2

Browse files
authored
Merge branch 'main' into samuelson-fixes
2 parents a997e1f + 39b39c9 commit b6d11d2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+4979
-2278
lines changed

.github/workflows/cache.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
cache:
99
runs-on: "runs-on=${{ github.run_id }}/family=g4dn.2xlarge/image=quantecon_ubuntu2404/disk=large"
1010
steps:
11-
- uses: actions/checkout@v4
11+
- uses: actions/checkout@v5
1212
with:
1313
ref: ${{ github.event.pull_request.head.sha }}
1414
- name: Setup Anaconda
@@ -17,7 +17,7 @@ jobs:
1717
auto-update-conda: true
1818
auto-activate-base: true
1919
miniconda-version: 'latest'
20-
python-version: "3.12"
20+
python-version: "3.13"
2121
environment-file: environment.yml
2222
activate-environment: quantecon
2323
- name: Install JAX, Numpyro, PyTorch

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
preview:
77
runs-on: "runs-on=${{ github.run_id }}/family=g4dn.2xlarge/image=quantecon_ubuntu2404/disk=large"
88
steps:
9-
- uses: actions/checkout@v4
9+
- uses: actions/checkout@v5
1010
with:
1111
ref: ${{ github.event.pull_request.head.sha }}
1212
- name: Setup Anaconda
@@ -15,7 +15,7 @@ jobs:
1515
auto-update-conda: true
1616
auto-activate-base: true
1717
miniconda-version: 'latest'
18-
python-version: "3.12"
18+
python-version: "3.13"
1919
environment-file: environment.yml
2020
activate-environment: quantecon
2121
- name: Install JAX, Numpyro, PyTorch
@@ -53,7 +53,7 @@ jobs:
5353
uses: actions/upload-artifact@v4
5454
if: failure()
5555
with:
56-
name: execution-reports
56+
name: execution-reports-notebooks
5757
path: _build/jupyter/reports
5858
- name: Build PDF from LaTeX
5959
shell: bash -l {0}

.github/workflows/collab.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
image: docker://us-docker.pkg.dev/colab-images/public/runtime:latest
88
options: --gpus all
99
steps:
10-
- uses: actions/checkout@v4
10+
- uses: actions/checkout@v5
1111
with:
1212
ref: ${{ github.event.pull_request.head.sha }}
1313
# Install build software

.github/workflows/linkcheck.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Link Checker (lychee)
22
on:
33
schedule:
44
# UTC 23:00 is early morning in Australia (9am)
5-
- cron: '0 23 * * *'
5+
- cron: '0 23 * * 1'
66
workflow_dispatch:
77
jobs:
88
link-checking:
@@ -13,15 +13,15 @@ jobs:
1313
steps:
1414
# Checkout the live site (html)
1515
- name: Checkout
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v5
1717
with:
1818
ref: gh-pages
1919
- name: Link Checker
2020
id: lychee
2121
uses: lycheeverse/lychee-action@v2
2222
with:
2323
fail: false
24-
args: --accept 403,503 *.html
24+
args: --accept 200,403,503 *.html
2525
- name: Create Issue From File
2626
if: steps.lychee.outputs.exit_code != 0
2727
uses: peter-evans/create-issue-from-file@v5

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ jobs:
99
runs-on: "runs-on=${{ github.run_id }}/family=g4dn.2xlarge/image=quantecon_ubuntu2404/disk=large"
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v4
12+
uses: actions/checkout@v5
1313
- name: Setup Anaconda
1414
uses: conda-incubator/setup-miniconda@v3
1515
with:
1616
auto-update-conda: true
1717
auto-activate-base: true
1818
miniconda-version: 'latest'
19-
python-version: "3.12"
19+
python-version: "3.13"
2020
environment-file: environment.yml
2121
activate-environment: quantecon
2222
- name: Install JAX, Numpyro, PyTorch

environment.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@ name: quantecon
22
channels:
33
- default
44
dependencies:
5-
- python=3.12
6-
- anaconda=2024.10
5+
- python=3.13
6+
- anaconda=2025.06
77
- pip
88
- pip:
9-
- jupyter-book==1.0.3
10-
- quantecon-book-theme==0.7.6
11-
- sphinx-tojupyter==0.3.0
9+
- jupyter-book==1.0.4post1
10+
- quantecon-book-theme==0.9.0
11+
- sphinx-tojupyter==0.3.1
1212
- sphinxext-rediraffe==0.2.7
13-
- sphinx-reredirects==0.1.4
1413
- sphinx-exercise==1.0.1
15-
- sphinx-proof==0.2.0
16-
- ghp-import==1.1.0
17-
- sphinxcontrib-youtube==1.3.0 #Version 1.3.0 is required as quantecon-book-theme is only compatible with sphinx<=5
14+
- sphinx-proof==0.2.1
15+
- sphinxcontrib-youtube==1.4.1
1816
- sphinx-togglebutton==0.3.2
17+
- sphinx-reredirects==0.1.4
18+
19+

lectures/_config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ sphinx:
3737
# false-positive links
3838
linkcheck_ignore: ['https://online.stat.psu.edu/stat415/book/export/html/834']
3939
bibtex_reference_style: author_year
40+
suppress_warnings: ["mystnb.unknown_mime_type"]
4041
nb_mime_priority_overrides: [
4142
# HTML
4243
['html', 'application/vnd.jupyter.widget-view+json', 10],
@@ -97,6 +98,9 @@ sphinx:
9798
advanced:
9899
- "https://python-advanced.quantecon.org"
99100
- null
101+
jax:
102+
- "https://jax.quantecon.org/"
103+
- null
100104
mathjax3_config:
101105
tex:
102106
macros:

lectures/_static/quant-econ.bib

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,46 @@
22
QuantEcon Bibliography File used in conjuction with sphinxcontrib-bibtex package
33
Note: Extended Information (like abstracts, doi, url's etc.) can be found in quant-econ-extendedinfo.bib file in _static/
44
###
5+
6+
@article{blume2018case,
7+
title={A case for incomplete markets},
8+
author={Blume, Lawrence E and Cogley, Timothy and Easley, David A and Sargent, Thomas J and Tsyrennikov, Viktor},
9+
journal={Journal of Economic Theory},
10+
volume={178},
11+
pages={191--221},
12+
year={2018},
13+
publisher={Elsevier}
14+
}
15+
16+
@article{shannon1948mathematical,
17+
title={A mathematical theory of communication},
18+
author={Shannon, Claude E},
19+
journal={The Bell system technical journal},
20+
volume={27},
21+
number={3},
22+
pages={379--423},
23+
year={1948},
24+
publisher={Nokia Bell Labs}
25+
}
26+
27+
@article{kullback1951information,
28+
title={On Information and Sufficiency},
29+
author={Kullback, Solomon and Leibler, Richard A},
30+
journal={The Annals of Mathematical Statistics},
31+
volume={22},
32+
number={1},
33+
pages={79--86},
34+
year={1951},
35+
publisher={JSTOR}
36+
}
37+
38+
@book{kullback1997information,
39+
title={Information theory and statistics},
40+
author={Kullback, Solomon},
41+
year={1997},
42+
publisher={Courier Corporation}
43+
}
44+
545
@book{friedman1953essays,
646
title={Essays in positive economics},
747
author={Friedman, Milton},

lectures/_toc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ parts:
3333
- caption: Statistics and Information
3434
numbered: true
3535
chapters:
36+
- file: divergence_measures
3637
- file: likelihood_ratio_process
38+
- file: likelihood_ratio_process_2
39+
- file: likelihood_var
3740
- file: imp_sample
3841
- file: wald_friedman
3942
- file: wald_friedman_2

lectures/aiyagari.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ Let's start with some imports:
5757

5858
```{code-cell} ipython3
5959
import matplotlib.pyplot as plt
60-
plt.rcParams["figure.figsize"] = (11, 5) #set default figure size
6160
import numpy as np
6261
from quantecon.markov import DiscreteDP
6362
from numba import jit

0 commit comments

Comments
 (0)