Skip to main content
Scientific Reports logoLink to Scientific Reports
. 2022 Aug 27;12:14637. doi: 10.1038/s41598-022-18683-x

Identifiability of parameters in mathematical models of SARS-CoV-2 infections in humans

Stanca M Ciupe 1,, Necibe Tuncer 2
PMCID: PMC9418662  PMID: 36030320

Abstract

Determining accurate estimates for the characteristics of the severe acute respiratory syndrome coronavirus 2 in the upper and lower respiratory tracts, by fitting mathematical models to data, is made difficult by the lack of measurements early in the infection. To determine the sensitivity of the parameter estimates to the noise in the data, we developed a novel two-patch within-host mathematical model that considered the infection of both respiratory tracts and assumed that the viral load in the lower respiratory tract decays in a density dependent manner and investigated its ability to match population level data. We proposed several approaches that can improve practical identifiability of parameters, including an optimal experimental approach, and found that availability of viral data early in the infection is of essence for improving the accuracy of the estimates. Our findings can be useful for designing interventions.

Subject terms: Viral infection, Computational models

Introduction

Understanding the upper respiratory tract (URT) kinetics of the severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) is important for designing public health interventions such as testing, isolation, quarantine, and drug therapies112. Similarly, understanding the kinetics of SARS-CoV-2 in the lower respiratory tract (LRT) is important for predicting the potential for severe disease, respiratory failure, and/or death3,13. Insights into the mechanism of SARS-CoV-2-host interactions and their role in transmission and disease have been found using mathematical models applied to longitudinal data311,1417. While these studies are instrumental in determining important parameters (such as SARS-CoV-2 daily shedding and clearance rates, basic reproduction number, the role of innate immune responses in controlling and/or exacerbating the disease), their predictions are limited by the lack of data early in the infection. As such, with few (if any) samples available before viral titers peak, the early virus kinetics and the mechanisms for these early kinetics are uncertain. In this study, we investigate the sensitivity of the predicted outcomes of a within-host model of SARS-CoV-2 infection to the availability of data during different stages of the infection and use our findings to make recommendation.

A German study by Wolfel et al. collected data from nine patients infected early in the pandemic through contact with the same index case18. The study showed independent virus replication in upper and lower respiratory tracts18,19 suggesting the possibility that virus kinetics, disease stages, and host involvement in control and pathogenesis are dependent on which area of the respiratory tract is homing SARS-CoV-2 at different stages of the disease2022. One shortcoming when evaluating the data in this study comes from the fact that viral RNA was collected only after the patients became symptomatic, with an estimated first data point available on average 5–7 days after infection. Several within-host mathematical models developed and applied to the data set in the Wolfel et al. study have evaluated SARS-CoV-2 parameters, determined the role of innate immune responses, found connections between total RNA and infectious titers, and identified the efficacy of drug therapies3,6,7. We are interested in determining how the lack of data early in the infection affects these estimates.

We first developed our own within-host model that does not consider innate immunity explicitly. The model is an expansion of the within-host mathematical models developed for influenza and other respiratory infections2326 that includes both URT and LRT patches. We used the data from Wolfel et al. to estimate pertinent parameters and investigated the sensitivity of the estimated parameters to the presence of data at different stages of infection. To accomplish this, we created virtual data sets that span various stages of the infection and determined how our initial predictions are being influenced by the additional data. Such results may influence our understanding of both viral expansion and the effect of inoculum dose on disease progression.

Methods

Mathematical model

SARS-CoV-2 virus infects and replicates in epithelial cells of the upper and lower respiratory tract18. We model this by developing a two patch within-host model, where the patches are the two respiratory tracts which are linked through virus migration between patches, or viral shedding. Both respiratory tract patches assume interactions between uninfected epithelial cells, Tj; infected epithelial cells, Ij; and virus homing in tract j, Vj at time t. Here, j={u,l}, with u describing the URT patch and l describing the LRT patch. Target cells in each patch get infected at rates βj and infected cells produce new virions at rates pj. Infected cells die at rates δj and virus particles are cleared at a linear rate cu in the upper respiratory tract and in a density dependent manner clVl/(Vl+K) in the lower respiratory tract, where K is the viral load in the LRT where the clearance is half maximal. The two patches are linked via the virus populations, with a proportion ku of Vu migrating from URT to LRT and kl of Vl migrating from LRT to URT. The model describing these interactions (see Fig. 1) is given by

dTudt=-βuTuVu,dIudt=βuTuVu,-δuIu,dVudt=puIu-cuVu+klVl,dTldt=-βlTlVl,dIldt=βlTlVl-δlIl,dVldt=plIl-clVlVl+KVl+kuVu. 1

Figure 1.

Figure 1

Model diagram.

We model the initial conditions of the system Eq. (1) as follows. We assume that all epithelial cells in the URT and LRT patches are susceptible to virus infection. When infection occurs, it results in a small initial virus inoculum which homes in the URT alone. Under these assumptions, system Eq. (1) is subject to initial conditions

Tu(0)=Tu0,Iu(0)=0,Vu(0)=V0,Tl(0)=Tl0,Il(0)=0,Vl(0)=0, 2

where V0 is the viral inoculum. We aim to determine the dynamics of system Eq. (1) over time for model parameters that explain URT and LRT tract data in a single patient (patient A) and in the population data (all nine patients) from18.

Parameter estimation

Patient data

In January 2020, nine patients tested positive for COVID-19 in a single-source outbreak in Bavaria, Germany19. Early detection allowed for rapid contact tracing, testing, and monitoring of the affected community: young healthy professionals in their mid-thirties. A followup study published time series for the post symptoms virus data isolated from oral-and nasopharyngeal throat swabs (in copies per swabs) and from sputum samples (in RNA copies per mL) for the same patient population over their entire course of disease. The patients’ throat swabs and sputum data (Fig. 2 of 18) were obtained through personal communication with the authors. Since we know the incubation period for each patient19 (see Table 1), we assume time zero in our study to be the day of infection for the patients in Ref.18.

