Repository navigation
Closed
Labels
Description
Comments by @pgrosser1
Overview
This is a topical lecture so maybe talk about what is going on right now with the economy and fiscal policies around the world
Potential lecture idea
- lecture on the constraints of optimisation
- Introduction lecture on demographics and how it interacts with the economy, especially on what might happen in the next 10 or 20 years
Content
- Add a message at the start on who the lecture is intended to be taking to and what in general is the lecture trying to talk about, need very clear motivation at the start and talk about why it is so interesting #507
- Just before equation 31.3 add brackets saying that it is taking the first-order condition over the previous equation
- Before equation 31.8, Add a Wikipedia link or explaination on the Lagrangie condition OR even cut the entire Lagrangie idea out and substitute the constrain into the objective function (potentially creating a lecture on constraints of optimisation)
- Starting from section 31.10.4, consider not having a graph for every single variable, only for those that will be mentioned. In general, it was difficult to understand the conclusion drawn from the graph and the graphs themselves are hard to read. There is too much information and not enough explanation, need a better connection between the figures and the explaination below the figures
Code
- change the usage of njit to jit and consider removing it if it result in no large run-time increase
- For the code block in section 30.10.3 get rid of the class and change the entire code block to just functions
- For the graphs, try to use object-oriented codes. Search for the usage of
plt, which should be changed to object-orientated programming. Should use default figure size, highlight the code used for plotting, and let matplotlib pick the colours
Activity
mmcky commentedon Jun 30, 2024
Thanks @Jiarui-ZH for these notes.
Sometimes it can be efficient to work on this while it is fresh. Would you be able to work on this today?
Jiarui-ZH commentedon Jul 8, 2024
@jstac Here is the runtime using njit


and here is without using njit:
the runtime is actually faster without njit so I will proceed to just removing it
jstac commentedon May 28, 2026
Closing — the
ak2lecture was removed from this repo in #549 and now lives in QuantEcon/lecture-python.myst (published at https://python.quantecon.org/ak2.html). The remaining unchecked items have been re-filed there as QuantEcon/lecture-python.myst#883. The referenced sub-issue #507 is already closed.