RepositoryCHSwitzerland
dkgaraujo

dkgaraujo/OpenSourcedMacroModels

A best-efforts collection of open-sourced macroeconomic models run by central banks and other official sector agencies (ie, ministries of economy)

205stars
42forks
0issues
3views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: monetary-policy

#1 Repository of the month

1
TINIX TRENDING·Topic: central-banking

#1 Repository of the month

1
TINIX TRENDING·Topic: economics

#1 Repository of the month

OpenSourcedMacroModels

Working paper describing the content below, and more: SSRN version, IFC Bulletin version.

Objective

The goal of this repository is to collect in one place the open-sourced macroeconomic models, in particular (but not limited to) those used by central banks, ministries of finance and other offical sector agencies.

If you know a model that is not listed here, please open up a pull request here. PRs for corrections are also very welcome. Alternatively, feel free to reach out to me on Twitter.

Official sector models

The table below lists models that were open sourced by official sector entities themselves.

JurisdictionInstitutionModel nameModel typeLink to codeProgramming languageLicenseAbout
AustraliaReserve Bank of AustraliaMARTINEconomy-wide model based on error-correction equationshttps://www.rba.gov.au/publications/rdp/2019/2019-07.html
(click on "supplementary information")
EViews"Disclaimer" section at https://www.rba.gov.au/publications/rdp/2019/2019-07/read-me.htmlModel described in the paper at https://www.rba.gov.au/publications/rdp/2019/2019-07.html
ChileBanco Central de ChileMSEPSemi-structural modelhttps://www.bcentral.cl/documents/33528/2246274/sec3_3_1_structural_domestic_MSEP.zip/1d5236d2-4db2-b687-bd73-08a09fb5b316?t=1586981365357Matlab/Octave + DynareSame as for the websiteSection 3.3.1 of https://www.bcentral.cl/documents/33528/2246274/Uso_de_modelos_en_el_BCCh_2020.pdf/08cdce8e-7344-4af8-01a3-93c0dc7f39db?t=1586968478573
ChileBanco Central de ChileXMASDSGEhttps://www.bcentral.cl/documents/33528/2246274/sec3_3_2_structural_domestic_XMAS.zip/726db955-2713-c7d5-9ed8-9ef65eef7475?t=1586981406890Matlab/Octave + DynareSame as for the websiteSection 3.3.2 of https://www.bcentral.cl/documents/33528/2246274/Uso_de_modelos_en_el_BCCh_2020.pdf/08cdce8e-7344-4af8-01a3-93c0dc7f39db?t=1586968478573
DenmarkMinistry of FinanceMAKRODeterministic perfect forecast modelhttps://github.com/DREAM-DK/MAKROGAMSMIT License
Euro AreaEuropean Central Bank (ECB)Bayesian Estimation, Analysis and Regression toolbox (BEAR)Bayesian vector autoregression (VAR)https://github.com/european-central-bank/BEAR-toolbox/MatlabCustom end-user license agreement
European UnionEuropean CommissionOutput gap modelhttps://circabc.europa.eu/ui/group/671d465b-0752-4a2e-906c-a3effd2340ba/library/b9482682-d5a0-47a1-9281-bc7d8a214629WinRATS
FinlandBank of FinlandAinoDSGEhttps://helda.helsinki.fi/bof/handle/123456789/14144 (v2.0)Matlab/Octave + Dynarehttps://helda.helsinki.fi/bof/copyrightAino 2.0. Note: current version (no code available) is Aino 3.0
FranceFrench Ministry of Economics and FinanceMésangeDSGEhttps://github.com/InseeFr/MesangeTrollhttps://raw.githubusercontent.com/InseeFr/Mesange/master/LICENSE.txthttps://github.com/InseeFr/Mesange/raw/master/Document%20de%20travail%20Mesange%202017.pdf
FranceFrench Ministry of Economics and FinanceModèle Opalehttps://github.com/DGTresor/OpaleTrollhttps://github.com/DGTresor/Opale/blob/master/LICENSEhttps://github.com/DGTresor/Opale/blob/master/doc/Document_de_travail_Opale__2017_.pdf
FranceFrench Ministry of Economics and FinanceModèle Saphirhttps://github.com/DGTresor/SaphirSAShttps://github.com/DGTresor/Saphir/blob/master/LICENSE
GermanyFederal Ministry for Economic Affairs and Climate ActionProduction function methodologyhttps://www.bmwi.de/Redaktion/DE/Downloads/G/ergaenzende-unterlagen-zu-den-berechnungsgrundlagen-fuer-die-bestimmung-des-gesamtwirtschaftlichen-produktionspotenzials.zip?__blob=publicationFile&v=14EViewsSame as for the websitehttps://www.bmwi.de/Redaktion/DE/Downloads/G/ergaenzende-unterlagen-zu-den-berechnungsgrundlagen-fuer-die-bestimmung-des-gesamtwirtschaftlichen-produktionspotenzials.html
IcelandCentral Bank of IcelandQuarterly Macroeconomic Model (QMM)Structural econometric modelhttps://www.cb.is/monetary-policy/central-bank-of-iceland-economic-forecasts/Not clearhttps://www.cb.is/other/copyright/https://www.cb.is/library/Skraarsafn---EN/Working-Papers/WP82_net
ItalyBank of ItalyBlack-box abm calibration kitAgent-based modelhttps://github.com/bancaditalia/black-itPythonhttps://github.com/bancaditalia/black-it/blob/main/LICENSEhttps://github.com/bancaditalia/black-it/blob/main/docs/description.md
ItalyBank of ItalyBehavioural agent-based economic forecastingAgent-based modelhttps://github.com/bancaditalia/BeforeIT.jlJuliahttps://github.com/bancaditalia/BeforeIT.jl/blob/main/LICENSEhttps://github.com/bancaditalia/BeforeIT.jl/blob/main/docs/src/index.md
JapanBank of JapanQuarterly Japanese Economic Model (Q-JEM)Large-scale semi-structural modelhttps://www.boj.or.jp/en/research/wps_rev/wps_2019/data/wp19e07.zipEViews and PythonCustom, found in "Disclaimer.pdf"https://www.boj.or.jp/en/research/wps_rev/wps_2019/wp19e07.htm
SwedenRiksbankRamses IIDynamic stochastic general equilibrium (DSGE)https://www.riksbank.se/contentassets/e01d64fc644b462cb345ba0f4c85cf24/ramsesii_dynarecode_occasionalpaperno12.zipMatlab/Octave + DynareSame as for the websitehttps://www.riksbank.se/sv/press-och-publicerat/publikationer/working-paper-series/occasional-paper-series/no.-12-ramses-ii--model-description/
UKHM Treasury and Office for Budget ResponsibilityOBR modelLarge-scale macro-econometric modelhttps://obr.uk/download/obr-macroeconomic-model-code/EViewsLast paragraph of this pagehttps://obr.uk/forecasts-in-depth/obr-macroeconomic-model/
USAFederal Reserve Bank of New York (FRBNY)Dynamic stochastic general equilibrium (DSGE)https://github.com/FRBNY-DSGE/DSGE.jlJuliaBSD-3-Clause LicenseBlog post
USAFederal Reserve BoardFRB/USLarge-scale, general equilibrium modelhttps://www.federalreserve.gov/econres/us-models-package.htmEViews, PythonSame as for the websiteEviews version: https://www.federalreserve.gov/econres/us-models-about.htm
Python version: https://www.federalreserve.gov/econres/us-models-python.htm
USAFederal Reserve BoardEstimated Dynamic Optimization (EDO) ModelDSGEhttps://www.federalreserve.gov/econres/edo-model-package.htmMatlab/Octave + DynareSame as for the websitehttps://www.federalreserve.gov/econres/edo-models-about.htm