Table 1.

Incubation periods estimated in Ref.19.

Patient id A B C D E F G H I
Incubation period (days) 2.5 4 1 4 4 4 2 4.5 7

Identifiability analysis

Using the URT and LRT viral load data, we aim to determine the unknown parameters p={βu,δu,pu,cu,kl,βl,δl,pl,cl,K,ku} of the within-host model Eq. (1). Before attempting to estimate the within-host model parameters using noisy laboratory data, it is crucial to analyze whether the model is structurally identifiable. Specifically, we need to know if the within-host model Eq. (1) is structured to reveal its parameters from upper and lower viral load observations. We approach this problem in an ideal setting where we assume that the observations are known for every t>0 and they are not contaminated with any noise. This analysis is called structural identifiability27.

The observed data in Wolfel et al.18 is modeled in the within-host model Eq. (1) by variables Vu and Vl, which account for the upper and lower respiratory tract viral titers. We denote these observed variable as

y1(t)=Vu(t)andy2(t)=Vl(t).

First, we give the definition of structural identifiability in terms of the observed variables y1(t) and y2(t)2731.

Definition 1

Let p and q be the two distinct vectors of within-host model Eq. (1) parameters. We say that the within-host model is structurally (globally) identifiable if and only if

y1(t,p)=y1(t,q)andy2(t,p)=y2(t,q)p=q.

Simply put, we say that the within-host model Eq. (1) is structurally identifiable if two identical observation are only possible for identical parameters. We perform the structural identifiability analysis via differential algebra approach. The first step in this approach is eliminating the unobserved state variables from the within-host model Eq. (1). The reason for eliminating the unobserved state variables is to obtain a system which only involves the observed states and model parameters. Since this is a complex procedure, we use DAISY32 and obtain the following system

d3y1dt3y1-d2y1dt2dy1dt+d2y1dt2y12βu+d2y1dt2y1(cu+δu)-dy1dt2(cu+δu)+dy1dtdy2dtkl+dy1dty12βu(cu+δu)+dy1dty2δukl-d2y2dt2y1kl-dy2dty12βukl-dy2dty1δukl+y13βucuδu-y12y2βuδukl=0. 3

and

-d2y1dt2y25ku-4d2y1dt2y24Kku-6d2y1dt2y23K2ku-4d2y1dt2y22K3ku-d2y1dt2y2K4ku+dy1dtdy2dty24ku+4dy1dtdy2dty23Kku+6dy1dtdy2dty22K2ku+4dy1dtdy2dty2K3ku+dy1dtdy2dtK4ku-dy1dty26βlku+dy1dty25ku(-4βlK-δl)+2dy1dty24Kku(-3βlK-2δl)+2dy1dty23K2ku(-2βlK-3δl)+dy1dty22K3ku(-βlK-4δl)-dy1dty2δlK4ku+d3y2dt3y25+4d3y2dt3y24K+6d3y2dt3y23K2+4d3y2dt3y22K3+d3y2dt3y2K4-d2y2dt2dy2dty24-4d2y2dt2dy2dty23K-6d2y2dt2dy2dty22K2-4d2y2dt2dy2dty2K3-d2y2dt2dy2dtK4+d2y2dt2y26βl+d2y2dt2y25(4βlK+δl)+2d2y2dt2y24K(3βlK+2δl)+d2y2dt2y23K(4βlK2+cl+6δlK)+d2y2dt2y22K2(βlK2+2cl+4δlK)+d2y2dt2y2K3(cl+δlK)-dy2dt2y24δl-4dy2dt2y23δlK+3dy2dt2y22K(-cl-2δlK)-4dy2dt2y2K2(cl+δlK)-dy2dt2K3(cl+δlK)+dy2dty1y24δlku+4dy2dty1y23δlKku+6dy2dty1y22δlK2ku+4dy2dty1y2δlK3ku+dy2dty1δlK4ku+dy2dty26βlδl+4dy2dty25βlδlK+dy2dty24(βlclK+6βlδlK2-clδl)+2dy2dty23K(βlclK+2βlδlK2-clδl)+dy2dty22K2(βlclK+βlδlK2-clδl)-y1y26βlδlku-4y1y25βlδlKku-6y1y24βlδlK2ku-4y1y23βlδlK3ku-y1y22βlδlK4ku+y26βlclδl+3y25βlclδlK+3y24βlclδlK2+y23βlclδlK3=0. 4

Equations (3) and (4) are called input–output equations of within-host model Eq. (1), which are differential polynomials involving the observed state variables y1=Vu(t) and y2=Vl(t) and the within-host model parameters. Note that solving input–output equations Eqs. (3) and (4) is equivalent to solving the within-host model Eq. (1) for the state variables Vu(t) and Vl(t). For identifiability analysis, it is crucial that the input-output equations are monic, i.e. the leading coefficient is 1. It is clear that the input–output equation Eq. (3) is monic, and the input–output equation Eq. (4) can be made monic by dividing the coefficients with the coefficient of the leading term, which is ku. As a result, the definition of the structural identifiability within differential algebra approach which involves input–output equations takes the following form2730.

Definition 2

Let c(p) denote the coefficients of the input-output equations, Eqs. (3) and (4), where p is the vector of model parameters. We say that the within-host model Eq. (1) is structured to reveal its parameters from the observations if and only if

c(p)=c(q)p=q.

Suppose p={βu,δu,pu,cu,kl,βl,δl,pl,cl,K,ku} and q={β^u,δ^u,p^u,c^u,k^l,β^l,δ^l,p^l,c^l,K^,k^u} are two parameter sets of the within-host model which produced the same observations. This can only happen if the coefficients of the input-output Eqs. (3) and (4) are the same. Hence, if c(p) denote the coefficients of the corresponding monic polynomial of input–output equations, we solve c(p)=c(q) to obtain

