Comparing Compartment and Agent-based Models
Shannon Gallagher JSM Baltimore, MD August 2, 2017
Thesis work with: William F. Eddy (Chair) Joel Greenhouse Howard Seltman Cosma Shalizi Samuel L. Ventura
Comparing Compartment and Agent-based Models Shannon Gallagher JSM - - PowerPoint PPT Presentation
Comparing Compartment and Agent-based Models Shannon Gallagher JSM Baltimore, MD August 2, 2017 Thesis work with: William F. Eddy (Chair) Joel Greenhouse Howard Seltman Cosma Shalizi Samuel L. Ventura Goal: Combine two good models into a
Thesis work with: William F. Eddy (Chair) Joel Greenhouse Howard Seltman Cosma Shalizi Samuel L. Ventura
1
2
4
4
5
5
6
7
7
9
dS dt
N dI dt
N − γI dR dt
10
∆S ∆t
N ∆I ∆t
N − γI ∆R ∆t
11
12
βI(t) N
N
n=1
13
25 50 75 100 25 50 75 100
Time % of Population
S−CM I−CM R−CM S−AM I−AM R−AM 1000 agents; 5000 runs; β = 0.10; γ = 0.03
14
15
d
d
d
16
d
d
d
16
0.028 0.029 0.030 0.031 0.096 0.098 0.100 0.102
β γ
CM AM 1000 agents; 5000 runs; β = 0.10; γ = 0.03
17
18
18
6 8 10 12 14 25 50 75 100
Time V(S1) V(S2)
5000 runs; β = 0.10; γ=0.03; Model 1−1000 agents, Model 2−100 agents
Ratio of Variance of # Susceptibles
6 8 10 12 14 25 50 75 100
Time V(I1) V(I2)
5000 runs; β = 0.10; γ=0.03; Model 1−1000 agents, Model 2−100 agents
Ratio of Variance of # Infected
6 8 10 12 14 25 50 75 100
Time V(R1) V(R2)
5000 runs; β = 0.10; γ=0.03; Model 1−1000 agents, Model 2−100 agents
Ratio of Variance of # Recovered
19
N1
N2
S1(t) N1
N2
N2 N1 V S1 t
1 L1 runs S1 t N1
1 L2 runs S2 t N2
2
1
20
N1
N2
S1(t) N1
N2
N2 N1 V S1 t
1 L1 runs S1 t N1
1 L2 runs S2 t N2
2
1
20
N1
N2
S1(t) N1
N2
N1 V[ˆ
1 L1 runs S1 t N1
1 L2 runs S2 t N2
2
1
20
N1
N2
S1(t) N1
N2
N1 V[ˆ
1 L1
runs ℓ ˆ S1(t) N1
1 L2
runs ℓ ˆ S2(t) N2
2
1
20
N1
N2
S1(t) N1
N2
N1 V[ˆ
1 L1
runs ℓ ˆ S1(t) N1
1 L2
runs ℓ ˆ S2(t) N2
2
1
20
0e+00 2e−04 4e−04 6e−04 25 50 75 100
Time Variance of ∑
l
S ^(t) (NL)
Simulation
100 agents, 4 cores 400 agents, 1 core S(t) − % susceptible averaged over # of runs
Variance of S(t)
0e+00 2e−04 4e−04 6e−04 25 50 75 100
Time Variance of ∑
l
I ^(t) (NL)
Simulation
100 agents, 4 cores 400 agents, 1 core I(t) − % infected averaged over # of runs
Variance of I(t)
0e+00 2e−04 4e−04 6e−04 25 50 75 100
Time Variance of ∑
l
R ^(t) (NL)
Simulation
100 agents, 4 cores 400 agents, 1 core R(t) − % recovered averaged over # of runs
Variance of R(t)
21
23
24