key: cord-0893571-iumlr3ze authors: Young, Peter C.; Chen, Fengwei title: Monitoring and forecasting the COVID-19 epidemic in the UK date: 2021-02-18 journal: Annu Rev Control DOI: 10.1016/j.arcontrol.2021.01.004 sha: 585028ec3931935c4cae0c9afe111a587710b503 doc_id: 893571 cord_uid: iumlr3ze This paper shows how existing methods of time series analysis and modeling can be exploited in novel ways to monitor and forecast the COVID-19 epidemic. In the past, epidemics have been monitored by various statistical and model metrics, such as evaluation of the effective reproduction number, [Formula: see text]. However, [Formula: see text] can be difficult and time consuming to compute. This paper suggests two relatively simple data-based metrics that could be used in conjunction with [Formula: see text] estimation and provide rapid indicators of how the epidemic’s dynamic behaviour is progressing. The new metrics are the epidemic rate of change (RC) and a related state-dependent response rate parameter (RP), recursive estimates of which are obtained from dynamic harmonic and dynamic linear regression (DHR and DLR) algorithms. Their effectiveness is illustrated by the analysis of COVID-19 data in the UK and Italy. The paper also shows how similar methodology, combined with the refined instrumental variable method for estimating hybrid Box-Jenkins models of linear dynamic systems (RIVC), can be used to relate the daily death numbers in the Italian and UK epidemics and then provide 15-day-ahead forecasts of the UK daily death numbers. The same approach can be used to model and forecast the UK epidemic based on the daily number of COVID-19 patients in UK hospitals. Finally, the paper speculates on how the state-dependent parameter (SDP) modeling procedures may provide data-based insight into a nonlinear differential equation model for epidemics such as COVID-19. The best known COVID-19 mathematical models are the nonlinear epidemiological models, an example of which is the very well known, nonlinear Susceptible, Infectious, Recovered (SIR) differential equation model proposed by Kermack and McKendrick [9] . Such models can be deterministic, as in the original SIR model; stochastic, exploiting numerical Bayesian methods of analysis (see e.g. Flaxman et al [4] ); or, stochastic, agent-based, microsimulation models, such as Venkatramanan et al [20] and Hoertel et al [7] . Such 'mechanistic' models are quite complicated, particularly the agent-based versions, because they try to explain the behaviour of the epidemic, in various degrees of detail, as it develops in a country or region. While there are papers on more conventional statistical analysis [see e.g. 12, 18] applied directly to epidemic time series, it is difficult to find any that consider epidemic data analysis using the data-based dynamic sys-tems analysis methods that have evolved mainly within the systems and control community. One exception is the paper by Lega and Brown [10] , which does not directly exploit any of the dynamic systems analysis methods used in the present paper but it does use an approach to data-based ('data-driven') modeling that is similar to the state-dependent parameter approach to modeling nonlinear stochastic systems [17, 23, 25, 31] that is utilized in section 4 of the present paper. Lega and Brown exploit Matlab routines for time series analysis and the results are linked with the estimation of parameters in the well known logistic equation description of epidemic behaviour (see e.g. [2] ). Given this existing epidemiological context, it must be emphasized that the present paper is not concerned with such mechanistic models except, as mentioned above, in section 4, where nonlinear dynamic models are discussed in a more speculative mannner. Rather, it discusses an alternative and totally data-based approach to the evaluation, monitoring, modeling and forecast- ing of COVID-19 time series. The time series models are identified statistically from the COVID-19 data and, except for the fact that they are continuous-time, differential equation models, they cannot, and should not, be compared with the epidemiological models. The aim of the paper is simply to exploit freely available methods of recursive time series analysis for either estimating the changes in certain metrics that can provide continuing insight into the behaviour of the epidemic; or identifying models that can yield short-term (1) (2) (3) (4) week) adaptive forecasts of the COVID-19 death series in the UK. These methods are intended as useful additions to the existing methods used in epidemic data analysis and, together with the results obtained from epidemiological modeling, it is felt that such information could be helpful in the monitoring, forecasting and management of an epidemic. Section 2 of the paper considers the COVID-19 epidemic as a classical, noisy, dynamic system whose progress can be monitored by two new metrics: one based on optimally smoothed estimation of the epidemic Rate of Change (RC); and the other on a related state-dependent Response rate Parameter (RP). These metrics are evaluated and discussed in relation to the daily confirmed cases of COVID-19 and the daily deaths arising from these in the UK and Italy 1 . A typical example of these data is shown in figure 1 , where the UK and 1 Most of the COVID-19 data used in this paper were down-Italian data are plotted in red and black colours, respectively. Note that the UK data, in particular, are characterized by a changing weekly cycle caused by the methods of data collection and delays that occur in this operation, particularly at weekends. In this figure, the upper panel shows the cumulative series, while the lower panel shows the daily deaths. The UK epidemic started 15 days after the Italian epidemic so the UK series has been shifted by 15 days to illustrate the similarity in the series. Although there is a weekly cycle in the Italian series, it is most pronounced in the UK series and, clearly, it needs to be accounted for in the data analysis. Consequently, both metrics are based on optimal time-variable parameter Dynamic Harmonic Regression (DHR) estimation, which provides a model of the measured series y(k) that includes an estimate of the changing weekly cycle. In particular, the DHR algorithm decomposes y(k), at sampling instant k, where k = 1, 2, . . . , N and N is the sample size, into a number of 'unobserved components' that include this weekly cyclical behaviour W(k), as well as the underlying changes in the series being considered, x(k), and additive noise, ξ(k). Effectively, x(k) is an optimally smoothed estimate of the changes in y(k) after the weekly cycle and noise have been removed. Most importantly for the purposes of the present paper, the DHR analysis also yields an optimal estimate of the continuous-time temporal rate of change dx(t) dt (k), which defines the RC metric at the kth sampling instant. The time-variable estimates of the temporal changes in the RP metric are based on the same DHR estimates but use these in association with the Dynamic Linear Regression (DLR) algorithm, as discussed in section 2.2 of the paper, where equations (1) and (7) show that RP is a state-dependent parameter, usually referred to in the biological literature as the 'specific growth rate'. The DHR and DLR estimation is carried out using the dhr and dlr routines in the CAP-TAIN Toolbox 2 for Matlab, in conjunction with their associated dhropt and dlropt optimization routines. Section 3 of the paper exploits the similarity of the Italian and UK epidemics and shows how similar methodology to that used in section 2, combined with the refined instrumental variable method for estimating hybrid Box-Jenkins Transfer Function (TF) models of linear dynamic systems (RIVC), as implemented in the CAPTAIN rivcbjid and rivcbj routines, can be used to relate the epidemics in Italy and the UK. This TF model, which is simply an operational representation of a differential equation model between the Italian and UK time series, is then used to provide adaptive, 15-dayahead forecasts of the UK epidemic on a 'rolling' basis, i.e. the forecast is updated continually every few days, with the model re-estimated at each update. The linear dynamic models in section 3 yield useful forecasts but these are based on the fortuitous similarity of the UK and Italian epidemics and the associated 15 day lead time that this provided over the whole of the first wave of the COVID-19 epidemic in the UK. As a new wave of the virus began in early October, 2020, it became quite clear that this lead time had evaporated and the approach was no longer useful. It is important to note, however, that the TF modeling approach discussed in this section can be used in any situation where there are sufficient data available for a linear TF relationship to be identified between the measured time series, such as the relationship between the daily number of COVID-19 hospital patients and daily COVID-19 deaths in the UK, which is discussed at the end of section 3. Section 4 outlines briefly the results of initial, ongoing research that considers the data-based identification of a State-Dependent Parameter (SDP) nonlin-ear model for forecasting the UK deaths series. This SDP model is self-generating from specified initial conditions and, unlike the method used in section 3, it does not rely on any fortuitous relationships with other series. Most of the optimal estimation methods used in this paper utilize an approach to time series analysis that exploits optimal recursive Fixed Interval Smoothing (FIS) [8, 14, 21, 26] and so yields an estimate of the metric that is available immediately upon receipt of new data. As such, it can provide additional, useful and powerful, indicators to enhance the information provided by R(t) estimation, which can be difficult and time consuming to compute [3] . The recursive FIS estimation is an essential element in the estimation of the time-variable parameters that characterize the DHR and DLR models [32] , where the nature of the 'unobserved components' in these models are allowed to change over time to reflect changes in the time series being analysed. In this paper these are the daily confirmed cases of the COVID-19 virus infection and the daily deaths arising from these, considered initially in terms of the number of daily deaths in the UK population as shown in figure 1 . For comparative purposes, however, these data are standardized in relation to the population of the country being considered, so that they refer to the deaths (or confirmed) cases per million in the population. It is widely recognised that the behaviour of epidemics can be described by a nonlinear differential equation which, for a single variable, takes the general form: where the response rate parameter RP, denoted by r(t), changes as a function of the changes in the state of the system; i.e. it can be considered as a 'state-dependent parameter' (see also the later section 4). The state of this system can be defined in various ways and has been the subject of much research over many years. However, this paper does not address the nature of the any such state equations until later, in section 4, where it is considered in initial, speculative terms. Rather it considers directly the dynamic nature of the response x(t) and the associated rate parameter r(t), based on the daily measured response y(k) where, on the kth day, response x(t). These are caused mainly, in the present context, by a pronounced and changing weekly cycle associated with the method of data collection. Both metrics are obtained by considering the observed series y(k) as the sum of unobserved components that are assembled in the following DHR model: In the present context, T (k) is a low frequency 'trend' component; while W(k) is the cyclical component that models the weekly cycle and is modeled as: where each α(i, k) and β(i, k) is a stochastic Time-Variable Parameter (TVP) and ω i , i = 1, 2, . . . , R c , are the fundamental and harmonic frequencies associated with the cyclicity in the series; here in the region of 0.286 and 0.143 cycles/day, associated with harmonic periods of 3.5 and 7 days in a weekly cycle. Finally, the irregular component e(k) represents the stochastic variations in y(k) that have not been explained by all the other components. Normally, if the spectral peaks have been identified well, then it will be a zero mean, normally distributed and serially uncorrelated, white noise process. Each TVP in the DHR model is assumed to be one member of the Generalized Random Walk (GRW) family. The model is optimized using the CAPTAIN dlropt routine, to yield the optimal hyper-parameters required to generate the estimates of the unobserved components. The GRW model and the associated hyper-parameters are discussed briefly in the Appendix. In the case of the COVID-19 data, the T (k) component accounts for the underlying changes in the series, and is represented by the estimatex(k) of x(k) in equation (2) . The DHR analysis also provides a daily sampled estimate dx dt (k) which is an estimate of dx(t) dt , the rate of change of the daily deaths, x(t) in equation (1), on the kth day. This is the RC metric and, as we shall see, it provides revealing insight into the behaviour of the epidemic, with dx dt (k) values greater than zero representing growth in the epidemic; values less than zero indicating its decline; and zero positive values showing where the epidemic has peaked or reached a period of no growth. Indeed, this derivative measure has 'phase advance' properties so that, as we shall see, it can be helpful in providing prior warning of the peak being achieved. Given the DHR estimates of the underlying epidemic response x(t) and its rate of change dx(t) dt , it is possible to formulate the following model for the relationship in where dx dt (k) andx(k) are the daily sampled values of the DHR estimates dx(t) dt andx(t), while η(k) is the associated measurement noise. Ifx(k) is noise-free (see later) and η(k) is white noise, as shown, then equation (5) will be recognised as a TVP regression relationship: a special, single parameter example of the DLR model (see section 5.1 in [26] ): where y r (k) is the dependent variable; the z i (k), i = 1, . . . , np are the regression variables; and α i (k) are the TVPs. In this simple example, np = 1, α i (k) = r(k) and y r (k) = dx dt (k). As in the case of the DHR model, the TVPs α i (k) can be selected from the GRW family of random walk models and optimized accordingly, in this case using the CAPTAIN dlropt routine. The resulting estimater(k) of r(k) is then obtained using the dlr routine and this provides the required temporal changes in the RP estimate. Once again, r(k) has a critical value of zero marking the boundary between the growth and decline of the epidemic. One feature of the DLR estimation in equation (5) is that it is using FIS estimates of the variables involved in this regression relationship, as obtained from the DHR model estimation. As a result, the explanation of the dependent variables dx dt (k) andx(k) is virtually perfect and so the confidence bounds on the RP metric are small, suggesting more confidence than is justified given the noisy nature of the measured data. For this reason, the confidence bounds shown later in figure 3 are adjusted, using Monte Carlo analysis based on the estimated standard errors in thex(t) and dx(t) dt , to provide a more realistic idea of this uncertainty. Finally, another alternative to using DLR estimation is to consider the estimate obtained directly from using logarithmic transforms to compute the ratio of variables on the right-hand side of this equation. The use of this transform requires care, however, both because of its behaviour when the series is near zero and because it can result (as in the present case) in a residual series that does not conform very well to the statistical estimation requirements. For these reasons, this approach is not considered further. The DHR and DLR estimation procedures described in the previous sub-section are computationally very rapid and provide a virtually instantaneous estimate of the changing metrics every day, as soon as the latest update in the number of deaths is received. Figure 2 presents two results that illustrate the nature of this analysis for the UK deaths series. The left panel shows how the optimization of the hyper-parameters for the DHR model produces a model pseudo-spectrum that matches the 10th order AutoRegressive (AR) model spectrum, as identified using the Akaike Information Criterion (AIC: see [1] ). Here, the spectral peaks are associated with the weekly cycle, clearly defined at 6.88 and 3.59 days, respectively. In addition, there is a smaller, short period peak at 2.25 days which helps to explain the colour in the signal that is not explained by the cyclical component. The right panel shows the optimal weights generated by FIS for the DHR estimation at the 75th sample location (the response of the optimized DHR model to a unit impulse at sample 75). In effect, this FIS 'wavelet' moves through the series and extracts the cyclical component, with adjustments to its shape as either end of the data is approached (this is achieved by a two-stage recursive estimation procedure: see [26] for details). Following DHR and DLR estimation, the estimates of the metrics RC and RP can be plotted to see how they are varying over time. An example of this is shown in figure 3 , which provides an illustration of how the RC metric changes over the 150 day period and how these changes can be interpreted. Here, RC is plotted as a red line with its estimated uncertainty shown in light grey. Two regions are marked in light colours: a 'Danger Zone' in light red where RC > 0 and the death numbers are increasing in some manner; and a 'Safe Zone' in light green, where RC < 0 and the numbers are decreasing. These results are obtained from analysis of the measured UK daily deaths data, standardized to measure the deaths per million people and plotted as black dots. Such standardization is used for all of the results presented subsequently and, in this case, the UK population is rounded to 68 million. The magenta line is the full DHR estimate but its uncertainty bounds are not shown in order to simplify the plot; while the blue line with associated dark grey uncertainty bounds, is the DHR estimate of the underlying daily deaths x(k), which is smooth and very effectively corrected for the cyclical factors. This same presentation of the results, with the associated line definitions and colours, is used in the subsequent figures 5 to 7, although the background red and green colours are omitted. Figure 3 also shows, as a thick black line, the well known centralized 7 day moving average, which appears to be the preferred measure of the underlying behaviour in epidemiology and has been shown increasingly in the material published by the UK Government 3 . It is taking the weekly cycle into account in a much cruder manner than DHR, so it is more volatile and, because of the way it is computed, it cannot be estimated at the beginning and end of the series. The capital letters in figure 3 indicate the progress of the epidemic, as monitored by the RC metric: SE indicates the initial rise in RC at the start of the epidemic in the UK, at around sample 55 on March 17th 2020. PP shows where RC has detected the maximum rate of change before the epidemic starts to move towards its peak, thus predicting that the peak is being approached; LP shows the location of the peak, defined as RC crosses zero at sample 80 on April 11th. The epidemic is now declining, with RC less than zero but the metric reaches 3 https://coronavirus.data.gov.uk/#category= nations&map=rate&area=n92000002 a minimum value around the April 25th and then starts to rise towards zero, showing that the decline is slowing down. And it eventual reaches zero again at sample 124 on May 25th, indicating that the epidemic numbers are about to start increasing again. Fortunately, this is predicted by RC at location LPP as a local peak, which is attained at sample 130 on June 1st; and the epidemic (if defined in terms of the daily death numbers) then declines up to sample 150 on June 20th, when the first version of this paper was finalized. In the actual day-to-day monitoring, the results are obtained based only on the data up to each day and a movie film would be required to illustrate the full progression of the epidemic in these terms. In the absence of this, all we can do is to consider the results plotted in figure 4 , which span each day from May 31st to June 4th and then a jump to June 8th, In this sequence of plots, we see that, on May 31st, the RC has moved very near to the zero boundary, providing a warning that something may be going to happen; which, indeed, it does on the next day when RC becomes quite strongly positive, suggesting a possible secondary epidemic. It is interesting that this conclusion coincided with the discussion in the news at the time about the increase of the R(t) metric towards unity, with similar connotations, demonstrating how RC can be considered as a quick indicator of the However, on the next two days, June 2nd and 3rd, a small peak forms, predicting a subsequent peak in the death numbers and a suggestion that this is a local peak, not a continuing rise in death numbers. The remaining two plots confirm this with the peak fully developed on June 4th, as RC goes through zero, back into the 'safe zone'. Finally, note that this peak is at the same location when all the data up to June 20th are analyzed (see below), showing the accuracy and stability of the monitoring as time progresses. Figure 5 shows the RC and RP results for the UK up to June 20th with RC, as considered above, in the right panel and the RP metric, for comparison, in the left panel. The DHR forecasts for each metric, which are plotted from a forecast origin of June 8th, are very reasonable, with the DHR model generating the weekly cycles quite well. It is clear that the RP metric provides similar results to RC, except that the estimation takes longer to settle down, with quite large standard error bounds to start off with, although these become quite narrow and are less than those for RC after this. Figure 6 shows what has happened to the RC metric when applied to the deaths (right panel) and confirmed cases (left panel) in the UK epidemic for the whole time up to a forecasting origin FO on September 27th. After the section of the epidemic shown in figure 5 , the deaths and confirmed cases continued to drop and the deaths appeared to be leveling out, signaling an end to the epidemic and giving rise to a relaxation in the restrictions that had applied over the lock-down period. However, the RC metric for the confirmed cases moved into the danger zone at the location shown by the red arrow in the left-hand panel and, two days later, the confirmed cases started to rise sharply, a trend that has continued, with only small down-turns from time-to-time, until the end of the plot. On the other hand, the number of deaths continued to drop with the RC metric hovering around zero. On August 31st, however, at the location shown by the red arrow in the right-hand panel, there was an ominous, sustained rise of RC into the danger zone, as shown in the enlarged inset on the plot. This heralded a subsequent initial rise in deaths that soon produces a second wave of the epidemic (see also section 4). This is consistent with the very large rise in confirmed cases, shown in the left-hand panel, and an associated rise in hospital admissions (not shown). In addition to the expected hospitalization lags in the system, the fact that it took so long for the death numbers to increase when the confirmed cases were rising so sharply has been put down to the inaccuracy of the test-and-trace system over this period and that a lot of the confirmed cases were amongst younger people who did not develop dangerous symptoms that required hospitalization. Figure 7 shows the results for Italy, again considering only the RC metric. Here, the population used in the standardization is 60.5 million. Comparing figures 5 and 7, we see that the Italian epidemic progressed in a similar manner to that in the UK, except that it preceded it by 15 days. Indeed, in the next section 3, this similarity is exploited to produce adaptive, rolling forecasts of the progress in the UK epidemic. Some sharp upward movements in the metrics while they are in the 'safe zone' gave some cause for concern at the time and some consequent slowing in the decline of the epidemic. Otherwise, this decline continued steadily until the numbers of confirmations and deaths were both relatively low. As in the UK, however, these low numbers did not last and, soon after the RC metric became positive, the confirmed cases started to rise, with the metric remaining predominantly positive and the changes becoming very significant towards the end of the plot. As in the UK, however, the death numbers in the right-hand panel remain steady at low numbers, with a just perceptible rise toward the end of the plot. Clearly, the close similarity between the Italian and UK epidemics in the first wave of the epidemic, with the Italian deaths leading those in the UK by 15 days, is no longer applicable and the second wave of the UK epidemic in now slightly leading that in Italy. Similar analysis to that shown above has been applied to the data from Germany and the USA and this is available in a technical note [30] . Figure 1 has shown the similarity of the Italian and UK epidemic behaviour in the first wave of the epidemic, but with the UK having larger numbers of confirmations and deaths, which is partly consistent with the slightly larger UK population (68 cf 60.5 million, a ratio of 1.124). Given this similarity, it is interesting, over this first wave, to consider relating the two epidemics in some manner. The simplest approach is to estimate a DLR model of the following form between the cumulative death numbers: where y c (k) and z c (k) are, respectively the cumulative deaths in the UK and Italy. When the dlr routine in CAPTAIN is applied to the cumulative data, it produces the estimates of the β 1 (k) shown in figure 8 , with the left panel showing the estimate obtained under the assumption that the parameter is constant; while, in the right panel, the parameter is assumed to vary, with the hyper-parameter defining this variation optimized by the dlropt routine. It is clear from these plots that this parameter needs to vary: although the estimate initially converges to a value of about 1.2, it increases after this, reaching a value of 1.253 by the end of the data (because the data are shifted to accommodate the 15 day difference between the two epidemics, the plot shows the days from February 6th). This rise is due to the transient increase in the UK death numbers that occurred between March 25th and 31st, i.e. days 109 and 115 (as discussed in section 2.3, with the associated plot in figure 3) , which resulted in a permanent increase in the cumulative death numbers. This DLR model can be used directly for modeling and forecasting the daily death series in the UK by exploiting the 15 day lead provided by the Italian data to achieve 15-day-ahead forecasting. However, the same objective can also be achieved using another, more interesting approach that utilizes linear dynamic model identification. This is based on the following hybrid model (see [28] ) for the UK daily death series y(k) shown below in equation (9) . Here, the underlying model output x(t), in (9)(i), is the output of a continuous-time TF model; while the discrete-time output equation, in (9)(ii), defines y(k) as the sum of x(k), the sampled value of x(t) on the kth day; the weekly cycle component W(k), obtained from the DHR model; and the residual noise, modeled as a standard discrete-time AutoRegressive Moving Average (ARMA) process. Here, s= d dt is the derivative operator; z −1 is the backward shift operator; e(k) is zero mean white noise with variance σ 2 ; and u(t) represents the underlying behaviour of the Italian series, as identified using an associated hybrid model of the form: in which y I (k) are the daily samples of the Italian data; I(t) is a unit impulse input signal; and ξ(k) is additive noise. The full model identification procedure then consists of the following four simple steps: 1. Identify the structure of the model (10) and estimate the associated parameters. 2. Identify a continuous-time, linear TF model for the underlying behaviour x(t) of the UK series by employing the deterministic outputû(t) of the model in step 1 as the input signal (thereby avoiding 'errors-in-variables' problems [19, 26] caused by the weekly cycle and noise on the Italian series: see remark 3.1 below). The response of this model is denoted byx 1 (t). 3. Identify a DHR model for the errorŴ(k) = y(k) − x 1 (k) associated with the model obtained in step 2. The sampled model output is thenx(k) =x 1 (k) + W(k), whereŴ(k) is the deterministic output of the DHR model and an estimate of the weekly cycle. 4. RemoveŴ(k) from the measured y(k) to yield the 'de-cycled' series y dc (k) = y(k) −Ŵ(k); and then repeat step 2 using this series in place of y(k). Remark 3.1. It may seem odd to use the unit impulse input model (10) to generate an estimate of the underlying behaviour in the Italian series but this works well. This is because the Italian series, in this first wave of the epidemic, resembles an impulse response and can be considered as the response to the impulse injection of the COVID-19 virus into Italy. This approach handles the errors-in-variables problems by ensuring that there are no errors on the inputû(t); errors that would arise from the the weekly cycle and the measurement noise ξ(k) if these were retained by direct use of the Italian series as the input to the model (9), rather thanû(t). Both of these errors-in-variables effects on the input could cause problems of bias on the parameter estimates and so have a deleterious effect on the forecasting. This is now in the standard hybrid Box-Jenkins model form (for details, see [28] ) and so it can be identified by RIVC estimation using the rivcbj routine in CAPTAIN. Using the above procedure, the model (11) is identified as: where the estimated parameters in the main TF (12) In this case, the ARMA noise model is identified as a simpler AR process, with polynomial C(z −1 ) of 7th order (estimate not shown). The associated residual series e(k) is uncorrelated both serially and with the input signalû(t), as required. The DHR model of the weekly cycle, as identified using the CAPTAIN dhr routine, has harmonic components with periods of 6.95, 3.54, 2.48 and 2 days and the associated hyper-parameter vectors, as optimized by the associated dhropt routine are: Although this identification procedure is sub-optimal in statistical terms, figure 9 shows that the resulting model explains the data well, except for the short period when there is a transient rise in the series, as discussed earlier in section 2.3, that cannot be accounted for by this model. The overall coefficient of determination, based on the model responsex(k) is R 2 T = 0.985, i.e. 98.5% of the variance in the measured data y(k) is explained by the deterministic output of the model; and the variance of the error y(k) −x(k) associated with this is 0.25. Most importantly in the present context, the model provides reasonable adaptive 15-day-ahead, rolling forecasts of the UK data, again by exploiting the 15 day lead time provided by the Italian series. This is illustrated by the three plots in figure 10 , which show 15-day-ahead forecasts made from forecast origin locations spaced at 7 day intervals. There are various measures of forecast accuracy used in the forecasting literature but two of these are: 2. the forecast Coefficient of Determination (CoD or R 2 T ) is defined as: whereȳ denotes the mean value of y(k). In 2., the second term on the right-hand side of the equation provides measure of the ratio of the forecasting error variance to the variance of the UK deaths time series. Consequently, when this is subtracted from unity, the closer R 2 T is to unity, the better the forecast in these variance terms. This is also called the 'Skill Score' in weather forecasting [11] and the Nash-Sutcliffe model Efficiency coefficient (NSE) in hydrological modeling and forecasting [13] . Note that this R 2 T measure is more often used as a measure of how the estimated model explains all the data. i.e. with f = N, where N is the sample size used for estimation. A 7-day-ahead forecast is probably the most useful in practical terms because the forecast begins to deteriorate a little after this. Table 1 shows the R 2 T and RMS measures for this forecast interval at the three locations in figure 10 . The first column reports the R 2 T values for the whole of the data, including the forecast: these all show a good explanation of the data, with values all greater than R 2 T = 0.98, i.e. 98% of the daily deaths explained by the model and its forecast. The second column shows the R 2 T values for just the 7-day-ahead forecast: here, the forecasts from May 1st and May 14th are quite good, with R 2 T > 0.8. The forecast from May 7th is not so good but visually the forecast is quite acceptable. The poorer measures are largely due to the higher forecasting errors on the first and last days and: e.g. the R 2 T and RMS measures are improved to 0.61 and 1.27, respectively, if the first day's forecast is removed. Finally the third RMS column confirms the results in the second column, with the smallest RMS errors for the May 1st and May 14th forecasts. Given the changing nature of the weekly cycle, the forecasting performances illustrated by this table and figure 10 are quite reasonable and, together with the RC metric, provide a good idea of what to expect over the next two weeks of the epidemic, as required for management and decision making during an epidemic such as COVID-19. It is felt that such results could enhance the information gained from more traditional epidemic models, particularly as they account so well for the changing weekly cycle. Finally, it is important to note that the transfer function modeling approach discussed in this section can be used in any situation where there are sufficient data available for a linear TF relationship to be identified between the measured time series. One interesting illustration of this approach is based on the estimated TF relationship between the data on the number of COVID-19 patients in UK hospitals 4 and the subsequent COVID-19 deaths. This example is discussed fully in a technical note [30] but figure 11 shows an example of three-weekahead forecasts obtained in this manner for two dates, seven days apart, with the actual UK daily death numbers after the forecast origin (FO) shown as blue dots. These forecasts exploit the identified 15 day pure delay in the TF model, with the additional days forecast by the associated DHR model of the weekly cycle. As in the case of the Italy-UK analysis, there is clear evidence of parametric change in the model, so that adaptive, rolling forecasting of this kind is necessary. This is not a question that can be answered in the present paper. Research on a fully data-based answer to this question is on-going but, based on initial results, it is interesting to speculate on what kind of dynamic model might be appropriate. Before this, however, it is worth considering briefly the nature of more traditional epidemiological models that are normally identified using the traditional 'Popperian' hypothetico-deductive approach [16] . Here the hypothetical model assumed by the modeler on the basis of epidemiological theory is related to data from epidemics in various ways. Probably the simplest, well known model of this type is the SIR model proposed by Kermack and McKendrick [9] : where S is the number of the susceptible people in the population, I is the number of the infected people and R is the number of the people 'removed', either by death or recovery. An alternative approach to modeling is the hypothetico-inductive procedure proposed by the present first author [27] . The associated Data-Based Mechanistic (DBM) modeling methodology has been used successfully in the modeling of dynamic systems in a number of different scientific disciplines (see e.g. [22, 24, 29] ). In hypothetico-inductive DBM modeling, the idea is to follow Isaac Newton's philosophy of 'hypotheses nonfingo' i.e. 5 ... avoid initial, possibly prejudicial assumptions about the nature of the model and to attempt to infer this from the data Consequently, prior hypotheses are considered, but only after a solely data-based model has been identified and estimated directly from the available data. And then, an existing model hypothesis is only accepted if it can be reconciled with the DBM model. A good illustration is the DBM model for an Australian blow-fly (Lucilia Cuprina) population [25] , where the DBM model is found to be consistent with the hypothetical model suggested previously by Gurney et al [5] . Such a DBM modeling approach will not be pursued in detail here but, given the previous discussion in section 2.2 on the state-dependent response parameter r(t), it is interesting to consider the standard first step in DBM nonlinear system modeling: SDP estimation [25, 26] , which provides initial insight into the nature of a purely data-based nonlinear differential equation model of an epidemic. In the case of the UK COVID-19 epidemic, initial research has identified the following SDP differential equation: where the second derivative d 2 x(t) dt 2 is estimated from the DHR estimated dx(t) dt , using FIS estimation based on an Integrated Random Walk (IRW) model (see [26] , section 4.5.4; and the Appendix), as coded in the CAP-TAIN routine irwsm. In equation (18) , a 1 χ 1 (t) and a 2 χ 2 (t) are both parameters that are assumed to vary as a function of state, or other, variables, on which they may depend. These variables are specified in the 5 see reference 1 in https://en.wikipedia.org/wiki/General_Scholium 13 J o u r n a l P r e -p r o o f vectors of variables χ 1 and χ 2 . In particular, identification analysis based on the UK daily deaths series has found that both are dependent on the first derivative, i.e. the χ i (t), i = 1, 2 are single variables with χ 1 (t) = χ 2 (t) = dx(t) dt . In particular, where the parameters are estimated as follows: and again the standard errors are shown in parentheses. This SDP model explains the UK data well, as shown in figure 12 , where, as in the previous section 3, a DHR model is incorporated to handle the weekly cycle and the forecast is a combination of the SDP model and the DHR model forecasts. The figure also shows a forecast made by the model on October 25th which anticipates quite well the daily deaths for the 44 days up to December 7th, when this paper was being finalized. The plot shows the deaths after the forecasting origin (FO) as blue and red dots: the blue dots are measurements made from Tuesday to Saturday each week, while the red dots are those made on Sunday and Monday. The latter data illustrate a clear 'weekend' effect, where the significantly lower values are presumably the result of changed procedures over the weekend; while, as a result, the Tuesday measurements are always the highest in the week because those missed over the weekend are added to the total. Note that the amplitude of the weekly cycle increases quite rapidly after the forecast origin, leading to 3 measurements outside the 95% bounds. Also, the forecast does not capture the very large movements in the measured weekly cycle because it is based only on the data up to the FO, where the cycle is significantly smaller. The model was simulated in Simulink and estimated by nonlinear least squares optimization using the lsqnonlin routine in Matlab and data up to the forecast origin FO. Note that, although the model is self-generating from specified initial conditions, it was found necessary to stimulate the second wave of the epidemic by a very small step input of 0.0002 applied on August 24th (equivalent to only one additional death every 73 days). Both the date of application and the magnitude of the impulse were included in the optimization and August 24th happened to coincide with the first signs of problems arising from the relaxation after 'lock-down' 6 . It must be emphasized that this model is being developed for short-term adaptive forecasting with the model parameters updated as new data are received. The longer term forecast, with its large confidence bounds, is shown in figure 12 simply to illustrate that the response displays epidemic-type behaviour, recognizing that both the date and magnitude of this second peak may be poorly defined. Indeed, quite a number of the Monte Carlo realizations, as used to evaluate the effect of parametric uncertainty on the 95% forecasting bounds, displayed further epidemic waves after this second one, as data in early 2021 have in fact revealed. On the other hand, the forecast in figure 12 is probably quite reasonable in comparison with other forecasts generated at this FO time. Moreover, its inherent ability to generate multiple epidemic waves means that the model makes reasonable sense in nonlinear dynamic terms. Also, the individual epidemic response is as expected: for the relatively short periods (24% of the time) when dx(t) dt is greater than zero, the model is exponentially unstable; while, when it is less than zero, the model is stable, with a response quite similar to a second order linear system (demonstrating why it was possible to identify the linear second order model in equation (12) of section 3). In accordance with the objectives of this paper, the SDP model (18) is completely data-based. However, it provides a basis for further hypothetico-inductive DBM modeling, where it is hoped that, given additional data, superior SDP models may be developed and investigated further in epidemiological terms to see how they relate to theoretical nonlinear growth and epidemic models that have been suggested previously in the epi- 6 126 illegal gatherings broken up by police: see https: //en.wikipedia.org/wikiTimeline_of_the_COVID-19_ pandemic_in_England J o u r n a l P r e -p r o o f Journal Pre-proof demiological literature (e.g. [6] and the prior references therein; Banks [2] ). The main objective of this paper has been to evaluate whether existing and powerful estimation and modeling procedures, developed largely within a systems, control and forecasting context, can be exploited to good advantage in monitoring and forecasting the behaviour of COVID-19 epidemics, particularly the severe one that has so badly affected the inhabitants of the UK since the middle of March 2020. The results obtained in the paper suggest that the time-variable parameter regression algorithms (DHR and DLR), which rely heavily on optimal recursive fixed interval smoothing algorithms, provide additional monitoring and forecasting information that should be useful in the management of epidemics such as COVID-19. In particular, these algorithms have been used to obtain estimates of the two metrics, RC and RP, that allow for continuing monitoring of the epidemic's progress, unhindered by the weekly cycles and noise affecting the measured time series on which they are based, as well as prior indications of changes occurring in these series. The paper has also shown how the refined instrumental variable method of continuous-time model identification (RIVC) can be used to identify and estimate hybrid transfer function models (i.e. continuous-time differential equations with discrete-time difference equations for additive noise) that describe the dynamic relationship between epidemic-related time series. It has also shown that, if these models contain suitably long pure time delays, they can be exploited successfully for forecasting purposes. Other analysis, not reported in the present paper, has shown how the recursive RIVC algorithm, as well as its counterpart for fully discrete-time models RIV, can be used in other ways that allow the parameters in the model to change: e.g. to relate the confirmed and death series, where the dynamic relationship is changing as time progresses. This is a current subject of research by the authors, who have applied such TVP estimation methods in other application areas (see e.g. [15] ) The initial data-based mechanistic modeling analysis, obtained using state-dependent parameter estimation, has yielded promising results. These suggest that this approach may be able to identify a parametrically efficient nonlinear epidemiological model that can be compared with the existing nonlinear simulation models. In order to be fully successful, however, such a study would require access to detailed information on the management actions taken (or not taken) during the epidemic. For example, such information would be required in any attempt to explain the transient growth period that occurred during late March in the UK (see section 2.3), or the second wave of the UK epidemic discussed in section 4. Finally, it is clear that the various statistical estimation procedures discussed in this paper are not known within the epidemiological and medical communities, who rely on traditional simulation modeling methods and statistical tools, such a regression analysis and centralized moving averaging. Hopefully, the present paper may come to their attention and encourage them try out the various algorithms that have been used in the paper, all of which are available in the CAPTAIN Toolbox for Matlab, which can be downloaded without cost from the web site noted in the paper. J o u r n a l P r e -p r o o f assumed to be unknown a priori and need to be specified by the user or optimized in relation to the data; e.g. using the dhropt routine in CAPTAIN. There will be a set of hyper-parameters required for each parameter and these are accommodated in a vector: in relation to the RW, IRW and SRW models, these are the NVR vector of Q η i values, denoted by nvr; and the vector of α i values, denoted by α. The estimated frequency values are chosen by reference to the spectral properties of the time series, as quantified by the AR(n) spectrum, with the order n identified by reference to the Akaike AIC (see figure 2 in the paper). This DHR model can be considered as a straightforward extension of the classical, constant parameter, harmonic regression (or Fourier series) model, in which the gain and phase of the harmonic components can vary as a result of estimated temporal changes in the parameters a(i, k), b(i, k), α(i, k) and β(i, k). A paper like the present one that is trying to describe an on-going epidemic like COVID-19 is always out of date because, by the time the analysis is completed and the paper is written, the epidemic continues take its course. Without knowledge of what might happen in 2021, the author decided to conclude the paper on December 7th 2020 and no further analysis and development of the SDP model in section 4 has been carried out since then. However, after this date a new variant of the COVID-19 virus emerged in the UK and led to a considerable surge in deaths within the second wave of the epidemic that has led to death numbers in excess of those encountered in the first wave (1820 per day on January 20th; i.e. 26.8 per million of the population, so off the scale of the plot in figure 12 ). This would have to be accommodated in the SDP model, for example by the insertion of inputs such as that applied on August 24th to promote the second wave shown in figure 12 . A new look at statistical model identification Growth and Diffusion Phenomena A new framework and software to estimate time-varying reproduction numbers during epidemics Estimating the effects of non-pharmaceutical interventions on covid-19 in Europe Nicholson's blowflies revisited How mathematical epidemiology became a field of biology: a commentary on Anderson and May A stochastic agentbased model of the SARS-CoV-2 epidemic in France Stochastic Processes and Filtering Theory A contribution to the mathematical theory of epidemics Data-driven outbreak forecasting with a simple nonlinear growth model The coefficients of correlation and determination as measures of performance in forecast verification Forecasting Covid-19 impact on hospital beddays, ICU-days, ventilator-days and deaths by US state in the next 4 months. medRxiv River flow forecasting through conceptual models: discussion of principles An Introduction to Identification Identification of continuous-time models with slowly time-varying parameters The Logic of Scientific Discovery. Hutchinson, London State-dependent models: A general approach to non-linear time series analysis A data driven epidemic model to analyse the lockdown effect and predict the course of COVID-19 progress in india Errors-in-variables methods in system identification Using data-driven agent-based models for forecasting emerging infectious diseases Recursive Estimation and Time-Series Analysis: An Introduction Data-based mechanistic models Time variable and state dependent modelling of nonstationary and nonlinear time series Data-based mechanistic modeling of environmental, ecological, economic and engineering systems Stochastic, dynamic modelling and signal processing: time variable and state dependent parameter estimation Recursive Estimation and Time-Series Analysis: An Introduction for the Student and Practitioner Hypothetico-inductive data-based mechanistic modeling of hydrological systems Refined instrumental variable estimation: Maximum likelihood optimization of a unified Box-Jenkins model Data-based mechanistic modelling and forecasting globally averaged surface temperature Additional results for the paper Monitoring and forecasting the COVID-19 epidemic in the UK Identification of nonlinear stochastic systems by state dependent parameter estimation Dynamic harmonic regression In a DHR model, each TVP is modeled by one member of the GRW family. Here, the stochastic evolution of each parameter sub-vector a i (k), where,is assumed to follow the following state space model:whereT is a 2 × 1, zero mean, white noise vector that allows for stochastic variability in the parameters and is assumed to be characterized by a (normally diagonal) covariance matrix Q η i . This GRW model includes a number of special cases (see [26] ), but the most important of these in the present context are the IRW: α = β = γ = ε = 1; δ = 0; the scalar Random Walk (RW): scalar but equivalent to (21) with β = γ = ε = 0; α = δ = 1: i.e. just the first equation in (21)); and the intermediate case of Smoothed Random Walk (SRW): 0 < α < 1; β = γ = ε = 1 and δ = 0. The hyper-parameters in this case are the various, normally assumed constant, coefficients in this GRW model (α, β, γ, δ, ε, as well as the elements of Q η i or, more conveniently, the Noise-Variance Ratio (NVR) matrix Q nvr = Q η i /σ 2 , where σ 2 is the variance of the white noise in the observation equation. These are also