βu=β^u,δu=δ^u,cu=c^u,ku=k^u,βl=β^l,δl=δ^l,cl=c^l,K=K^,kl=k^l. 5

The solution set (5) means that the parameters, βu,δu,cu,ku,βl,δl,cl,K and kl can be identified uniquely. However, parameters pu and pl both disappear from the input–output Eqs. (3) and (4). It is easier to see the reason behind this by scaling the unobserved state variables of the within-host model Eq. (1) with a postive scalar σ>0. Hence, (σTu,σIu,Vu,σTl,σIl,Vl)=(T^u,I^u,Vu,T^l,I^l,Vl) will solve the following system

dT^udt=-βuT^uVu,dI^udt=βuT^uVu,-δuI^u,dVudt=p^uI^u-cuVu+klVl,dT^ldt=-βlT^lVl,dI^ldt=βlT^lVl-δlI^l,dVldt=p^lI^l-clVlVl+KVl+kuVu, 6

where p^u=puσ and p^l=plσ. Since σ>0 was arbitrary and the observations do not give information about the scaling parameter σ, the parameters pu and pl can not be identified from the viral load in the URT and LRT tracts. We conclude that the within-host model Eq. (1) is not identifiable. We summarize the structural identifiability result in the following Proposition 1.

Proposition 1

The within-host model Eq. (1) is not structured to reveal its parameters from the observations of viral load in upper and lower respiratory tracts. The parameters pu and pl are not identifiable and only the parameters βu,δu,cu,ku,βl,δl,cl,K,kl can be identified.

To obtain a structurally identifiable model from the Vu and Vl observations, we scale the unobserved state variables with T^u=puTu,I^u=puIu,T^l=plTl,I^l=plIl and obtain the following scaled within-host model

dT^udt=-βuT^uVu,dI^udt=βuT^uVu,-δuI^u,dVudt=I^u-cuVu+klVl,dT^ldt=-βlT^lVl,dI^ldt=βlT^lVl-δlI^l,dVldt=I^l-clVlVl+KVl+kuVu. 7
Proposition 2

The scaled within-host model Eq. (7) is structured to reveal its parameters from the observations of viral load in upper and lower respiratory tracts. All the parameters

βu,δu,cu,ku,βl,δl,cl,K,kl

can be identified, hence the within-host model Eq. (7) is globally identifiable.

Data fitting

Parameter values

We assume that the upper respiratory tract susceptible population is T0u=4×108 epithelial cells, as in influenza studies23. This estimate was obtained by assuming a URT surface in adults of 160 cm233 and an epithelial cell’s surface area of 2×10-11-4×10-11 m234. We use a similar method to estimate the target cell population in the LRT. The lung’s surface area of 70 m2 (with range between 35 m2 and 180 m2)35 is composed of gas exchange regions (aveoli), and of conducting airways (trachea, bronchi, bronchioles). Since the gas exchange region is affected by SARS-Cov-2 only in severe cases20 we ignore it, and restrict the LRT compartment to the conducting airways whose surface area is 2471±320 cm236. Therefore, we obtain an initial epithelial cell target population in the LRT of Tl0=6.25×109 epithelial cells. If we assume that viral production rates are pu=50 and pl=32 per day then, after scaling, we have initial target cell populations in the URT and LRT of T^u0=2×1010 epithelial cells and T^l0=2×1011 epithelial cells. The other initial conditions are unaffected by scaling and are set at I^u0=I^L0=0, V^u0=0.1 and V^L0=0, where the virus inoculum of V^u0=0.1 cp/ml is set below the reported limit of quantification of 102 cp/ml18. Lastly, the incubation periods were estimated in Ref.19 and are listed in Table 1.

Bayesian parameter estimation

During the data collection process, observations are perturbed with noise. Hence, the URT and LRT viral load deviates from the smooth trajectory of the observations y1(t) and y2(t) at measurement times. We represent measurement error using the following statistical model

Vudata(ti)=y1(ti,p^)+ϵii=1,2,,nu;Vldata(tj)=y2(tj,p^)+ϵjj=1,2,,nl; 8

where p^ is the true parameter vector assumed to generate the data, and the random variables ϵi and ϵj are assumed to be Gaussian with mean zero and standard deviation σ.

We use Bayesian inference and Markov Chain Monte Carlo (MCMC) to determine the remaining nine parameters of the model Eq. (7)

p={βu,δu,cu,ku,βl,δl,cl,K,kl}.

Bayesian inference treats model parameters as random variables and seeks to determine the parameters’ posterior distribution, where the term “posterior” refers to data-informed distributions. The posterior densities are determined using Bayes’ theorem, which defines them as the normalised product of the prior density and the likelihood. Let π(p|D) denote the probability distribution of the parameter p given the data D=(Vu(ti),Vl(tj)), then the Bayes theorem states that

π(p|D)=π(D|p)π(p)π(D),

where π(p) is the prior parameter distribution and π(D) is a constant which is usually considered to be a normalization constant so that the posterior distribution is indeed a probability density function (pdf), i.e. its integral equals to 1. The likelihood function π(D|p) gives the probability of observing the measurements D given that the parameter values is p. In terms of the within-host model Eq. (7) and the laboratory data Eq. (8), the likelihood function π(D|p) takes the following form

