Skip to main content
Log in

Macroeconomics with heterogeneous agent models: fostering transparency, reproducibility and replication

  • Regular Article
  • Published:
Journal of Evolutionary Economics Aims and scope Submit manuscript

Abstract

This paper provides a detailed description of the Eurace@Unibi model, which has been developed as a versatile tool for macroeconomic analysis and policy experiments. The model explicitly incorporates the decentralized interaction of heterogeneous agents across different sectors and regions. The modeling of individual behavior is based on heuristics with empirical microfoundations. Although Eurace@Unibi has been applied successfully to different policy domains, the complexity of the structure of the model, which is similar to other agent-based macroeconomic models, makes it hard to communicate to readers the exact working of the model and enable them to check the robustness of obtained results. This paper addresses these challenges by describing the details of all decision rules, interaction protocols and balance sheet structures used in the model. Furthermore, we discuss the use of a virtual appliance as a tool allowing third parties to reproduce the simulation results and to replicate the model. The paper illustrates the potential use of the virtual appliance by providing some sensitivity analyses of the simulation output carried out using this tool.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Listing 1
Listing 2
Fig. 1
Fig. 2
Fig. 3

Similar content being viewed by others

Notes

  1. Recent contributions include (Ashraf et al. 2016; Dawid et al. 2014; Dosi et al. 2015; Mandel et al. 2015; Russo et al. 2016; Sinitskaya and Tesfatsion 2015; Seppecher and Salle 2015). See also the survey by Dawid and Delli Gatti (2018).

  2. See e.g. Arifovic et al. (2013), Assenza and Delli Gatti (2013), and De Grauwe and Macchiarelli (2015).

  3. Apart from the Eurace@Unibi model covered in this paper, the main representatives of this type of models are the ’Schumpeter meeting Keynes’ model (Dosi et al. 2010; Dosi et al. 2015) and the Lagom model by Mandel et al. (2010).

  4. Recent contributions addressing such issues are Grazzini and Richiardi (2015), Barde (2016), Barde (2017), Barde and Van der Hoog (2017), and van der Hoog (2018b).

  5. For example, Camerer et al. (2016) report that for only 11 out of 18 experimental results published in top five economics journals the results could be independently reproduced by third parties.

  6. A detailed documentation of the implementation of (a previous version of) the model is provided in Dawid et al. (2011).

  7. Parts of Section 2, in particular Sections 2.1 and 2.3 have already been formulated for the description of the Eurace@Unibi model in Dawid et al. (2018a). Parts of Section 3, in particular Section 3.4 on the credit market, has already been developed and used in van der Hoog and Dawid (2018) and in van der Hoog (2018a).

  8. In this respect, our modelling approach builds on a rich literature starting with work of Herbert Simon (Simon 1959).

  9. Empirical evidence that firms’ technology choices are indeed influenced by the skill level of their work force can, for example, be found in Piva and Vivarelli (2009).

  10. A slightly altered dividend rule is used if a firm is hoarding cash. If its payment account exceeds a certain threshold level \(\bar {m}\) that depends on the average revenues over the last four months, \(\bar {m}= 0.25 {\sum }_{\tau = 1}^{4} R^{f}_{t-\tau }\), the dividend rate is given by \(d^{\star }=d\cdot {\mathbb I}[ M_{i,t}\leq \bar {m}] + 1\cdot {\mathbb I}[M_{i,t} > \bar {m}]\). This rule states that if the payment account of the firm is below the threshold level \(\bar {m}\) then it pays out the default dividend rate d = 0.70, while if the payment account exceeds the threshold level \(\bar {m}\) then the firm’s dividend payout equals 100% of it’s average net earnings over the last four months. This rule was installed in order to prevent firms from hoarding money on their payment account, which led to detrimental economic performance due to the absence of a back-channelling of the profits to households.

  11. Note that we index the loans by k and not by i, implying that a firm may have a portfolio of loans, possibly with different banks. The probability of default (PD) refers to the default on a specific loan k, not necessarily to the default of the entire firm i.

  12. A similar specification for the interest rate rule can be found in Delli Gatti et al.(2011, p. 67). The difference with our specification is that we use the probability of default of the firm, while they use the leverage ratio of the bank. Such an interest rate rule could lead to the unfortunate situation that a bank with a worsening financial position, i.e., a higher leverage ratio, will price itself out of the market by asking a higher interest rate.

  13. This rule will be denoted as the “full rationing” rule. An alternative behavioral rule for the bank that we have tested is the “partial rationing” rule: when the credit risk exceeds the risk exposure budget Vb, the firm i would only receive a proportion of its credit request, exactly filling-up the bank’s constraint. This rule would imply that the bank would always exhaust its “excess risk exposure”-budget in Eq. 67. This does not result in a viable economy. It leads to more credit rationing rather than less, since firms requesting credit from the bank after a high-risk firm has already secured a loan will not be able to receive any credit since the bank has already exhausted its entire risk budget. Hence, in the interest of macrofinancial stability, we have opted for applying the “full rationing” rule in relation to the excess exposure budget \({V^{b}_{t}}\).

  14. Note that, in relation to the “excess liquidity”-budget in Eq. 70, we apply the “partial rationing” rule. Hence, a bank will typically deplete all its excess liquidity and will be “at” the RRR constraint.

  15. This implies the bank behaves as if it believes the reserve requirement is in fact an a priori constraint on its credit supply. An alternative would be to model more explicitly the expected future cash flows that results from supplying a loan, see e.g., Caiani et al. (2016).

  16. The consumption budget could exceed the savings account in case the financial market is illiquid and the household cannot sell enough financial assets if it wants to consume more than its savings account. On the other hand, the consumption budget could also become negative if the last term is negative, i.e. if current financial asset wealth is smaller than the target wealth, and the household wants to invest more in financial assets.

  17. The problem of market illiquidity can be softened somewhat by introducing a market maker into the model, but this does not solve the issue entirely. It could still occur that this market maker is not willing to take the counter-party risk that all market participants are trying to sell.

  18. To derive the household’s orders for shares in the market one could have also followed a more elaborate route and apply the literature on artificial financial markets that use the mean-variance maximization framework of the capital asset pricing model with wealth based portfolio dynamics (Chiarella and He 2003; 2001; Hommes et al. 2006)

  19. See Weddepohl (1995) for a related model with cautious price adjustments in discrete tâtonnement processes, for which it is proven that, under restrictions on the maximal rate of price increases or decreases, the trajectory of prices converges to a neighborhood of an equilibrium. However, still any type of erratic dynamics remains possible, including quasi-periodic and chaotic orbits. Hence, imposing restrictions on the growth rate of prices does not guarantee that prices will converge to a steady state equilibrium.

  20. The VA is available at the dedicated webpage http://www.wiwi.uni-bielefeld.de/lehrbereiche/vwl/etace/Eurace_Unibi/Virtual_Appliance. This webpage also provides an installation guide and user manual for the VA, in which the few steps needed to install the VA are described.

  21. The Simulation GUI allows the user to determine how many cores are used during the simulation.

  22. The intensity of competition parameter is set to γc = 16 in these simulations.

