Skip to main content
Scientific Reports logoLink to Scientific Reports
. 2022 Sep 23;12:15879. doi: 10.1038/s41598-022-18208-6

Recursive state and parameter estimation of COVID-19 circulating variants dynamics

Daniel Martins Silva 1,, Argimiro Resende Secchi 1
PMCID: PMC9508243  PMID: 36151226

Abstract

COVID-19 pandemic response with non-pharmaceutical interventions is an intrinsic control problem. Governments weigh social distancing policies to avoid overload in the health system without significant economic impact. The mutability of the SARS-CoV-2 virus, vaccination coverage, and mobility restriction measures change epidemic dynamics over time. A model-based control strategy requires reliable predictions to be efficient on a long-term basis. In this paper, a SEIR-based model is proposed considering dynamic feedback estimation. State and parameter estimations are performed on state estimators using augmented states. Three methods were implemented: constrained extended Kalman filter (CEKF), CEKF and smoother (CEKF & S), and moving horizon estimator (MHE). The parameters estimation was based on vaccine efficacy studies regarding transmissibility, severity of the disease, and lethality. Social distancing was assumed as a measured disturbance calculated using Google mobility data. Data from six federative units from Brazil were used to evaluate the proposed strategy. State and parameter estimations were performed from 1 October 2020 to 1 July 2021, during which Zeta and Gamma variants emerged. Simulation results showed that lethality increased between 11 and 30% for Zeta mutations and between 44 and 107% for Gamma mutations. In addition, transmissibility increased between 10 and 37% for the Zeta variant and between 43 and 119% for the Gamma variant. Furthermore, parameter estimation indicated temporal underreporting changes in hospitalized and deceased individuals. Overall, the estimation strategy showed to be suitable for dynamic feedback as simulation results presented an efficient detection and dynamic characterization of circulating variants.

Subject terms: Applied mathematics, Computational science, Epidemiology, Computational models

Introduction

The first official cases of COVID-19 were dated in December 2019 in Wuhan, China. Its spread worldwide in later months resulted in a pandemic classification from the World Health Organization (WHO) on 11 March 20201. The first official case in Brazil was reported two weeks earlier, on 26 February 2020, from a man returning to São Paulo from Italy2. Social distancing presents effective mitigation over virus spread3; however, it generates negative impacts on the economy and on the mental health of the population4. Vaccination is a control action that progressively reduces virus transmissibility aiming for disease elimination defined by zero community infections5. Nonetheless, vaccination coverage is delimited by the vaccine acceptance rate, which makes its goal unfeasible even if vaccination provides 100% efficacy against transmission.

The SARS-CoV-2 virus is highly mutable, with thousands of variants documented since its origin in December 20196. Mutations might change system dynamics; thus, model updating is required for reliable predictions. Genomic surveillance of SARS-CoV-2 virus in Brazil indicated four predominant circulating variants from February 2020 to July 2021. B.1.1.33 and B.1.1.28 were predominant from the pandemic beginning to September 2020; the Zeta variant (P.2), which originated in Rio de Janeiro, was predominant from October 2020 to February 2021; and the Gamma variant (P.1), which originated in Amazonas, was predominant from mid-February 2021 to July 20217. In the pandemic modeling, the dynamics from each variant correspond to a set of parameters that must be estimated to ensure an accurate prediction over an extended period of analysis.

Modeling epidemiological evolution by a compartmental model is standard for control-oriented models since its simplicity suits real-time applications812. Optimality is usually defined to mitigate virus spread within health system capacity, while an input or manipulated variable is correlated to contagion rate. The input variable is discrete for a definition based on previously implemented government restrictive measures8,10,11; and continuous for a definition based on mobility data12 or possible government measures (e.g., complete lockdown and no countermeasures)9. Nonetheless, model parameters are not constrained to functions of the manipulated variables. Olivier et al.8 defined several compartmental model parameters as time-varying functions. Köhler et al.9 described hospitalized parameters as a function of the state variables. Morato et al.10 used a three-step parameter estimation of contagion, recovery, and mortality rates.

Mobility data is regarded generally in models focused on the forecast1319. There are many available database, among which there are data related to local infection probability and restrictive government measures. For instance, SafeGraph details node-related information fit for a network model13. Facebook details geographic movement metrics suitable for spatial models14,15. Apple and Google detail location mobility trends correlated to government measures which are used coupled16,17 or standalone18,19. In addition, mobility dynamics might be identified and described on time-varying functions from previous government measures20,21.

Virus mutations and vaccination coverage affect model dynamics, adding uncertainties to the system. There are examples of recursive state and parameter estimation applications in the COVID-19 pandemic. Sun et al.22 estimated parameters at each discrete time with a grid search, while Menda et al.23 estimated them with a neural network. Liao et al.24 and Morato et al.10 estimated parameters with moving horizon estimation based on a least-square method followed by a regressive method; moreover, the latter10 proposed an additional moving average on the estimation structure. Tsay et al.25 estimated unmeasured states with an unscented Kalman filter. Zhu et al.26 estimated states and parameters into an augmented state with an extended Kalman filter (EKF). Song et al.27 estimated states with an EKF and parameters with a proposed strategy based on maximum likelihood. State and parameter estimations in the literature focused on overall system dynamics. The authors used estimation strategies to estimate unmeasured states, capture reinfection dynamics or adjust model parameters for more accurate estimations. Hence, virus mutations and vaccination dynamics have not been study objects with similar estimation strategies.

Transmissibility, severity of the disease, and lethality are three properties of interest for study in an epidemiological model. They are defined by the probability of an infected individual moving from one given compartment to another. Marziano et al.28 proposed an age-structured model to analyze the Italia epidemic evolution during its first wave for possible outcomes from easing restrictive measures. The transmissibility was a function of google mobility data, the probability of developing severe disease was a fitting parameter per age group, and the lethality was defined as a function of the latter and hospitalized data. Kemp et al.21 proposed a compartmental model with fitting parameters for each probability of split in the model configuration to analyze herd immunity in Austria, Luxemburg, and Sweden. The transmissibility was a function of mobility fitted for each previous government measure, while other parameters were fitted as constants for each wave of COVID-19 infection.

In this work, we propose a comprehensive compartmental model for detecting epidemiological dynamics in terms of transmission, severity of the disease, and lethality equivalent to vaccine efficacy studies. Classical vaccination coverage modeling through a SIR-based model supposes the vaccinated state is 100% immune to reinfection; however, recent literature contradicted this assumption29. The modeling through correlated vaccination parameters is an alternative formulation to comprehend the vaccine dynamics. Hence, it is suitable for analyzing vaccine efficacy or intervention measures. The proposed model considers a recursive estimation approach in which simplifying assumptions focuses on detecting the aforementioned dynamics with parameter estimation. Model accuracy is improved using temporal prevalence distributions from the seroprevalence survey EPICOVID19-BR in the first wave of the pandemic. The proposed estimation strategy identifies COVID-19 variant emergence and characterizes its dynamics on epidemiological evolution based on dynamic feedback, which is suitable for online applications.

First, we describe the proposed compartmental model assumptions and parameter identification of the first wave of the pandemic. Then, we describe the implemented state and parameter estimation strategies. Next, we show numerical results from simulations on several Brazilian federative units and analyze the estimated parameters. Finally, we make our conclusions and discuss possible future works.

Mathematical model

Predicting the dynamics of an epidemiological evolution is of utmost importance to control its spread in a population. Modeling by a SIR-based model is conventional in control applications because of its simplicity and real-time applicability. The SARS-CoV-2 virus, however, presents high mutability, which affects model parameters over time. In addition, a relevant percentage of the population has been getting vaccinated in 2021, which also affects those parameters. Both uncertainty sources were irrelevant in the early stages of the COVID-19 pandemic, but their systematic increase make long-term forecasts unreliable. Hence, an accurate system estimate over an extended analysis period requires state feedback. In this work, the state feedback was done by simultaneous state and parameter estimation using an augmented vector.

