FAQ
Which page builds a given model feature?
Each table lists model features with the types that build them and the page that gives the equations and the code. The API overview defines the terms used.
Transmission
| Model feature | Built with | Page |
|---|---|---|
| Renewal process | Recurrence | Three towns, step by step |
| Control measure that scales transmission over a period | the gain | Three towns, step by step |
| Imported cases | the add input, or Transform after depletion | Imported cases |
| Instantaneous or effective reproduction number from a run | pressure | The reproduction number from a run |
| Log reproduction number as a random walk or an autoregression | Recurrence on innovations | Latent processes driving the reproduction number |
| Transmission that responds to incidence | Transform before Depletion | Latent processes driving the reproduction number |
Susceptible depletion and vaccination
| Model feature | Built with | Page |
|---|---|---|
| Susceptible depletion | Depletion | Renewal then delay |
| Doses or places used up in full | Truncate | Depletion forms |
| All-or-nothing, leaky and waning vaccination | Depletion with two pools and a Flow | Vaccination |
| Births into a changing population | Depletion with a Flow from outside | Depletion in practice |
| Vaccine doses from a weekly budget | Depletion with a budget pool | Depletion in practice |
Reporting and clinical delays
| Model feature | Built with | Page |
|---|---|---|
| Reporting delay | Convolution | Three towns, step by step |
| Chain of clinical transitions, each with a probability | one Convolution per transition, with a gain | Clinical outcomes |
| Delay that changes over time, by report day or infection day | TimeVarying, Primary | Time-varying delays and kernels |
| Delay from a hazard with an effect of the reporting day | Survival, Increments | Nowcasting |
| Reports by infection day and delay, cut at the present day | contributions | Reporting triangle |
| Eventual counts of recent days from the reports made so far | the transpose of a Convolution | Nowcasting |
Places and groups
| Model feature | Built with | Page |
|---|---|---|
| Mixing between places or groups | a coupling | Spatial models |
| Generation interval per group or per pair of groups | PerStratum, Pairwise | Spatial models |
| Transmission routes, each with its own coupling and kernel | Pairwise | Spatial models |
| Infections moved between patches | Redistribute | Spatial models |
| Districts that share a total fixed elsewhere | Allocate | Spatial models |
| Imported cases of each district within a fixed total | Allocate with imports | Allocate with imports |
Branching processes and isolation
| Model feature | Built with | Page |
|---|---|---|
| Multi-type offspring with a mean matrix | a Recurrence of one lag with a coupling | Branching processes |
| Isolation, with a delay shared or set by type | a thinned kernel, PerStratum | Branching processes |
| Contact tracing with traced and untraced types | Pairwise | Branching processes |
| Probability of extinction by generation | Transform | Branching processes |
| Isolation that starts on a set day | TimeVarying with Primary | Time-varying delays and kernels |
Hospital occupancy and capacity
| Model feature | Built with | Page |
|---|---|---|
| Bed occupancy from admissions and a length of stay | Convolution, or a Recurrence for a geometric stay | Occupancy and capacity |
| Bed cap | Transform, with Recent for any length of stay | Occupancy and capacity |
| Patients moving between the pools of a ward | Depletion with Flows | Occupancy and capacity |
| Isolation beds with overflow | Depletion with Truncate | Depletion in practice |
Seeding and forecasting
| Model feature | Built with | Page |
|---|---|---|
| Seed on an exponential growth path | exponential_history | Renewal then delay |
| Growth rate from a reproduction number, and the reverse | growth, growth_gain | Seeding |
| Seed days returned with the run | include_history | What a call returns |
| Case reproduction number | the transpose of a Convolution | Case reproduction number |
| Expected descendants of one infection | the reverse of a Recurrence | Expected descendants |
| Forecast that continues a run | Resume | Forecasting |