Generate a spatPomp object for measles in the top-U
most populous cities in England and Wales.
The model is adapted from He et al. (2010) with gravity transport following Park and Ionides (2020).
The data are from Dalziel et al (2016).
measles(
U = 6,
dt = 2/365,
fixed_ivps = TRUE,
S_0 = 0.032,
E_0 = 5e-05,
I_0 = 4e-05
)
An object of class ‘spatPomp’ representing a U
-dimensional spatially coupled measles POMP model.
A length-one numeric signifying the number of cities to be represented in the spatPomp object.
a numeric (in unit of years) that is used as the Euler time-increment for simulating measles data.
a logical. If TRUE
initial value parameters will be
declared in the globals
slot, shared for each unit, and
will not be part of the parameter vector.
a numeric. If fixed_ivps=TRUE
this is the initial proportion of all of the spatial units that are susceptible.
a numeric. If fixed_ivps=TRUE
this is the initial proportion of all of the spatial units that are exposed.
a numeric. If fixed_ivps=TRUE
this is the initial proportion of all of the spatial units that are infected.
This model was used to generate the results of Ionides et al (2021). However, their equation (6) is not exactly correct for the Binomial Gamma infinitesimal model used in the code, as shown by Proposition 5 of Breto and Ionides, 2011. If Poisson Gamma infinitesimal increments were used (Proposition 4 of Breto and Ionides, 2011) then (6) would be correct, but the resulting unbounded increments could break the non-negativity requirement for compartment membership. The same issue arises with the description in Park and Ionides (2020), though that analysis was based on a different model implementation since the spatPomp package was not yet available.
A difference between (6) of Ionides et al (2021) and (2.1) of He et al (2010) is that in (6) the mixing exponent \(\alpha\) is applied to \((I_u/P_u)\) rather than just to \(I_u\). In the context of He et al (2010) this changes the parameterization but has negligible effect on the model itself since \(P_u(t)\) is approximately constant and so changing its power can be compensated by a corresponding change in the transmission rate, \(\beta\). In practice, models fitted to data have \(alpha\) close to \(1\), so this issue may be moot and this modeling mechanism may not be an effective empirical way to carry out the goal of making allowance for heterogeneous mixing.
The code here includes a cohort effect, \(c\), following He et al (2010), that was not included by Ionides et al (2021). This effect leads to a non-differentiability of expected increments which is problematic for the spatPomp implementation of GIRF. For the results of Ionides et al (2021), this was set to \(c=0\).
The analysis of He et al (2010), and the model generated by he10()
, use weekly aggregated cases.
Weekly reports were not available beyond the 20 cites studied by He et al (2010) so measles()
relies on the biweekly reports used by Ionides et al (2021) and Ionides & Park (2020).
It turns out to be an important detail of the model by He et al (2010) that a delay is included between birth and entry into the susceptible compartment.
He et al (2010) found a 4 year delay fits the data.
This value is fixed to be the variable birth_delay
in the code for measles()
.
The code for Ionides et al (2021) uses a 3 year delay, and the delay is not explained in the abbreviated model description.
In measles()
we have reverted to the 4 year delay identified by He et al (2010).
Edward L. Ionides
Ionides, E. L., Asfaw, K., Park, J., and King, A. A. (2021). Bagged filters for partially observed interacting systems. Journal of the American Statistical Association, tools:::Rd_expr_doi("10.1080/01621459.2021.1974867")
Dalziel, Benjamin D. et al. (2016) Persistent chaos of measles epidemics in the prevaccination United States caused by a small change in seasonal transmission patterns. PLoS Computational Biology, 12(2), e1004655. tools:::Rd_expr_doi("10.5061/dryad.r4q34")
Park, J. and Ionides, E. L. (2020) Inference on high-dimensional implicit dynamic models using a guided intermediate resampling filter. Statistics and Computing, tools:::Rd_expr_doi("10.1007/s11222-020-09957-3")
Breto, C. and Ionides, E.L. (2011) Compound Markov counting processes and their applications to modeling infinitesimally over-dispersed systems. Stochastic Processes and their Applications 121, 2571-2591. tools:::Rd_expr_doi("10.1016/j.spa.2011.07.005")
measles_UK
, city_data_UK
Other spatPomp model generators:
bm()
,
bm2()
,
gbm()
,
he10()
,
lorenz()
# Complete examples are provided in the package tests
if (FALSE) {
m <- measles(U = 5)
# See all the model specifications of the object
spy(m)
}
Run the code above in your browser using DataLab