π(D|p)=i=1nu12πσ2e-1σ2log10(Vu(ti))-log10(Vudata(ti)2×j=1nl12πσ2e-1σ2log10(Vl(tj))-log10(Vldata(tj)2. 9

The ultimate goal is to determine the posterior distributions of the parameters in the light of laboratory data. To approximate the posterior distributions, we use the MCMC method introduced in Refs.37,38. MCMC methods generate a sequence of random samples p1,p2,,pN whose distribution asymptotically approaches the posterior distribution for size N. The random walk Metropolis algorithm is one of the most extensively used MCMC algorithms. The Metropolis algorithm starts at position pi, then the Markov chain generates a candidate parameter value p from the proposal distribution, and the algorithm accepts or rejects the proposed value based on probability α given by

α=min1,π(p)π(pi).

As with the Metropolis algorithm, the essential feature of MCMC approaches is the formulation of a proposal distribution and an accept–reject criteria. In this paper, we employ the Delayed Rejection Adaptive Metropolis, (DRAM37) and use the MATLAB toolbox provided by the same authors39. In comparison to other Metropolis algorithms, the Markov chain constructed with DRAM is robust and converges rapidly (see Fig. 2).

Figure 2.

Figure 2

The Markov chain of the within-host model Eq. (7)’s parameters obtained when the model is fitted to the population data. Every 1000th point of 106 iterations are shown. The black line shows the mean of the chain.

The two patch within-host model Eq. (7) is novel, hence we do not have any prior information regarding model parameters. We determine the prior distributions by fitting the structurally identifiable within-host model Eq. (7) to patient A’s data and to the population data (all nine patients). The prior distributions π(p) are then defined as a normal distribution with a mean equal to the fitted value and variance equal to σ2, π(p)N(μ,σ). Table 2 shows the obtained prior distribution of each parameter for patient A and population data, together with the lower and upper bounds of the prior π(p).

Table 2.

Parameters for the within-host model Eq. (7) are listed together with their lower and upper bounds for the priors. Prior distributions are normally distributed with mean equal to the fitted value and variance, σ2.

Parameter Description Prior π(p) Patient A Population
Min–Max π(p)N(μ,σ) π(p)N(μ,σ)
βu Viral infectivity in URT (10-12,10-7) N(1.1×10-8,10-8) N(8.9×10-9,10-8)
βl Viral infectivity in LRT (10-12,10-7) N(3.9×10-8,10-10) N(9.3×10-11,10-10)
δu Infected cell decay rate in URT (0, 50) N(4.88,0.5) N(4.64,0.5)
δl Infected cell decay rate in LRT (0, 50) N(5.59,0.5) N(2.99,0.5)
cu Viral decay rate in URT (0, 30) N(2.88,0.5) N(4.27,0.5)
cl Viral decay rate in LRT (0, 30) N(11.43,0.5) N(9.21,0.5)
K Vl where loss is half-maximal (0, 3000) N(910,100) N(1840,100)
ku Shedding into LRT (10-6,1) N(0.24,0.1) N(0.62,0.1)
kl Shedding into URT (10-6,1) N(0.0008,0.0001) N(0.036,0.01)

Results

Viral dynamics

To study the kinetics of SARS-CoV-2 in the upper and lower respiratory tracts we developed a two patch within-host model Eq. (1) that assumed viral shedding between the two patches. To ensure structural identifiability, we rescaled our equations by removing the non-identifiable parameters pu and pl (see “Identifiability analysis” section in “Materials and methods”). The resulting model Eq. (7) was validated against SARS-CoV-2 RNA data from throat swabs and sputum samples collected from an infectious event with the same index case early in the pandemic18. We used Bayesian parameter estimation with the viral samples in URT and LRT from a single individual (patient A) and the entire population (nine individuals) and approximated posterior distributions with N=106 Markov chain iterations (see “Data fitting” section in “Materials and methods”).

We generated prediction graphs of the within-host model Eq. (7) by sampling parameter realizations from posterior distributions. The model’s predictive posterior distribution for single patient URT-LRT viral data and population URT-LRT viral data are presented in Fig. 3. The resulting dynamics show viral expansion to peak values at days 2.1 in URT and 2.9 in LRT followed by decline in both tracts (see Fig. 3). The grey areas in the graph represent the 50% and 95% posterior regions. The fewer data points in patient A results in wider model prediction range (gray regions) compared to the population predictions, especially for the LRT viral load.

Figure 3.

Figure 3

Virus dynamics obtained from fitting within-host model Eq. (7) to URT virus titer (left) and LRT virus titer (right) in patient A and in the entire population. The grey bars represent 50% and 95% posterior regions.

While the viral titers decay to low levels (below 102 cp/ml) 3 weeks after infection in the URT, they stay elevated (to above 5.4×103 cp/ml at week four) in the LRT. To model viral RNA persistence in the LRT we included a density dependent term for the loss of LRT virus, clVl/(Vl+K), and estimated parameter K where Vl loss is half-maximal, together with the other viral specific terms.

We found similar mean infectivity rates in the URT for both the individual patient considered (patient A) and the entire population, βu=1.4×10-8 ml/(vir× day). By contrast, the mean infectivity rates in the LRT for patient A is 3.2-times higher than the LRT infectivity rate of the total population, βl=3.9×10-10 ml/(vir× day) versus βl=1.2×10-10 ml/(vir× day). The mean infected cells death rates are similar in URT and LRT, δu=4.9, δu=4.6 per day and δl=5.7, δl=3 per day for patient A and for the total population, respectively. The mean viral clearance rates are higher in LRT compared to URT, cl=11.5, cl=9.2 per day compared to cu=2.8, cu=4.2 per day, for patient A and for the total population, respectively. This may indicate increased immune responses occurring in LRT. The mean URT to LRT shedding rates are higher than the mean LRT to URT shedding rates, ku=0.24, ku=0.63 (swab/ml) per day compared to kl=7.9×10-4, kl=0.04 (ml/swab) per day for patient A and for the total population, respectively. This one way shedding was observed by other studies that investigated the Wofle et al. data3. Lastly, the mean LRT viral load where viral clearance is half-maximal is K=910 RNA per ml for patient A and K=1841 RNA per ml for the total population.

Practical identifiability

During MCMC data fitting, we used parameters limits predetermined to range around a single point estimation obtained using the ’fminsearch’ algorithm in Matlab (see Table 2). Parameter distributions for the nine parameter considered p={βu,δu,cu,ku,βl,δl,cl,K,kl} were obtained using an MCMC Bayesian approach that sampled the parameter space N=106 times. We apply DRAM MCMC algorithm and observe fast convergence of the chains (see Fig. 2). The resulting distributions, together with the prior probability density functions (pdf) are presented in Fig. 4. We observe good agreement between the prior pdf and the posterior distributions for all parameters with the exception of infectivity rates βu and βl. Moreover, while all parameters follow normal distributions for patient A (Fig. 4A and Supplementary Fig. S1), the LRT infectivity rate βl follows a bimodal distribution in the fit to the total population data (Fig. 4B and Supplementary Fig. S2).

Figure 4.

Figure 4

Histogram of estimated parameter distributions from fitting within-host model Eq. (7) to URT virus titer and LRT virus titer in: (A) patient A and (B) entire population. All parameters were considered normally distributed.

Figure 5 shows the scatter plots of for paired (βl,kl), (βl,K), (βl,δl) and (βl,cl) parameter distributions obtained when the within-host model Eq. (7) is fitted to patient A’s data (panel A) and population data (panel B) (see also Supplementary Fig. S2 for the scatter plots of all parameter distributions). In the scatter plots for the population data containing parameter βl we observe bimodal clustering. In joint density plots, bimodal clustering may suggest practical unidentifiability40. This implies that, despite the fact that we have shown that the within-host model Eq. (7) is structurally identifiable, it may in fact not be practically unidentifiable. It is well understood that a structurally identifiable model may be practically unidentifiable2830,41. Many variables can lead to practical non-identifiability, such as considerable noise in the data, limited data points, or inadequate timing of data collection.

Figure 5.

Figure 5

Scatter plots showing correlation among relevant parameters for (A) patient A and (B) total population.

Optimal experimental design

The possible lack of practical identifiability for the total population may be due to (1) restrictions on the parameter space and the types of distributions we are imposing on the parameters, or (2) the limited data points early in the infection.

To investigate the first hypothesis, we collected samples in the parameter space of

{lnβu,lnβl,lnku,lnkl},

rather than {βu,βl,ku,kl} and the assumed that either {lnβu,lnβl,lnku,lnkl} are normally distributed, or that {βu,βl,ku,kl} are lognormally distributed. We set the limits of logarithmic parameter priors as in Table 3 while keeping the limits of the other parameters as before (see Table 2). We sampled the new parameter space N=106 times and reapplied the MCMC Bayesian approach. The resulting estimates for parameters p={βu,δu,cu,ku,βl,δl,cl,K,kl} no longer show bimodal results regardless on whether we assume that {lnβu,lnβl,lnku,lnkl} are normally distributed (see Fig. 6A) or that {βu,βl,ku,kl} are lognormally distributed (see Fig. 6B).

Table 3.

Adjusted parameters for the within-host model Eq. (7) are listed together with their lower and upper bounds for the priors which are normally distributed with mean equal to the fitted value and variance, σ2.

Parameter Description Prior π(p) Population
Min–Max π(p)N(μ,σ)
lnβu Viral infectivity in URT (log scale) (-25,-14) N(-18.5,1)
lnβl Viral infectivity in LRT (log scale) (-30,-15) N(-23,1)
lnku Shedding into LRT (log scale) (-11,0) N(-0.5,1)
lnkl Shedding into URT (log scale) (-7,4) N(-3.3,1)

Figure 6.

Figure 6

Histogram of estimated parameter distributions from fitting model Eq. (7) to URT virus titer and LRT virus titer in total populations. (A) Parameters lnβu, lnβl, lnku, lnkl were considered normally distributed. (B) Parameters βu, βl, ku, kl were considered lognormally distributed. All other parameters were considered normally distributed.

To investigate the second hypothesis, we created synthetic data and used it to further examine how the timing of the data collection in the population correlates to the structure of the resulting parameter estimations. We assumed that the real data corresponds to the solution of model Eq. (7) with parameters in Tables 2 and 3 which are randomly perturbed according to Eq. (8) with errors ϵi and ϵj assumed to be uniformly distributed with mean 0 and standard deviation 0.5. We produced two data sets. The first data set, which assumes data is collected daily from day 0 to day 12 post infection, is

Experiment1:Vudata(tj),Vldata(tj)fortj={1,,12}.

The second data set, which assumes data is collected from day 7 to day 27 post infection, is

Experiment2:Vudata(tj),Vldata(tj)fortj={7,,27}.

Since the practical identifiability is a local property of the parameters, we used the priors for

p={lnβu,lnβl,lnku,lnkl}

given in Table 3 and the priors for the rest of the parameters as in Table 2, to generate prediction graphs of the within-host model Eq. (7). The model’s predictive posterior distribution for all patients’ URT- LRT viral data for Experiments 1 and 2 are presented in Fig. 7 together with grey areas for the 50% and 95% posterior regions (see also Supplementary Fig. S4). As expected, we observe wider model prediction ranges (gray regions) in the second phase decay for experiment 1 and in the expansion and peak areas for experiment 2, where data is scarce (Fig. 7).

Figure 7.

Figure 7

Virus dynamics obtained from fitting within-host model Eq. (7) to URT virus titer and LRT virus titer in (A) Experiment 1 and (B) Experiment 2. The grey bars represent 50% and 95% posterior regions.

To determine whether practical identifiability is lost in each experiment we created parameter histograms for each parameters (see Fig. 8 and Supplementary Fig. S3). When data samples at the expansion stages of the infection are collected (as in Experiment 1), the LRT infectivity parameter βl follows a normal distribution (see Fig. 8A, left panel, blue bars). This results are validated by the corresponding dual parameter scatter plots (see Fig. 9A). In contrast, when the data at the expansion stages of the infection is sparse (as in Experiment 2), the LRT infectivity parameter βl follows a bimodal distribution (see Fig. 8A, right panel, blue bars). This results are observed in the corresponding scatter plots, where we see bimodal clustering involving not just parameter βl, but involving parameter βu as well (see Fig. 9B). These results can be slightly improved when we consider that βu and βl follow lognormal distributions (see Fig. 8B, right panel, blue bars). This suggests that the practical unidentifiability that appeared in the population data might be fixed by collecting data at the early stages of infection.

Figure 8.

Figure 8

Histograms for βu and βl for Experiment 1 (yellow) and Experiment 2 (blue) when (A) lnβu and lnβl are assumed to be normally distributed; and (B) βu and βl are assumed to be lognormally distributed.

Figure 9.

Figure 9

Scatter plots for (A) Experiment 1 and (B) Experiment 2. Parameters lnβu and lnβl are assumed to be normally distributed.

Discussion

In this study, we developed a within-host mathematical model of SARS-CoV-2 infection that connected the virus kinetics in the upper and lower respiratory tracts of infected individuals and used it to determine the tract specific viral parameters. We removed viral production rates, to ensure structural identifiability, and fitted the rescaled model Eq. (7) to published longitudinal throat swabs and sputum titers in a single individual and in the entire population from SARS-CoV-2 infection study18. We estimated nine unknown parameters using an MCMC Bayesian fitting approach37. To avoid over fitting, we determined best estimates in a single patient (for which we have 26 data points) and in the entire population (for which we have 201 data points). We found shorter virus life-spans in LRT compared to viral URT, 2–3 h compared to 5.7–8.5 h. Our LRT estimates are similar to the fixed (and non-tract specific) virus life-span of 2.4 h used by Ke et al.3 and the estimated (and tract specific) life-span of 1.2 h in Wang et al.6, but longer than the 10 h seen in influenza and used by Hernandez et al.7. The between tracts differences may suggest the presence of additional immune mediated viral clearance in the LRT. We found similar infected cells life-span between the two tracts, with a range of 4.2–8 h, shorter than in other studies3,7. Lastly, the mean URT basic reproductive number for the entire population, R0=βT0^cδ, equals 17.4, higher than in Ref.3. While we assumed two-way viral shedding between tracts, data fitting suggested higher virus shedding from upper and lower respiratory tracts than the other way around, consistent with other studies3.

Interestingly, we found that the estimated LRT infectivity rate parameter follows a bimodal distribution when the model was fitted to the entire population data. We attributed this behavior to practical non-identifiability. Practical non-identifiability is observed when the measured data is contaminated with noise. We have inherently accounted for noisy data by combining viral measurements from nine patients with different viral profiles. We investigated several ways for improving practical identifiability of this parameter and found that both estimating the logaritmic value lnβl and assuming log-normally distributions for some parameters improves the accuracy of our estimates.

Most importantly, it has been reported that practical identifiability can be achieved by adding pertinent data measurements that can help improve the identity of unknown parameters42,43. Such a process, known as optimal experimental design, aims to obtain additional information about a system through the addition of new measurements. Since in system Eq. (7) the non-practically identifiable infectivity parameter βl is responsible for the LRT dynamics early in the infection, we investigated whether the addition of early data contains the maximal information needed for improving its estimate. We created two virtual data sets, one in which data is collected daily for the first 12 days and one in which data is collected daily for 20 days, starting at day 7. We found that the infectivity rate βl is bimodal and, hence, non-practically identifiable when data is missing during the first 7 days of infection. The absence of early data leads to an underestimation of overall LRT viral titer in the first 14 days following infection (see Supplementary Fig. S4). This may affect one’s ability for determining the best window for antiviral and immune modulation interventions44. Moreover, it will provide an underestimate for the period of maximum infectiousness14, which may affect recommendations for quarantine and isolation1. Hence, the existence of data measurements before and/or at symptoms onset is crucial for best parameter estimation and model prediction when considering noisy population data.

Our study has several limitations. First, we considered a density dependent clearance term for the URT virus that saturates at around 1–2 ×103 RNA copies per ml, in order to explain the viral RNA persistence in the LRT at 30 days following infection reported in the Wolfle et al.18. While in public health setting a SARS-CoV-2 diagnostic is determined by PCR assays, long-term RNA levels are not a reliable measurement of infectiousness, with the measured RNA values indicating the presence of genomic fragments, immune-complexed or neutralised virus, rather than replication-competent virus14,45,46. Further work is needed to separate the presence of infectious versus non-infectious viral RNA in the lower respiratory tract. Secondly, we did not consider an eclipse phase in the virus infectiousness (usually assumed to be around 6 h3,14). This simplification may be the leading reason for larger infected cell death rate estimates in our study compared to other studies3,7. Thirdly, due to the novelty of the model, we have no information on parameter priors. Therefore, we fitted the within-host model to the patient A and population data, and used those estimates as means in the prior distributions. However, since the resulting means fall within ranges observed for other acute infections2326,47,48, and since we consider large standard deviations around the prior means, we are confident that we are covering a large enough search space that does not exclude viable outcomes.

In conclusion, we have developed a within-host model of SARS-CoV-2 infection in the upper and lower respiratory tracts, used it to determine pertinent viral parameters, and suggested the optimal experimental designs that can help improve the model predictions. These techniques may inform interventions.

Supplementary Information

Acknowledgements

SMC acknowledges support from National Science Foundation Grants No. DMS-1813011 and DMS-2051820 and by the Virginia Tech Center for Emerging, Zoonotic, and Arthropod-borne Pathogens (CeZAP) seed Grant. NT acknowledges partial support from National Science Foundation Grant DMS-1951626.

Author contributions

All authors conceived the study and performed the analyses. N.T. wrote the code. S.M.C. wrote the manuscript. All authors reviewed and revised the manuscript.

Data availibility

The code generated during the current study will be made available on the corresponding author’s page upon acceptance.

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-18683-x.

References

  • 1.Forde JE, Ciupe SM. Quantification of the tradeoff between test sensitivity and test frequency in a COVID-19 epidemic-a multi-scale modeling approach. Viruses. 2021;13:457. doi: 10.3390/v13030457. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Forde JE, Ciupe SM. Modeling the influence of vaccine administration on COVID-19 testing strategies. Viruses. 2021;13:2546. doi: 10.3390/v13122546. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Ke R, Zitzmann C, Ho DD, Ribeiro RM, Perelson AS. In vivo kinetics of SARS-CoV-2 infection and its relationship with a person’s infectiousness. Proc. Natl. Acad. Sci. 2021;118:e2111477118. doi: 10.1073/pnas.2111477118. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Kim KS, et al. A quantitative model used to compare within-host SARS-CoV-2, MERS-CoV, and SARS-CoV dynamics provides insights into the pathogenesis and treatment of SARS-CoV-2. PLoS Biol. 2021;19:e3001128. doi: 10.1371/journal.pbio.3001128. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Sadria M, Layton AT. Modeling within-host SARS-CoV-2 infection dynamics and potential treatments. Viruses. 2021;13:1141. doi: 10.3390/v13061141. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Wang S, et al. Modeling the viral dynamics of SARS-CoV-2 infection. Math. Biosci. 2020;328:108438. doi: 10.1016/j.mbs.2020.108438. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Hernandez-Vargas EA, Velasco-Hernandez JX. In-host mathematical modelling of COVID-19 in humans. Annu. Rev. Control. 2020;50:448–456. doi: 10.1016/j.arcontrol.2020.09.006. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Jenner AL, et al. COVID-19 virtual patient cohort suggests immune mechanisms driving disease outcomes. PLoS Pathog. 2021;17:e1009753. doi: 10.1371/journal.ppat.1009753. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Gonçalves A, et al. SARS-CoV-2 viral dynamics in non-human primates. PLoS Comput. Biol. 2021;17:e1008785. doi: 10.1371/journal.pcbi.1008785. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Vaidya NK, Bloomquist A, Perelson AS. Modeling within-host dynamics of SARS-CoV-2 infection: A case study in ferrets. Viruses. 2021;13:1635. doi: 10.3390/v13081635. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Goyal A, Reeves DB, Cardozo-Ojeda EF, Schiffer JT, Mayer BT. Viral load and contact heterogeneity predict SARS-CoV-2 transmission and super-spreading events. Elife. 2021;10:e63537. doi: 10.7554/eLife.63537. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Ke R, et al. Daily longitudinal sampling of SARS-CoV-2 infection reveals substantial heterogeneity in infectiousness. Nat. Microbiol. 2022;7:640–652. doi: 10.1038/s41564-022-01105-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Buetti N, et al. SARS-CoV-2 detection in the lower respiratory tract of invasively ventilated ARDS patients. Crit. Care. 2020;24:1–6. doi: 10.1186/s13054-019-2683-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Heitzman-Breen, N. & Ciupe, S. Modeling within-host and aerosol dynamics of SARS-CoV-2: The relationship with infectiousness. bioRxiv (2022). [DOI] [PMC free article] [PubMed]
  • 15.Néant N, et al. Modeling SARS-CoV-2 viral kinetics and association with mortality in hospitalized patients from the French COVID cohort. Proc. Natl. Acad. Sci. 2021;118:e2017962118. doi: 10.1073/pnas.2017962118. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Padmanabhan P, Desikan R, Dixit NM. Modeling how antibody responses may determine the efficacy of covid-19 vaccines. Nat. Comput. Sci. 2022;2:123–131. doi: 10.1038/s43588-022-00198-0. [DOI] [PubMed] [Google Scholar]
  • 17.Goyal A, et al. Slight reduction in SARS-CoV-2 exposure viral load due to masking results in a significant reduction in transmission with widespread implementation. Sci. Rep. 2021;11:1–12. doi: 10.1038/s41598-021-91338-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Wölfel R, et al. Virological assessment of hospitalized patients with covid-2019. Nature. 2020;581:465–469. doi: 10.1038/s41586-020-2196-x. [DOI] [PubMed] [Google Scholar]
  • 19.Böhmer MM, et al. Investigation of a covid-19 outbreak in Germany resulting from a single travel-associated primary case: A case series. Lancet. Infect. Dis. 2020;20:920–928. doi: 10.1016/S1473-3099(20)30314-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Mason RJ. Pathogenesis of covid-19 from a cell biology perspective. Eur. Respir. J. 2020;55:1–3. doi: 10.1183/13993003.00607-2020. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Pan Y, Zhang D, Yang P, Poon LL, Wang Q. Viral load of SARS-CoV-2 in clinical samples. Lancet. Infect. Dis. 2020;20:411–412. doi: 10.1016/S1473-3099(20)30113-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.To KK-W, et al. Temporal profiles of viral load in posterior oropharyngeal saliva samples and serum antibody responses during infection by SARS-CoV-2: An observational cohort study. Lancet. Infect. Dis. 2020;20:565–574. doi: 10.1016/S1473-3099(20)30196-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Baccam P, Beauchemin C, Macken CA, Hayden FG, Perelson AS. Kinetics of influenza A virus infection in humans. J. Virol. 2006;80:7590–7599. doi: 10.1128/JVI.01623-05. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Beauchemin CA, Handel A. A review of mathematical models of influenza A infections within a host or cell culture: Lessons learned and challenges ahead. BMC Public Health. 2011;11:S7. doi: 10.1186/1471-2458-11-S1-S7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Best K, et al. Zika plasma viral dynamics in nonhuman primates provides insights into early infection and antiviral strategies. Proc. Natl. Acad. Sci. 2017;114:8847–8852. doi: 10.1073/pnas.1704011114. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Nikin-Beers R, Ciupe SM. The role of antibody in enhancing dengue virus infection. Math. Biosci. 2015;263:83–92. doi: 10.1016/j.mbs.2015.02.004. [DOI] [PubMed] [Google Scholar]
  • 27.Miao H, Xia X, Perelson AS, Wu H. On the identifiability of nonlinear ode models and applications in viral dynamics. SIAM Rev. 2011;53:3–39. doi: 10.1137/090757009. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Tuncer N, Le T. Structural and practical identifiability analysis of outbreak models. Math. Biosci. 2018;299:1–18. doi: 10.1016/j.mbs.2018.02.004. [DOI] [PubMed] [Google Scholar]
  • 29.Tuncer N, Martcheva M. Determining reliable parameter estimates for within-host and within-vector models of Zika virus. J. Biol. Dyn. 2021;15:430–454. doi: 10.1080/17513758.2021.1970261. [DOI] [PubMed] [Google Scholar]
  • 30.Eisenberg MC, Robertson SL, Tien JH. Identifiability and estimation of multiple transmission pathways in cholera and waterborne disease. J. Theor. Biol. 2013;324:84–102. doi: 10.1016/j.jtbi.2012.12.021. [DOI] [PubMed] [Google Scholar]
  • 31.Stigter J, Joubert D, Molenaar J. Observability of complex systems: Finding the gap. Sci. Rep. 2017;7:1–9. doi: 10.1038/s41598-017-16682-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Bellu G, Saccomani MP, Audoly S, D’Angiò L. Daisy: A new software tool to test global identifiability of biological and physiological systems. Comput. Methods Progr. Biomed. 2007;88:52–61. doi: 10.1016/j.cmpb.2007.07.002. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33.Menache M, et al. Upper respiratory tract surface areas and volumes of laboratory animals and humans: Considerations for dosimetry models. J. Toxicol. Environ. Health. 1997;50:475–506. doi: 10.1080/00984109708984003. [DOI] [PubMed] [Google Scholar]
  • 34.Fedoseev G, Geharev S. Basic defense mechanisms of bronchio-lung system. Gen. Pulmonol. 1989;1:112–144. [Google Scholar]
  • 35.Fröhlich E, Mercuri A, Wu S, Salar-Behzadi S. Measurements of deposition, lung surface area and lung fluid for simulation of inhaled compounds. Front. Pharmacol. 2016;7:181. doi: 10.3389/fphar.2016.00181. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Mercer RR, Russell ML, Roggli VL, Crapo JD. Cell number and distribution in human and rat airways. Am. J. Respir. Cell Mol. Biol. 1994;10:613–624. doi: 10.1165/ajrcmb.10.6.8003339. [DOI] [PubMed] [Google Scholar]
  • 37.Haario H, Laine M, Mira ADRAM. Efficient adaptive MCMC. Stat. Comput. 2006;16:339–354. doi: 10.1007/s11222-006-9438-0. [DOI] [Google Scholar]
  • 38.Haario H, Saksman E, Tamminen J. An adaptive metropolis algorithm. Bernoulli. 2001;7:223–242. doi: 10.2307/3318737. [DOI] [Google Scholar]
  • 39.Laine, M. Mcmc toolbox for Matlab. https://mjlaine.github.io/mcmcstat/. (accessed 18 Feb 2022).
  • 40.Siekmann I, Sneyd J, Crampin EJ. MCMC can detect nonidentifiable models. Biophys. J. 2012;103:2275–2286. doi: 10.1016/j.bpj.2012.10.024. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Tuncer N, Martcheva M, Labarre B, Payoute S. Structural and practical identifiability analysis of Zika epidemiological models. Bull. Math. Biol. 2018;80:2209–2241. doi: 10.1007/s11538-018-0453-z. [DOI] [PubMed] [Google Scholar]
  • 42.Wieland F-G, Hauber AL, Rosenblatt M, Tönsing C, Timmer J. On structural and practical identifiability. Curr. Opin. Syst. Biol. 2021;25:60–69. doi: 10.1016/j.coisb.2021.03.005. [DOI] [Google Scholar]
  • 43.Franceschini G, Macchietto S. Model-based design of experiments for parameter precision: State of the art. Chem. Eng. Sci. 2008;63:4846–4872. doi: 10.1016/j.ces.2007.11.034. [DOI] [Google Scholar]
  • 44.Caraco Y, et al. Phase 2/3 trial of molnupiravir for treatment of Covid-19 in nonhospitalized adults. NEJM Evid. 2022;1:EVIDoa2100043. doi: 10.1056/EVIDoa2100043. [DOI] [PubMed] [Google Scholar]
  • 45.Andersson, M. I. et al. SARS-CoV-2 RNA detected in blood products from patients with COVID-19 is not associated with infectious virus. Wellcome Open Res.5 (2020). [DOI] [PMC free article] [PubMed]
  • 46.Puhach O, et al. Infectious viral load in unvaccinated and vaccinated individuals infected with ancestral, Delta or Omicron SARS-CoV-2. Nat. Med. 2022;28:1491–1500. doi: 10.1038/s41591-022-01816-0. [DOI] [PubMed] [Google Scholar]
  • 47.Nikin-Beers R, Ciupe SM. Modelling original antigenic sin in dengue viral infection. Math. Med. Biol. J. IMA. 2017;35:257–272. doi: 10.1093/imammb/dqx002. [DOI] [PubMed] [Google Scholar]
  • 48.Banerjee S, Guedj J, Ribeiro RM, Moses M, Perelson AS. Estimating biologically relevant parameters under uncertainty for experimental within-host murine West Nile virus infection. J. R. Soc. Interface. 2016;13:20160130. doi: 10.1098/rsif.2016.0130. [DOI] [PMC free article] [PubMed] [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 code generated during the current study will be made available on the corresponding author’s page upon acceptance.


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

RESOURCES