Model verification. L. Andrew Bollinger Challenge the future. Delft University of Technology

Similar documents
Computer Science 101 Project 2: Predator Prey Model

Decimal degree. 1:1,500,000 Area of collection

How do scientists design experiments? This activity will introduce you to the concept of variables.

MULTIPLE LINEAR REGRESSION 24.1 INTRODUCTION AND OBJECTIVES OBJECTIVES

EXERCISE: HOW TO DO POWER CALCULATIONS IN OPTIMAL DESIGN SOFTWARE

[PDF] THEORIES OF COUNSELLING AND PSYCHOTHERAPY EBOOK

Steps to Creating a New Workout Program

Cleveland State University Department of Electrical and Computer Engineering Control Systems Laboratory. Experiment #3

Learning Period 3: 10/28-11/22

OUTLIER SUBJECTS PROTOCOL (art_groupoutlier)

Laboratory 10: Energy in Chemical Reactions

Chapter 7: Descriptive Statistics

Varieties of Materialism. Behaviourism, Identity theory, and Functionalism

Measuring impact. William Parienté UC Louvain J PAL Europe. povertyactionlab.org

This chapter shows how to use a formula method for dosage calculation to calculate the

Conclusion. The international conflicts related to identity issues are a contemporary concern of societies

Chapter 1 Review Questions

MEMORY MODELS. CHAPTER 5: Memory models Practice questions - text book pages TOPIC 23

Planning a Fitness Program. Chapter 3 Lesson 3

Review and Wrap-up! ESP 178 Applied Research Methods Calvin Thigpen 3/14/17 Adapted from presentation by Prof. Susan Handy

Actor (and network) models

About this consent form

USING STATCRUNCH TO CONSTRUCT CONFIDENCE INTERVALS and CALCULATE SAMPLE SIZE

Cognitive Neuroscience History of Neural Networks in Artificial Intelligence The concept of neural network in artificial intelligence

Introduction to Artificial Intelligence 2 nd semester 2016/2017. Chapter 2: Intelligent Agents

Chapter 9: Comparing two means

FASD Prevention and Health Promotion Resources

Your Task: Find a ZIP code in Seattle where the crime rate is worse than you would expect and better than you would expect.

Chapter 10: Moderation, mediation and more regression

UWMD Workshop: Outcomes and Logic Models. CIG Application Workshop for FY

To open a CMA file > Download and Save file Start CMA Open file from within CMA

Problem Set 3 ECN Econometrics Professor Oscar Jorda. Name. ESSAY. Write your answer in the space provided.

Making a psychometric. Dr Benjamin Cowan- Lecture 9

EU-SILC 2013 MODULE ON WELL-BEING DESCRIPTION OF SILC SECONDARY TARGET VARIABLES Version 5 March 2012

Working with Court Interpreters. Language Access Services Available to North Carolina Magistrates. Goals of the Session. Goals of the Session (cont d)

VALIDITY OF QUANTITATIVE RESEARCH

TRAINING MANUAL TIMELINE COACHING AND RE- IMPRINTING LESSON #NLC- 31

OVERVIEW TUTORIAL BEHAVIORAL METHODS CLAIM: EMLAR VII EYE TRACKING: READING. Lecture (50 min) Short break (10 min) Computer Assignments (30 min)

CHAPTER 6 HUMAN BEHAVIOR UNDERSTANDING MODEL

The Steps for Research process THE RESEARCH PROCESS: THEORETICAL FRAMEWORK AND HYPOTHESIS DEVELOPMENT. Theoretical Framework

Chapter 3 Tools for Practical Theorizing: Theoretical Maps and Ecosystem Maps

Anxiety & Cognitive Behavioral Therapy Module

CHAPTER III RESEARCH METHOD

SOCQ121/BIOQ121. Session 2. Evidence and Research. Department of Social Science. endeavour.edu.au

Processing of Logical Functions in the Human Brain

Program Evaluation and Logic Models. ScWk 242 Session 10 Slides