Below are other resources that are worth consulting for their wealth of model code. The table below lists policy models open sourced by entities not in the official sector. Other sources are listed after the table.

JurisdictionInstitutionModel nameModel typeLink to codeProgramming languageLicenseAbout
GeneralPolicy Simulation LibraryOG-CoreLarge-scale overlapping generations modelhttps://github.com/PSLmodels/OG-CorePythonCC0 1.0 Universal SummaryThis core model can be run on its own. But more effective is to create a country-specific calibration that uses OG-Core as a dependency (e.g., OG-USA and OG-UK). OG-Core documentation is thorough and up-to-date.
UKPolicy Simulation LibraryOG-UKLarge-scale overlapping generations modelhttps://github.com/PSLmodels/OG-UKPythonCC0 1.0 Universal SummaryThis model is currently under development. Large-scale overlapping generations model of U.K. fiscal policy. It uses as a dependency the OG-Core model logic and interfaces with the OpenFisca-UK open-source microsimulation model. OG-UK documentation is also under development.
USAPolicy Simulation LibraryOG-USALarge-scale overlapping generations modelhttps://github.com/PSLmodels/OG-USAPythonCC0 1.0 Universal SummaryLarge-scale overlapping generations model of U.S. fiscal policy. It uses as a dependency the OG-Core model. OG-USA is currently set up to inteface with the open-source Tax-Calculator microsimulation model. However, it has been used with other microsimulation models as well (e.g., Tax Policy Center microsimulation model). OG-USA documentation is thorough and up-to-date.