In this section, a compartmental model is adapted to improve estimation performance considering data availability in Brazil. The model in Equation (1) was adapted from the SIDARTHE model proposed by Giordano et al.30 Hence, it assumes homogeneous states without age structure or the effect of vaccination coverage. The estimated parameters α0, xc, and xm related to transmissibility, severity of the disease, and lethality, respectively, are described later in this section. These parameters correlate with the dynamics analyzed in COVID-19 vaccine effectiveness studies3134. We have selected a federative unit per Brazilian region to evaluate epidemic progression countrywide, but the southeast region, the most populated one, is an exception with two units. Amazonas (AM) was chosen for the north region; Mato Grosso do Sul (MS) for the central-west; Rio Grande do Norte (RN) for the northeast; Rio Grande do Sul (RS) for the south; Rio de Janeiro (RJ) and São Paulo (SP) for the southeast. The total population Ni from each federative unit i consists of the following compartments:

  • Susceptible (S): individuals prone to infection;

  • Exposed (E): individuals infected in the incubation period, while they are not infectious;

  • Infected (I): undetected asymptomatic individuals;

  • Quarantined (Q): detected asymptomatic individuals who self-quarantine after detecting the disease;

  • Ailed (A): undetected symptomatic individuals;

  • Recognized (R): detected symptomatic individuals who self-quarantine after detecting the disease;

  • Threatened (T): individuals hospitalized in nursery or intensive care units (ICU);

  • Healed detected (Hd): detected individuals cured without treatment;

  • Deceased (D): individuals deceased due to the disease;

  • Healed with treatment (Ht): individuals cured after a hospitalization period;

  • Healed undetected (Hu): individuals cured of the disease without being detected.

dSdt=-νS 1a
dEdt=νS-ρE 1b
dIdt=pρE-(λ+ε)I 1c
dQdt=εI-λdQ 1d
dAdt=(1-p)ρE-(θ+μ+κ)A 1e
dRdt=θA-(μd+κd)R 1f
dTdt=μA+μdR-(σ+τ)T 1g
dHddt=λdQ+κdR 1h
dDdt=τT 1i
dHtdt=σT 1j
dHudt=λI+κA 1k

where all states are fractions of a total population Ni, informed by the Ministry of Health of Brazil2. ν is the infection rate, ρ is the incubation rate, and p is the fraction of infected individuals who remain asymptomatic. ε and θ are the detection rates of I and A, respectively. λ, λd, κ, κd, and σ are the recovery rates of I, Q, A, R, and T, respectively. τ is the mortality rate, whereas μ and μd are severe illness rates of A and R, respectively. Fig. 1 shows a scheme of the state transitions.

Figure 1.

Figure 1

Schematic diagram of the proposed compartmental model.

The analysis of several cases studies within a larger region provides spatial dynamics concerning virus spread. The chosen federative units for the study are known to be heterogeneous among each other3537 since Brazil is a large country where there were several different outbreaks dates, local government policies, and population behavior. Brazilian spatial epidemic progression studies35,36 indicated multiple initial outbreaks spread progressively to neighboring territories. The numerous government policies and population behavior are pointed out by the higher variance of the first wave duration of Brazilian states when compared to the United States and India variances37.

The healed compartment from the Giordano et al. model30 is subdivided into three compartments: Hd, Hu, and Ht. Ht is a measurable state by the Brazilian severe acute respiratory syndrome (SARS) database38,39. Hd is an unmeasured state because the Brazilian SARS database accounts only for the hospitalized individuals, and the Ministry of Health of Brazil only provides recovered estimate countrywide. However, the cumulative confirmed cases provided by the latter are composed mainly of Hd for any analysis post the first wave. Hu is an unmeasured state containing most post-infection individuals for all studied federative units. The closed system assumption of the compartmental model leads to the following constraint: S+E+I+Q+A+R+T+Hd+D+Ht+Hu=1; thus, we substituted Equation (1k) by Equation (2).

Hu=1-S-E-I-Q-A-R-T-Hd-D-Ht 2

The additional state E corresponds to a natural time delay of the system, which is usual in control-oriented models8,11 and forecasts to a lesser extent20,40,41. Presymptomatic infected individuals are within this state as (1-p)E, but their infection rate is assumed insignificant to simplify parameter estimation.

Reinfections play a significant role in the resurgence of COVID-19 infection waves since new lineage might evade immunity from previous infections42. Gamma43 and Delta44 mutations allow them to infect individuals recovered from other variants. Hence, reinfections from natural immunity decrease are assumed negligible to the emergence of another variant. The latter, however, can not be forecasted as they happen in occasional events. Hence, S in the model Equation (1) is unconnected with healed compartments Hu, Ht, and Hd, and the reinfection dynamics are assumed to be comprised in the state estimation.

The infection rate is simplified into a single parameter to guarantee observability. Hence, infections caused by presymptomatic and detected infected are assumed to be insignificant compared to infections caused by undetected infected. In addition, the same infection rate is applied to symptomatic and asymptomatic, although the first is acknowledged as more infectious45.

ν=α(I+A) 3

where α is the contagion rate, consisting of the probability that a susceptible individual contracts the disease from possible contact with an infectious individual. It is a function of non-pharmaceutical interventions (NPI), vaccination coverage, and circulating variants. NPI and vaccination mitigate virus spread in the short-term, while virus mutations might affect its transmissibility, as happened for the Gamma43 variant.

NPI dynamics are inserted into a compartmental model by time-varying functions20, independent variables9,11,12, or time-varying parameters estimated over time24,25. We focused on these last two as they are better suited to a control-oriented model. First, we separated social distancing from other NPI by defining α according to Equation (4).

α=α0(1-u) 4

where u[0,1] is the manipulated variable related to social distancing and α0 is the estimated contagion rate. The linearity applied over α and u in Equation (4) gets the correct direction between the contagion rate and social distancing. NPI unrelated to social distancing (e.g., mass gathering restrictions and mask requirements) are comprised in α0.

Social distancing is measurable by Google mobility data as percentage changes concerning a baseline defined from data sets before the COVID-19 outbreak46. Google mobility data are divided into six categories: recreation, essentials, parks, transit, workplace, and resident. A linear combination among the two most independent categories is used to define u. The similarity was measured by a zero-lag cross-correlation matrix through data from all federative units studied between February 2020 and July 2021. The normalized cross-correlation, whose results are presented in Supplementary Table S1, was calculated using the xcorr function from MATLAB. The absolute difference from zero characterizes the similarity between two signals, where independence is defined. The essentials signal had a cross-correlation closer to zero for all categories except itself; however, it is a monthly periodic signal while the others are weekly reported. Hence, the cross-correlation closest to zero, disregarding essentials, is related to parks and workplace; thus, they were selected to define u. Additionally, u was limited in the range [0,1], assuming each mobility category has lower and upper bounds on -100% and 100%, respectively. A weighted sum to assimilate location-dependent correlations concerning each mobility category was used to evaluate u according to Equation (5).

u(t)=-wuParks(t)-(1-wu)Workplace(t)-(wuParksmin+(1-wu)Workplacemin)wu(Parksmax-Parksmin)+(1-wu)(Workplacemax-Workplacemin)=-wuParks(t)-(1-wu)Workplace(t)-(wu(-100)-(1-wu)(-100))wu(100-(-100))+(1-wu)(100-(-100))=-wuParks(t)-(1-wu)Workplace(t)+100200 5

where Parks(t) and Workplace(t) are weekly moving averages of parks and workplace, respectively, and wu is the relative weight concerning parks mobility, which is an additional parameter to be estimated in the model identification.

The fraction of individuals who do not experience symptoms is defined as p[0.15,0.7] according to the U.S. Centers for Disease Control and Prevention (CDC)47. Virus mutations, testing policies, and different age distribution explain the broad range. The parameter p is not estimated over time because it is not observable from available data since there is no classification of symptomatic and asymptomatic. Hence, we defined p=0.5 as an intermediate value whose error is mitigated by the state estimator with estimations of I and A. The vaccine efficacy against infection is correlated to both α0 and p since it only measures symptomatic cases, according to U.S. Food and Drug Administration (FDA).

