Obtaining up to date information on the number of UK COVID-19 regional infections is hampered by the reporting lag in positive test results for people with COVID-19 symptoms. In the UK, for 'Pillar 2' swab tests for those showing symptoms, it can take up to five days for results to be collated. We make use of the stability of the under reporting process over time to motivate a statistical temporal model that infers the final total count given the partial count information as it arrives. We adopt a Bayesian approach that provides for subjective priors on parameters and a hierarchical structure for an underlying latent intensity process for the infection counts. This results in a smoothed time-series representation nowcasting the expected number of daily counts of positive tests with uncertainty bands that can be used to aid decision making. Inference is performed using sequential Monte Carlo.
Obtaining up to date information on the number of UK COVID-19 regional infections is hampered by the reporting lag in positive test results for people with COVID-19 symptoms. In the UK, for 'Pillar 2' swab tests for those showing symptoms, it can take up to five days for results to be collated. We make use of the stability of the under reporting process over time to motivate a statistical temporal model that infers the final total count given the partial count information as it arrives. We adopt a Bayesian approach that provides for subjective priors on parameters and a hierarchical structure for an underlying latent intensity process for the infection counts. This results in a smoothed time-series representation nowcasting the expected number of daily counts of positive tests with uncertainty bands that can be used to aid decision making. Inference is performed using sequential Monte Carlo.
In light of COVID‐19, the UK government tracks the number of lab‐confirmed positive tests over time, primarily as a measure of progress against epidemic control.1 Since it takes time for test results to be reported to their local authority, and subsequently centralised, there is uncertainty on the most recent positive test counts. This uncertainty diminishes over time until all tests for a particular day are eventually reported, whereafter the count remains unchanged. The time taken until the reported counts converge to a final value, here referred to as reporting lag, is around four days. News reports and publicly available summaries of the positive tests2 ignore the days for which the counts have not yet converged to a final value, and often report a moving average of the positive tests.We propose here a model on the positive test count with reporting lag which enables ‘nowcasting’ (Banbura et al., 2010) of the true count with uncertainty; in other words, by correcting for the underestimate in live reported data, we are able to suitably estimate and impute the actual positive test count and extend the seven‐day moving average to the present moment. We also demonstrate how to incorporate the model into a statistical alerting system which is triggered when there is high confidence the reported positive test counts are above a threshold value.3Given the pace of the COVID epidemic, there are a number of concurrent works with similar features to our approach (Fronterre et al., 2020; Lee & Robertson, 2020; Matt Keeling and the Warwick COVID modelling team, 2020; PHE Joint Modelling Cell and PHE COVID Outbreak Surveillance Team, 2020). These use either binomial or negative binomial models for test counts combined with spatio‐temporal models (an approach widely used in epidemiology for modelling disease risk and spread). In contrast to our model, however, they do not consider reporting lag, and only analyse data once all the results are in.We demonstrate that the reporting lag is in fact predictable, and include it in our model to return a nowcast that incorporates the most recently available reported data. We model the reporting lag using binomial thinning; whilst there already exist well‐founded mechanisms for building auto‐regressive binomial thinning models on count data (Jung & Tremayne, 2006), we choose instead to estimate distributions on the thinning rates directly from empirical data to avoid restricting the dynamics of the lag to a particular form or order of auto‐regressive prior. With this approach we gain the additional benefit of finite‐time saturation to a fixed value, which is a property observed in all sequences of lagged reports. We combine empirical priors on the under‐reporting and a generative model in a time series prior, providing a posterior distribution on the underlying intensity of the disease. In Figure 1 we show the posterior distribution on the time series of counts for Leeds in December alongside the true and reported counts as an example of nowcasting with uncertainty quantification.
FIGURE 1
Example nowcast with uncertainty for Leeds in December 2020. Reported counts (blue line) up to the 9th of December correspond to the final true count (green line) but for more recent dates the reported count is incomplete. The nowcast (orange line) uses the incomplete reports to estimate what the true count will be once all tests are processed. The nowcast uncertainty is greatest for most recent dates and decreases with time. All uncertainty is eliminated once all tests have been reported
Example nowcast with uncertainty for Leeds in December 2020. Reported counts (blue line) up to the 9th of December correspond to the final true count (green line) but for more recent dates the reported count is incomplete. The nowcast (orange line) uses the incomplete reports to estimate what the true count will be once all tests are processed. The nowcast uncertainty is greatest for most recent dates and decreases with time. All uncertainty is eliminated once all tests have been reportedOther works that model a lagged reporting process for count data applied to COVID deaths (Seaman et al., 2020) and cases of dengue fever (Stoner & Economou, 2020) introduce a smooth temporal structure with cubic splines and encode week‐day and calendar effects into the reporting lag. Schneble et al. (2021) also choose to apply temporal smoothing by including penalized splines in their regression for a negative binomial model on the mortality count, as well as using age and gender as covariates in their nowcast of deaths in regions of Germany. McGough et al. (2020) encode temporal smoothness in modelling dengue fever and influenza‐like illnesses with a geometric random walk prior, and introduce a Poisson model on case count which is relaxed to a negative binomial to control for under‐dispersion. They introduce reporting delay through a weakly‐informative Dirichlet prior on the reporting probabilities across a finite window between zero and some maximum possible delay. They choose further to infer the scale of the random walk under a diffuse gamma prior and note contention between learning stable random walk scales and under‐dispersed delay distributions in the posterior. Hawryluk et al. (2021) replace the geometric random walk in McGough et al. (2020) with a Gaussian process where the length scale is controlled by the maximum reporting delay. This allows changes in the auto‐correlation structure of the under‐reporting to be learnt as time progresses, leading to improved nowcast estimates. Both McGough et al. (2020) and Hawryluk et al. (2021) use the expected posterior rate as their nowcast. The approach taken by Günther et al. (2021) also uses a negative binomial emission model, but models the delay between disease onset and case report as a Weibull distribution with shape and scale parameterized by a generalized additive model containing weekday and age effects. These effects are smoothed temporally with cubic splines, with the sequence of negative binomial rates also subject to a random walk prior.These works have demonstrated the value of nowcasting in a number of contexts. Our main contribution is therefore the construction of a model which is tailored to perform well in nowcasting of positive tests for UK Lower‐Tier Local Authorities (LTLAs). The key structural differences which have enabled this compared to the other works discussed are as follows: We choose to estimate the under‐reporting process empirically, and sequentially, rather than learn it directly under the model we build, which lends robustness to changes in the reporting process. We also assume a smooth temporal random walk over the first‐order differences of a latent Poisson process which models the positive test counts for each reporting day, rather than smoothing the rate directly. Instead of tackling potential under‐dispersion by broadening a Poisson likelihood to a negative binomial, we note that uncertainty on the Poisson rate induced by the random walk prior will permit an infinite Poisson mixture, and let this implicit mixture handle dispersion control. Furthermore, we pose the unobserved final counts explicitly as latent random variables to be inferred under our model, meaning that we can use the marginal posterior for these final counts to construct estimates of the current number of positive tests. As reporting proceeds, this marginal posterior converges to the true count, eliminating any uncertainty in the nowcast once all tests are reported. The combination of these components leaves the random walk scale as the single free parameter in the model, which we select in an empirical Bayes manner, by optimising with respect to the model evidence.
DATA
The collection of daily lab‐confirmed COVID‐19 positive test counts are available as open data (see Footnote 2). The data are stratified, so that the count for a nation is equal to the sum of counts for its regions. These regions are themselves divided into Upper‐Tier Local Authorities (UTLAs), and each of these UTLAs is covered by a set of LTLAs, with the highest resolution count data available at the LTLA‐level. In England, there are 9 regions, 150 UTLAs, and 316 LTLAs.On each day, every LTLA reports a sequence of positive test counts for all test dates up to but not including the current day, allowing for updates to previously reported values (Figure 2). The most recently reported counts consistently underestimate the true count due to the lag in reporting. As time progresses and more tests are processed, the reported value for a given test date approaches the true count with increasing certainty (Figure 2). As a result, for each test date we observe a sequence of monotone increasing reports which eventually converges to the correct count for that particular date.4
FIGURE 2
Four consecutive reports of positive test counts for Leeds in December. The report on 14th December updates counts reported on 13th for test dates from 10th December onwards, before which they each agree with the true count. Both underestimate the true count for the most recent dates, and will therefore continue to be updated in subsequent reports until the true count is reached
Four consecutive reports of positive test counts for Leeds in December. The report on 14th December updates counts reported on 13th for test dates from 10th December onwards, before which they each agree with the true count. Both underestimate the true count for the most recent dates, and will therefore continue to be updated in subsequent reports until the true count is reached
NOTATION
Let i ∈ {1, …, 316} index the collection of LTLAs. Let t ∈ {0, …, T} index the number of days for which data is available so that is an unobserved random variable corresponding to the true count for LTLA i on day t. Let j ∈ {1, …, T − t} index the reporting lag so that denotes the report for day t on day t + j. Each true count is associated with a sequence of observed, reported counts . For some finite but unknown maximum reporting lag , we observe for .Our aim was to specify a model on the true counts , given reported counts and without knowledge of , in order to infer a distribution on the which concentrates on the true value as T increases. We further define the reporting rate at lag j, , to be the proportion of the true count that is reported at lag j. For historical data such that has converged to , we can study in order to characterise the behaviour of the reporting lag.
REPORTING LAG
We develop our nowcasting model on the basis of the empirical behaviour of the reporting rates , which we now describe. Since July 2020, we have observed two distinct modes of predictable reporting behaviour which we refer to as spatially and temporally stable.
Temporally stable reporting
If the reporting rates for an LTLA at each lag do not change much over some time window (see Figure 3) we say that they are temporally stable across such a window. When this reporting behaviour occurs, we may construct a temporally local set where W is the length of the stable interval5 so that is estimated by
Figure 4 shows empirical distributions for marginally across the day‐index t for lags j = {1, …, 5}. We observe that is increasing in j.
FIGURE 3
Time series of the true reporting rate θ at lag 2 and 3 for Manchester in October and November. The reporting rate is not temporally stable in October but becomes more predictable in November
FIGURE 4
Empirical distributions of the reporting rates in November for a selection of Lower‐Tier Local Authorities. We also include England to show that the marginal obeys the intuition encoded by observations in Section 4; the mean of increases with increasing lag, indicating that more reports are accounted for as time progresses
Time series of the true reporting rate θ at lag 2 and 3 for Manchester in October and November. The reporting rate is not temporally stable in October but becomes more predictable in NovemberEmpirical distributions of the reporting rates in November for a selection of Lower‐Tier Local Authorities. We also include England to show that the marginal obeys the intuition encoded by observations in Section 4; the mean of increases with increasing lag, indicating that more reports are accounted for as time progressesThe reporting rates are predictable in a fashion supported by our intuition; as lag increases we are increasingly confident that across all LTLAs, and this state is reached by a coherent sequence of updates to an initial underestimate. It is also clear from Figure 4 that there is enough variation in between LTLAs to warrant their separate consideration for modelling.
Spatially stable reporting
Let be the n‐hop neighbourhood of LTLA i on the adjacency graph of LTLAs.6 When reporting is spatially stable we observe that the reporting rates of LTLAs which are close to one‐another are similar and so we may estimate a reporting rate for an LTLA from those of its neighbours byIn the left panel of Figure 5 we show the performance of a 2‐hop neighbourhood estimator for Manchester in October; the reporting rates of neighbouring LTLAs track one another. It is clear though that the reporting is not temporally stable, and so we must rely on spatial estimates alone. In the right panel we measure the performance of the 2‐hop estimates (2) against the truth for all LTLAs where we have observed at least one report marginally across the dates between the 14th and 30th October. There is a clear linear relationship (R = 0.9) with the truth.
FIGURE 5
Lag‐2 spatial neighbourhood priors. Left: True reporting rate for Manchester, and an estimator built from its 2‐hop LTLA neighbours for each day from the 14th to the 30th of October and Right: 2‐hop LTLA neighbour estimator against the true across all LTLAs with at least one reported count , combined over all days between the 14th to the 30th of October
Lag‐2 spatial neighbourhood priors. Left: True reporting rate for Manchester, and an estimator built from its 2‐hop LTLA neighbours for each day from the 14th to the 30th of October and Right: 2‐hop LTLA neighbour estimator against the true across all LTLAs with at least one reported count , combined over all days between the 14th to the 30th of October
Empirical Bayes prior specification
In each of Sections 4.1 and 4.2, we demonstrate that noisy estimates of the reporting rates can be constructed. From here onwards we proceed only with temporal estimates; in a number of time periods throughout the analysis limited spatial correlations were observed. In order to avoid underdispersion in models on we must capture uncertainty in these estimates. We therefore propose that and estimate and by moment matching with the empirical distribution measured on the most recent 2 weeks of converged reports.7 Denote by and the means and variances of these empirical distributions and let with ϵ > 0 but arbitrarily small, then
are chosen. Figure 6 illustrates the empirical distribution and resulting fit for two LTLAs in November ‐ as time progresses, the moment matching produces Beta distributions with most of their mass on large values of as expected.
FIGURE 6
Empirical distributions and moment matched Beta priors for Manchester and Hastings in November
Empirical distributions and moment matched Beta priors for Manchester and Hastings in November
MODELLING
Based on the empirical observations made in Section 4, we now describe a model on reports which accounts for a predictable reporting lag in order to impute up‐to‐date predictive distributions on the current true count . We model the reported counts as a random variable following a binomial distribution conditional on the (unobserved) true count and the reporting rate , placing a beta prior on with parameters determined by (3). Modern research on epidemic monitoring typically poses negative binomial models on count data, with spatio‐temporal regularization for smoothness; here we capture the same effect by proposing that the result from a Poisson process and integrating over the rate parameter under a Gaussian random‐walk time‐series prior. We introduce the model in a modular fashion.
Binomial thinning
To describe the relationship between the true counts and the reported counts , we treat each as a binomial random variable with success probability over independent Bernoulli trials. Following the arguments of Section 4, we place beta priors on the with moment‐matched . Noting that the most recent available report is a sufficient statistic for (Appendix C) we specify an observation model (5) in which only yields information on , via a binomial likelihood.8 This leads to the following hierarchical model:
Integrating out each yields the following joint distribution on :
where is a prior on which may, for example, be flat across a set of feasible positive test counts given the population of the LTLA under consideration. This joint distribution may be used to draw samples from the marginal posterior with Metropolis Hastings (MH).
Latent intensity process
While estimating the true count directly is clearly important in monitoring the epidemic, a more compelling epidemiological variable is the latent rate which controls emission of these counts. To extend the model, we therefore assume that each is the result of a Poisson process with rate so that the hierarchy is now given by
When is integrated out under a gamma prior distribution this is equivalent to proposing a negative‐binomial distribution on , which is a common choice in modelling count data for epidemic monitoring. The joint distribution on is given by:
which may be used in MH to generate samples from the new posterior of interest .
Temporal smoothing
Estimates of the latent rates may suffer from high variance, particularly in the early stages of reporting when the reported likely constitute underestimates of . To reduce this variance, we encode time dependence in the latent rates, as follows. Let be the difference between Poisson rates so that
Further impose an AR1 prior with scale on the sequence so that given a standard normal random variable we may write
This represents an intuitive assumption of local temporal smoothness in the epidemic rate and is a common choice of temporal regularisation; the Kalman Filter (Kalman, 1960), to which our model bears close resemblance, operates under a similar latent transition distribution. The prior induces dependence between each and the observed data . The key distributions of interest are then the joint filtering and smoothing distributions given by and respectively.
Weekend effects
The smoothness assumption described in Section 5.3 constrains the sequence to vary in proportion to the random walk scale . The weekend effects demonstrated in Figure 7 break this smoothness assumption; when there are predictable drops in the test count at weekends it is because fewer tests are taken, rather than any true decrease in the underlying incidence rate of the disease.9 To capture this effect, we introduce latent random variables with prior distribution
then let the emission distribution on be
so that smoothness in is maintained by allowing to capture these observed weekend effects by emitting counts at a reduced rate. In practice a flat Beta(1, 1) prior allows the smoothness assumption to be maintained, though selecting a stronger a and b may be possible if weekend effects are predictable in their magnitude. We can measure the strength of these effects by examining the posterior smoothing distributions on weekend days. In Appendix A.2 we give details on how to evaluate this posterior in the case where each weekend day has its own unique latent effect, but share prior parameters, as well as demonstrating how this addition alters the procedure for determining . From now on we omit the LTLA index i for brevity.
FIGURE 7
Daily positive test counts reported for week‐day and weekend test dates in November across all Lower‐Tier Local Authorities (LTLAs). The LTLAs are classified based on whether the mean number of tests is <20 (low count LTLAs), <100 (medium count LTLAs) or >=100 (high count LTLAs). We observe some reduction in tests on weekends relative to week‐days across all LTLAs
Daily positive test counts reported for week‐day and weekend test dates in November across all Lower‐Tier Local Authorities (LTLAs). The LTLAs are classified based on whether the mean number of tests is <20 (low count LTLAs), <100 (medium count LTLAs) or >=100 (high count LTLAs). We observe some reduction in tests on weekends relative to week‐days across all LTLAs
The complete model
Together Sections 5.1, 5.2, 5.3–5.4 specify a smooth time‐dependent model for count data exhibiting weekend effects and a lagged reporting process. The Directed Acyclic Graph (DAG) in Figure 8 shows the full conditional dependency structure for this model, encoded equivalently by the joint distribution
FIGURE 8
DAG depicting the dependencies in the model with joint distribution (17). The latent Poisson rates are coupled by the AR1 drift (13). Each arises from a Poisson process with rate , where on weekdays. The report counts follow a beta‐binomial distribution with parameters which results from integrating out each under a prior
DAG depicting the dependencies in the model with joint distribution (17). The latent Poisson rates are coupled by the AR1 drift (13). Each arises from a Poisson process with rate , where on weekdays. The report counts follow a beta‐binomial distribution with parameters which results from integrating out each under a priorWe can derive conditional independence relations between variables at different time points as follows. For day t, denote by the collection of under‐reporting rates for each lagged report and by the collection of latent variables and observations, then applying the d‐separation criteria Pearl (2009) to the DAG in Figure 8 we have the conditional independence relationWe will use these conditional independence relations as the basis for drawing samples sequentially from the posterior.
POSTERIOR INFERENCE
Metropolis Hastings samplers
For each of the submodels discussed in Section 5 we draw posterior samples with standard Markov Chain Monte Carlo (MCMC) methods. For the time‐independent submodels, Equations (7) and (12) serve as potential functions for simple MH sampling. In Equation (7) the sum over can be performed directly for benign10 choices of prior on , when the true is expected to be small, or by numerical integration when the prior is concentrated on a region of its support. To sample from we use standard normal proposals and initialise the sampler to the mean of the prior . Since the expected distance for an n‐step 1‐dimensional Gaussian random walk is , we can be confident that the posterior is well explored by choosing an n such that our worst‐case estimate of the absolute error is well explored by . In all cases we apply thinning and burn in to the sample chain, though no hard convergence checks are made.
Marginalized particle filtering and smoothing
In the time‐dependent case, we make use of the conditional independence relation (18) to construct an algorithm for filtering and smoothing which builds on the simple MH sampling schemes as those used for inference in time‐independent models. Inference mechanisms under the conditional dependencies induced by the random‐walk prior in Section 5.3 are well studied (Doucet & Johansen, 2012) and so we give here the equations necessary for sequential posterior sampling of the latent and . At its foundation the complete model of Section 5.5 is Markov on a continuous latent state space with a non‐conjugate emission distribution. We therefore employ a forward‐backward algorithm, and deal with the non‐conjugate structure by performing MH sampling at each time step. The atomic distributions constructed from these samples are propagated forwards as a prior to the subsequent time step, and re‐sampled backwards for smoothing; this simple particle (SMC) algorithm differs from the canonical bootstrap filter since each filtering distribution is sampled directly rather than re‐sampled from the previous predictive distribution.11In what follows we dispense with the LTLA index for brevity and outline the strategy for sequential sampling without weekend effects. The interested reader may refer to Appendices A.1 and A.2 for derivations of marginal filtering and smoothing distributions for all latent variables and including all effects proposed in Section 5. Consider that with N samples from the joint filtering distribution at time t − 1 we may evaluate
where the sum over the atoms results from approximating by the atomic distribution on MH samples. Sampling from is done exactly as in the time independent case using a potential given by Equation (12); by induction we can therefore compute a sequence of joint distributions of the form Equation (19) such that we may draw samples from the sequence of joint filtering distributions . We can construct the smoothing distributions by re‐sampling these filtering atoms in a backward pass. Write the smoothing atoms as . Then the re‐sampling probabilities given M samples are
where the weights and normaliser are given by and respectively. The full procedure for inference is given by Algorithm 1. In Figure 9 we show the result of learning this smoothing distribution with and without weekend effects included. Given the smoothing atoms for each we can compute an approximate smoothing distribution for each by
which for time T gives us our required nowcast of the true count in the face of reporting lag. See Figure 14 for example nowcast showing uncertainty existing on recent counts and diminishing with time.
FIGURE 9
Smoothing distributions for and in December for Canterbury with and without weekend effects. Inclusion of weekend effects allows to remain smooth over periodic decreases in the positive test count at weekends. Each measures the strength of the weekend effect for day t; on the right we show these posterior distributions for Sunday November and December
FIGURE 14
Example nowcasts for Bromley and Oldham made on the 13th of December and the 14th of December. The posterior is exactly the true count for times long in the past. For recent times where we don't trust the reports, there is uncertainty as captured by the posterior distribution. As new and updated data is reported, all nowcasts may be adjusted to account for this new information
Smoothing distributions for and in December for Canterbury with and without weekend effects. Inclusion of weekend effects allows to remain smooth over periodic decreases in the positive test count at weekends. Each measures the strength of the weekend effect for day t; on the right we show these posterior distributions for Sunday November and December
Kalman gain and moving averages
In public reporting of the positive test count, the UK government uses a windowed average computed over a seven‐day period. This simple mechanism is to an extent well motivated as an approximation to linear dynamical models. For simplicity, consider modelling only the latest reported counts for times where by a Kalman Filter with no drift so that
Let the Kalman Gain (see Appendix D) for time‐step t be . The expectation of the Kalman filtering distribution at time‐step t may be written as
which expands recursively to give
where . Equation (26) is a weighted average of the observed data. It is clear that and further that if then so that the most recent observation has the largest weight. This gives a rough interpretation of the filtering distribution as a weighted average of the data with most weight given to the most recent observations.In the absence of implementing a full model, we therefore suggest that a windowed average with decaying weights constitutes a type of posterior point‐estimate for the Kalman Filter, which is in itself a reasonable approximation to our model for times where reported counts have converged to the truth; Figure 10 shows a comparison between our model, and a number of weighted moving averages which track the expected value of the smoothing posterior on .
FIGURE 10
Smoothed counts for Thurrock and Oldham using seven day moving averages. The simple moving average weights all observations equally whereas the linearly weighted moving average gives more weight to recent observations. These are plotted alongside the expected value of the λ smoothing posterior distribution
Smoothed counts for Thurrock and Oldham using seven day moving averages. The simple moving average weights all observations equally whereas the linearly weighted moving average gives more weight to recent observations. These are plotted alongside the expected value of the λ smoothing posterior distribution
Model selection
Our model includes one free parameter: the scale σ of temporal smoothing applied by the random walk prior on the sequence (see Equation 13). The choice of σ influences the set of feasible posterior distributions on ; in the absence of prior information on the rate of change of the disease it is important to choose σ to best explain the data observed. We take an empirical Bayes approach, and maximise the model evidence (Fong & Holmes, 2020)
over a feasible set of σ. From the perspective of a windowed average, this roughly corresponds to choosing window length and weights that best fit the observed data. Figure 11 demonstrates the influence of σ on the smoothing posterior. When the scale is too small relative to the variation in the counts, the posterior intensity cannot change quickly enough to capture well the most recent reported counts and risks missing changes in trend; when the scale is increased, the posterior intensity can decrease quickly enough to explain the observations. It is also possible to infer a smoothing posterior on σ under any prior with support on the positive reals. Figure E2 in Appendix E demonstrates the effect of inferring sigma under a half‐normal prior for Thurrock.
FIGURE 11
Smoothing distributions on the rates for Birmingham and their corresponding (relative) evidence given different values of σ. For example, the orange line is the posterior when setting σ = 2 whereas the purple posterior is given by setting σ = 3. The random‐walk scale which maximises the evidence is σ = 9
FIGURE E2
Smoothing distribution on the rate λ and σ for Thurrock using a model that places a half‐normal prior on σ. The model was fit using Stan (Carpenter et al., 2017)
Smoothing distributions on the rates for Birmingham and their corresponding (relative) evidence given different values of σ. For example, the orange line is the posterior when setting σ = 2 whereas the purple posterior is given by setting σ = 3. The random‐walk scale which maximises the evidence is σ = 9
MODEL MONITORING AND ALERTING
One of the UK government's main strategies for pandemic control has been to impose restrictions at the LTLA level in response to increasing case numbers. For our model to be useful in informing these decisions we must therefore have confidence in its predictions. Moreover, we would like to make assertions of probability on whether or not case numbers are following an increasing trend, or have exceeded a threshold of concern. We now describe how our model can be used to (1) monitor systematic reporting errors, and (2) act as an alert system at the LTLA level.
Monitoring
During the course of positive‐test reporting thus far, there has been one major reporting error. A technical oversight resulted in the omission of 15,841 positive tests recorded between the 25th of September and of October, prior to a corrective backdate commenced on the of October. This fundamental change in reporting should be detectable under a well‐calibrated model. The posterior predictive distribution and lag‐j smoothing distribution each assign mass to a set of positive test counts at time t + 1 which are credible according to the model, but accounting for observations up to times t and t + j respectively.When the reporting process is well matched with the assumptions of our model, we expect these distributions to be more consistent than when there are large systematic reporting errors. As a mechanism for detecting these errors, we propose the following consistency statistic:When j is large, the smoothing distribution reduces to a delta function on the truth, and the statistic amounts to measuring how well the predictive distribution captures the true value. Extending this reasoning to the sequence of lagged reports for time t + 1, we recover the conditional evidence by integrating out all unobserved random variables. Since under‐reports when j is small, we may choose to evaluate
as an aggregated measure of how well the model has captured reports which have not yet converged to a fixed value, which may constitute early warning signs against systematic reporting errors.
Alerting
A fundamental assumption of the model (17) is that the positive test‐counts at time t are a‐priori Poisson distributed with rate on weekdays,12 and so . Although windowed average techniques (see Section 6.3) may prove to be good estimators of the expected posterior on for times t such that we have observed , these methods cannot include under‐reports, or make statements of probability. For an alerting system that is both stable and probabilistic, we can examine the posterior behaviour of the and . The difference may only substantially exceed σ when there is sufficient posterior evidence to do so after observing . This makes the marginal smoothing posteriors and ideal for establishing if the intensity of the epidemic has crossed a threshold, and whether or not the sequence of intensities is increasing. For some threshold value V we can use the fraction of smoothing particles which are larger than V
to estimate an alerting probability. In Figure 12 we give an example of an alert for Thurrock between the 26th of November and the 13th of December and in Figure 13 we show how the smoothing posterior on is easy to interpret visually as a description of whether the intensity is increasing.
FIGURE 12
Example alert mechanism for Thurrock detecting if λ is above a threshold value. Top: the smoothing posterior on λ as well as the reported counts and a threshold V. Bottom: Probability that λ is above the threshold value at each time step
FIGURE 13
The smoothing posterior on the drift for Thurrock showing λ is following an increasing trend from 6th December onwards
Example alert mechanism for Thurrock detecting if λ is above a threshold value. Top: the smoothing posterior on λ as well as the reported counts and a threshold V. Bottom: Probability that λ is above the threshold value at each time stepThe smoothing posterior on the drift for Thurrock showing λ is following an increasing trend from 6th December onwards
RESULTS
Under the model described in this report, the nowcast on inferred from all available data is given by the smoothing distribution . In Figure 14 we display this nowcast for two LTLAs, as well as the smoothing distribution for times t < T; the uncertainty on reduces with lag so for times far enough in the past the nowcast reflects our confidence that the reported count is the truth.Example nowcasts for Bromley and Oldham made on the 13th of December and the 14th of December. The posterior is exactly the true count for times long in the past. For recent times where we don't trust the reports, there is uncertainty as captured by the posterior distribution. As new and updated data is reported, all nowcasts may be adjusted to account for this new informationWe show results over a 2‐week period in December 2020 when the UK was transitioning out of lockdown, where the model we propose may be the most useful in helping to monitor changes in the total number of positive tests. For each LTLA, we learn the reporting priors from the 2 weeks of most recently converged data within the given LTLA as described in Section 4.3 and we select the random walk scale that optimises the evidence as suggested by Section 6.4. For each model, we obtain 250 posterior samples (with a burn in of 750 iterations and thin rate of 20).13
Moving average baseline
Although any statistical model on positive test cases provides the benefit of uncertainty quantification over non‐statistical methods, the success of our model in deployment depends on its ability to improve upon simple techniques for estimating key indicators on the state of COVID‐19. The 7‐day windowed average on reports at the LTLA level, taken up to 4 days14 before present day, is such a simple and publicly reported baseline. We may use the latest week of smoothing distributions to estimate the 7‐day windowed average up to present day, rather than 4 days ago, so that decisions on local restrictions may incorporate information from under‐reported count data.In absence of the full joint distribution we estimate the lag‐j 7‐day windowed average for day from the marginals byTo measure the performance of Equation (33) we assume the lag‐7 reports have converged to and measure the absolute errorFigure 15 shows the distribution of absolute errors for the imputed 7‐day windowed average across all LTLAs alongside the performance of the current strategy of ignoring under‐reports. It is clear that using the expected smoothing distribution as a nowcast improves the mean absolute error at early stages of reporting, and further that there is a significant reduction in the variance of this estimator compared to the baseline.
FIGURE 15
Distribution of absolute error for the imputed windowed average across all Lower‐Tier Local Authorities by lag. The box plot whiskers cover the 5th and 95th percentiles. Model run on the 14th of December reports
Distribution of absolute error for the imputed windowed average across all Lower‐Tier Local Authorities by lag. The box plot whiskers cover the 5th and 95th percentiles. Model run on the 14th of December reports
Nowcasting by Bayesian Smoothing (NobBS) baseline
We also compare nowcast accuracy at each lag against NobBS (McGough et al., 2020).15 With our model, we estimate the number of positive tests as the mean of the smoothing distribution , whilst NobBS uses as the nowcast estimate. In both cases we measure the absolute error between these estimates and the truth. Figure 16 shows the performance of both models for lags 1 to 4 marginally across all LTLAs; the models exhibit similar median performance. Figure E4 in Appendix E shows the same comparison but against Continuous Ranked Probability Score (CRPS) rather than absolute error.
FIGURE 16
Distribution of absolute error for daily nowcasts made by our model and the NobBS approach across all Lower‐Tier Local Authorities by lag. The box plot whiskers cover the 5th and 95th percentiles. Model run on the 14th of December reports
FIGURE E4
Distribution of Continuous Ranked Probability Score (CRPS) for daily nowcasts made by our model and the NobBS approach across all Lower‐Tier Local Authorities by lag. The box plot whiskers cover the 5th and 95th percentiles. Model run on the 14th of December reports
Distribution of absolute error for daily nowcasts made by our model and the NobBS approach across all Lower‐Tier Local Authorities by lag. The box plot whiskers cover the 5th and 95th percentiles. Model run on the 14th of December reportsAs mentioned in Section 1, the window length for inference in NobBS forces a trade off between reliable estimation of the random walk scale and the under‐reporting process. We avoid this contention by choosing to estimate the under‐reporting process with empirical Bayes on the most recent 2 weeks of reports. When the reporting process is changing on a time scale substantially shorter than the entire reporting period, our method for online estimation should better handle the dynamics.
DISCUSSION
We have presented a probabilistic model for time series count data with weekend effects and a lagged reporting process. We demonstrated that it is possible to use incomplete, lagged reports and impute the true count to obtain a seven‐day moving average that extends to the present date. Conditional on the nowcast being accurate, this is preferable to waiting for the most recent counts to converge before considering their use in monitoring the progress of the COVID‐19 epidemic as it permits faster response to changes at the LTLA level. We also directly model the underlying intensity of the disease which lends itself naturally to probabilistic alerting strategies when incidence rates are increasing or have passed above some threshold value.Our approach relates closely to a number of concurrent works. In Fronterre et al. (2020) a negative binomial model on swab tests is proposed, which is similar to that specified in Section 5.2 when considering the marginal posterior on with integrated out. They further posit a spatio‐temporal dependence on the Poisson rates which extends the work described here. A key difference between Fronterre et al. (2020) and here is the inference mechanism; Fronterre et al. (2020) employs restricted maximum‐likelihood parameter estimation, whilst we pursue a fully Bayesian treatment such that all parameter uncertainties are propagated through to quantities of interest. The model described in Lee and Robertson (2020) shares the same binomial likelihood as proposed here. They couple the 442 Scottish post‐code districts spatially with a (GMRF). A number of internal notes from PHE have also studied outliers under binomial likelihood models with some spatio‐temporal dependence (Matt Keeling and the Warwick COVID modelling team, 2020; PHE Joint Modelling Cell and PHE COVID Outbreak Surveillance Team, 2020). Generally, LTLAs which are spatially close may exhibit similar trends in the number of positive tests, and so we may expect a spatial coupling between neighbouring LTLAs to yield performance improvements. The most common models for dealing with spatial dependence are typically based on GMRFs; the Besag York Mollié (BYM) model (Besag et al., 1991) posits spatial dependence through such a field, and although we do not employ this spatial structure here, a number of algorithms for posterior inference under this construction (Morris et al., 2019; Rue et al., 2009) have been used to study COVID‐19 (D'Angelo et al., 2021). We note however that in this work we have observed mixed reliability in the spatial dependence of reporting rates.Recent works have also modelled a lagged reporting process. For example, each of McGough et al. (2020), Seaman et al. (2020) and Stoner and Economou (2020) consider a temporal structure where the lagged counts are modelled as a generalised Dirichlet‐multinomial distribution. This may deal more naturally with the reporting lag than our use of beta‐binomial distributions on the latest available cumulative reports, though neither offers a posterior distribution on a latent intensity and would therefore have to rely on different strategies for probabilistic alerting than those justified in Section 7.2 here. Günther et al. (2021) propose a novel mechanism for capturing changes in the reporting delay distribution by using a linear spline with 2 week break‐points and note its importance in improving the accuracy of their nowcast; in this work, we deal with these changes in the delay distribution empirically by building a prior on the delay from the most recent 2 weeks of stable reporting data as discussed in Section 4.3.The accuracy of our model in nowcasting the number of positive tests relies on stability of the reporting prior. As discussed in Section 4, over the course of the pandemic in the UK, there have been periods when the reporting delay was not stable, either due to technical issues in reporting or special circumstances such as Christmas holidays. Any approach that models the reporting behaviour to make a nowcast will not perform well in such cases, unless it can accurately estimate the dynamics of the reporting process. We suggest that building a reporting prior against testing laboratories rather than LTLAs may make available tighter prior estimates for the reporting rate—since reports for an LTLA constitute an aggregation of reports from testing sites serving that authority, variance in the rates may arise from differences in reporting behaviour across these testing sites. In fact, since the end of October, each lab has provided capacity estimates in publicly available data.16 It may be possible therefore to estimate lag at the lab level, conditional on the testing load faced by each lab.The alerting framework proposed here directly extends monitoring strategies employed globally throughout the pandemic. A clear limitation is that Pillar 2 test counts suffer from ascertainment bias due to preferential testing of certain groups such as symptomatics or front‐line workers. The counts are generally indicative of changing trends in cases but are also sensitive to changes in testing strategies and capacity. A robust alerting system could benefit from combining nowcasting with approaches that estimate true prevalence in the population by de‐biasing test data such as proposed in Nicholson et al. (2022).
Authors: Radka Jersakova; James Lomax; James Hetherington; Brieuc Lehmann; George Nicholson; Mark Briers; Chris Holmes Journal: J R Stat Soc Ser C Appl Stat Date: 2022-04-23 Impact factor: 1.680
Authors: Mitzi Morris; Katherine Wheeler-Martin; Dan Simpson; Stephen J Mooney; Andrew Gelman; Charles DiMaggio Journal: Spat Spatiotemporal Epidemiol Date: 2019-08-12
Authors: Radka Jersakova; James Lomax; James Hetherington; Brieuc Lehmann; George Nicholson; Mark Briers; Chris Holmes Journal: J R Stat Soc Ser C Appl Stat Date: 2022-04-23 Impact factor: 1.680
Authors: Shaun R Seaman; Pantelis Samartsidis; Meaghan Kall; Daniela De Angelis Journal: J R Stat Soc Ser C Appl Stat Date: 2022-06-15 Impact factor: 1.680