• Aucun résultat trouvé

Designing an Agent-Based Model and Analyzing its results

N/A
N/A
Protected

Academic year: 2022

Partager "Designing an Agent-Based Model and Analyzing its results"

Copied!
10
0
0

Texte intégral

(1)

Agent-Based Modeling (Master SIED)

Andrea G. B. Tettamanzi

I3S Laboratory – SPARKS Team

andrea.tettamanzi@univ-cotedazur.fr

(2)

Andrea G. B. Tettamanzi, 2020

Unit 5

Designing an Agent-Based Model and

Analyzing its results

(3)

Andrea G. B. Tettamanzi, 2020 3

Three Major Steps in ABM

1)Design the Model 2)Run the Model

3)Analyze the Results

(4)

Andrea G. B. Tettamanzi, 2020 4

Two Design Methods

Phenomena-Based Modeling

When you know characteristic / reference pattern you want to model

Exploratory Modeling

Starting with a basic set of mechanisms and then exploring what those mechanisms generate

(5)

Andrea G. B. Tettamanzi, 2020 5

Top-Down vs. Bottom-Up Design

Almost all ABMs are bottom-up in terms of the model

But Design can be approached from either a bottom- up or top-down approach:

Top-Down: Start with the components and the design and then put them together

Bottom-Up: Conceptual model and code co-evolve to create the model

It is rare that a designer uses any of these methods

exclusively

(6)

Andrea G. B. Tettamanzi, 2020 6

Design Principles

Start Simple and Build Toward the Question You Want to Answer.

“The supreme goal of all theory is to make the

irreducible basic elements as simple and as few as possible without having to surrender the adequate

representation of a single datum of experience.” - Albert Einstein

“Do not multiply entities unnecessarily” - William of Ockham

“Keep It Simple, Stupid” - Robert Axelrod

(7)

Andrea G. B. Tettamanzi, 2020 7

Advantages of Simplicity

Helps confirm that all mechanisms are necessary

Easier to understand

Facilitates verification and validation

Allows you to more easily examine components

(8)

Andrea G. B. Tettamanzi, 2020 8

Build Toward a Question

“All models are wrong, but some models are useful.” - George Box

Do not add content that does not help you

answer the question at hand, even if it would

make the model “more realistic”.

(9)

Andrea G. B. Tettamanzi, 2020 9

Analyzing a Model

Once we have a model, we would like to analyze its results

For instance, we might ask, “If we hold parameter x constant, what is the effect of different values of

parameter y on some observable emergent (= macro) variable z?

Whenever a model has stochastic components, you must do multiple runs

You also want to be able to systematically alter an input parameter

(10)

Andrea G. B. Tettamanzi, 2020 10

Analysis of Results

You want to take the data produced by the model and analyze them

Behavior Space

It doesn’t take much to output data on a log file

You can then use any statistical package to analyze the data output by Mesa

Excel, SAS, R, …

Or you can also use Python itself

Références

Documents relatifs

Using the nearest neighbor structures detected in a simulation at the same volume fraction as a measurement, the graph method does not detect as many crystal-like particles, but

Professeur de chirurgie digestive et viscérale générale CHU IBN SINA - Rabat.. C’est pour nous un immense privilège de vous voir accepter de juger

We now pick two representative native states of the economy, both for R = 1.3, in order to be outside of the coexistence region. The inflation level of these native states

Thus, similarly to fiscal policy experiments, we ran experiments on monetary policy variables for different values of the initial mark-up rate (0.10, 0.20, 0.40), in order to

According to Livingston, the density of alcohol-related venues is directly related to violence in all neighborhood type, but bars and nightclubs are associated

• The BMM model is a communication tool for knowledge exchange regarding the interactions between land & water use and labour migration in the rainfed rice environment &

In this paper our intentions are more ambitious: using an initial set up of actual data (a sample of Italian firms in 1996) we aim to verify whether the CATS model, simulated over

Cependant, nous n’avons retrouvé aucun écrit évaluant la prévalence des fractures peropératoires au cours de la chirurgie prothétique de l’épaule réalisée dans