Following the vaccine efficacy against severe and mild diseases, a parameter xc is defined as the fraction of symptomatic individuals who develop severe or mild symptoms. Assuming that severe and mild illnesses imply hospitalization, thus xc is the fraction of individuals moving from A and R to T. Summing up Equations (1e) and (1f):

d(A+R)dt=(1-p)ρE-(μ+κ)A-(μd+κd)R

which is simplified by assuming μμd and κκd to:

d(A+R)dt=(1-p)ρE-(μ+κ)(A+R)

Thus:

xc=μμ+κ

Let us rewrite μ and κ as a probability function of the symptomatic individual to follow their ways, then:

xc=(1-xk-xθ)μ~(1-xk-xθ)μ~+xkκ~ 6

where xk and xθ are the probabilities of an individual in A to recover or to get detected, respectively. The average rates of severe illness μ~ and symptomatic recovery κ~ correspond to properties studied in the literature. In this work, we defined μ~=1/5d-1 and ρ=1/5.2d-1 from CDC47, and κ~ was based on a study of the detection window and test sensitivity of IgG/IgM tests48. The testing rate is a local and time-dependent property that affects both the probabilities xk and xθ. Let us define the correlated parameter xs as the fraction of recovered undetected individuals. We have from Equation (1e):

xs=κμ+θ+κ=xkκ~(1-xk-xθ)μ~+xθθ~+xkκ~ 7

Rewriting Equation (7) for xk:

xk=xsxθθ~+(1-xθ)xsμ~(1-xs)κ~+xsμ~

and substituting it in Equation (6) rewritten for xθ:

xθ=(1-xc-xs)κ~μ~(1-xc-xs)κ~μ~+(1-xc)xsθ~μ~+xcxsθ~κ~ 8

Considering that xc and xs represent fractions of the symptomatic infected, then xs+xc[0,1]. Locations with a steadier testing policy could estimate xs as a constant. However, rapid tests and RT-PCR were not available in public health services in the early stages of the COVID-19 pandemic in Brazil. Defining xs as a logistic equation in the function of time according to:

xs=axs1-aζ1+exp-bζ(t-cζ) 9

where axs, aζ, bζ, and cζ are identified model parameters. The definition of Equation (9) is based on heuristics that xs is initially high and decreases progressively to a steady state following test availability to the population. These model parameters also comprises uncertainties regarding test policy.

Analogous to xs, we define the fraction of recovered undetected asymptomatic individuals xa from Equation (1c) as:

xa=λλ+ε=xidλ~xidλ~+(1-xid)ε~xid=xaε~λ~+xa(ε~-λ~)

where xid is the probability of detecting the disease in an asymptomatic individual. Defining xa similarly to xs, we have:

xa=axa1-aζ1+exp-bζ(t-cζ) 10

where axa is an additional identified model parameter. Equations (9) and (10) have linear dependence between xs and xa to avoid overfitting of an excessive number of model parameters. The ratio axa/axs comprises the effect of the viral load on the test sensitivity and the test probability between symptomatic and asymptomatic infected individuals. Related uncertainties are assumed to be mitigated by state estimation among the states I, Q, A, and R.

Finally, we define a parameter xm analogous to vaccine efficacy against lethality as the fraction of threatened individuals who decease. We define it from Equation (1g) as:

xm=τσ+τ 11

Rewriting Equation (11) as a function of a death probability xe:

xm=xeτ~(1-xe)σ~+xeτ~

and isolating xe give us:

xe=xmσ~(1-xm)σ~+xmσ~ 12

where σ~ is the average recovery rate from hospitalization and τ~ is the average mortality rate. These parameters depend on healthcare demand, medical resources, notification delay, virus mutations, vaccine coverage, and testing policy. Nonetheless, they are simplified as constants to allow future estimations since, by assumption, uncertainties are mitigated by the state and parameter estimation.

The definition of parameters equivalent to vaccine efficacy against transmissibility, severity of the disease, and lethality as functions of state transition rates give comprehensive information about the virus spreading dynamics. The model uncertainties are outweighed by better parameter estimations by considering a fewer number of estimated parameters. The definition of xc and xm yields additional flexibility in the model formulation. Minor changes applied over α0, xm, and xc can express specific vaccine dynamics on the model. Hence, their definition comprehends an alternative implementation of vaccination in compartmental modeling.

The Ministry of Health of Brazil2 provides accumulated data on confirmed cases, deceased, and their respective incidences for each federative unit and county. The Brazilian SARS database38,39 provides clinical data from patients with a severe acute respiratory syndrome which comprehend confirmed and suspected cases of COVID-19 and other diseases. It notifies the period of hospitalization, evolution date, the confirmation status of COVID-19, among other information. Summing up all confirmed COVID-19 patients per each federative unit i gives observability on Ti and Ht,i. In addition, overall means of hospitalized evolution between April 2021 and July 2021 were used to define σ~ and τ~. Both databases are daily measured; hence sampling time Ts=1 d. Average testing rates ε~ and θ~ are location-dependent; however, we assumed that correlated uncertainties are comprehended in aζ,i, bζ,i and cζ,i. Hence, we defined ε~=θ~ = 1d-1 to suit sampling time. In summary, the monitored variable yi is defined as:

yi(k)=h(xi)=Qi(k)+Ri(k)+Ti(k)+Hd,i(k)+Di(k)+Ht,i(k)Di(k)Ti(k)Ht,i(k) 13

where xi=SiEiIiQiAiRiTiHd,iDiHt,iT.

EPICOVID19-BR provides additional data over temporal distributions in Brazil. It surveyed COVID-19 prevalence in cities from all regions on different timelines49,50. Let us consider the prevalence estimations from federative units given by Marra and Quartin51 based on three phases of EPICOVID19-BR. Furthermore, if we assume λ~=κ~=1/15d-1, then we can correlate states Hd,i and Hu,i with test sensitivity. EPICOVID19-BR did not test hospitalized patients49 and used an IgM and IgG antibody test more sensitive 15 days after the appearance of symptoms48. Hence, the state transition model f(xi,ui) for each federative unit i is defined in Equation (14).

dSidt=-νiSidEidt=νiSi-ρEidIidt=pρEi-(λi+εi)IidQidt=εiIi-λiQidAidt=(1-p)ρEi-(θi+μi+κi)AidRidt=θiAi-(μi+κi)RidTidt=μi(Ai+Ri)-(σi+τi)TidHd,idt=λiQi+κiRidDidt=τiTidHt,idt=σiTiHu,i=1-Si-Ei-Ii-Qi-Ai-Ri-Ti-Hd,i-Di-Ht,iνi=α0,i(1-ui)(Ii+Ai)xa,i=axa,i1-aζ,i1+exp-bζ,i(t-cζ,i),xs,i=axs,i1-aζ,i1+exp-bζ,i(t-cζ,i),xid,i=xa,iε~λ~+xa,i(ε~-λ~)xk,i=xs,ixθ,iθ~+(1-xθ,i)xs,iμ~(1-xs,i)κ~+xs,iμ~,xθ,i=(1-xc,i-xs,i)κ~μ~(1-xc,i-xs,i)κ~μ~+(1-xc,i)xs,iθ~μ~+xc,ixs,iθ~κ~,xe,i=xm,iσ~i(1-xm,i)τ~i+xm,iσ~iλi=(1-xid,i)λ~,εi=xid,iε~,θi=xθ,iθ~,κi=xk,iκ~,μi=(1-xk,i-xθ,i)μ~,σi=(1-xe,i)σ~i,τi=xe,iτ~i 14

Each federative unit i under study has prevalence distribution from EPICOVID19-BR formulated as Equation (15) for each phase j{1,2,3}, assuming a test sensitivity of 100% during Tp days followed by a sudden decay to zero.

Prei,j,min1Ntotal,jk=0Ntotal,j-1Hall,i(Nep,j+k)-Hall,i(Nep,j+k-Tp))Prei,j,max 15

