an agent-based epidemic model brendan greenley period 3

12
An Agent-Based Epidemic Model Brendan Greenley Period 3

Upload: roberta-simmons

Post on 19-Jan-2018

217 views

Category:

Documents


0 download

DESCRIPTION

Why Agent-Based? Originally tried System Dynamics Agent-Based Modeling makes more sense –Individual behavior differs and can greatly affect the course of an epidemic outbreak –A user can observe an agent over time –Children can inherit values from two parents –Continuous visual representation of population

TRANSCRIPT

Page 1: An Agent-Based Epidemic Model Brendan Greenley Period 3

An Agent-Based Epidemic Model

Brendan GreenleyPeriod 3

Page 2: An Agent-Based Epidemic Model Brendan Greenley Period 3

Why An Epidemic Model?• Epidemics have been

responsible for great losses of like and have acted as a population control (Black Plague, Spanish Influenza)

• Epidemics are still a cause of concern today and in the future (SARS, Avian Flu)

• Analyzing certain characteristics of an epidemic outbreak or response can help shape plans in case of a real outbreak.

Page 3: An Agent-Based Epidemic Model Brendan Greenley Period 3

Why Agent-Based?• Originally tried System

Dynamics• Agent-Based Modeling

makes more sense– Individual behavior differs and

can greatly affect the course of an epidemic outbreak

– A user can observe an agent over time

– Children can inherit values from two parents

– Continuous visual representation of population

Page 4: An Agent-Based Epidemic Model Brendan Greenley Period 3

Scope of project• Population/environment bounds dictated

by computer resources• ~10,000 agents maximum• All about maintaining a population balance• Unrealistic assumptions are made

– Mating– Interactions– Movement

Page 5: An Agent-Based Epidemic Model Brendan Greenley Period 3

Up, up, and away…

Page 6: An Agent-Based Epidemic Model Brendan Greenley Period 3

Extinction

Page 7: An Agent-Based Epidemic Model Brendan Greenley Period 3

NetLogo

• Still using NetLogo• Programming language (Northwestern)• Allows for System Dynamics & Agent

Based Modeling• Crossplatform support

– Windows, *Nix, Mac• Depends on Java• Free!

Page 8: An Agent-Based Epidemic Model Brendan Greenley Period 3

Procedure

• Agent’s To-Do List:– Move in a random direction– Check for potential mate– Check for possible

exposure to disease– Age++

• Starting populations, immunity, and original % infected are set by user

Page 9: An Agent-Based Epidemic Model Brendan Greenley Period 3

BehaviorSpace

• Allows me to export data to Excel

• Can incrementally increase specified values as the model runs

• Useful for post-run data analysis

Sample Run of Epidemic Model

0

500

1000

1500

2000

2500

0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000

Ticks

Peop

le count turtles

infected

Moving Average (# Alive)

Moving Average (# Infected)

Page 10: An Agent-Based Epidemic Model Brendan Greenley Period 3

Timeline

• First Quarter– Used System Dynamics Modeling

• Second Quarter– Late Dec: Switched to Agent-Based Modeling– Jan:

• Implemented susceptibility distribution• Implemented more realistic mating/children

characteristics• Learned how to use BehaviorSpace

Page 11: An Agent-Based Epidemic Model Brendan Greenley Period 3

Timeline (Continued)• February

– Implement quarantine– Have agent’s epidemic state affect behavior– Create children a bit after mating

• March– Possibly allow for drugs/vaccines to counter disease– As time increases, have agents use their past experience with

epidemics to make smarter decisions (increase the amount they limit contact with others when a disease is widespread, etc.)

• April/May/June– Allow myself extra time, as the previously mentioned tasks may take

longer than expected– Use BehaviorSpace to collect data and analyze multiple situations– Work on interpreting the data for my final project

presentation/poster/etc.

Page 12: An Agent-Based Epidemic Model Brendan Greenley Period 3

Project Evolution

• System Dynamics -> Agent Based

• Short-term -> Long-term• Predetermined equations

-> more complex individual agent decisions

• Graphs highlight changes

Sample Run of Epidemic Model

0

500

1000

1500

2000

2500

0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000

Ticks

Peop

le count turtles

infected

Moving Average (# Alive)

Moving Average (# Infected)