marcoverpas/leeds_lectures_2026 — explained in plain English
Analysis updated 2026-05-18
Study nine worked stock flow consistent macroeconomic models in plain R without installing extra packages.
Compare how the same toy economy looks as an aggregate model, an input output model, and an agent based model.
Regenerate the animated and network diagrams used in the lecture material with the listed optional R packages.
| marcoverpas/leeds_lectures_2026 | asabeneh/speaksuomi | bmschmidt/bookwormblog | |
|---|---|---|---|
| Stars | 4 | 4 | 4 |
| Language | HTML | HTML | HTML |
| Last pushed | — | 2026-05-29 | 2015-05-22 |
| Maintenance | — | Maintained | Dormant |
| Setup difficulty | easy | easy | moderate |
| Complexity | 2/5 | 1/5 | 3/5 |
| Audience | researcher | general | researcher |
Figures from each repo's GitHub metadata at analysis time.
Core models need only base R, diagram scripts need a few extra plotting packages listed in the README.
This repository contains teaching material for a two day training seminar on economic modeling held at the University of Leeds in July 2026. It presents nine small macroeconomic models arranged in a three by three grid. Three classic stock flow consistent models, called SIM, PC and BMW, each come from earlier academic work, and each one is written in three different coding styles: an aggregate version, an input output version, and an agent based version. Reading across a row shows the same underlying economy represented at different levels of detail, from one economy wide aggregate, to a set of connected industries, to a population of individual interacting households. Reading down a column shows the financial side of the economy getting richer, moving from a model with just government money, to one that adds government bonds, to one that adds bank loans and deposits financing physical capital investment. Stock flow consistent models track every sector's balance sheet and every transaction between sectors so that nothing is created or destroyed by accident: every payment is recorded as someone's income and every financial asset is recorded as someone else's liability. The material explains this accounting logic before walking through each of the nine models in turn, and it also includes a companion book style version of the same content as a single readable HTML page. All nine core models run in plain R with no extra packages needed. A handful of optional packages are needed only if you want to regenerate the animated charts, network diagrams and Sankey diagrams shown in the material itself, and the README lists exactly which packages go with which script. The material links to several related lecture series by the same author covering similar stock flow consistent modeling topics for other audiences and events. The content is shared under a Creative Commons non commercial license, with credit required for reuse.
Teaching material with nine small R based macroeconomic models comparing aggregate, input output and agent based versions of classic stock flow consistent models.
Mainly HTML. The stack also includes R, HTML.
Setup difficulty is rated easy, with roughly 30min to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.