where prevalence bounds Prei,j,min and Prei,j,max can be found in Supplementary Table S251, and Tp=50 was the arbitrated value for the detection window. t(Nep,1)=14 May 2020, t(Nep,2)=4 June 2020, t(Nep,3)=21 June 2020 are initial dates from the first, second and third phases of EPICOVID19-BR, respectively, while Ntotal,1=8 and Ntotal,2=Ntotal,3=4 correspond to their respective duration in days, and Hall,i=Hu,i+Hd,i+Ht,i. In the early stages of the pandemic outbreak, recovered individuals are approximately null; thus, we defined Hd,i(Nep,j+k-Tp)=Ht,i(Nep,j+k-Tp)=Hu,i(Nep,j+k-Tp)=0Nep,j+k<Tp|j{1,2,3}.

Gene sequences reported in GISAID7 indicate Zeta variant appearance in mid-October 2020. Hence, the identification step is bounded at t(Nf)=1 October 2020 to guarantee the steady circulation of variants B.1.1.28 and B.1.1.33. The lower bound aims at an imported infection neglectful in the system when Ii(t0,i)Qi(t0,i)Ai(t0,i)Ri(t0,i)Ti(t0,i)Hd,i(t0,i)Di(t0,i)Ht,i(t0,i)Hu(t0,i)T0. Therefore, only Si(t0,i) and Ei(t0,i) were considered optimization variables for the model identification. Hospitalized individuals Ti were used to define {N0,i|t0,i=t(N0,i)} from the solution of a system composed by Ti(N0,i)>0.00003, Tp-Nep,3-N0,i0, N0,iN, for each federative unit i. The model identification is evaluated through an integral time-squared error performance criteria for reducing the contribution of the initial error of imported infections.

The nonlinear optimization problem in Equation (16) was solved for each federative unit i with IPOPT52 via CasADI/MATLAB53.

minidentik=N0,iNf(k-N0,i+1)yi(k)-zi(k)Qid,i2Subjectto Equation(15)and:xi(k+1)=xi(k)+kk+1f(xi(t),ui(t))dtyi(k)=h(xi(k))Si(t0,i)[0.9,1],Ei(t0,i)[0,0.1],α0,i0,axa,i[0,0.1],axs,i[0,0.1],xc,i[0,1],xm,i[0,1]aζ,i[0,1],bζ,i[0,0.25],cζ,i0,xa,i[0,1],xs,i[0,1],xs,i+xc,i[0,1],xa,ixs,i 16

where identi=Si(t0,i)Ei(t0,i)α0,iaxa,iaxs,ixc,ixm,iaζ,ibζ,icζ,iwu,iT, zi are the measured variables and Qid,iR4×4 is a weight matrix calculated to normalize measurements from the early stages of the pandemic to July 2021 according to Equation (17). All numerical integration in the state estimators were solved with CVODES54 via CasADI/MATLAB. The initial guess was set as ident0,i=[0.950.050.10.90.90.020.10.10.1200.5]T. Results and location-dependent parameters are shown in Table 1.

Qid,ij,j=1yj,max-yj,min2,j{1,2,3,4} 17

Table 1.

Initial states and parameters of the proposed model for each federative unit i.

AM MS RN RS RJ SP
t0,i 03 April 2020 19 April 2020 19 April 2020 19 April 2020 15 April 2020 27 March 2020
Si(t0,i) 0.9449 0.9997 0.9951 0.9992 0.9762 0.9956
Ei(t0,i) 0.0551 0.0003 0.0049 0.0008 0.0238 0.0044
α0,i 0.1890 0.3953 0.5217 0.2848 0.2628 0.3223
axa,i 1.0000 0.8999 1.0000 0.9999 1.0000 1.0000
axs,i 0.9730 0.8999 0.9370 0.8963 0.9491 0.8861
xc,i 0.0270 0.1001 0.0630 0.1037 0.0509 0.1139
xm,i 0.3796 0.2586 0.4606 0.2833 0.4530 0.2694
aζ,i 0.2502 0.6539 0.6649 0.6419 0.2207 0.5591
bζ,i 0.2500 0.0900 0.1654 0.0429 0.2499 0.0540
cζ,i 39.3836 68.3508 51.2077 71.2191 38.0807 71.0390
σ~i 0.0782 0.0859 0.0721 0.0822 0.0491 0.0794
τ~i 0.0672 0.0645 0.0766 0.0614 0.0726 0.0673
wu 0.2604 1.000 1.0000 0.0000 0.7048 1.0000

State and parameter estimation

State estimation is essential for a model with uncertainties and without measurements from all states. It comprehends estimates of unknown properties based on available measures while filtering them to reduce the noise effects. The proposed model in Equation (14) has Si, Ei, Ii, and Ai as unmeasurable, Qi, Ri, and Hd,i as unmeasured, and Ti, Di, and Ht,i as measured states. Besides, the sum of the states Qi,Ri,Ti,Hd,i, Di, and Ht,i, which represent the confirmed cases, is also a measured variable. Furthermore, the epidemiological model parameters have uncertainties related to time-varying NPI, its acceptance from the population, circulating virus variants, and vaccine coverage. Hence, a state estimator must accurately forecast the epidemiological evolution of COVID-19 on each analyzed federative unit i. In this work, we selected the parameters α0,i, xc,i, and xm,i to estimate over time. Parameter estimation was performed using an augmented state Xi within a state estimator. The state Xi is defined as:

Xi=xiψi

where ψi=α0,ixc,ixm,iT are the parameters to be estimated.

Time-varying dynamics from ψi are unknown; thus, we assumed their differential equations equal to zero, and they are subject to artificial noise. Therefore, the state transition model F(xi,ui) for the augmented state is:

F(Xi,ui)=f(xi,ui)0

Measurements in process control usually constraint real-time applicability for state estimators within seconds or minutes. Hence, the sampling time Ts=1d allows analysis over different state estimation strategies. In this work, we evaluated the same scenario for each analyzed federative unit with a constrained extended Kalman filter (CEKF)55, a constrained extended Kalman filter and smoother (CEKF & S)56, and a moving horizon estimator (MHE)57. We used constrained observers to satisfy the feasible region X={0xi1,Hu,i[0,1],α0,i0,xc,i[0,1],xm,i[0,1],xs,i+xc,i[0,1]}.

CEKF is an extension of the Kalman filter for nonlinear models. It uses a first-order Taylor expansion of the system model to estimate the current value based on the latest measurement and estimated state. The COVID-19 data, however, are given in weekly cycles in which weekends have fewer notifications that are updated on working days. The CEKF & S is an intermediate option between a regular CEKF and a MHE regarding computational time and performance. First, it forwards estimates from a moving horizon with a CEKF followed by backward estimation with a smoothing equation. The weekly oscillations are attenuated in the resulting state and in the covariance update. The MHE uses a moving horizon of estimates and measured variables in a nonlinear optimization problem, which is solved at each sampling time. This optimization problem has Np times the degrees of freedom of the CEKF, where Np is the horizon size. Therefore, it provides better estimation at the cost of a significantly higher computational time.

The error covariance matrix P0,i and the initial estimated state X0,i of each federative unit i are defined at tf=1 October 2020. x0,i and y0,i can be found in Supplementary Table S3, while ψ0,i is shown in Table 1. The matrix P0,i was defined as P0,i=10diagdiag3x0,iTψ0,iT3x0,iTψ0,iTT, the covariance matrix of process noise Qk,i was defined as Qk,i=P0,i, and the covariance matrix of observation noise Rk,i was defined as Rk,i=1000diagdiagy0,iy0,iT.

Let us define the model with uncertainties:

Xi(k|k-1)=Xi(k-1|k-1)+k-1kF(Xi(t),ui(t))dt+ωk-1,iyi(k|k-1)=h(Xi(k|k-1))+vk,i 18

where ωk,iN(0,Qk,i) and vk,iN(0,Rk,i) are the process and measurement noises, respectively.

The linearization of Equation (18) into a state-space model yields:

Xi(k|k-1)=ϕk-1,iXi(k-1|k-1) 19a
yi(k|k-1)=Hk,iXi(k|k-1) 19b

where the output matrix Hk,i and the state transition matrix ϕk,i are defined as:

Hk,i=h(Xi(k|k-1))XiXi(k|k-1) 19c
ϕk,i=expGk,iTs 19d
Gk,i=F(Xi(k|k),ui(k))XiXi(k|k),ui(k) 19e