References

  • Arifovic J, Bullard J, Kostyshyna O (2013) Social learning and monetary policy rules. Econ J 123:38–76

    Article  Google Scholar 

  • Ashraf Q, Gershman B, Howitt P (2016) How inflation affects macroeconomic performance: An agent-based computational investigation. Macroecon Dyn 20:558–581

    Article  Google Scholar 

  • Assenza T, Delli Gatti D (2013) E Pluribus Unum: Macroeconomic modelling for multi-agent economies. J Econ Dyn Control 37:1659–1682

    Article  Google Scholar 

  • Barde S (2016) Direct comparison of agent-based models of herding in financial markets. J Econ Dyn Control 73:329–353

    Article  Google Scholar 

  • Barde S (2017) A practical, accurate, information criterion for Nth order Markov processes. Comput Econ 50:281–324

    Article  Google Scholar 

  • Barde S, Van der Hoog S (2017) An empirical validation protocol for large-scale agent-based models, Studies in Economics 1712, School of Economics, University of Kent

  • Ben-Akiva M, Lerman SR (1985) Discret choice analysis. MIT Press, Cambridge

    Google Scholar 

  • Blinder A (1991) Why are prices sticky? Preliminary results from an interview study. Am Econ Rev 81:89–96

    Google Scholar 

  • Böhl G, van der Hoog S, Harting P (2014) ETACE Virtual Appliance, Data Publication Bielefeld University. https://doi.org/10.4119/unibi/2674041

  • Brock WA, Durlauf SN (2001) Discrete choice with social interactions. Rev Econ Stud 68:235–260

    Article  Google Scholar 

  • Burda M, Mertens A (2001) Estimating wage losses of displaced workers in Germany. Labour Econ 8:15–42

    Article  Google Scholar 

  • Caiani A, Godin A, Caverzasi E, Gallegati M, Kinsella S, Stiglitz JE (2016) Agent based-stock flow consistent macroeconomics: Towards a benchmark model. J Econ Dyn Control 69:375–408

    Article  Google Scholar 

  • Camerer C, Dreber A, Forsell E, Ho T-H, Huber J, Johannesson M, Kirchler M, Almenberg J, Altmejd A, Chan T, Heikensten E, Holzmeister F, Imai T, Isaksson S, Nave G, Pfeiffer T, Razen M, Wu H (2016) Evaluating replicability of laboratory experiments in economics, Science, March, 18–37

  • Carroll C, Summers L (1991) Consumption growth parallels income growth: Some new evidence, in national saving and economic performance. In: Bernheim B, Shoven J (eds). University of Chicago Press, Chicago, pp 305–348

  • Chiarella C, He X (2001) Asset price and wealth dynamics under heterogeneous expectations. Quant Finan 1:509–526

    Article  Google Scholar 

  • Chiarella C, He X-Z (2003) Heterogeneous beliefs, risk, and learning in a simple asset-pricing model with a market maker. Macroecon Dyn 7:503–536

    Google Scholar 

  • Coakley S, Chin L-S, Holcomb M, Greenough C, Worth D (2012) Flexible large-scale agent modelling environment (FLAME), University of Sheffield and Rutherford Appleton Laboratories, STFC, License: Lesser GPL v3. https://github.com/FLAME-HPC/

  • Cyert RM, March JG (1963) A behavioral theory of the firm. Prentice Hall, Englewood Cliffs

    Google Scholar 

  • Dawid H (2015) Modeling the economy as a complex system. In: Alves-Furtado B, Sakowski P, Tovolli M (eds) Modeling Complex Systems for Public Policies. IPEA, Brasilia, pp 191–216

  • Dawid H, Delli Gatti D (2018) Agent-based macroeconomics. In: Hommes C, LeBaron B (eds) Handbook of Computational Economics vol. 4: Heterogeneous Agent Modeling. North-Holland, pp 63–156

  • Dawid H, Gemkow S (2014) How do social networks contribute to wage inequality? Insights from an agent-based analysis. Ind Corp Chang 23:1171–1200

    Article  Google Scholar 

  • Dawid H, Gemkow S, Harting P, Neugart M (2009) On the effects of skill upgrading in the presence of spatial labor market frictions: an agent-based analysis of spatial policy design. Journal of Artifical Societies and Social Simulation – JASSS 12:4

    Google Scholar 

  • Dawid H, Gemkow S, Harting P, Neugart M (2012a) Labor market integration policies and the convergence of regions: The role of skills and technology diffusion. J Evol Econ 22:543–562

  • Dawid H, Gemkow S, Harting P, Neugart M, Kabus K, Wersching K (2008) Skills, innovation and growth: an agent-based policy analysis. J Econ Stat 228:251–275

    Google Scholar 

  • Dawid H, Gemkow S, Harting P, van der Hoog S, Neugart M (2011) Eurace@Unibi Model v1.0 User Manual, Technical Report Bielefeld University

  • Dawid H, Gemkow S, Harting P, van der Hoog S, Neugart M (2018a) Agent-based macroeconomic modeling and policy analysis: The Eurace@Unibi model. In: Chen S-H, KM (eds) The Oxford Handbook of Computational Economics and Finance. Oxford University Press, chap. 17, pp 490–519

  • Dawid H, Harting P (2011) Capturing firm behavior in agent-based models of industry evolution and macroeconomic dynamics. In: Bünstorf G (ed) Applied Evolutionary Economics, Behavior and Organizations. Edward-Elgar, pp 103–130

  • Dawid H, Harting P, Neugart M (2014) Economic convergence: Policy implications from a heterogeneous agent model. J Econ Dyn Control 44:54–80

    Article  Google Scholar 

  • Dawid H, Harting P, Neugart M (2018b) Cohesion policy and inequality dynamics: Insights from a heterogeneous agents macroeconomic model. J Econ Behav Organ 150:220–255

  • Dawid H, Harting P, Neugart M (2018c) Fiscal transfers and regional economic growth. Rev Int Econ 26:651–671

  • Dawid H, Harting P, van der Hoog S, Neugart M (2012b) The Eurace@Unibi model: an Agent-Based macroeconomic model for economic policy analysis, Bielefeld Working Papers in Economics and Managment No. 05–2012

  • Dawid H, Harting P, van der Hoog S, Neugart M (2017) Data for the paper: Macroeconomic Analysis with a Heterogeneous Agent Model: Fostering Transparency Reproducibility and Replicability, Data publication, Bielefeld University. https://doi.org/10.4119/unibi/2908623

  • Dawid H, Neugart M (2011) Agent-based models for economic policy design. East Econ J 37:44–50

    Article  Google Scholar 

  • De Grauwe P, Macchiarelli C (2015) Animal spirits and credit cycles. J Econ Dyn Control 59:95–117

    Article  Google Scholar 

  • Deaton A (1991) Saving and liquidity constraints. Econometrica 59:1221–1248

    Article  Google Scholar 

  • Delli Gatti D, Desiderio S, Gaffeo E, Cirillo P, Gallegati M (2011) Macroeconomics from the bottom-up. Springer, Berlin

    Book  Google Scholar 

  • Dosi G, Fagiolo G, Napoletano M, Roventini A, Treibich T (2015) Fiscal and monetary policies in complex evolving economies. J Econ Dyn Control 52:166–189

    Article  Google Scholar 

  • Dosi G, Fagiolo G, Roventini A (2010) Schumpeter meeting Keynes: A policy-friendly model of endogenous growth and business cycles. J Econ Dyn Control 34:1748–1767

    Article  Google Scholar 

  • Fabiani S, Druant M, Hernando I, Kwapil C, Landau B, Loupias C, Martins F, Matha T, Sabbatini R, Stahl H, Stokman A (2006) What firm surveys tell us about price-setting behavior in the euro Area. International Journal of Central Banking 2:3–47

    Google Scholar 

  • Fagiolo G, Roventini A (2012) Macroeconomic policy in DSGE and agent-based models. Revue de l’OFCE 124:67–116

    Google Scholar 

  • Gemkow S, Harting P, van der Hoog S (2014) Eurace@Unibi Model v1.0 Source Code, Bielefeld University, Bielefeld, License: EULA. https://doi.org/10.4119/unibi/2900767

  • Gemkow S, van der Hoog S (2012) R data analysis scripts, Bielefeld university, Bielefeld, unpublished, License: GPL v3

  • Gilbert N, Terna P (2000) How to build and use Agent-Based models in social science. Mind and Society 1:57–72

    Article  Google Scholar 

  • Grazzini J, Richiardi M (2015) Estimation of agent-based models by simulated minimum distance. J Econ Dyn Control 51:148–165

    Article  Google Scholar 

  • Hommes C (2013) Behavioral rationality and heterogeneous expectations in complex economic systems. Cambridge University Press, Cambridge

    Book  Google Scholar 

  • Hommes CH, Tesfatsion L, Judd KL (2006) Heterogeneous agent models in economics and finance. In: Handbook of Computational Economics, Vol. 2: Agent-Based Computational Economics. Elsevier, North-Holland, pp 1109–1186

  • van der Hoog S (2018a) The limits to credit growth: Mitigation policies and macroprudential regulations to foster macrofinancial stability and sustainable debt. Comput Econ 52:873– 920

  • van der Hoog S (2018b) Surrogate modelling in (and of) agent-based models: A prospectus. Comput Econ. https://doi.org/10.1007/s10614-018-9802-0

  • van der Hoog S, Dawid H (2018) Bubbles crashes and the financial cycle: The impact of banking regulation on deep recessions, Macroeconomic Dynamics. https://doi.org/10.1017/S1365100517000219

  • Howitt P (2012) What have central bankers learned from modern macroeconomic theory? J Macroecon 34:11–22

    Article  Google Scholar 

  • Kiran M (2017) X-Machines for agent-based modeling: FLAME perspectives. Computer and Information Science Series. Chapman & Hall/CRC Press, Boca Raton Fla.

    Book  Google Scholar 

  • Kirman A (2010) Complex economics: Individual and collective rationality. Graz Schumpeter Lectures. Routledge, London

    Book  Google Scholar 

  • Kotler P, Keller K (2009) Marketing management, 9th edn. Prentice Hall, Upper Saddle River

    Google Scholar 

  • Krishnamruthi L, Raj SP (1988) A model of brand choice and purchase quantity price sensitivities. Mark Sci 7:1–20

    Article  Google Scholar 

  • Liesz TJ (2005) Why pecking order theory should be included in introductory finance courses, School of Business & Professional Studies, Mesa State College

  • Lorscheid I, Heine B-O, Meyer M (2012) Opening the ‘black box’ of simulations: increased transparency and effective communication through the systematic design of experiments. Computational and Mathematical Organization Theory 18:22–62

    Article  Google Scholar 

  • Malhotra N (1984) The use of linear logit models in marketing research. J Mark Res 11:20–31

    Article  Google Scholar 

  • Mandel A, Jaeger C, Fuerst S, Lass W, Lincke D, Meissner F, Pablo-Marti F, Wolf S (2010) Agent-based dynamics in disaggregated growth models, CES Working Paper

  • Mandel A, Landini S, Gallegati M, Gintis H (2015) Price dynamics, financial fragility and aggregate volatility. J Econ Dyn Control 51:257–277

    Article  Google Scholar 

  • McFadden D (1973) Conditional logit analysis of qualitative choice behavior. In: Zarembka P (ed) Frontiers in Econometrics. Academic Press, New York

  • Nagle T, Hogan J, Zale J (2011) The strategy and tactics of pricing: a guide to growing more profitably. Pearson Prentice Hall, Upper Saddle River

    Google Scholar 

  • Nelson RR, Winter SG (1982) An evolutionary theory of economic change. Belknap Press, Englewood Cliffs

    Google Scholar 

  • Ongena S, Smith DC (2000) What determines the number of bank relationships? Cross-country evidence. J Financ Intermed 9:26–56

    Article  Google Scholar 

  • Organization for Economic Co-operation and Development (2004) Benefits and Wages: OECD indicators. OECD, Paris

    Google Scholar 

  • Peng R (2011) Reproducible research in computational science. Science 334:1226–1227

    Article  Google Scholar 

  • Piva M, Vivarelli M (2009) Corporate skills as an ex-ante incentive to R&D investment. Int J Manpow 30:835–852

    Article  Google Scholar 

  • R Development Core Team (2008) R: a language and environment for statistical computing, R Foundation for Statistical Computing, Vienna, Austria

  • Richiardi M (2016) The future of agent-based modelling. East Econ J 34:11–22

    Google Scholar 

  • Russo A, Riccetti L, Gallegati M (2016) Increasing inequality, consumer credit and financial fragility in an agent based macroeconomic model. J Evol Econ 26:25–47

    Article  Google Scholar 

  • Seppecher P, Salle I (2015) Deleveraging crises and deep recessions: a behavioural approach. Appl Econ 47:3771–3790

    Article  Google Scholar 

  • Silver E, Pyke D, Peterson R (1998) Inventory management and production planning and scheduling. Wiley, New York

    Google Scholar 

  • Simon H (1959) Theories of decision-making in economics and behavioral science. Am Econ Rev 49:253–283

    Google Scholar 

  • Sims C (1980) Macroeconomics and reality. Econometrica 48:1–48

    Article  Google Scholar 

  • Sinitskaya E, Tesfatsion L (2015) Macroeconomies as constructively rational games. J Econ Dyn Control 61:152–182

    Article  Google Scholar 

  • Vandenbussche J, Aghion P, Meghir C (2006) Growth, distance to frontier and composition of human capital. J Econ Growth 11:97–127

    Article  Google Scholar 

  • Weddepohl C (1995) A cautious price adjustment mechanism: chaotic behavior. J Econ Behav Organ 27:293–300

    Article  Google Scholar 

  • Wilensky U, Rand W (2007) Making models match: Replicating an Agent-Based model. Journal of Artificial Societies and Social Simulation 4:2

    Google Scholar 

  • Wind J, Mahajan V (1981) Designing product and business portfolios. Harv Bus Rev 59:155–165

    Google Scholar 

