This book provides a comprehensive guide to using macroeconometric models developed by the World Bank using the Python modelling library ModelFlow. Assuming no previous knowledge of python, the book takes the reader through the installation process, and provides them with sufficient python and Jupyter notebook skills to work with World Bank models. Topics covered include acquiring a model, simulating a model, report writing and model analytics. The entire book was produced using Jupyter notebooks, so all of the examples and models discussed are available to readers as Jupyter Notebooks so that they can be used as a basis for independent learning and experimentation.
| Repository name | URI |
|---|---|
| Reproducible Research Repository (World Bank) | https://reproducibility.worldbank.org |
Paper exhibits were reproduced on a computer with the following specifications:
• OS: Windows 11 Enterprise, version 24H2
• Processor: Intel(R) Core(TM) Ultra 7 165U (2.10 GHz)
• Memory available: 31.5 GB
• Software version: Python 3.12.6
Runtime: 20 minutes.
Reproduction instructions are detailed in the README of the reproducibility package. They are summarized here:
jupyter contrib nbextension install --userjupyter nbextension enable hide_input_all/mainjupyter nbextension enable splitcell/splitcelljupyter nbextension enable toc2/mainjupyter nbextension enable varInspector/mainAll data sources are publicly available. (Open Data)
| Author | Affiliation | |
|---|---|---|
| Andrew Burns | World Bank | aburns@worldbank.org, home@a-burns.com |
| Ib Hansen | Danmarks Nationalbank (retired) | ibhansen.iv@gmail.com |
2025-09-05
| Location | Code |
|---|---|
| World | WLD |
The materials in the reproducibility packages are distributed as they were prepared by the staff of the International Bank for Reconstruction and Development/The World Bank. The findings, interpretations, and conclusions expressed in this event do not necessarily reflect the views of the World Bank, the Executive Directors of the World Bank, or the governments they represent. The World Bank does not guarantee the accuracy of the materials included in the reproducibility package.
| Name | URI |
|---|---|
| Modified BSD3 | https://opensource.org/license/bsd-3-clause/ |
| Name | Affiliation | |
|---|---|---|
| Andrew Burns | World Bank | aburns@worldbank.org, home@a-burns.com |
| Reproducibility WBG | World Bank | reproducibility@worldbank.org |
| Name | Abbreviation | Affiliation | Role |
|---|---|---|---|
| Reproducibility WBG | DECDI | World Bank - Development Impact Department | Verification and preparation of metadata |
2025-09-05
1