whose analytical expressions for these Jacobian matrices can be found in Supplementary Equation S1. We remark that Equation (19b) is equivalent to h(Xi(k|k-1)) as it is a linear function.

The initial conditions for each federative unit i were defined as X0,i=Xi(Nf|Nf), and P0,i=PNf|Nf,i for all state estimators. All simulations with state estimation started at tf=1 October 2020 and ended at tsim=t(Nsim)=1 July 2021. The performance of the state estimation was evaluated using the mean absolute percentage error (MAPE) calculated for each output {yj|j{1,2,3,4}} as:

MAPEj=100Nsim-Nfk=1Nsim-Nfzj(k)-yj(k)zj(k)

CEKF

For the sake of notation simplicity, the subscript i, denoting each federative unit, was suppressed from the description of the estimators. For the CEKF, the optimization problem in Equation (20) to update X(k|k) at each discrete time k corresponds to a quadratic programming, which was solved at each iteration with qpOASES58 via CasADI/MATLAB.

minX(k|k)y(k|k)-z(k)Rk-12+X(k|k)-X(k|k-1)Pk-1|k-1-12Subject to:X(k|k-1)=X(k-1|k-1)+k-1kF(X(t),u(t))dty(k|k)=HkX(k|k)X(k|k)X 20

The state covariance matrix Pk|k was updated via the Riccati equation in discrete time as follows:

Pk|k=ϕk-1Pk-1|k-1ϕk-1T-ϕk-1Pk-1|k-1HkTHkPk-1|k-1HkT+Rk-1HkPk-1|k-1ϕk-1T+Qk-1 21

Thereafter, the discrete-time is advanced to k+1, and Equations (20) and (21) are solved again to update X(k|k) and Pk|k.

CEKF & S

The CEKF & S was implemented according to the formulation from Salau et al.56 The state estimation was initially done Np-1 times with the CEKF from the previous section.

The Rauch-Tung-Stribel (RTS) smooth equations59 were applied from t(Np) to the simulation end (tsim). Each discrete time started with an additional CEKF iteration to calculate X(k|k) and Pk|k. Let us define XS(k)=X(k|k), PkS=Pk|k, P~k|k=Pk-Np|k-NpTPk-Np+1|k-Np+1TPk|kTT, and X~(k|k)=X(k-Np|k-Np)TX(k-Np+1|k-Np+1)TX(k|k)TT for estimating backward with the Rauch-Tung-Striebel (RTS) smooth equations59. Solving Equation (22) for {j[1,Np]|jN}, yields the solution XS(k-Np) and Pk-NpS, which is the initial conditions X(k-Np|k-Np)=XS(k-Np) and Pk-Np|k-Np=Pk-NpS for forward estimation until the current step k through Np iterations of the CEKF.

X(k+1-j|k-j)=X(k-j|k-j)+k-jk+1-jF(X(t),u(t))dtPk+1-j|k-j=ϕk-jPk-j|k-jϕk-jT+Qk-jCk-j=Pk-j|k-jϕk-jTPk+1-j|k-j-1XS(k-j)=X(k-j|k-j)+Ck-jXS(k+1-j)-X(k+1-j|k-j)Pk-jS=Pk-j|k-j+Ck-jPk+1-jS-Pk+1-j|k-jCk-jT 22

State and covariance estimations from each step are used to update their respective values in the vectors X~(k|k) and P~k|k (k|k). Two horizon sizes Np=7 and Np=28 were used in the simulations to evaluate the effect of Np on the estimator performance.

MHE

The MHE was implemented according to the formulation from Rawlings et al.60 The past horizon Np=mink-Nf,Np,0 at each discrete-time k, where Np,0 is the given horizon size for the estimator. Hence, we can set the initial condition for the optimization problem in Equation (23) as Pk-Np-1|k-Np-1 and X(k-Np-1|k-1). The state is updated at each discrete time k with the solution of Equation (23) through IPOPT52 via CasADI/MATLAB.

minXkX^(k-Np|k)-X(k-Np|k)Pk-Np-1|k-Np-1-12+j=k-Np+1kX^(j|k)-X(j|k)Qj-1-12+j=k-Npky(j|k)-z(j)Rj-12Subject to:X(j|k)=X^(j-1|k)+j-1jF(X(t),u(t))dty(j|k)=HjX(j|k)X^(j|k)Xj[k-Np,k],jN 23

where Xk=X^(k-Np|k)TX^(k-Np+1|k)TX^(k|k)TT are the estimated states and X^(k-Np-1|k)=X(k-Np-1|k-1). The state covariance matrix Pk|k is updated via the Riccati Eqs. (21).

The MHE gives estimations over a horizon Np based on the initial conditions Pk-Np-1|k-Np-1 and X(k-Np-1|k-1). Current estimations at a discrete time k are X^(k|k) and Pk|k. The advance in discrete time is carried out by solving Equations (23) and (21) based on previous estimations from k-Np-1 to k-1. The MHE was implemented with Np,0=7.

Simulation results and discussion

In this section, we present the results from simulations for federative units Amazonas (AM), Mato Grosso do Sul (MS), Rio Grande do Norte (RN), Rio Grande do Sul (RS), Rio de Janeiro (RJ) and São Paulo (SP). States and parameters were estimated from 1 October 2020 to 1 July 2021. Confirmed cases (y1) and deceased (y2) measures were obtained from the Ministry of Health of Brazil2, whereas hospitalized (y3) and healed with treatment (y4) were obtained from the Brazilian SARS database38,39. The input variable ui, calculated using Google mobility data, is presented in Fig. 2 for each federative unit.

Figure 2.

Figure 2

Time evolution of input variable related to social distancing.

All three state estimators drove the estimation toward the measure zi for each federative unit, as shown in Table 2 with MAPE results smaller than 5%. Hence, COVID-19 dynamic evolution on regional populations was captured despite the model assumptions. The tuning of P0,i and Qk,i based on ψ0,i values resulted in better estimates of y2 and y4, and higher estimation error on y3 for all studied cases. Using the same tuning formulation for all analyzed federative units implied some suboptimal sets of tuning parameters. Table 2 lets us identify the worst estimation from CEKF followed by CEKF & S and MHE according to expectations. Moreover, the increase in horizon size Np from 7 to 28 showed loss of estimation accuracy of the CEKF & S. The lack of long-term correlation for estimating state and parameter backward is probably a cause for this result; however, additional studies are required to verify the existence of other sources. The time evolution of output measures from all federative units can be found in Supplementary Figs. S1S5, except for Amazonas, which is shown in Fig. 3.

Table 2.

Mean absolute percentage error for simulation with state estimation for each federative unit i.

State Estimator AM MS RN RS RJ SP
y1 CEKF 0.40 0.59 1.05 1.49 0.56 0.61
CEKF & S (Np=7) 0.34 0.51 0.90 1.10 0.51 0.52
CEKF & S (Np=28) 0.45 0.56 0.98 1.19 0.66 0.64
MHE (Np=7) 0.32 0.45 0.85 0.99 0.49 0.48
y2 CEKF 0.37 0.42 0.31 0.35 0.36 0.29
CEKF & S (Np=7) 0.34 0.37 0.28 0.32 0.35 0.28
CEKF & S (Np=28) 0.38 0.39 0.30 0.33 0.36 0.28
MHE (Np=7) 0.34 0.33 0.27 0.30 0.32 0.25
y3 CEKF 3.94 3.57 2.05 3.66 1.98 2.35
CEKF & S (Np=7) 3.14 2.48 1.55 2.53 1.52 1.60
CEKF & S (Np=28) 3.58 2.55 1.45 2.57 1.62 1.55
MHE (Np=7) 2.52 1.66 1.26 2.07 1.06 1.25
y4 CEKF 0.21 0.21 0.21 0.17 0.11 0.12
CEKF & S (Np=7) 0.20 0.18 0.16 0.15 0.11 0.11
CEKF & S (Np=28) 0.25 0.19 0.16 0.17 0.14 0.13
MHE (Np=7) 0.18 0.16 0.15 0.16 0.10 0.11