Download references

Acknowledgements

The authors gratefully acknowledge the substantial contributions of Simon Gemkow to the development and implementation of the Eurace@Unibi model and the associated R-scripts and of Gregor Böhl to the development and implementation of the ETACE Virtual Appliance. The paper has profited from helpful comments from two anonymous referees.

Funding

This research has been supported by the European Union Horizon 2020 grant No. 649186 - Project ISIGrowth.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Herbert Dawid.

Ethics declarations

Conflict of interests

The authors declare that they have no conflict of interest.

Appendices

Appendix A: Parametrization and initialisation

1.1 A.1 Parametrization

The model hosts a considerable number of agents, variables and parameters, which are listed in Tables 67 and 8. Values of all parameters are chosen to reflect empirical evidence whenever possible. The ratio of the number of households (workers) and firms matches mean firm sizes to be observed in Europe. The innovation probability is chosen to reflect estimates approximating shifts of the technological frontier.

Table 6 List of agent types in the Eurace@Unibi model
Table 7 List of variables in the Eurace@Unibi model
Table 8 List of parameters in the Eurace@Unibi model

Comparable to data reported in Vandenbussche et al. (2006), our calibration yields a growth rate of the technological frontier of around 6% per year if skills were sufficient to fully exploit technological innovations. Wage updates are calibrated to match wage growth in Germany during the decade of full employment in the sixties. The parameter value for the adjustment of the reservation wage is based on reported wage losses of approximately 17% after spells of unemployment in Germany (see Burda and Mertens 2001), and an average duration of unemployment of 30 weeks. As a proxy for the reservation wage we make use of the net replacement rates of unemployment benefit schemes in OECD countries (see Organization for Economic Co-operation and Development 2004). For the marginal propensity to save we chose 0.1, which is close to the savings rate in Germany in previous years. The intensity of the consumer choice stems from estimated multi-nominal logit models of brand selection. Estimates based on market data (Krishnamruthi and Raj 1988) provide a lower bound of six.

