{"type":"script","doc_desc":{"producers":[{"name":"Reproducibility WBG","abbr":"DECDI","affiliation":"World Bank - Development Impact Department","role":"Verification and preparation of metadata"}],"prod_date":"2025-09-05","version":"1"},"project_desc":{"authoring_entity":[{"name":"Andrew Burns","affiliation":"World Bank","email":"aburns@worldbank.org, home@a-burns.com"},{"name":"Ib Hansen","affiliation":"Danmarks Nationalbank (retired)","email":"ibhansen.iv@gmail.com"}],"title_statement":{"title":"Reproducibility package for The World Bank's MFMod Framework In Python With Modelflow","idno":"FR_WLD_2025_379"},"data_statement":"All data sources are publicly available. (Open Data)","software":[{"name":"Python","version":"3.12.6"}],"scripts":[{"title":"Reproducibility package for The World Bank's Mfmod Framework In Python With Modelflow","date":"2025-09","notes":"Computational reproducibility verified by Development Impact (DECDI) Analytics team, World Bank.","instructions":"See README in reproducibility package.","file_name":"RR_WLD_2025_379","zip_package":"RR_WLD_2025_379.zip","dependencies":"All dependencies are listed in the \"environment.yml\" file."}],"repository_uri":[{"name":"Reproducible Research Repository (World Bank)","uri":"https:\/\/reproducibility.worldbank.org"}],"production_date":"2025-09-05","abstract":"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.","geographic_units":[{"name":"World","code":"WLD"}],"keywords":[{"name":"MFMod"},{"name":"Macroeconomic Modelling"}],"topics":[{"id":"E17","uri":"https:\/\/www.aeaweb.org\/econlit\/jelCodes.php?view=jel","vocabulary":"Journal of Economic Literature (JEL)","name":"Forecasting and Simulation: Models and Applications","parent_id":"E1"},{"id":" E13","uri":"https:\/\/www.aeaweb.org\/econlit\/jelCodes.php?view=jel","vocabulary":"Journal of Economic Literature (JEL)","name":"Neoclassical","parent_id":"E1"},{"id":" C63","uri":"https:\/\/www.aeaweb.org\/econlit\/jelCodes.php?view=jel","vocabulary":"Journal of Economic Literature (JEL)","name":"Computational Techniques \u2022 Simulation Modeling","parent_id":"C6"},{"id":" C88","uri":"https:\/\/www.aeaweb.org\/econlit\/jelCodes.php?view=jel","vocabulary":"Journal of Economic Literature (JEL)","name":"Other Computer Software","parent_id":"C8"}],"output":[{"type":"Book","description":"Book","title":"The World Bank's MFMod Framework In Python With Modelflow"}],"language":[{"name":"English","code":"EN"}],"technology_requirements":"Runtime: 20 minutes.","disclaimer":"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.","license":[{"name":"Modified BSD3","uri":"https:\/\/opensource.org\/license\/bsd-3-clause\/"}],"contacts":[{"name":"Andrew Burns","affiliation":"World Bank","email":"aburns@worldbank.org, home@a-burns.com"},{"name":"Reproducibility WBG","affiliation":"World Bank","email":"reproducibility@worldbank.org"}],"datasets":[{"name":"World Bank Macrostructural Models","note":"Source: World Bank.\nThe reproducibility package downloads and saves macrostructural models containing macroeconomic data for Bolivia, Croatia, Iraq, Nepal, Pakistan, and Turkiye using the Python package \"modelflow_book\".\nThe data are collected and saved every time the code is executed; future versions of \"modelflow_book\" might contain updated data and not reproduce exactly the same results as verified by the reviewers.\n. The files are stored in the folders \"mfbook\/content\/05_WBModels\/WorldbankModels\/{country}\/data\".","access_type":"All data sources are publicly available and collected when running the reproducibility package."}],"technology_environment":"Paper exhibits were reproduced on a computer with the following specifications:\n\u2022 OS: Windows 11 Enterprise, version 24H2\n\u2022 Processor: Intel(R) Core(TM) Ultra 7 165U (2.10 GHz)\n\u2022 Memory available: 31.5 GB\n\u2022 Software version: Python 3.12.6","reproduction_instructions":"Reproduction instructions are detailed in the README of the reproducibility package. They are summarized here:\n1. Replicate and activate the conda environment in the file \"environment.yml\" included in the reproducibility package, or manually install the dependencies \"jupyter\" and \"jupyter-book\" from the conda-forge channel of conda, \"ModelFlow_book\" from the channel ibh, and \"dash_interactive_graphviz\" from pip.\n2. Enable the necessary jupyter notebook extensions by running these commands:\n    - `jupyter contrib nbextension install --user`\n    - `jupyter nbextension enable hide_input_all\/main`\n    - `jupyter nbextension enable splitcell\/splitcell`\n    - `jupyter nbextension enable toc2\/main`\n    - `jupyter nbextension enable varInspector\/main`\n3. Run the \"build\" Python script."},"tags":[{"tag":"DOI"},{"tag":"Open Code"},{"tag":"Open Data"}],"schematype":"script"}