Figure 3.

Figure 3

Time evolution of measures and estimated outputs from Amazonas (AM).

Amazonas had only two coronavirus waves identifiable through y3, as can be seen in Fig. 3, unlike other analyzed federative units. GISAID data7 indicated that variants B.1.1.33, B.1.1.28, and a local B.1.378 were significantly circulating from 1 October 2020 to 4 December 2020 when the first Gamma variant sequence was identified. Hence, the predominant circulation of the Zeta variant starting in mid-October 2020, was quickly overlapped by the Gamma variant resulting in a single wave. The estimated parameters, presented in Figs. 4-6, represent this profile specifically with MHE estimations and indicate that CEKF & S with Np=7 had closer parameter estimations with MHE than CEKF & S with Np=28. It is important to emphasize that MHE was applied with Np=7, which could explain this similarity.

Figure 4.

Figure 4

Time evolution of estimated contagion rate α0 from all analyzed federative units.

Figure 6.

Figure 6

Time evolution of estimated fraction of threatened individuals who decease xm from all analyzed federative units.

All other federative units also had an overlap of the Zeta and Gamma waves; however, there were higher periods with the circulation of the Zeta variant. Figs. 46 infer rougher parameter estimation from CEKF & S with Np=28, despite having a larger horizon. The moving horizon with estimated states backward and forward might smooth estimations overall, but each estimate still considers a single measure. Further studies on the effects of Np in CEKF & S are required, but these were not the subject of this work. Since MHE provided better state and parameter estimations, descriptions henceforth are related to these estimates.

Age distribution and local healthcare do not explain the discrepancy between xc,i and xm,i among the analyzed federative units observed in Figs. 5 and 6. This discrepancy points out the violation of the model assumption considering the complete identification of hospitalized individuals infected by COVID-19. Some case studies presented higher xc,i altogether with lower xm,i, which do not affect the infection fatality rate (IFR) but indicate underreporting of COVID-19 cases among hospitalized individuals. Amazonas, Rio Grande do Norte, and Rio de Janeiro presented testing policies focused on more severe hospitalizations. The IFR calculus defined in Equation (24) highlights this dynamic.

IFRi=(1-p)xc,ixm,i 24

Figure 5.

Figure 5

Time evolution of estimated fraction of symptomatic individuals who develop mild and severe symptoms xc from all analyzed federative units.

The results in Fig. 7 indicate a guaranteed underreporting of deaths in Amazonas. In addition to Figs. 5 and 6, the xm,i decrease shows that underreporting of hospitalized individuals in Rio de Janeiro and Rio Grande do Norte reduced over time. The lethality evaluation of a variant by xm,i is unfeasible because it decreased in Rio Grande do Norte and Rio de Janeiro due to testing policy. In addition, its peaks in Mato Grosso do Sul, Rio Grande do Sul, and São Paulo are explained by delayed notifications after an overload of the health system, which temporarily increases mortality. Hence, we used IFRi to conclude that the Zeta variant increased lethality from 11% in Rio de Janeiro to 30% in Rio Grande do Norte based on IFRi(t0,i) calculated with values from Table 1. In addition, α0,i estimation indicates that the Zeta transmissibility increased from 10% in Rio de Janeiro to 37% in Rio Grande do Norte.

Figure 7.

Figure 7

Time evolution of IFR considering estimated parameters.

Amazonas faced oxygen shortage on the Gamma variant wave, which implicated in mortality increase beyond virus mutations. Nonetheless, estimates of α0,i had an increase of 84% over its initial value, while xc,i had an increase of 67%. In addition, its estimations on xc,i are smoother, which allowed identifying the increase in the severity of the disease ranging from 36% in Rio Grande do Sul to 71% in São Paulo. The analysis through IFRi indicated a lethality increase between 44% in Rio Grande do Norte and 107% in Amazonas for the Gamma variant. Moreover, transmissibility increased between 43% in Rio de Janeiro and 119% in Rio Grande do Sul based on first-wave values of α0,i from Table 1. Further investigation on IFRi points out variant spread countrywide, being Amazonas its source. The Gamma variant spread initially to the farthest case study from Amazonas: Rio Grande do Sul. Afterward, it spread to the Brazilian economic center, São Paulo, and thereafter to the rest of the federative units at a similar rate. The quicker propagation of the Gamma variant to the farthest location from Amazonas, Rio Grande do Sul, is explained by a less rigid NPI highlighted by the highest α0,i estimate. São Paulo had only the fourth highest α0,i among the studied cases. However, it was the second to significantly contract the Gamma variant, which enforces the theory that it spread countrywide afterward and corroborates its classification as a super-spreader city par excellence by Nicolelis et al.35 Overall, α0,i more clearly indicated the emergence of circulating variants in the system. Finally, IFRi decreased in later times for most federative units until 1 July 2021, indicating that vaccination coverage does reduce mortality in infected individuals.

The circulating variant dynamics assumed the unique circulation of the lineage, whose uncertainty was reduced by a manual definition of the analysis period for each variant. Most studied cases had the Zeta wave overlapped by the Gamma variant; thus, dynamic estimations are expected to be lower or equal to the actual value. The Zeta evaluation period was defined in the last 15 days before Gamma variant emergence. The Gamma variant estimations are expected to be more accurate since it was predominant over some time for all cases studies. The Gamma evaluation period was defined from the first stationary point after variant emergence to the end of the simulation.

The computational time of the three state estimators was evaluated throughout the average simulation time among all analyzed federative units for 273 d, from 1 October 2020 to 1 July 2021. Simulation time was measured by the tic and toc functions in MATLAB. All simulations were carried out on an AMD Ryzen 5 5600X 3.70 GHz in a sequence to mitigate computational noises. The average simulation time was 25.4 s for CEKF, 136.7 s for CEKF & S with Np=7, 498 s for CEKF & S with Np=28, and 10265 s for MHE. Even the average execution time of 38 s per sampling time for the MHE implies real-time applicability of the state estimators with the selected tuning in the COVID-19 pandemic scenario since all of them have execution times lower than the sampling time Ts=1 d. CEKF & S performance and computational time were between the CEKF and the MHE, which enforce it as an alternative for processes with faster sampling times.

The definition of a compartmental model inherits limitations regarding the closed system and homogeneous compartment assumptions. In addition, all numerical results are dependent on the initial condition, which was determined from a nonlinear optimization in this work. Age distribution was neglected in the model formulation to aim for real-time applicability and fulfill available data of confirmed cases. Model assumptions uncertainties are mitigated by the state and parameter estimation; however, they do not guarantee realistic estimations. For instance, the mitigation of the variants reinfection mostly through compartments Si and Hu,i instead of estimated parameters α0,i, xc,i, xm,i is a consequence of the tuning. Hence, a fine-tuning procedure may be required for severe assumption violations to avoid unrealistic estimations. Mitigation of multiple uncertainties in the model formulation is achieved by a conservative tuning concerning small dynamic changes. Hence, smooth vaccination coverage and gene sequence dynamics might be noise to the estimator. Data quality also limits a more aggressive tuning for state estimators, such as sudden data updates of underreporting for cases and deceased (e.g., Rio Grande do Norte on 23 July 2021). Nonetheless, the proposed method allowed the study of overall dynamics in each studied case.

Conclusion

In this work, we proposed a mathematical model able to identify underreported cases of COVID-19 from hospitalized and deceased individuals by comparing the fraction of symptomatic individuals who develop severe or mild symptoms, the fraction of threatened individuals who decease, and the infection fatality rate among analyzed federative units. In addition, the model identified circulating variant dynamics in the aforementioned parameters, and characterize them under some assumptions. We remark that this model is suitable for control strategies, assuming there are available hospitalized data.

The performance among estimators confirmed MHE as a more suitable state estimator for COVID-19 due to daily sampling time. Nonetheless, CEKF & S presented reasonable estimations for comparison, and a significant reduction in computational time, which make it applicable in real-time applications.

