https://github.com/DREAM-DK/MAKRO Skip to content Sign up * Why GitHub? + Features + Mobile + Actions + Codespaces + Packages + Security + Code review + Issues + Integrations + GitHub Sponsors + Customer stories * Team * Enterprise * Explore + Explore GitHub + Learn and contribute + Topics + Collections + Trending + Learning Lab + Open source guides + Connect with others + The ReadME Project + Events + Community forum + GitHub Education + GitHub Stars program * Marketplace * Pricing + Plans + Compare plans + Contact Sales + Education [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} DREAM-DK / MAKRO Public * Notifications * Fork 7 * Star 209 * MIT License 209 stars 7 forks Star Notifications * Code * Issues 1 * Pull requests 1 * Actions * Projects 0 * Wiki * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Wiki * Security * Insights main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags 1 branch 0 tags Code Latest commit @MartinBonde MartinBonde 22Jan beta ... 1a0d16e Jan 21, 2022 22Jan beta 1a0d16e Git stats * 1 commit Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time Analysis 22Jan beta Jan 21, 2022 Data 22Jan beta Jan 21, 2022 Documentation 22Jan beta Jan 21, 2022 Model 22Jan beta Jan 21, 2022 gamY 22Jan beta Jan 21, 2022 .gitattributes 22Jan beta Jan 21, 2022 .gitignore 22Jan beta Jan 21, 2022 LICENSE.md 22Jan beta Jan 21, 2022 MAKRO.sublime-project 22Jan beta Jan 21, 2022 README.md 22Jan beta Jan 21, 2022 gekko.ini 22Jan beta Jan 21, 2022 paths.cmd 22Jan beta Jan 21, 2022 View code MAKRO (beta version) January 2022 version Documentation GAMS and gamY Running shocks and replicating working papers Model source code Modules README.md MAKRO (beta version) MAKRO is an economic model built to provide a good description of the Danish economy in both the short and the long run. In addition, the model is used to analyze how economic policy initiatives affect the economy including the gradual transition to a long run path. The model is developed by the MAKRO model group at DREAM (Danish Research Institute for Economic Analysis and Modelling ) for use by the Danish Ministry of Finance. The model parameters, equations, and data as a whole have been selected such that the short and long run properties are as empirically and theoretically well-founded as possible. Any changes to parameters, equations, or data are solely the user's responsibility and we request that any changes are explicitly presented in any publication making use of MAKRO. January 2022 version This is the first publicly available beta version of MAKRO. It comes with batteries included in the form of a stylized baseline starting in 2025, such that users can simulate marginal policy experiments without requiring a data subscription or calibrating the model. Note that the stylized baseline is NOT a serious forecast of the Danish economy, but rather is based on a number of simplified projection assumptions. As such, the baseline should only be used for marginal experiments rather than as a forecast on its own. Documentation The model documentation in English is included in this repository under Documentation/Documentation.pdf. Variable names and documentation in the code are in Danish, however, comments regarding the structure of the code are in English for anyone looking for a template on how to structure a large model. GAMS and gamY MAKRO is written in GAMS, but uses a pre-processor, gamY, that implements additional features that are convenient for working with large models. An installation of GAMS is needed to run MAKRO (we recommend using the latest version) as well as a license for both GAMS and the included Conopt4 solver. Note that students and academics may have access to a license through their university. The paths.cmd file should be adjusted with the path to your local GAMS installation. gamY can be run as a stand-alone executable or as a python script - both are included in the gamY subdirectory. The documentation for gamY is also included. The recommended text editor for working with gamY is Sublime Text 3, where the gamY sublime package provides syntax highlighting. Running shocks and replicating working papers The manuscripts for three working papers are included in the Analysis subdirectory along with the code necessary to simulate the experiments and reproduce the figures in these papers. The working papers are 1. "Grundlaeggende stodanalyser i MAKRO" 2. "Analyse af stod til pensionsindbetalinger" 3. "Marginal Propensity to Consume - The MPC of temporary and permanent income shocks by age" The figures for the first two papers are produced using Gekko Timeseries And Modeling Software to run the provided .gcm files. The figures for the third paper are produced using an attached python script using the packages dream-tools, plotly, and kaleido (pip install dream-tools, plotly, kaleido). Model source code The source code defining all the model equations can be found in the model subdirectory. The run.cmd shows the order in which the files are usually run. Modules The model is split into several modules, each of which define a group of endogenous variables and exactly as many constraints. The separation is purely for user convenience, rather than technical, as in the end all the modules are solved simultaneously. * aggregates - Calculates objects with ties to many other modules * consumers - Consumption decisions and budget constraint * exports - Armington demand for exports of both domestically produced and imported goods * finance - Firm financing and valuation * government - Government aggregation module * GovRevenues - Government revenues (see also taxes module) * GovExpenses - Government expenses * HHincome - Household income and portfolio accounting * IO - Details of the IO system. The different demand components are satisfied with domestic production competing with imports. * labor_market - Labor force participation, job searching and matching, and wage bargaining * post_model - Module for calculating pure output variables not present in the model that only runs after the main model. * pricing - Price rigidities, markups, and foreign prices * production_private Private sector production and demand for factors of production * production_public Public sector production and demand for factors of production * struk - Structural levels, i.e. potential output (Gross Value Added) and structural employment * taxes - Tax rates and revenues from taxes and duties closely related to the IO system About No description, website, or topics provided. Resources Readme License MIT License Stars 209 stars Watchers 9 watching Forks 7 forks Releases No releases published Packages 0 No packages published Languages * GAMS 77.9% * Python 16.0% * CSS 4.3% * HTML 1.3% * Batchfile 0.5% * (c) 2022 GitHub, Inc. * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.