Click and drag to zoom. Double-click to reset.
The exp scenario shows how a classic iterative model can be replicated in an agent based framework. Inherrent in such models is that latent (E) and infectious (I) periods are exponentially distributed; i.e. while the periods operate around a mean value, there will be some very large and unrealistic values.
This scenario is similar, but the exponential state lengths for E and I have been replaced with more representative Gaussian ones by simply calling a different random number generator. Specifically this:-
states.e.Len = {func: randE, args: {mean: 10}}; states.i.Len = {func: randE, args: {mean: 30}};
Has become:-
states.e.Len = {func: randG, args: {mean: 10, sd: 3}}; states.i.Len = {func: randG, args: {mean: 30, sd: 9}};
This is one of the advantages of agent based models; it is very easy to explore different distributions - much harder in iterative ones.
The comparative state history graphs are interesting.
Click Start to run the model...
The formatted descripiton is diplayed when the scenario label, top left in the nav bar, is clicked.
Reset the scenario to activate the edits.