Parameter estimations identified a lethality increase ranging from 11 to 30% and a transmissibility increase between 10 and 37% for the Zeta mutation. In addition, we found that the Gamma mutations caused a lethality increase ranging from 44 to 107% and a transmissibility increase between 43 and 119%. The estimation strategy successfully detected and estimated dynamics affected by the emergence of COVID-19 variants, which improves model accuracy for further predictions. Moreover, an initial decrease in lethality due to vaccination was also observed. Hence, the parameter estimation within recursive state estimation can deal with dynamic uncertainties from the COVID-19 pandemic.

Future works account for implementing an economic model predictive control and studies on inserting vaccination into the proposed model. Delta variant has been predominant in Brazil since August 2021. It was disregarded from an initial analysis because its mutation highly increases contagion among vaccinated people, which are measured. Therefore, a model comprising vaccinated individuals should generate better estimations of Delta dynamics.

Supplementary Information

Author contributions

A.R.S designed the research and D.M.S performed the research and wrote the manuscript. All authors revised the manuscript.

Funding

This work was partially funded by the Coordination for the Improvement of Higher Education Personnel (CAPES), finance code 001, and the National Council for Scientific and Technological Development (CNPq), grant number 303587/2020-2. In addition, this work was supported by the CAPES - Public Notice Number 09/2020 - Prevention and Combat against Outbreaks, Endemics, Epidemics, and Pandemics. Process number 223038.014313/2020-19, “Digital Technologies for Monitoring, Mapping and Control of Outbreaks, Endemics and Pandemics”, held at the Federal University of Rio de Janeiro. 

Data availability

