Tap192-Lab-3.2-1 2
Tap192-Lab-3.2-1 2
Tap192-Lab-3.2-1 2
Introduction...........................................................................................................................................2
Objectives of the Study..........................................................................................................................3
Chapter 1. A Road Map to an Agent–Based Computational Macro Model...........................................6
What is Agent–Based Computational Macroeconomics?..................................................................7
1.1.1 Conceptual Building Blocks...................................................................................................8
1.1.2 Objectives.............................................................................................................................9
1.1.3 Ingredients..........................................................................................................................10
1.2 Virtues of Agent–Based Computational Macroeconomics........................................................12
1.3 Validation Framework...............................................................................................................13
1.3.1 Conceptual Model...............................................................................................................14
1.3.2 Face Validation...................................................................................................................14
1.3.3 Sensitivity Analysis..............................................................................................................14
1.4 Conclusion.................................................................................................................................14
2.1 Overview The structure of the economy of Agent Island is straightforward.............................15
2.1.1 Theoretical Roots and Antecedents....................................................................................15
2.1.2 Markets, Transactions and Financing Contracts.................................................................15
2.2 Model of Agent Island................................................................................................................15
2.2.1 Households.........................................................................................................................16
2.2.2 Consumer Goods Firms and Markets..................................................................................16
Introduction
The foundation of macroeconomics, as a separate branch of economics, was laid down by
John Maynard Keynes (1883 – 1946). Since the 1970s, probably encouraged by the ‘Lucas
Critique’, many macroeconomists insist on a explicitly modeled ‘microfoundation’ of
macroeconomics—as opposed to ‘Keynesian’ macroeconomics, where an explicit model is
only existing on the aggregate level. This development resulted in the status quo of
macroeconomic research: Since the early 1990s almost all important developments in the
branch of macroeconomics were made by research based upon ‘Walrasian microfoundation’
(typically ‘Dynamic Stochastic General Equilibrium’ models). The central problem of this
approach, as we see it, is the relation between micro and macro structure: In the
overwhelming majority of applications, the ‘microfoundation’ of ‘General Equilibrium’
models is (according to simplification) built on the aggregate level. Obviously, this does not
solve the essential problem of macroeconomics, namely how individual (i.e. microeconomic)
behaviour generates the dynamics on the aggregate (i.e. macroeconomic) level.
This description leads us to the phenomenon that the benefits of agent–based modeling,
which stem from its flexibility, are sometimes challenged by economists: The often heard
criticism is that a scientific theory must be based upon ‘abstraction’, and that the agent–based
modeling opens a door for the (more or less detailed) ‘replication’ of reality. But such a
‘replication’ would overload an economic model. It would lead to complex interrelations
which cannot build the solid groundwork for economic theory–building. This would oppose
the idea of ‘abstraction’ as a basis of scientific research. The key criticism is therefore that
scientific models should be far less complex than reality. We want to survey the relation
between ‘abstraction’ and agent–based modelling in a different perspective. One can define
‘abstraction’ as the process (or result) of generalization by reducing the information content
of a problem the researcher is interested in. It is crucial that this reduction takes place in order
to retain only that information which is relevant for the particular purpose. Therefore, our
central question should be, which information is of pivotal importance in the context of
macroeconomics?
Macroeconomic research, as we see it, should retain the emergence of macro structure out of
micro behaviors and interactions. This macroeconomic emergence and the according theory
of ‘complex systems’ should be central issues in each complete macroeconomic
investigation. Unfortunately, until now almost no research is carried out with respect to this
research question in the field of dynamic monetary macroeconomics. The present study aims
to close this gap. Hence, we designed an agent–based macroeconomic model that is
structured bottom–up, so that its aggregate dynamics develop out of both micro behaviours
and micro interactions. As we will see, this leads to complex and non–linear micro–macro
interactions. In this sense, our approach is related to Joshua M. Epstein’s notion coined by the
expression: “If you didn’t grow it [author’s note: the macro model], you didn’t explain its
emergence” (Epstein, 2006a, p. 9). Against this background, it is not legitimate to conclude
that the complex micro–macro interrelations account for an unfavorable departure from
‘abstraction’. The mentioned complexity is, in our view, the crucial feature of a
macroeconomic system. It is therefore not legitimate to dispose these characteristics by
‘abstraction’, as usually done in ‘orthodox’ economics.
The structure of this study is straightforward: Chapter 1 gives a propaedeutic survey of the
main topics of agent–based research. One challenge is thereby is to discuss the
methodological aspects, such as the basic methodologies of the modeling and ‘validation’
approaches. The subsequent chapter establishes the conceptual model. It gives an detailed
overview of the theoretical roots and antecedents of the model, and it outlines the reasons for
the chosen design. We will also address problems of model design in this context. The study
finishes with a comprehensive model ‘validation’ in chapter 3. This is executed in several
stages, which are built on each other. The methodology of this ‘validation’ procedure is
prepared in chapter 1. The study ends with concluding remarks.
This description leads us to the phenomenon that the benefits of agent–based modeling,
which stem from its flexibility, are sometimes challenged by economists: The often heard
criticism is that a scientific theory must be based upon ‘abstraction’, and that the agent–based
modeling opens a door for the (more or less detailed) ‘replication’ of reality. But such a
‘replication’ would overload an economic model. It would lead to complex interrelations
which cannot build the solid groundwork for economic theory–building. This would oppose
the idea of ‘abstraction’ as a basis of scientific research. The key criticism is therefore that
scientific models should be far less complex than reality. We want to survey the relation
between ‘abstraction’ and agent–based modelling in a different perspective. One can define
‘abstraction’ as the process (or result) of generalization by reducing the information content
of a problem the researcher is interested in. It is crucial that this reduction takes place in order
to retain only that information which is relevant for the particular purpose. Therefore, our
central question should be, which information is of pivotal importance in the context of
macroeconomics?
Macroeconomic research, as we see it, should retain the emergence of macro structure out of
micro behaviors and interactions. This macroeconomic emergence and the according theory
of ‘complex systems’ should be central issues in each complete macroeconomic
investigation. Unfortunately, until now almost no research is carried out with respect to this
research question in the field of dynamic monetary macroeconomics. The present study aims
to close this gap. Hence, we designed an agent–based macroeconomic model that is
structured bottom–up, so that its aggregate dynamics develop out of both micro behaviours
and micro interactions. As we will see, this leads to complex and non–linear micro–macro
interactions. In this sense, our approach is related to Joshua M. Epstein’s notion coined by the
expression: “If you didn’t grow it [author’s note: the macro model], you didn’t explain its
emergence” (Epstein, 2006a, p. 9). Against this background, it is not legitimate to conclude
that the complex micro–macro interrelations account for an unfavorable departure from
‘abstraction’. The mentioned complexity is, in our view, the crucial feature of a
macroeconomic system. It is therefore not legitimate to dispose these characteristics by
‘abstraction’, as usually done in ‘orthodox’ economics.
The present study can be placed into the field of agent–based computational economics. As
we will discuss in chapter 1, the agent–based technique enables a flexible way of designing,
simulating and analyzing a particular model structure. In here, the structure of the model
represents an intuitive analogy to reality. In addition, the benefit of flexibility induces the
question, as to what extend the generated model is the ‘right’ one for a defined purpose? This
is the subject of the model ‘validation’. According to this, ‘validation’ is the key issue in
agent–based research. Most importantly, our main purpose is therefore to develop a
reasonably validated agent–based macroeconomic simulation model. Moreover, we have to
outline the objectives the model is built for: The presented model needs to be a dynamic
macro model. Its main innovation with respect to agent–based modeling is its ‘monetary
circuit’ or ‘monetary sphere’. As opposed to other agent–based research, the presented model
belongs to the field of monetary macroeconomics. Equally important, the model has to
contain ‘Keynesian’ and ‘Wicksellian’ elements. The former elements indicate several
important ‘Keynesian’ properties, such as the importance of the demand side, the ‘paradox of
thrift’, and so on. The latter elements impliy the role of the central bank and monetary policy.
Accordingly, the presented model contains a central bank agent that conducts monetary
policy through an interest rate instrument. Thereby, the basic framework is constituted by
Knut Wicksell’s idea of a monetary transmission mechanism. The second aim of this study is
closely connected to the first one. The objective to construct a first agent–based monetary
macro model causes the problem that we cannot use any existing framework. Therefore, the
second purpose of this study is to develop a guideline for future work in this field. Here, the
focus lies (i) on methodological aspects. As we will see, agent–based computational
economics constitutes an IT–based tool, which enables to simulate a certain model structure
—it is not a methodological basis for the model structure. Consequently, we have to define a
methodological framework for the modeling. According to the important role of the
‘validation’ task, we must, in addition, elaborate an appropriate ‘validation’ methodology.
Those two methodological questions have to be answered. (ii) Secondly, our guideline
focuses on the theoretical aspects of the model. Therefrom, it is our aim to refer to the
theoretical roots of the presented model—especially in context of its ‘monetary circuit’. On
the other part, we do not want to discuss all technical aspects, which are needed to conduct an
agent–based research in principle. (iii) Thirdly, we identify some pitfalls that one could
experience in carrying out research such as the presented one. Therefore, we will give advice
how to identify possible sources of problems.
The structure of this study is straightforward: Chapter 1 gives a propaedeutic survey of the
main topics of agent–based research. One challenge is thereby is to discuss the
methodological aspects, such as the basic methodologies of the modeling and ‘validation’
approaches. The subsequent chapter establishes the conceptual model. It gives an detailed
overview of the theoretical roots and antecedents of the model, and it outlines the reasons for
the chosen design. We will also address problems of model design in this context. The study
finishes with a comprehensive model ‘validation’ in chapter 3. This is executed in several
stages, which are built on each other. The methodology of this ‘validation’ procedure is
prepared in chapter 1. The study ends with concluding remarks.
“The apparent threat of cognitive loss is perhaps steeper in macro than in other areas. Each
generation of scholars inherits a knowledge base of theory, of empirically confirmed ‘facts’
and of investigative techniques. Inherent in this base are directions for future work—which
problems are interesting and which ones not, what facts are puzzling and which ones can be
taken for granted, what methods of investigation are approved and not approved, and so forth.
The macroeconomics of the last century, from Lucas through Presccot to Woodford, has been
strongly wedded to stochastic general equilibrium theory It is the well–developed knowledge
base with which the last couple of generations of macroresearchers have been equipped.
Acquiring it required a large investment. But then recruits to this research program are
confident that their technical equipment is the best in the business.” (Leijonhufvud, 2006a, p.
1627).
The objective of this chapter is to discuss an alternative framework based upon the agent–
based simulation technique. Hence, this chapter illustrates the main aspects of the approach
of agent– based computational economics (ACE) and its advantages compared to ‘General
Equilibrium’ (GE) theory. In the last section, we will describe a suitable ‘validation’
framework for the development of an agent–based macroeconomic model. As we will see,
‘validation’ is the core issue within agent– based research. Moreover, this chapter defines the
main concepts of agent–based models, which are in turn necessary to develop and validate
the model throughout the remainder of this study.
1.1.2 Objectives
The following description illustrates four main objectives of agent–based research. If necessary, we
extend each description by a short link to the objectives of the present study: Empirical understanding
In this case the researcher has to investigate the question, why certain empirical phenomena or
regularities evolve. They seek for causal explanations for such phenomena through agent–based
environments (Tesfatsion, 2006). Based upon empirical understanding an agent–based simulation can
deliver predictions of future tendencies or events (Gilbert and Troitzsch, 2005). Normative
understanding An agent–based model can deliver normative insights as well (Tesfatsion, 2006). It is
certainly possible to compare various policies (e.g. various central bank strategies) based upon a valid
8 agent–based model. The crucial point is the ‘validation’ of the ACE model. Even though we do not
chase after any normative objectives, our analysis could to some extend be useful for further
normative postulates. It delivers a correctly validated model, which is necessary to conduct a
normative analysis.9 Our objective is to deliver such a model: This could be a starting point for
normative analyses in the future or, at least, a foundation for the further development of a valid
monetary macro model that in turn could be used for a normative analysis. Methodological
advancement The question of interest is, how best to provide agent–based researchers with a suitable
methodology needed to undertake a study of the economic system. Thereby, researches need to model
structural, institutional and behavioral characteristics of the economic system; they ought to evaluate
the logical validity of their model through computer experiments, and test their theories against real–
world data (Tesfatsion, 2006). Due to the flexibility of agent–based models, those requirements can be
fulfilled through a variety of ways. If the researcher is able to find a proper way for doing this, he
develops further methodological insight with respect to the topic of interest. In the context of the
present study, this is one aim. We strive for the development of a reasonable validated agent–based
monetary macro model. This should become the basis for further analysis of monetary policy issues.
In addition, we apply a ‘validation’ framework developed in the field of computer science (see section
1.3.3), which has never been applied to an economic issue until now. Accordingly, we wish to deliver
a suitable framework for further research in monetary macroeconomics within the field of agent–
based computational economics. Qualitative insight and theory generation Through research in agent–
based models one can gather new insights about an economic issue of interest. An agent–based
simulation can be used as a method of theory development, in order to improve the understanding of
phenomena of the social world (Gilbert and Troitzsch, 2005). Consequently, a well–designed and
suitable agent– based world can improve the understanding of the dynamic behavior of a complex
economic system. Usually, this objective is based upon the systematic examination of simulation
inputs10 (initial values, behavioral and structural parameters, etc.) and their impact on simulation
outputs of interest (Tesfatsion, 2006). The last point expounds the idea that ACE has the potential to
assist in the discovery and formalization of theories. Researchers can investigate theories in the
artificial agent world they have built. In order to do this, the researchers have to take theories
expressed in textual or conceptual form and formalize them into a specification which can be
programed into the computer. According to this, the theory will be precise, coherent and complete. In
this respect agent–based computer simulations could feature a similar role in social sciences,
comparable to that of mathematics in the physical science (Gilbert and Troitzsch, 2005). On the
contrary, mathematics have been widely used as a means of formalization in economics and
econometrics. In fact, there are several reasons why agent–based simulations are more appropriate to
social science than mathematics (Gilbert and Troitzsch, 2005). We will explain these main virtues of
agent–based computational economics in section 1.2, and, in addition, compare them to ‘orthodox’
economic modeling (which is solely based on the mathematical framework of ‘optimal control
theory’). Inevitably, the presented model of Agent Island illustrates how the formalization of an
agent–based monetary macro model can look like.
1.1.3 Ingredients
The following overview contains a broad set of ingredients, each agent–based computational model
consists of (see Pyka and Giorgio, 2005): Time As an agent–based model is by its nature a dynamic
model, we have to define the time perspective of the model. As we will see, the model is round–
based, i.e. it evolves in discrete time steps, which we define as periods. Next to this period time (T =
1, 2, ...), there exists an intra–period time. The sequence of decisions and actions within one period is
based upon the concept of intra–period time. Hence, when one period ends, the intra–period sequence
restarts. Agents Each agent–based simulation is populated by a set of agents. The term ‘agent’ refers
to bundled data and methods (or routines). It represents an entity constituting a part of a world
constructed by computation. Agents can be (i) individuals (e.g. consumer, workers), (ii) social
groupings (e.g. families, firms, government agencies), (iii) institutions (e.g. markets), (iv) biological
entities (e.g. livestock, forest), and physical entities (e.g. weather, geographical regions) (Tesfatsion,
2006). In context of the present task, viz. the development of a monetary macro model, agents
represent the actors within the opted framework, viz. households (i.e. consumers/workers), firms (i.e.
consumer goods and capital goods firms) and the central bank. It should be noted that we assume a
constant set of agents. The existing agents do not die (drop out), and no new agents are born during a
simulation run. Thus, the once initialized population outlasts the whole simulation run. In general,
agents are supposed to be (i) autonomous entities (i.e. the state of the agent and its actions are first of
all independent from its environment or other agents), (ii) social entities (i.e. agents are able to
interact with other agents), (iii) reacting entities (i.e. agents are able to perceive their environment,
which usually leads to a reaction), (iv) active entities (i.e. agents are able to initiate actions
themselves) (Pyka and Giorgio, 2005). Micro variables Each agent is characterized by a vector of
microeconomic (state) variables. Those variables are usually supposed to be modified endogenously
throughout the simulation. In our model such microeconomic variables are, for example, the net
financial wealth (or net debt) of a household agent, or the real capital stock of a firm agent, or the
produced/supplied output of firms, and so on. During the ‘validation’ of the model it is one task to
define reasonable initial values of several microeconomic variables (such as the initial capital stock of
firms). Micro parameters Next to the micro variables each agent is characterized by a vector of
microeconomic parameters. Parameters are variables that cannot be endogenously adapted throughout
a simulation run. Typically, such parameters describe the behavior of the agent (behavioral
parameters) or certain restrictions (structural parameters). For example, the supply decision of a
consumer goods firm is defined via a behavioral parameter. This parameter connects the
produced/supplied output of the present period to the marginal profitability of one output unit in the
last period. Moreover, this supply decision is restricted by a structural parameter characterizing the
production function. To highlight the important micro parameters of the model we label them through
lower case Greek letters. Macro parameters The system as whole is characterized by a vector of
macroeconomic parameters. Similar to micro parameters, macro parameters cannot be modified
endogenously, i.e. once fixed to a certain level, these values remain unchanged. In the present model,
the technological progress is represented through a ‘random walk process’ defined by two parameters,
namely by a ‘drift term’ and the variance of the ‘white noise’ term. Such a technical progress is
constituted on the global level (i.e. for the whole economy) and on individual firm levels. A
combination of both figures constitutes the individual technical change of a firm. Besides this, on the
global level the ‘drift term’ and the variance are defined by two macro parameters. We call such
macro parameters also global parameters. To highlight the important macro parameters of the model
we characterize them also through lower case Greek letters. Macro (or aggregate) variables Finally,
there exists a set of macroeconomic variables. Usually, such variables (such as the GDP) emerge
through some kind of aggregation of micro variables. Other macro variables are by nature defined on
the macro level (e.g. the credit interest rate). We call macro variables also global variables. Interaction
structure The interaction structure controls the flow of information between agents. Consider firm
agents that are trading on the capital goods market. Provided that two specific agents close a contract
for the sale of a capital good (i.e. a machine), the seller updates his order book, while the buyer books
a purchase order. Simultaneously, the account is settled by the buyer. According to that, the cash
reserve of the buyer decreases, while the cash reserve of the seller increases by the same amount.
Besides this, there is a third party involved in this payment process, as we apply a banking system to
the model. Thereby, subsequent actions of each of the parties (in the next period) can be affected by
that trading. According to this rather simple example, on can imagine that relatively complex
interaction structures emerge on Agent Island. Micro decisions rules Each agent is endowed with a set
of decision rules. Such rules are routines, which map observable figures (past micro variables and
macro variables or parameters) into present micro variables. Such a mapping process is based upon
the micro parameters (i.e. behavioral or structural parameters) of the individual agent. It can also
contain stochastic elements, if necessary. The concept of decision rules is crucial to agent–based
models. It mirrors the notion of routinized behavior, known from ‘evolutionary’ economics (see
explanations below). As we will discuss later on, micro decision rules based upon micro parameters
define the ‘genes’ of the agents. Space In principle, it is possible that an agent–based computational
model features a spatial dimension. For example, the real map of a landscape could serve as the
environment, in which agents live, produce and trade. This enables a more specific perspective on
trading and other interactions. However, for the sake of simplicity we do not integrate such a spatial
dimension to Agent Island.
1.4 Conclusion
This section explains several basic aspects of agent–based computational economics. It should
become clear:
1. What elements an agent–based model must contain;
2. For what reasons a researcher may prefer agent–based computational simulation technique
over the orthodox framework;
3. How a reasonable validated agent–based macroeconomic model can be obtained. According
to that, we have a starting point for the following chapters. There, the conceptual model will be
illustrated in detail, and the ‘validation’ procedure of the model will be discussed.
Chapter 2. Conceptual Model of Agent Island
This chapter describes a monetary macro model developed in an agent–based environment, and
furthermore presents a road map for the design of such a model. As one major aim of this study is to
deliver a first agent–based simulation approach in the field of monetary macroeconomics, the model
features some monetary aspects that are new in agent–based research, e.g. nominal prices, inflation,
financial assets as well as the central bank. The central bank agent sets nominal interest rates, in order
to control output and inflation in analogy to the simplified situation in the real world. From this
perspective the model pertains to the field of monetary theory. In the following description we present
all relevant components of the model, so that the reader gets an idea of the model itself, but also how
to design an agent–based monetary macro model. We will see through this conceptual model that
some pitfalls can occur in developing such a model: The implementation of the monetary circuit and
the financial system is easily done, but how to deal with problems of large inflation and deflation is
yet more complex. We will address these topics respectively during the next two chapters. Some of
these problems may appear strange to economists unfamiliar with the agent–based technique.
However, they have to be tackled, when one tries to validate such a model. The description of this
chapter therefore gives some guidelines pertaining to further research in this field.
2.1 Overview The structure of the economy of Agent Island is straightforward. It
contains two main economic sectors including private households and firms; the firm sector is
consisting of three subsectors (hash, bean and capital firms), and each of the sectors (or subsectors)
comprises agents, which can be heterogenous or homogenous. Hence, the model is composed of: (i)
consumers, (ii) hash firms, (iii) bean firms, and (iv) capital firms.