1.2 A.2 Initialization

In general, there are several considerations that constrain the initialization of the agent’s state variables. First and foremost, we cannot initialize the variables completely at random. This would violate the internal logic of the model, since, in order to obtain a working simulation, we have to initialize the agent’s balance sheets according to the criterion of stock-flow consistency. This means that we are constrained to set the initial values such that the balance sheet relationships between agents hold. If the balance sheets would be inconsistent from the start they would remain so throughout the entire simulation.

The second consideration is that we start with plausible values. This is in order to alleviate the initial transient effects that any initialization invariably has. In our experience, large path dependencies can be generated by such initial transients, so it is important to carefully consider the interdependencies between the initial values.

  • capital price: The initial capital price is assumed to be in a fixed relation to the initial wage that is on average paid in the economy. Even if the investment goods firm does not employ workers, it has a memory variable wage offer that is used only for the initialization.

  • unit costs: The price setting of the investment goods firm is a combination of value and cost based pricing. For the cost based price component, the investment goods firm takes virtual unit costs into account, i.e. a variable called unit costs that is a proxy for the costs that would arise in the production process. Since the costs usually change over time (mainly due to increasing labor costs), this change has to be incorporated in the evolution of the unit costs. In order to have a stable capital goods price in the first months, the unit costs have to be initialized at the same level as the initial capital goods price.

  • output: We set the output of a firm at a level such that the total labor demand that is needed for producing the cumulated output would correspond to full employment.

  • total units capital stock: The capital stock is set to have a sufficient capital stock in order that the initial production quantity can be produced without additional capital investments.

  • total value capital stock: This is an asset on the balance sheet of the firm.

  • payment account: The value of the firm’s payment account is set to equal the value of its capital stock, such that the firm has sufficient liquidity in the first month to start repaying the initial loan inherited from historical investments.

  • total value local inventory: The firm has no initial inventory stock.

  • initial loan: We start the firms with an initial loan in order to approximate plausible leverage ratios. This will alleviate initial transient effects. The initial loan is set according to a constant leverage ratio of 2.0. This implies that the initial loan is (2/3) of total assets and equity is (1/3) of total assets.

  • capital financing per month: We assume that the firm has invested in capital during its history before day 0 (the start of the simulation). The investments are exactly that amount necessary to compensate for the monthly depreciation of capital such that the capital stock remains constant. In order to stabilize the simulation with regard to bankruptcies at the beginning, we deviate from the usual assumption that the loan obtained for the investments has to be repaid in the standard repayment period of a loan. Instead we allow the initial loan to be repaid in twice the length of time (24 months).

  • employee firm id: We assume all households are initially unemployed.

  • wage reservation: The reservation wage is set equal to the firms wage offer, such that households accept job offers in the first month.

  • mean net income: Mean net income is set equal to the reservation wage.

  • payment account: Households have an initial payment account equal to 15 monthly wages, to represent a plausible savings buffer.

  • assets owned: The households asset portfolio is scaled to yield a wealth level that is reasonable. Each household is endowed with an equal number of index shares, with a price such that the total value of the initial portfolio is 10 (each household has risky-asset wealth equal to 10 monthly mean wages).

  • wealth: Households’ initial total wealth consists of liquid money holdings in the payment account and illiquid asset holdings. Together with the payment account of 15 monthly wages, the initial total wealth of each household is 25.

  • number of shares: The number of index shares is scaled to the total number of firms and households.

  • weight: The weight of the firms in the index share is uniform. This is needed to compute the dividend per index share from the total dividend payment of the firms.

Appendix B: Eurace@Unibi Model - Function references

In the following we provide a list of functions and a description of what they do as implemented in the C-code (Tables 910111213141516 and 17).

1.1 B.1 Firm

Table 9 List of functions for Firm agent

1.2 B.2 Household

Table 10 List of functions for Household agent

1.3 B.3 Mall

Table 11 List of functions for Mall agent

1.4 B.4 Investment Goods Firm

Table 12 List of functions for Investment Goods (IG) Firm agent

1.5 B.5 Eurostat

Table 13 List of functions for Eurostat agent

1.6 B.6 Bank

Table 14 List of functions for Bank agent

1.7 B.7 Government

Table 15 List of functions for Government agent

1.8 B.8 Central Bank

Table 16 List of functions for Central Bank agent

1.9 B.9 Clearing House

Table 17 List of functions for Clearing House agent

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Dawid, H., Harting, P., van der Hoog, S. et al. Macroeconomics with heterogeneous agent models: fostering transparency, reproducibility and replication. J Evol Econ 29, 467–538 (2019). https://doi.org/10.1007/s00191-018-0594-0

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00191-018-0594-0

Keywords

JEL Classification

Navigation