The data sets used in this study are publicly available in the Ministry of Health of Brazil (https://covid.saude.gov.br/)2; Brazilian SARS database (https://opendatasus.saude.gov.br/dataset/srag-2020 and https://opendatasus.saude.gov.br/dataset/srag-2021-e-2022)38,39; and Google LLC (https://www.google.com/covid19/mobility/)46.

Competing interests

The authors declare no competing interests.

Footnotes

Publisher's note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

The online version contains supplementary material available at 10.1038/s41598-022-18208-6.

References

  • 1.World Health Organization (WHO). Coronavirus disease (COVID-19). https://www.who.int/emergencies/diseases/novel-coronavirus-2019 (2021). Accessed: 28/October/2021.
  • 2.Coronavirus Brasil. https://covid.saude.gov.br/ (2021). Accessed: 28/October/2021.
  • 3.Maier BF, Brockmann D. Effective containment explains subexponential growth in recent confirmed COVID-19 cases in China. Science. 2020;368:742–746. doi: 10.1126/science.abb4557. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Marroquín B, Vine V, Morgan R. Mental health during the COVID-19 pandemic: Effects of stay-at-home policies, social distancing behavior, and social resources. Psychiatry Res. 2020;293:113419. doi: 10.1016/j.psychres.2020.113419. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Baker MG, Wilson N, Blakely T. Elimination could be the optimal response strategy for COVID-19 and other emerging pandemic diseases. BMJ. 2020 doi: 10.1136/bmj.m4907. [DOI] [PubMed] [Google Scholar]
  • 6.O’Toole Á, et al. Assignment of epidemiological lineages in an emerging pandemic using the pangolin tool. Virus Evol. 2021 doi: 10.1093/ve/veab064. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Elbe S, Buckland-Merrett G. Data, disease and diplomacy: GISAID’s innovative contribution to global health. Glob. Chall. 2017;1:33–46. doi: 10.1002/gch2.1018. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Olivier LE, Botha S, Craig IK. Optimized lockdown strategies for curbing the spread of COVID-19: A South African case study. IEEE Access. 2020;8:205755–205765. doi: 10.1109/ACCESS.2020.3037415. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Köhler J, et al. Robust and optimal predictive control of the COVID-19 outbreak. Annu. Rev. Control. 2021;51:525–539. doi: 10.1016/j.arcontrol.2020.11.002. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Morato MM, Pataro IM, da Costa MV Americano, Normey-Rico JE. A parametrized nonlinear predictive control strategy for relaxing COVID-19 social distancing measures in Brazil. ISA Trans. 2022;124:197–214. doi: 10.1016/j.isatra.2020.12.012. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Péni T, Csutak B, Szederkényi G, Röst G. Nonlinear model predictive control with logic constraints for COVID-19 management. Nonlinear Dyn. 2020;102:1965–1986. doi: 10.1007/s11071-020-05980-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Carli R, Cavone G, Epicoco N, Scarabaggio P, Dotoli M. Model predictive control to mitigate the COVID-19 outbreak in a multi-region scenario. Annu. Rev. Control. 2020;50:373–393. doi: 10.1016/j.arcontrol.2020.09.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Chang S, et al. Mobility network models of COVID-19 explain inequities and inform reopening. Nature. 2021;589:82–87. doi: 10.1038/s41586-020-2923-3. [DOI] [PubMed] [Google Scholar]
  • 14.Bonaccorsi G, et al. Economic and social consequences of human mobility restrictions under COVID-19. Proc. Nat. Acad. Sci. 2020;117:15530–15535. doi: 10.1073/pnas.2007658117. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Spelta A, Pagnottoni P. Mobility-based real-time economic monitoring amid the COVID-19 pandemic. Sci. Rep. 2021;11:13069. doi: 10.1038/s41598-021-92134-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Pinto Neto O, et al. Mathematical model of COVID-19 intervention scenarios for São Paulo-Brazil. Nat. Commun. 2021;12:418. doi: 10.1038/s41467-020-20687-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Nouvellet P, et al. Reduction in mobility and COVID-19 transmission. Nat. Commun. 2021;12:1090. doi: 10.1038/s41467-021-21358-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Jing M, et al. COVID-19 modelling by time-varying transmission rate associated with mobility trend of driving via Apple Maps. J. Biomed. Inf. 2021;122:103905. doi: 10.1016/j.jbi.2021.103905. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Yilmazkuday H. Stay-at-home works to fight against COVID-19: International evidence from Google mobility data. J. Hum. Behav. Soc. Environ. 2021;31:210–220. doi: 10.1080/10911359.2020.1845903. [DOI] [Google Scholar]
  • 20.Savi PV, Savi MA, Borges B. A mathematical description of the dynamics of coronavirus disease 2019 (COVID-19): A case study of Brazil. Comput. Math. Methods Med. 2020;2020:9017157. doi: 10.1155/2020/9017157. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Kemp F, et al. Modelling COVID-19 dynamics and potential for herd immunity by vaccination in Austria, Luxembourg and Sweden. J. Theor. Biol. 2021;530:110874. doi: 10.1016/j.jtbi.2021.110874. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Sun J, et al. Forecasting the long-term trend of COVID-19 epidemic using a dynamic model. Sci. Rep. 2020;10:21122. doi: 10.1038/s41598-020-78084-w. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Menda K, Laird L, Kochenderfer MJ, Caceres RS. Explaining COVID-19 outbreaks with reactive SEIRD models. Sci. Rep. 2021;11:17905. doi: 10.1038/s41598-021-97260-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Liao Z, Lan P, Liao Z, Zhang Y, Liu S. TW-SIR: time-window based SIR for COVID-19 forecasts. Sci. Rep. 2020;10:22454. doi: 10.1038/s41598-020-80007-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Tsay C, Lejarza F, Stadtherr MA, Baldea M. Modeling, state estimation, and optimal control for the US COVID-19 outbreak. Sci. Rep. 2020;10:10711. doi: 10.1038/s41598-020-67459-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Zhu X, Gao B, Zhong Y, Gu C, Choi K-S. Extended Kalman filter based on stochastic epidemiological model for COVID-19 modelling. Comput. Biol. Med. 2021;137:104810. doi: 10.1016/j.compbiomed.2021.104810. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Song J, et al. Maximum likelihood-based extended Kalman filter for COVID-19 prediction. Chaos, Solitons Fractals. 2021;146:110922. doi: 10.1016/j.chaos.2021.110922. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Marziano V, et al. Retrospective analysis of the Italian exit strategy from COVID-19 lockdown. Proc. Nat. Acad. Sci. 2021;118:e2019617118. doi: 10.1073/pnas.2019617118. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Mohammadi M, Shayestehpour M, Mirzaei H. The impact of spike mutated variants of SARS-CoV2 [Alpha, Beta, Gamma, Delta, and Lambda] on the efficacy of subunit recombinant vaccines. Br. J. Infect. Dis. 2021;25:101606. doi: 10.1016/j.bjid.2021.101606. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Giordano G, et al. Modelling the COVID-19 epidemic and implementation of population-wide interventions in Italy. Nat. Med. 2020;26:855–860. doi: 10.1038/s41591-020-0883-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Jara A, et al. Effectiveness of an Inactivated SARS-CoV-2 Vaccine in Chile. New England J. Med. 2021;385:875–884. doi: 10.1056/NEJMoa2107715. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Voysey M, et al. Safety and efficacy of the ChAdOx1 nCoV-19 vaccine (AZD1222) against SARS-CoV-2: An interim analysis of four randomised controlled trials in Brazil, South Africa, and the UK. Lancet. 2021;397:99–111. doi: 10.1016/S0140-6736(20)32661-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33.Polack FP, et al. Safety and efficacy of the BNT162b2 mRNA Covid-19 vaccine. N. Engl. J. Med. 2020;383:2603–2615. doi: 10.1056/NEJMoa2034577. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.Sadoff J, et al. Safety and efficacy of single-dose Ad26.COV2.S vaccine against COVID-19. N. Engl. J. Med. 2021;384:2187–2201. doi: 10.1056/NEJMoa2101544. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Nicolelis MAL, Raimundo RLG, Peixoto PS, Andreazzi CS. The impact of super-spreader cities, highways, and intensive care availability in the early stages of the COVID-19 epidemic in Brazil. Sci. Rep. 2021;11:13001. doi: 10.1038/s41598-021-92263-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.da Silva RM, Mendes CFO, Manchein C. Scrutinizing the heterogeneous spreading of COVID-19 outbreak in large territorial countries. Phys. Biol. 2021;18:025002. doi: 10.1088/1478-3975/abd0dc. [DOI] [PubMed] [Google Scholar]
  • 37.James N, Menzies M, Bondell H. Comparing the dynamics of COVID-19 infection and mortality in the United States, India, and Brazil. Physica D: Nonlinear Phenomena. 2022;432:133158. doi: 10.1016/j.physd.2022.133158. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38.SRAG 2020 - Severe Acute Respiratory Syndrome Database - including COVID-19 data (in Portuguese). https://opendatasus.saude.gov.br/dataset/srag-2020 (2020). Accessed: 28/October/2021.
  • 39.SRAG 2021 - Severe Acute Respiratory Syndrome Database - including COVID-19 data (in Portuguese). https://opendatasus.saude.gov.br/dataset/srag-2021-e-2022 (2021). Accessed: 28/October/2021.
  • 40.Jia J, Ding J, Liu S, Liao G, Li J. Modeling the control of COVID-19: Impact of policy interventions and meteorological factors. Electr. J. Differ. Equ. 2020;2020:1–24. [Google Scholar]
  • 41.Volpatto DT, et al. A generalised SEIRD model with implicit social distancing mechanism: A Bayesian approach for the identification of the spread of COVID-19 with applications in Brazil and Rio de Janeiro state. J. Simul. 2021 doi: 10.1080/17477778.2021.1977731. [DOI] [Google Scholar]
  • 42.Sabino EC, et al. Resurgence of COVID-19 in Manaus, Brazil, despite high seroprevalence. Lancet. 2021;397:452–455. doi: 10.1016/S0140-6736(21)00183-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Faria NR, et al. Genomics and epidemiology of the P.1 SARS-CoV-2 lineage in Manaus, Brazil. Science. 2021;372:815–821. doi: 10.1126/science.abh2644. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Liu C, et al. Reduced neutralization of SARS-CoV-2 B.1.617 by vaccine and convalescent serum. Cell. 2021;184:4220–4236.e13. doi: 10.1016/j.cell.2021.06.020. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45.Wu P, et al. Assessing asymptomatic, presymptomatic, and symptomatic transmission risk of severe acute respiratory syndrome coronavirus 2. Clin. Infect. Dis. 2021;73:e1314–e1320. doi: 10.1093/cid/ciab271. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46.Google LLC. Google COVID-19 Community Mobility Reports. https://www.google.com/covid19/mobility/ (2021). Accessed: 28/October/2021.
  • 47.CDC. COVID-19 Planning Scenarios: US CDC. https://www.cdc.gov/coronavirus/2019-ncov/hcp/planning-scenarios.html (2021). Accessed: 28/October/2021.
  • 48.Wu J-L, et al. Four point-of-care lateral flow immunoassays for diagnosis of COVID-19 and for assessing dynamics of antibody responses to SARS-CoV-2. J. Infect. 2020;81:435–442. doi: 10.1016/j.jinf.2020.06.023. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Hallal PC, et al. SARS-CoV-2 antibody prevalence in Brazil: Results from two successive nationwide serological household surveys. Lancet Glob. Health. 2020;8:e1390–e1398. doi: 10.1016/S2214-109X(20)30387-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.Epicovid19-BR. Epicovid19. http://www.epicovid19brasil.org (2020). Accessed: 28/October/2021.
  • 51.Marra V, Quartin M. A Bayesian estimate of the early COVID-19 infection fatality ratio in Brazil based on a random seroprevalence survey. Int. J. Infect. Dis. 2021;111:190–195. doi: 10.1016/j.ijid.2021.08.016. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52.Wächter A, Biegler LT. On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming. Math. Progr. 2006;106:25–57. doi: 10.1007/s10107-004-0559-y. [DOI] [Google Scholar]
  • 53.Andersson JAE, Gillis J, Horn G, Rawlings JB, Diehl M. CasADi: A software framework for nonlinear optimization and optimal control. Math. Progr. Comput. 2019;11:1–36. doi: 10.1007/s12532-018-0139-4. [DOI] [Google Scholar]
  • 54.Hindmarsh AC, et al. SUNDIALS: Suite of nonlinear and differential/algebraic equation solvers. ACM Trans. Math. Softw. 2005;31:363–396. doi: 10.1145/1089014.1089020. [DOI] [Google Scholar]
  • 55.Gesthuisen, R., Klatt, K.-U. & Engell, S. Optimization-based state estimation - A comparative study for the batch polycondensation of polyethyleneterephthalate. In 2001 European Control Conference (ECC), 1062–1067, 10.23919/ECC.2001.7076055 (2001).
  • 56.Salau NP, Trierweiler JO, Secchi AR. State estimators for better bioprocesses operation. Comput. Aided Chem. Eng. 2012;30:1267–1271. doi: 10.1016/B978-0-444-59520-1.50112-3. [DOI] [Google Scholar]
  • 57.Robertson D, Lee J. A least squares formulation for state estimation. J. Process Control. 1995;5:291–299. doi: 10.1016/0959-1524(95)00021-H. [DOI] [Google Scholar]
  • 58.Ferreau HJ, Bock HG, Diehl M. An online active set strategy to overcome the limitations of explicit MPC. Int. J. Robust Nonlinear Control. 2008;18:816–830. doi: 10.1002/rnc.1251. [DOI] [Google Scholar]
  • 59.Rauch HE, Tung F, Striebel CT. Maximum likelihood estimates of linear dynamic systems. AIAA J. 1965;3:1445–1450. doi: 10.2514/3.3166. [DOI] [Google Scholar]
  • 60.Rao C, Rawlings J, Mayne D. Constrained state estimation for nonlinear discrete-time systems: Stability and moving horizon approximations. IEEE Trans. Autom. Control. 2003;48:246–258. doi: 10.1109/TAC.2002.808470. [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Data Availability Statement

The data sets used in this study are publicly available in the Ministry of Health of Brazil (https://covid.saude.gov.br/)2; Brazilian SARS database (https://opendatasus.saude.gov.br/dataset/srag-2020 and https://opendatasus.saude.gov.br/dataset/srag-2021-e-2022)38,39; and Google LLC (https://www.google.com/covid19/mobility/)46.


Articles from Scientific Reports are provided here courtesy of Nature Publishing Group

RESOURCES