⭐️ https://www.macromodelbase.com

  • Repository of multiple macroeconomic models designed to enable systematic model comparison.
  • The site contains an online comparison tool, in which you can choose amongst many different models (all well-categorised for ease of reference) and compare their outcome in terms of impulse response functions, etc for given shocks.

⭐️ https://github.com/JohannesPfeifer/DSGE_mod

  • Repository of multiple academic macroeconomic models

⭐️ https://www.bankofengland.co.uk/ccbs/applied-bayesian-econometrics-for-central-bankers-updated-2017

  • Material demonstrating very clearly Bayesian econometric tools that are often employed for macroeconomic models, namely:
    • Bayesian vector autorregressions (VAR),
    • VAR with time-varying parameters, and
    • dynamic factor models

⭐️ https://github.com/shade-econ/nber-workshop-2022

  • NBER Spring 2022 heterogeneous-agent macro workshop
    • Jupyter notebooks in Python, very clear to follow and learn from
    • Tutorials range from setting up models to estimating them using data

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
openbq-org/OpenBB

Open Data Platform for analysts, quants and AI agents.

76.0k
Nov 29, 2026
RepositoryJavaScript
hackerkid/Mind-Expanding-Books

:books: Find your next book to read!

14.6k
Nov 9, 2024
RepositoryJupyter Notebook
hoochanlon/hamuleite

🌊深度整合全球顶尖学术、金融与教育资源:学术板块汇聚 JSTOR、Taylor & Francis、剑桥大学出版社等权威平台的论文,并接入 Z-Library 影子图书馆的海量电子书;教育板块收录香港、新加坡从小学到高中以及大学学科教科书;金融板块则聚合香橼、摩根、野村等顶级机构的深度研报,只为打破信息孤岛,构建知识平权普惠知识库。

10.2k
Dec 2, 2026
RepositoryStata
brycewang-stanford/Auto-Empirical-Research-Skills

🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.

5.2k
Nov 24, 2026
RepositoryJupyter Notebook
py-why/EconML

ALICE (Automated Learning and Intelligence for Causation and Economics) is a Microsoft Research project aimed at applying Artificial Intelligence concepts to economic decision making. One of its goals is to build a toolkit that combines state-of-the-art machine learning techniques with econometrics in order to bring automation to complex causal inference problems. To date, the ALICE Python SDK (econml) implements orthogonal machine learning algorithms such as the double machine learning work of Chernozhukov et al. This toolkit is designed to measure the causal effect of some treatment variable(s) t on an outcome variable y, controlling for a set of features x.

4.9k
Nov 23, 2026
RepositoryPython
QuantEcon/QuantEcon.py

A community based Python library for quantitative economics

2.4k
Nov 17, 2026
Dataset
MMMU/MMMU

MMMU (A Massive Multi-discipline Multimodal Understanding and Reasoning Benchmark for Expert AGI) 🌐 Homepage | 🏆 Leaderboard | 🤗 Dataset | 🤗 Paper | 📖 arXiv | GitHub 🔔News 🛠️[2026-07-10]: Fixed incorrect ground-truth answer labels in validation_Design_15 and validation_Art_Theory_4. 🛠️[2026-04-21]: Fixed option issue in test_Psychology_15. ‼️[2026-02-12]: We have released the answers for the test set! You can now evaluate your models on the test set… See the full description on the dataset page: https://huggingface.co/datasets/MMMU/MMMU.

♥0
87.1k
Oct 5, 2026
RepositoryHTML
pedrohcgs/claude-code-my-workflow

A ready-to-fork Claude Code template for academic research — papers, data analysis (R, Stata, Python), slides and teaching — with multi-agent review, enforced quality gates and replication protocols. Codex and Antigravity can use it too.

1.8k
Nov 7, 2026
RepositoryStata
brycewang-stanford/Awesome-Journal-Skills

Journal-specific Claude Code/Codex skill packs covering mainstream journals — AER, QJE, Nature, Cell, 管理世界, 经济研究 & 200+ more — your fast track to getting published. | 覆盖主流期刊的 Claude Code/Codex 期刊技能包,从选题、识别策略到表格规范与审稿回复全流程,助你快速发论文。

1.5k
Nov 24, 2026