Home » Posts tagged 'epidemic spreading'

# Tag Archives: epidemic spreading

## Synchronous simulation

The simplest way to simulate an epidemic from a computing perspective is to adopt a discrete time model. We tie this together with our compartmented models from earlier to create a simulator for SIR.

(This is a chapter from Complex networks, complex processes.)

## Epidemic simulation

Before we go any further, let’s pause to think about the general theme of computer simulation. This is a huge topic, but some of the common themes, ideas, and terms are essential to understanding how to simulate an epidemic — and equally importantly, to make some of the decisions that need to be made.

(This is a chapter from Complex networks, complex processes.)

## Coding a compartmented model

Having moved from continuous to discrete views of compartmented disease models, we now need to create code so we can simulate such diseases over a network. There are lots of possible compartmented models, so — rather than develop each from scratch — we make use of a Python library the gives us a framework for doing so. This has the advantages that the code we develop can be run under different simulation regimes if required, and can also be run at scale.

(This is a chapter from Complex networks, complex processes.)

## From continuous to networked compartmented models

Let’s now return to the compartmented models of disease we developed earlier. These were continuous models, described using calculus. Networks, by contrast, are discrete structures consisting of nodes and edges. We therefore need to develop a way to think about the continuous model in a discrete way appropriate to being applied as a process over a network..

(This is a chapter from Complex networks, complex processes.)

## Compartmented models of disease

When modelling diseases computationally we need to step back from the biological complexity somewhat, and this leads to a set of approaches called *compartmented models*. A disease progresses through a set of stages, modelled as compartments: at any point, each individual sits in a particular compartment and the disease evolves by people moving between the compartments as their disease progresses. Classically these models are studied using differential equations, and it’s useful to understand this before seeing how networks provide a more reliable setting for the same models.

(This is a chapter from Complex networks, complex processes.)

## Epidemic disease processes

There are lots of different spreading processes, but perhaps the most engaging — as well as the most socially important — is the way epidemics spread. Before we think about how epidemics spread over networks, we should first explore how epidemics are typically encountered and understood in medicine.

(This is a chapter from Complex networks, complex processes.)

## How computer science can help keep you healthy

Well, it has to be good for *something*…