Session Slides

© Zhigang Feng — shared for personal study. Every deck is a free download; no password. Each page carries a copyright watermark. Please do not redistribute, repost, or mirror them without permission, and cite the source if you build on them.

Each 75-minute block is three to five short decks rather than one long one, so each can be read in a sitting. The syllabus says which decks belong to which session; the labs page has the matching notebooks.

Every number on these slides came from code that ran. The computational sessions are generated from a measurement ledger — nothing is quoted from a textbook without being reproduced, and where a source turned out to be wrong, the slide says so.

Session 1 — Introduction and the growth model Available

September 24, 2026  ·  6 decks  ·  Discuss

Block A

1.A1 — Who I Am & Why This Course PDF · 17 pp.
1.A2 — The Macro Research Frontier PDF · 16 pp.
1.A3 — AI: Tool and Object of Macro Research PDF · 15 pp.

Block B

1.B1 — The Trunk: From the Planner to Equilibrium PDF · 14 pp.
1.B2 — Dynamic Programming: Why It Works and How It Computes PDF · 14 pp.
1.B3 — Why Macroeconomists Need Reinforcement Learning PDF · 16 pp.

Session 2 — Heterogeneous agents, OLG, optimal policy Available

October 1, 2026  ·  6 decks  ·  Discuss

Block A

2.A1 — Bewley & Huggett: Why Can't Everyone Insure? PDF · 26 pp.
2.A2 — Aiyagari: Production and the Capital Market PDF · 16 pp.
2.A3 — The Stationary Distribution — and Where the Model Goes Next PDF · 14 pp.

Block B

2.B1 — Krusell–Smith: The Distribution as a State PDF · 16 pp.
2.B2 — Overlapping Generations: Finite Lives PDF · 16 pp.
2.B3 — Optimal Policy: Ramsey and Time Consistency PDF · 15 pp.
Decks are posted session by session, a few days before each class. Later sessions will appear here as the course reaches them.

Session 3 — Computation and programming Available

October 8, 2026  ·  9 decks  ·  what it means to solve a model; VFI and time iteration; the Python, NumPy and PyTorch toolkit; the data workflow; a hands-on  ·  Discuss

Block A

3.A1 — What Does It Mean to Solve a Model? PDF · 20 pp.
3.A2 — Value Function Iteration: The First Complete Crossing PDF · 17 pp.
3.A3 — Euler Equations, Time Iteration, and What Is Still Missing PDF · 17 pp.
3.A4 — Worked Example: The RBC Model, Fully Discretized PDF · 15 pp.

Block B

3.B1 — Your Toolkit: Python, Environments, and Version Control PDF · 22 pp.
3.B2 — From Loops to Arrays PDF · 16 pp.
3.B3 — PyTorch from the Ground Up, and Coding with AI PDF · 16 pp.
3.B4 — The Data Workflow: Acquire, Clean, Persist, Export PDF · 23 pp.
3.B5 — Hands-On: From a Closed Form to a Calibrated Economy (the steps; the solution follows in class) PDF · 13 pp.

Session 4 — Numerical methods I Available

October 15, 2026  ·  6 decks  ·  root-finding and optimization; where derivatives come from; approximation and interpolation; expectations and the Markov chain; how each speed-up works; the worked example  ·  Discuss

Block A

4.A1 — Root-Finding and Optimization on an Interval PDF · 18 pp.
4.A2 — Optimization in Many Dimensions, and Where Derivatives Come From PDF · 31 pp.

Block B

4.B1 — Function Approximation and Interpolation PDF · 32 pp.
4.B2 — Expectations: Quadrature, and Discretizing the Shock PDF · 22 pp.
4.B3 — Fast and Accurate: How Each Improvement Works PDF · 18 pp.
4.B4 — Worked Example: The Stochastic RBC Model, Properly PDF · 15 pp.

Session 5 — Numerical methods II In preparation

October 22, 2026  ·  perturbation and projection; one model, four methods  ·  Discuss

Session 6 — Heterogeneous agents I and II In preparation

October 29, 2026  ·  Block A: Aiyagari as a nested fixed point, Krusell–Smith, OLG, optimal policy; Block B: when heterogeneity aggregates — Negishi and transitional dynamics  ·  Discuss

Session 7 — Deep learning for macroeconomics In preparation

November 5, 2026  ·  machine learning essentials; neural networks as approximators; deep learning for dynamic models  ·  Discuss

Sessions 8–10 In preparation

Reinforcement learning and heterogeneous agents, language models, and agentic AI. Posted as each session is built. Discuss: Session 8 · Session 9 · Session 10.