Two-Way Independent ANOVA

Regression Including the Interaction Between Quantitative Variables

Rapid Gain in AD Tx 4/21/2014

Digital hearing aids are still

Still important ideas

Assignment 4: True or Quasi-Experiment

Chapter 7: Correlation

Recommendations from the Report of the Government Inquiry into:

Lesson 9: Two Factor ANOVAS

Chapter # 20 Progressing Your Exercise Program

FORM 5.1. CTAG Case Conceptualization Form

Presentation to the Committee on Assessment of Agent-Based Models to Inform Tobacco Product Regulation

Readings: Textbook readings: OpenStax - Chapters 1 13 (emphasis on Chapter 12) Online readings: Appendix D, E & F

BSX Answers to DCR Questions:

The Logic of Data Analysis Using Statistical Techniques M. E. Swisher, 2016

Chapter 14 My Recovery Plan for My Life

Clay Tablet Connector for hybris. User Guide. Version 1.5.0

Temporal preprocessing of fmri data

P O D C A S T Transcript. Dr. Gary Small. Author of 2 Weeks to a Younger Brain

Sensation & Perception PSYC420 Thomas E. Van Cantfort, Ph.D.

Systems Thinking Rubrics

Rapid Gain Anxiety Disorders 1/12/2015

Artificial Intelligence

Module #1 Manual. This manual is designed to be a quick reference for you to follow when you are away from the membership area.

CONSUMER NEUROSCIENCE

Checking services for young people who drink alcohol and get into trouble In England and Wales

Assignment 4: True or Quasi-Experiment

USING DATA TOOLS TO EFFECTIVELY

Keeping your diabetes support as mobile as you are,

SEMINAR ON SERVICE MARKETING

Results & Statistics: Description and Correlation. I. Scales of Measurement A Review

The Scientific Method

Over the years, philosophers, psychoanalysts, psychologists, psychiatrists,

DOWNLOAD OR READ : THE BIPOLAR WORKBOOK FIRST EDITION TOOLS FOR CONTROLLING YOUR MOOD SWINGS PDF EBOOK EPUB MOBI

Foundations of Research Methods

Hour 2: lm (regression), plot (scatterplots), cooks.distance and resid (diagnostics) Stat 302, Winter 2016 SFU, Week 3, Hour 1, Page 1

TJHSST Computer Systems Lab Senior Research Project

Endogeneity is a fancy word for a simple problem. So fancy, in fact, that the Microsoft Word spell-checker does not recognize it.

Stephen Madigan PhD madigan.ca Vancouver School for Narrative Therapy

Artificial Intelligence

Being an Effective Coachee :

Realism and Qualitative Research. Joseph A. Maxwell George Mason University

Tech Talk: Using the Lafayette ESS Report Generator

BRAIN MAXIMIZATION ACTION CARDS

E-BOOK EXAMPLES OF SOCIAL PSYCHOLOGY

Chapter 2: Intelligent Agents

Analysis of Variance (ANOVA)

Getting the best from the medicines you buy

What Case Study means? Case Studies. Case Study in SE. Key Characteristics. Flexibility of Case Studies. Sources of Evidence

Midterm project due next Wednesday at 2 PM

The Scarlet Letter ESSAY TIPS! HOW TO AVOID A SCARLET C ON YOUR ESSAY!

Describe what is meant by a placebo Contrast the double-blind procedure with the single-blind procedure Review the structure for organizing a memo

Programme. Open Access Books & Journals

Explore. sexcntry Sex according to country. [DataSet1] D:\NORA\NORA Main File.sav

Transcription:

Model verification L. Andrew Bollinger 6-10-2013 Delft University of Technology Challenge the future

Lecture goals What is model verification? What are the steps for verifying an ABM? Verifying your model 2

What is model verification? At this point: Your model is coded and (sort of) works But can t be sure it s working correctly Key question: Has the model been implemented correctly? Have all the relevant entities and relationships from the conceptual model been translated into the computational model correctly? Have we built the thing right? (not Have we built the right thing? ) Building up an evidence file Making sure the model generates insights, not artifacts 3

The 4 steps for verifying an ABM 1. Recording and tracking agent behavior 2. Single-agent testing 3. Interaction testing in a minimal model 4. Multi-agent testing Modified version of the wolf-sheep predation model as an example see LectureModelVerification page on the Wiki to download 4

Wolf-sheep predation model 5

Step 1: Recording and tracking agent behavior What: Select relevant output variables and set up a way to monitor their values How: OPTION 1: Record the inputs, states and outputs of each agent OPTION 2: Record the inputs, states or outputs of each internal process OPTION 3: Walk through the source code using a debugger 6

Recording and tracking agent behavior (example) 7

Recording and tracking agent behavior (example) 8

Step 2: Single-agent testing What: Explore the behavior of a single agent 2 sets of tests: 1. Theoretical prediction tests and sanity checks Tests using normal inputs Does the agent behave as expected under normal conditions? 2. Break-the-agent tests Tests using extreme inputs Where are the edges of normal behavior? 9

Step 2: Single-agent testing Theoretical prediction tests and sanity checks: 1. Define some normal inputs to the agent 2. Explicitly predict how the agent will behave given these inputs 3. Test how the agent behaves given these inputs 4. If not as predicted, check if it s a logical error or an implementation error. Break-the-agent tests 1. Define some extreme inputs to the agent (e.g. zero, negative numbers, extremely high numbers, decimals) 2. Predict and test how the agent behaves given these inputs 3. Define boundaries for agent input variables (and make sure the agent will never receive values outside these boundaries) 10

Single-agent testing (example) 11

Example from the book 12

Step 2: Single-agent testing What if the agent has a memory? The agent needs some sort of history to make decisions We need to create some artificial histories and see how the agent performs. Dynamic signal testing: Test the agent with different time-varying signals E.g. random signals, signals with continuous in/decreasing values, signals with step functions and power law distribution of values 13

Dynamic signal testing (example) Accumulation of assets as a function of a series of input signals MSc thesis Theo van Ruiven 14

Step 3: Interaction testing in a minimal model What: Explore the behavior of a minimal set of agents If only one type of agent, include 2 of them If more than one type of agent, include one of each Same tests as in the previous step: 1. Theoretical prediction tests and sanity checks 2. Break-the-agent tests Answer the following questions: Do the agents find each other? Do the agent interactions happen as defined in the narrative? Are the results of these interactions as expected? Are there any unintended interactions? 15

16

Step 4: Multi-agent testing What: Explore the behavior of the entire model with all agents present. 4 sets of tests: 1. Theoretical prediction tests and sanity checks 2. Break-the-agent tests 3. Variability tests 4. Timeline sanity tests 17

Step 4: Multi-agent testing Variability tests What: Explore the variability of the output in different regions of the parameter space How: 1. Many repetitions (100-1000) across the parameter space 2. Collect values for multiple outputs variables 3. Statistical examination of the results (e.g. variance, std. dev.) 4. Do strange outcomes make sense, or are they artifacts? 18

Variability testing (example 1) Source: SPM 9555 report of Manuel Harmsen and Job Veltman 19

Variability testing (example 2) Source: MSc thesis Andrew Bollinger 20

Step 4: Multi-agent testing Timeline sanity tests What: Can the outputs be explained by reasoning through the model logic? How: 1. Perform several runs at the default parameter settings 2. Examine the output plots carefully 3. Are there any patterns you can t explain? 21

Timeline sanity testing (example) 22

Verifying your model Remember, you re building an evidence file. You re demonstrating to yourself and others: 1. This model is bug-free (as much as possible) 2. I know where this model starts to give bogus results 3. I/you can be confident that the results are not artifacts What should be in your report: See the example from the book (Chapter 3.6.5) See the examples from the previous SPM 9555 class (e.g. Maasvlakte model) 23