Introduction
Compartment models are the standard language of mathematical epidemiology. They are systems of ordinary differential equations (ODEs) whose coefficients for transmission, recovery, death and transition rates are the quantities of interest. They determine reproduction numbers, peak sizes and the effect of interventions. Estimating them from time series is an inverse problem, and over the last years physics-informed neural networks (PINNs) [1 , 2 , 3 ] have become a popular tool for it. An example is the family of disease-informed neural networks (DINNs) of Shaier et al. [4 ] , which identifies the parameters of eleven compartment models, from a three-state SIDR model of COVID-19 to a nine-state host–vector model of Zika, by training a network for each disease. It is reported at the time that training takes from 20 minutes to 91 hours per disease, the search range of every parameter must be prescribed (typically ± 1 \pm1 ± 1 –10 % around the literature value), and the estimates come without any statement of their uncertainty which limits how much trust we can put into such estimates.
Almost all compartment models share a structure where their right-hand side is linear in a vector of coefficients , each of which is a physical parameter or a product of parameters (for example β 0 β 1 \beta_0\beta_1 β 0 β 1 in a seasonally forced transmission rate β 0 ( 1 + β 1 cos 2 π t \beta_0(1 + \beta_1 \cos2\pi t β 0 ( 1 + β 1 cos 2 π t )). The coefficients then follow from a linear least-squares problem, and the physical parameters from an explicit map back. For such models, Nielsen et al. [5 ] proposed physics-informed regression (PIR) based on estimating the time derivatives of the states from the data, evaluate the model library at the data, and solve one ordinary least-squares problem. PIR has the same physics-informed ingredient as a PINN, namely, the residual of the governing equations, however, replaces training by a closed-form solve resulting in low computational cost and as a result achieve dramatic improvement over methods such as DINN derived from PINN for the problems considered. The accuracy of PIR is limited by the derivative estimate, which is the weak point whenever the data are coarse in time or noisy.
A point estimate of the parameters obtained through regression analysis is, however, only half of the answer. The estimated coefficients are affected by measurement noise associate with data collection, which a derivative estimate amplifies, e.g. by the truncation error of the finite differences or of the quadrature, by an errors-in-variables bias, since the library is evaluated at noisy states, by practical non-identifiability when the sampling does not resolve the dynamics, and by the inevitable mismatch between a compartment model and a real epidemic. The map ω = h ( θ ) \omega= h(\theta) ω = h ( θ ) can amplify these errors further, for example through ratios of coefficients. Since quantities such as the reproduction number are used to decide on interventions, every estimate needs an honest statement of its uncertainty. Conventional approaches are well established. Nonlinear least squares provides an asymptotic covariance from the linearized model and an assumed noise model [6 ] ; profile likelihoods give confidence intervals and expose non-identifiable parameters [7 ] ; parametric bootstrapping repeats the fit on resampled data [8 , 9 ] ; Bayesian inference by Markov chain Monte Carlo [10 , 11 ] or approximate Bayesian computation [12 ] yields posterior distributions, also for physics-informed neural networks [13 ] ; model discrepancy can be represented explicitly [14 ] , and polynomial chaos expansions propagate parameter uncertainty through epidemic models at a fraction of the cost of Monte Carlo sampling and quantify the sensitivity of the predictions to each parameter [15 ] . These methods require repeated forward solves or likelihood evaluations, and their intervals are valid only asymptotically or conditionally on the assumed prior and noise model.
We propose to consider the perspective that physics-informed regression offers a different route . The least-squares covariance of PIR and PIWR is available at no cost, but it treats the residual as white noise and ignores the truncation bias and the correlation of the residuals, so it is not a trustworthy uncertainty on its own. Split conformal prediction [16 , 17 , 18 , 19 ] turns such a heuristic uncertainty into intervals with a finite-sample, distribution-free coverage guarantee, provided that calibration examples with known truth are available. A physics-based model can supply them, because the model can be simulated numerically and the regression methods considered in this study costs about a millisecond. Hence, thousands of synthetic epidemics with known parameters can be passed through exactly the same estimator as the data. All error sources that the simulation contains, including noise, discretization and quadrature errors, the errors-in-variables bias and weak identifiability, are then calibrated jointly, without linearization and without a prior. The resulting guarantee is marginal over the calibration population rather than conditional on the observed data, and it does not cover model errors that the simulations do not contain. Conformalized physics-informed regression therefore complements rather than replaces likelihood-based and Bayesian analyses, and the two can be used together for validation, as we do for real data in § 5.6 .
Contributions
This paper makes three contributions related to developing new fast and reliable numerical parameter estimation techniques based on extending the idea of physics-informed regression for parameter-linear models Nielsen et al. [5 ] .
Physics-informed weak regression (PIWR). We integrate the model in time instead of differentiating the data. The integrated equations remain linear in the parameters, contain no derivatives of the data, and are solved jointly for the parameters and the unknown initial state. With cubic-spline quadrature the method is fourth-order accurate in the sampling interval. PIWR is the regression analogue of weak-form identification methods [20 , 21 ] (Messenger and Bortz 2021), here with a known model structure.
Conformal prediction with physics-based models. We wrap PIR and PIWR in a split conformal layer [16 , 17 , 18 , 19 ] that returns intervals for all parameters of a model simultaneously, with a finite-sample, distribution-free coverage guarantee. A model coefficient has no natural calibration set, since every data set has exactly one true parameter vector. We use the physics-based model itself to generate one: a population of epidemics with known parameters, simulated and processed exactly like the data. The least-squares covariance sets the relative widths of the intervals, the calibration sets their common scale.
Residual-adaptive conformal calibration (RACC). We introduce a residual-adaptive factor that makes the uncertainty intervals of the parameter estimates depend on the individual data set. The relative residual of the regression measures how well the data satisfy the governing equations, grows when the sampling does not resolve the dynamics or the noise is large, and is available without ground truth. Scaling the conformal scores and intervals by a factor that increases with this residual widens the intervals for difficult data sets and narrows them for easy ones, while the finite-sample coverage guarantee is retained because the same factor is applied in calibration. Combined with PIWR we refer to the full pipeline as PIWR-RACC (physics-informed weak regression with residual-adaptive conformal calibration).
We test these methods on all eleven DINN benchmarks with the original data-generating settings, without noise and with 1 % noise, and compare against the DINN results as reported in Shaier et al. [4 ] . We extend the study with two cases from outside the DINN set: the seven-compartment SIR3R model of Nielsen et al. [5 ] , with their PIR and PINN results as reference, and the real 1978 boarding-school influenza outbreak Anonymous, [23 ] , with the Bayesian analysis in Stan of Grinsztajn et al. [11 ] as reference, and the time-varying transmission benchmark of Millevroi et al. (2024), where β ( t ) \beta(t) β ( t ) is expanded in B-splines and the results are compared with physics-informed neural networks.
Regression framework: parameter-linear epidemic models
To present the regression frameworks used in this study, the basis is that we consider models that an be described as a dynamical system
x ˙ = f ( x , t ; ω ) , (1) \dot{\mathbf{x}}=f(\mathbf{x},t;\boldsymbol{\omega}), \tag*{(1)} x ˙ = f ( x , t ; ω ) , (1)
where the the derivative with respect to time is denoted as x ˙ ( t ) = d x / d t \dot{\mathbf{x}}(t)=\mathrm{d}\mathbf{x}/\mathrm{d}t x ˙ ( t ) = d x / d t , with n n n states x ( t ) ∈ R n \mathbf{x}(t)\in\mathbb{R}^{n} x ( t ) ∈ R n and k k k physical parameters ω ∈ R k \boldsymbol{\omega}\in\mathbb{R}^{k} ω ∈ R k that can be written as
x ˙ ( t ) = A ( x ( t ) , t ) θ , θ = g ( ω ) ∈ R p , (2) \dot{\mathbf{x}}(t)=A(\mathbf{x}(t),t)\,\boldsymbol{\theta},\qquad\boldsymbol{\theta}=g(\boldsymbol{\omega})\in\mathbb{R}^{p}, \tag*{(2)} x ˙ ( t ) = A ( x ( t ) , t ) θ , θ = g ( ω ) ∈ R p , (2)
where the library A ( x , t ) ∈ R n × p A(\mathbf{x},t)\in\mathbb{R}^{n\times p} A ( x , t ) ∈ R n × p contains no unknowns.
Together with an initial condition x ( t 0 ) = x 0 \mathbf{x}(t_{0})=\mathbf{x}_{0} x ( t 0 ) = x 0 , (2) is an initial value problem (IVP) on t ∈ [ t 0 , T ] t\in[t_{0},T] t ∈ [ t 0 , T ] with solution x ( t ; ω , x 0 ) \mathbf{x}(t;\boldsymbol{\omega},\mathbf{x}_{0}) x ( t ; ω , x 0 ) . We use it as the model of the data where the measured states are assumed to be this solution plus measurement noise, for some unknown ω \boldsymbol{\omega} ω and x 0 \mathbf{x}_{0} x 0 . For synthetic benchmarks where data is generated numerically this can hold by construction, however, for real data it is an assumption, and the fitted model reproduces the data only up to noise and model error.
The initial state x ( t 0 ) \mathbf{x}(t_{0}) x ( t 0 ) is part of the model when stated as an IVP, but not of the physics-informed regression (PIR) Nielsen et al. [5 ] that uses only the derivatives and needs no x 0 \mathbf{x}_{0} x 0 . The derivative may be approximated by finite differences, however, these are prone to noise when applied to real data and needs mitigation (fx. via filtering time series of the data) as explained in Nielsen et al. [5 ] . However, given the initial state, the general solution to the IVP may be found by temporal integration stated as
x ( t ) = x ( t 0 ) + ∫ t 0 t f ( x , t ; ω ) d t . (3) \mathbf{x}(t)=\mathbf{x}(t_{0})+\int_{t_{0}}^{t}f(\mathbf{x},t;\boldsymbol{\omega})\,\mathrm{d}t. \tag*{(3)} x ( t ) = x ( t 0 ) + ∫ t 0 t f ( x , t ; ω ) d t . (3)
This formulation motivates a new physics-informed weak regression (PIWR) method that can estimate the initial condition x 0 x_0 x 0 jointly with θ \theta θ (section 3.2), so that the noise of the first sample does not enter every equation. Then the model may still be formulated as linear in the coefficient vector θ \theta θ , while the map g : R k → R p g:\mathbb{R}^{k}\to\mathbb{R}^{p} g : R k → R p from the physical parameters to the coefficients may be nonlinear. We assume a left inverse h : R p → R k h:\mathbb{R}^{p}\to\mathbb{R}^{k} h : R p → R k with h ( g ( ω ) ) = ω h(g(\omega))=\omega h ( g ( ω )) = ω to be able to recover coefficients. This requires p ≥ k p\geq k p ≥ k and for p > k p>k p > k the coefficients satisfy p − k p-k p − k constraints (section 5.6). Known terms of the model enter as an offset,
x ˙ ( t ) = f 0 ( x , t ) + A ( x , t ) θ , (4) \dot{x}(t)=f_0(x,t)+A(x,t)\theta, \tag*{(4)} x ˙ ( t ) = f 0 ( x , t ) + A ( x , t ) θ , (4)
and are subtracted from the data side of the regression. In the simplest case θ = ω \theta=\omega θ = ω . In many models (4) the right-hand side is nonlinear in ω \omega ω but linear in products or ratios of parameters, and then θ \theta θ collects these products and ω = h ( θ ) \omega=h(\theta) ω = h ( θ ) is recovered in closed form. The structure also exposes identifiability : two parameters that enter only as a product correspond to a single column of A A A and cannot be separated by any method. One of them is then fixed. All eleven models, their coefficient vectors and the fixed parameters are given in section A and summarized in table 1.
The framework presented is general. Let’s consider two worked examples to understand how to formulate regression problems for parameter estimation.
Worked example: COVID-19 SIDR model. The first DINN benchmark is the SIDR model with transmission rate α \alpha α , recovery rate β \beta β , death rate γ \gamma γ and known population N = 59 ⋅ 10 6 N=59\cdot10^6 N = 59 ⋅ 1 0 6 ,
d d t [ S I D R ] = [ − S I / N 0 0 S I / N − I − I 0 0 I 0 I 0 ] [ α β γ ] , (5) \frac{d}{dt}
\begin{bmatrix}
S\\
I\\
D\\
R
\end{bmatrix}
=
\begin{bmatrix}
-SI/N & 0 & 0\\
SI/N & -I & -I\\
0 & 0 & I\\
0 & I & 0
\end{bmatrix}
\begin{bmatrix}
\alpha\\
\beta\\
\gamma
\end{bmatrix}, \tag*{(5)} d t d S I D R = − S I / N S I / N 0 0 0 − I 0 I 0 − I I 0 α β γ , (5)
i.e. S ˙ = − α S I / N \dot{S}=-\alpha SI/N S ˙ = − α S I / N , I ˙ = α S I / N − ( β + γ ) I \dot{I}=\alpha SI/N-(\beta+\gamma)I I ˙ = α S I / N − ( β + γ ) I , D ˙ = γ I \dot{D}=\gamma I D ˙ = γ I , R ˙ = β I \dot{R}=\beta I R ˙ = β I . The data are 100 equally spaced samples on [ 0 , 500 ] [0,500] [ 0 , 500 ] days (Δ t = 5.05 \Delta t=5.05 Δ t = 5.05 days) of the solution with ( α , β , γ ) = ( 0.191 , 0.05 , 0.0294 ) (\alpha,\beta,\gamma)=(0.191,0.05,0.0294) ( α , β , γ ) = ( 0.191 , 0.05 , 0.0294 ) from S 0 = N − 1 S_0=N-1 S 0 = N − 1 , I 0 = 1 I_0=1 I 0 = 1 . The outbreak rises and decays within about 100 days, so it is covered by only about 20 samples. We use this example to explain every step below. □
Worked example: a mapped coefficient vector (measles). In the SIDR model every parameter multiplies its own library term, so θ = ω \theta=\omega θ = ω . This is not the case in general. The seasonally forced measles model of Shaier et al. [4 ] (section A.10) has the state x = ( S , E , I ) x=(S,E,I) x = ( S , E , I ) , known population N N N , and the parameters ω = ( μ , β 0 , β 1 , γ , σ ) \omega=(\mu,\beta_0,\beta_1,\gamma,\sigma) ω = ( μ , β 0 , β 1 , γ , σ ) (birth and death rate, mean transmission rate and its seasonal amplitude, recovery rate, and a progression parameter), with the transmission rate β ( t ) = β 0 ( 1 + β 1 cos 2 π t ) \beta(t)=\beta_0(1+\beta_1\cos2\pi t) β ( t ) = β 0 ( 1 + β 1 cos 2 π t ) . The equations S ˙ = μ ( N − S ) − β ( t ) S I / N \dot{S}=\mu(N-S)-\beta(t)SI/N S ˙ = μ ( N − S ) − β ( t ) S I / N , E ˙ = β ( t ) S I / N − μ E \dot{E}=\beta(t)SI/N-\mu E E ˙ = β ( t ) S I / N − μ E and I ˙ = σ E − ( μ + γ ) I \dot{I}=\sigma E-(\mu+\gamma)I I ˙ = σ E − ( μ + γ ) I contain the products β 0 β 1 \beta_0\beta_1 β 0 β 1 and μ σ \mu\sigma μ σ , so they are nonlinear in ω \omega ω . Expanding β ( t ) S I / N = β 0 S I / N + β 0 β 1 cos ( 2 π t ) S I / N \beta(t)SI/N=\beta_0SI/N+\beta_0\beta_1\cos(2\pi t)SI/N β ( t ) S I / N = β 0 S I / N + β 0 β 1 cos ( 2 π t ) S I / N and treating each product as one coefficient gives the parameter-linear form (2),
d d t [ S E I ] = [ N − S − S I / N − cos ( 2 π t ) S I / N 0 0 0 0 S I / N cos ( 2 π t ) S I / N − E 0 0 − I 0 0 0 E − I ] [ μ β 0 β 0 β 1 μ σ σ γ ] , (6) \frac{d}{dt}
\begin{bmatrix}
S\\
E\\
I
\end{bmatrix}
=
\begin{bmatrix}
N-S & -SI/N & -\cos(2\pi t)SI/N & 0 & 0 & 0\\
0 & SI/N & \cos(2\pi t)SI/N & -E & 0 & 0\\
-I & 0 & 0 & 0 & E & -I
\end{bmatrix}
\begin{bmatrix}
\mu\\
\beta_0\\
\beta_0\beta_1\\
\mu\sigma\\
\sigma\\
\gamma
\end{bmatrix}, \tag*{(6)} d t d S E I = N − S 0 − I − S I / N S I / N 0 − cos ( 2 π t ) S I / N cos ( 2 π t ) S I / N 0 0 − E 0 0 0 E 0 0 − I μ β 0 β 0 β 1 μ σ σ γ , (6)
with a library that depends explicitly on time through the known or assumed forcing. The coefficient map and its left inverse are
θ = g ( ω ) = ( μ , β 0 , β 0 β 1 , μ σ , σ , γ ) ∈ R 6 , \theta=g(\omega)=(\mu,\ \beta_0,\ \beta_0\beta_1,\ \mu\sigma,\ \sigma,\ \gamma)\in\mathbb{R}^{6}, θ = g ( ω ) = ( μ , β 0 , β 0 β 1 , μ σ , σ , γ ) ∈ R 6 ,
ω = h ( θ ) = ( ϑ 1 , ϑ 2 , ϑ 3 / ϑ 2 , ϑ 6 , ϑ 5 ) , (7) \omega=h(\theta)=(\vartheta_1,\ \vartheta_2,\ \vartheta_3/\vartheta_2,\ \vartheta_6,\ \vartheta_5), \tag*{(7)} ω = h ( θ ) = ( ϑ 1 , ϑ 2 , ϑ 3 / ϑ 2 , ϑ 6 , ϑ 5 ) , (7)
where ϑ c \vartheta_c ϑ c denotes the c c c -th entry of θ \theta θ . The regression problem is then formulated to be solved for the six coefficients, and the five physical parameters follow from h ( θ ) h(\theta) h ( θ ) . For example, the seasonal amplitude is the ratio β 1 = ϑ 3 / ϑ 2 \beta_1=\vartheta_3/\vartheta_2 β 1 = ϑ 3 / ϑ 2 . Since p = 6 > k = 5 p=6>k=5 p = 6 > k = 5 , the coefficients satisfy one constraint, ϑ 4 = ϑ 1 ϑ 5 \vartheta_4=\vartheta_1\vartheta_5 ϑ 4 = ϑ 1 ϑ 5 , which the linear regression does not impose, and h h h simply does not use ϑ 4 \vartheta_4 ϑ 4 . The uncertainty of θ ^ \hat{\theta} θ ^ is carried through h ( θ ) h(\theta) h ( θ ) by the delta method (19) (section 3.3). The example serves only to explain how a mapped coefficient vector is formulated. □
In the following, the physics-informed regression methods is explained with the SIDR model, and the measles results are given in section A.10.
Table 1. The eleven DINN benchmark models: number of states n n n , estimated physical parameters k k k , length p p p of the coefficient vector θ \theta θ , parameters fixed because they are not identifiable or absent from the model, number of samples m m m , time horizon T T T , sampling interval Δ t \Delta t Δ t , and the DINN table and training time reported by Shaier et al. [4 ] .
Physics-informed regression
In this section, we detail the physics-informed regression methods used in this study. We omit the details of related techniques such as PINN (Raissi et al., [1 ] ) and DINN (Shaier et al., [4 ] ) and only refer to reported results obtained using such methods.
Strong form: physics-informed regression (PIR)
Given measured samples x ~ i \tilde{\mathbf{x}}_i x ~ i of the states x ( t i ) \mathbf{x}(t_i) x ( t i ) , which may contain noise (section 5.1), i = 0 , … , m − 1 i = 0, \ldots, m - 1 i = 0 , … , m − 1 , on an equispaced grid, PIR (Nielsen et al., [5 ] ) replaces x ˙ ( t i ) \dot{\mathbf{x}}(t_i) x ˙ ( t i ) in (2) by a finite-difference estimate d i \mathbf{d}_i d i and stacks the equations of all interior samples into the overdetermined system
A θ ≈ b , A = [ A ( x ~ i 1 , t i 1 ) ⋮ A ( x ~ i M , t i M ) ] , b = [ d i 1 ⋮ d i M ] , θ ^ = arg min θ ∥ A θ − b ∥ 2 2 . (8) A\boldsymbol{\theta} \approx\mathbf{b}, \qquad A =
\begin{bmatrix}
A(\tilde{\mathbf{x}}_{i_1},t_{i_1})\\
\vdots\\
A(\tilde{\mathbf{x}}_{i_M},t_{i_M})
\end{bmatrix}, \qquad
\mathbf{b} =
\begin{bmatrix}
\mathbf{d}_{i_1}\\
\vdots\\
\mathbf{d}_{i_M}
\end{bmatrix}, \qquad
\hat{\boldsymbol{\theta}} = \underset{\boldsymbol{\theta}}{\arg\min}\lVert A\boldsymbol{\theta}-\mathbf{b}\rVert_2^2. \tag*{(8)} A θ ≈ b , A = A ( x ~ i 1 , t i 1 ) ⋮ A ( x ~ i M , t i M ) , b = d i 1 ⋮ d i M , θ ^ = θ arg min ∥ A θ − b ∥ 2 2 . (8)
Nielsen et al. [5 ] use the second-order central difference (PIR-FD2). However, we also use the fourth- and sixth-order central differences,
d i ( 2 ) = x ~ i + 1 − x ~ i − 1 2 Δ t , d i ( 4 ) = x ~ i − 2 − 8 x ~ i − 1 + 8 x ~ i + 1 − x ~ i + 2 12 Δ t , \mathbf{d}_i^{(2)} = \frac{\tilde{\mathbf{x}}_{i+1}-\tilde{\mathbf{x}}_{i-1}}{2\Delta t}, \qquad
\mathbf{d}_i^{(4)} = \frac{\tilde{\mathbf{x}}_{i-2}-8\tilde{\mathbf{x}}_{i-1}+8\tilde{\mathbf{x}}_{i+1}-\tilde{\mathbf{x}}_{i+2}}{12\Delta t}, d i ( 2 ) = 2Δ t x ~ i + 1 − x ~ i − 1 , d i ( 4 ) = 12Δ t x ~ i − 2 − 8 x ~ i − 1 + 8 x ~ i + 1 − x ~ i + 2 ,
d i ( 6 ) = − x ~ i − 3 + 9 x ~ i − 2 − 45 x ~ i − 1 + 45 x ~ i + 1 − 9 x ~ i + 2 + x ~ i + 3 60 Δ t . (9) \mathbf{d}_i^{(6)} = \frac{-\tilde{\mathbf{x}}_{i-3}+9\tilde{\mathbf{x}}_{i-2}-45\tilde{\mathbf{x}}_{i-1}+45\tilde{\mathbf{x}}_{i+1}-9\tilde{\mathbf{x}}_{i+2}+\tilde{\mathbf{x}}_{i+3}}{60\Delta t}. \tag*{(9)} d i ( 6 ) = 60Δ t − x ~ i − 3 + 9 x ~ i − 2 − 45 x ~ i − 1 + 45 x ~ i + 1 − 9 x ~ i + 2 + x ~ i + 3 . (9)
with truncation errors O ( Δ t 2 ) O(\Delta t^2) O ( Δ t 2 ) , O ( Δ t 4 ) O(\Delta t^4) O ( Δ t 4 ) , O ( Δ t 6 ) O(\Delta t^6) O ( Δ t 6 ) , at the interior points where the stencil fits. For white noise of standard deviation σ \sigma σ the derivative noise has standard deviation 0.71 σ / Δ t 0.71\,\sigma/\Delta t 0.71 σ /Δ t , 0.95 σ / Δ t 0.95\,\sigma/\Delta t 0.95 σ /Δ t and 1.08 σ / Δ t 1.08\,\sigma/\Delta t 1.08 σ /Δ t , respectively: higher orders remove truncation bias but amplify noise. Two numerical details matter. First, each state equation may be divided by the magnitude of its compartment, so that compartments of different size weigh comparably. With s c = max i ∣ x ~ i , c ∣ s_c = \max_i|\tilde{x}_{i,c}| s c = max i ∣ x ~ i , c ∣ , c = 1 , … , n c = 1,\ldots,n c = 1 , … , n , this is the row scaling
D n = diag ( 1 / s 1 , … , 1 / s n ) , A D = ( I M ⊗ D n ) A , b D = ( I M ⊗ D n ) b , (10) D_n = \operatorname{diag}(1/s_1,\ldots,1/s_n), \qquad
A_D = (I_M \otimes D_n)A, \qquad
\mathbf{b}_D = (I_M \otimes D_n)\mathbf{b}, \tag*{(10)} D n = diag ( 1/ s 1 , … , 1/ s n ) , A D = ( I M ⊗ D n ) A , b D = ( I M ⊗ D n ) b , (10)
where M M M is the number of interior samples i 1 , … , i M i_1,\ldots,i_M i 1 , … , i M in (8) at which the stencil fits. I M ∈ R M × M I_M \in\mathbb{R}^{M\times M} I M ∈ R M × M is the identity matrix and ⊗ \otimes ⊗ is the Kronecker product, so that I M ⊗ D n = diag ( D n , … , D n ) ∈ R n M × n M I_M \otimes D_n = \operatorname{diag}(D_n,\ldots,D_n) \in\mathbb{R}^{nM\times nM} I M ⊗ D n = diag ( D n , … , D n ) ∈ R n M × n M is block diagonal with M M M copies of D n D_n D n and scales the n n n equations of every sampled time in the same way. Row scaling turns (8) into a weighted least-squares problem and therefore changes its minimizer; whether to use it (D n = I n D_n = I_n D n = I n otherwise) is decided per model and estimator on a tuning set (section 5.1). Second, the columns are scaled to unit norm before the solve,
C = diag ( 1 / ∥ ( A D ) : , 1 ∥ 2 , … , 1 / ∥ ( A D ) : , p ∥ 2 ) , u ^ = arg min u ∥ A D C u − b D ∥ 2 2 , θ ^ = C u ^ . (11) C = \operatorname{diag}(1/\lVert(A_D)_{:,1}\rVert_2,\ldots,1/\lVert(A_D)_{:,p}\rVert_2), \qquad
\hat{\mathbf{u}} = \underset{\mathbf{u}}{\arg\min}\lVert A_D C\mathbf{u}-\mathbf{b}_D\rVert_2^2, \qquad
\hat{\boldsymbol{\theta}} = C\hat{\mathbf{u}}. \tag*{(11)} C = diag ( 1/ ∥( A D ) : , 1 ∥ 2 , … , 1/ ∥( A D ) : , p ∥ 2 ) , u ^ = u arg min ∥ A D C u − b D ∥ 2 2 , θ ^ = C u ^ . (11)
This is the change of variables θ = C u \boldsymbol{\theta}=C\mathbf{u} θ = C u with a diagonal, invertible C C C , so it leaves the minimizer unchanged, but it removes the extreme scaling of columns (fx. such as V T 2 VT^2 V T 2 in the HIV model (30)) and improves the conditioning of the solve. The covariance transforms accordingly, Σ θ = C Σ u C \Sigma_{\boldsymbol{\theta}}=C\Sigma_{\mathbf{u}}C Σ θ = C Σ u C .
For the SIDR model, A A A has 4 ( m − 2 ) = 392 4(m-2)=392 4 ( m − 2 ) = 392 rows (PIR-FD2) and three columns, and θ ^ \hat{\boldsymbol{\theta}} θ ^ is obtained in less than a millisecond in the benchmarked setup (table 2).
Weak form: physics-informed weak regression (PIWR)
Integrating (2) from t 0 t_0 t 0 to t j t_j t j gives
x ( t j ) = x 0 + J j θ , J j = ∫ t 0 t j A ( x ( s ) , s ) d s ∈ R n × p , j = 0 , … , m − 1. (12) \mathbf{x}(t_j)=\mathbf{x}_0+\mathbf{J}_j\boldsymbol{\theta},\qquad\mathbf{J}_j=\int_{t_0}^{t_j}\mathbf{A}(\mathbf{x}(s),s)\,\mathrm{d}s\in\mathbb{R}^{n\times p},\qquad j=0,\ldots,m-1. \tag*{(12)} x ( t j ) = x 0 + J j θ , J j = ∫ t 0 t j A ( x ( s ) , s ) d s ∈ R n × p , j = 0 , … , m − 1. (12)
The relation is still linear in θ \boldsymbol{\theta} θ , but it contains the data themselves instead of their derivatives. Here x 0 = x ( t 0 ) \mathbf{x}_0=\mathbf{x}(t_0) x 0 = x ( t 0 ) is the initial state; in the regression below, the measured samples x ~ j \tilde{\mathbf{x}}_j x ~ j replace x ( t j ) \mathbf{x}(t_j) x ( t j ) on the left and the states x ( s ) \mathbf{x}(s) x ( s ) inside the integral. We now describe how the integrals are evaluated, how the linear system is assembled, and how it is solved.
Quadrature. Write A i = A ( x ~ i , t i ) ∈ R n × p \mathbf{A}_i=\mathbf{A}(\tilde{\mathbf{x}}_i,t_i)\in\mathbb{R}^{n\times p} A i = A ( x ~ i , t i ) ∈ R n × p for the library evaluated at the samples. Every entry ( A ) r c (A)_{rc} ( A ) r c , r = 1 , … , n r=1,\ldots,n r = 1 , … , n , c = 1 , … , p c=1,\ldots,p c = 1 , … , p , is interpolated over t 0 , … , t m − 1 t_0,\ldots,t_{m-1} t 0 , … , t m − 1 by a cubic spline (not-a-knot end conditions), and the spline is integrated exactly from t 0 t_0 t 0 to t j t_j t j . The spline is linear in its data, so the quadrature can be written with weights w j i w_{ji} w j i that depend only on the time grid
J j ≈ ∑ i = 0 m − 1 w j i A i , j = 0 , … , m − 1 , J 0 = 0 , (13) \mathbf{J}_j\approx\sum_{i=0}^{m-1}w_{ji}\mathbf{A}_i,\qquad j=0,\ldots,m-1,\qquad\mathbf{J}_0=\mathbf{0}, \tag*{(13)} J j ≈ i = 0 ∑ m − 1 w j i A i , j = 0 , … , m − 1 , J 0 = 0 , (13)
with an error of O ( Δ t 4 ) O(\Delta t^4) O ( Δ t 4 ) for smooth integrands. For comparison, the trapezoidal rule would use w j i = Δ t ( 1 − 1 2 δ i 0 − 1 2 δ i j ) w_{ji}=\Delta t(1-\frac{1}{2}\delta_{i0}-\frac{1}{2}\delta_{ij}) w j i = Δ t ( 1 − 2 1 δ i 0 − 2 1 δ ij ) for 0 ≤ i ≤ j 0\leq i\leq j 0 ≤ i ≤ j and w j i = 0 w_{ji}=0 w j i = 0 otherwise, with an error of O ( Δ t 2 ) O(\Delta t^2) O ( Δ t 2 ) . The weights are computed once per time grid, and evaluating (13) costs O ( m 2 n p ) O(m^2np) O ( m 2 n p ) operations, which is negligible.
The linear system. The initial state x 0 \mathbf{x}_0 x 0 is treated as n n n additional unknowns, so that the noise of the first sample is not propagated into every equation. With the unknown vector z = ( θ , x 0 ) ∈ R p + n \mathbf{z}=(\boldsymbol{\theta},\mathbf{x}_0)\in\mathbb{R}^{p+n} z = ( θ , x 0 ) ∈ R p + n , the m m m relations (12) are stacked into
[ J 0 I n J 1 I n ⋮ ⋮ J m − 1 I n ] ⏟ M ∈ R n m × ( p + n ) [ θ x 0 ] ≈ [ x ~ 0 x ~ 1 ⋮ x ~ m − 1 ] ⏟ y ∈ R n m , (14) \underbrace{\begin{bmatrix}
\mathbf{J}_0 & \mathbf{I}_n\\
\mathbf{J}_1 & \mathbf{I}_n\\
\vdots& \vdots\\
\mathbf{J}_{m-1} & \mathbf{I}_n
\end{bmatrix}}_{\mathbf{M}\in\mathbb{R}^{nm\times(p+n)}}
\begin{bmatrix}
\boldsymbol{\theta}\\
\mathbf{x}_0
\end{bmatrix}
\approx
\underbrace{\begin{bmatrix}
\tilde{\mathbf{x}}_0\\
\tilde{\mathbf{x}}_1\\
\vdots\\
\tilde{\mathbf{x}}_{m-1}
\end{bmatrix}}_{\mathbf{y}\in\mathbb{R}^{nm}}, \tag*{(14)} M ∈ R nm × ( p + n ) J 0 J 1 ⋮ J m − 1 I n I n ⋮ I n [ θ x 0 ] ≈ y ∈ R nm x ~ 0 x ~ 1 ⋮ x ~ m − 1 , (14)
where I n ∈ R n × n \mathbf{I}_n\in\mathbb{R}^{n\times n} I n ∈ R n × n is the identity matrix. The right-hand side y \mathbf{y} y contains the measured states, including the first one, x ~ 0 \tilde{\mathbf{x}}_0 x ~ 0 , which differs from the unknown initial state x 0 \mathbf{x}_0 x 0 by the measurement noise. For the SIDR model (n = 4 n=4 n = 4 , p = 3 p=3 p = 3 , m = 100 m=100 m = 100 ), M \mathbf{M} M has 400 rows and 7 columns. Optionally, each state equation is scaled by the magnitude of its compartment, s c = max i ∣ x ~ i , c ∣ s_c=\max_i|\tilde{x}_{i,c}| s c = max i ∣ x ~ i , c ∣ . This is the diagonal row scaling D = I m ⊗ D n \mathbf{D}=\mathbf{I}_m\otimes\mathbf{D}_n D = I m ⊗ D n , with M D = D M \mathbf{M}_{D}=\mathbf{D}\mathbf{M} M D = DM and y D = D y \mathbf{y}_{D}=\mathbf{D}\mathbf{y} y D = Dy , so that compartments of very different size weigh comparably.
Closed-form least-squares solution. PIWR minimizes the residual of (14) ,
\begin{bmatrix}
\hat{\boldsymbol{\theta}}\\
\hat{\mathbf{x}}_0
\end{bmatrix}
=\underset{\boldsymbol{\theta},\mathbf{x}_0}{\operatorname{arg\,min}}\sum_{j=0}^{m-1}\left\|\mathbf{D}_n\left(\mathbf{x}_0+\mathbf{J}_j\boldsymbol{\theta}-\tilde{\mathbf{x}}_j\right)\right\|_2^2
=\underset{\mathbf{z}}{\operatorname{arg\,min}}\left\|\mathbf{M}_D\mathbf{z}-\mathbf{y}_D\right\|_2^2. \tag*{(15)}\end{bmatrix}
Its unique minimizer, when M D \mathbf{M}_D M D has full column rank, is given by the normal equations,
z ^ = [ θ ^ x ^ 0 ] = ( M D T M D ) − 1 M D T y D . (16) \hat{\mathbf{z}}=
\begin{bmatrix}
\hat{\boldsymbol{\theta}}\\
\hat{\mathbf{x}}_0
\end{bmatrix}
=(\mathbf{M}_D^T\mathbf{M}_D)^{-1}\mathbf{M}_D^T\mathbf{y}_D. \tag*{(16)} z ^ = [ θ ^ x ^ 0 ] = ( M D T M D ) − 1 M D T y D . (16)
The block structure of M \mathbf{M} M allows x 0 \mathbf{x}_0 x 0 to be eliminated explicitly. For fixed θ \boldsymbol{\theta} θ the minimizer over x 0 \mathbf{x}_0 x 0 is x 0 = x ˉ − J ˉ θ \mathbf{x}_0=\bar{\mathbf{x}}-\bar{\mathbf{J}}\boldsymbol{\theta} x 0 = x ˉ − J ˉ θ , with the time averages x ˉ = 1 m ∑ j x ~ j \bar{\mathbf{x}}=\frac{1}{m}\sum_j\tilde{\mathbf{x}}_j x ˉ = m 1 ∑ j x ~ j and J ˉ = 1 m ∑ j J j \bar{\mathbf{J}}=\frac{1}{m}\sum_j\mathbf{J}_j J ˉ = m 1 ∑ j J j . Inserting this gives a p × p p\times p p × p system in centered quantities,
θ ^ = ( ∑ j = 0 m − 1 ( J j − J ˉ ) T S ( J j − J ˉ ) ) − 1 ∑ j = 0 m − 1 ( J j − J ˉ ) T S ( x ~ j − x ˉ ) , x ^ 0 = x ˉ − J ˉ θ ^ , (17) \hat{\boldsymbol{\theta}}=\left(\sum_{j=0}^{m-1}(\mathbf{J}_j-\bar{\mathbf{J}})^T\mathbf{S}(\mathbf{J}_j-\bar{\mathbf{J}})\right)^{-1}\sum_{j=0}^{m-1}(\mathbf{J}_j-\bar{\mathbf{J}})^T\mathbf{S}(\tilde{\mathbf{x}}_j-\bar{\mathbf{x}}),\qquad\hat{\mathbf{x}}_0=\bar{\mathbf{x}}-\bar{\mathbf{J}}\hat{\boldsymbol{\theta}}, \tag*{(17)} θ ^ = ( j = 0 ∑ m − 1 ( J j − J ˉ ) T S ( J j − J ˉ ) ) − 1 j = 0 ∑ m − 1 ( J j − J ˉ ) T S ( x ~ j − x ˉ ) , x ^ 0 = x ˉ − J ˉ θ ^ , (17)
with S = D n 2 \mathbf{S}=\mathbf{D}_n^2 S = D n 2 . In this form PIWR regresses the deviations of the states from their mean on the deviations of the integrated library from its mean. The intercept x 0 \mathbf{x}_0 x 0 only absorbs the offset. The matrix in (17) is the Schur complement of the x 0 \mathbf{x}_0 x 0 -block of M D T M D \mathbf{M}_D^T\mathbf{M}_D M D T M D , and it is nonsingular exactly when the parameters are identifiable from the sampled trajectory. The covariance used for the conformal shape (§ 4 ) is the θ \boldsymbol{\theta} θ -block of σ ˉ 2 ( M D T M D ) − 1 \bar{\sigma}^2(\mathbf{M}_D^T\mathbf{M}_D)^{-1} σ ˉ 2 ( M D T M D ) − 1 .
Σ θ = σ ˉ 2 ( ∑ j = 0 m − 1 ( J j − J ˉ ) T S ( J j − J ˉ ) ) − 1 , σ ˉ 2 = ∥ y D − M D z ^ ∥ 2 2 n m − p − n . (18) \boldsymbol{\Sigma}_{\theta}=\bar{\sigma}^{2}\left(\sum_{j=0}^{m-1}(\mathbf{J}_{j}-\bar{\mathbf{J}})^T\mathbf{S}(\mathbf{J}_{j}-\bar{\mathbf{J}})\right)^{-1},\qquad\bar{\sigma}^{2}=\frac{\lVert\mathbf{y}_D-\mathbf{M}_D\hat{\mathbf{z}}\rVert_2^2}{nm-p-n}. \tag*{(18)} Σ θ = σ ˉ 2 ( j = 0 ∑ m − 1 ( J j − J ˉ ) T S ( J j − J ˉ ) ) − 1 , σ ˉ 2 = nm − p − n ∥ y D − M D z ^ ∥ 2 2 . (18)
In implementation, we do not form the normal equations (16), whose condition number is the square of that of M D \mathbf{M}_D M D . Instead, the columns are first scaled to unit norm, C = diag ( 1 / ∥ ( M D ) : , k ∥ 2 ) \mathbf{C}=\operatorname{diag}(1/\lVert(\mathbf{M}_D)_{:,k}\rVert_2) C = diag ( 1/ ∥( M D ) : , k ∥ 2 ) , which leaves the minimizer unchanged. Then (15) is solved by an orthogonal factorization: with M D C = Q R \mathbf{M}_D\mathbf{C}=\mathbf{Q}\mathbf{R} M D C = QR , z ^ = C R − 1 Q T y D \hat{\mathbf{z}}=\mathbf{C}\mathbf{R}^{-1}\mathbf{Q}^T\mathbf{y}_D z ^ = C R − 1 Q T y D (in Python we can use the SVD-based numpy.linalg.lstsq, which also handles rank deficiency). The same procedure, with M \mathbf{M} M and y \mathbf{y} y replaced by A \mathbf{A} A and b \mathbf{b} b of (8) and no intercept, solves the strong-form problem of PIR.
Properties. Compared with PIR, PIWR (i) uses all samples, including the end points; (ii) averages the noise in the integrals instead of amplifying it in a difference quotient; and (iii) needs to resolve only the area under a sharp outbreak, not its slope. Its error still depends on how well the sampled library resolves the dynamics. It also inherits an errors-in-variables bias, because the library is evaluated at noisy states.
From coefficients to parameters
Both estimators return θ ^ \hat{\boldsymbol{\theta}} θ ^ and the ordinary least-squares covariance Σ θ = σ ˉ 2 ( A T A ) − 1 \boldsymbol{\Sigma}_{\theta}=\bar{\sigma}^{2}(\mathbf{A}^{T}\mathbf{A})^{-1} Σ θ = σ ˉ 2 ( A T A ) − 1 , σ ˉ 2 = ∥ r ∥ 2 / ( # rows − # unknowns ) \bar{\sigma}^{2}=\lVert\mathbf{r}\rVert^{2}/(\#\text{rows}-\#\text{unknowns}) σ ˉ 2 = ∥ r ∥ 2 / ( # rows − # unknowns ) , with r \mathbf{r} r the residual (for PIWR, the θ \boldsymbol{\theta} θ -block of the covariance of ( θ , x 0 ) (\boldsymbol{\theta},\mathbf{x}_0) ( θ , x 0 ) ). The physical parameters are ω ^ = h ( θ ^ ) \hat{\boldsymbol{\omega}}=h(\hat{\boldsymbol{\theta}}) ω ^ = h ( θ ^ ) . Their uncertainty follows from the delta method , i.e. first-order error propagation through the map h h h . A first-order Taylor expansion about θ ^ \hat{\boldsymbol{\theta}} θ ^ gives h ( θ ) ≈ h ( θ ^ ) + J h ( θ − θ ^ ) h(\boldsymbol{\theta})\approx h(\hat{\boldsymbol{\theta}})+\mathbf{J}_h(\boldsymbol{\theta}-\hat{\boldsymbol{\theta}}) h ( θ ) ≈ h ( θ ^ ) + J h ( θ − θ ^ ) , so that the covariance of ω ^ \hat{\boldsymbol{\omega}} ω ^ is approximately J h Σ θ J h T \mathbf{J}_h\boldsymbol{\Sigma}_{\theta}\mathbf{J}_h^T J h Σ θ J h T . Here J h ∈ R k × p \mathbf{J}_h\in\mathbb{R}^{k\times p} J h ∈ R k × p is the Jacobian matrix of h h h at the estimate, with entries ( J h ) i j = ∂ h i / ∂ ϑ j (J_h)_{ij}=\partial h_i/\partial\vartheta_j ( J h ) ij = ∂ h i / ∂ ϑ j , the sensitivity of parameter ω i \omega_i ω i to coefficient ϑ j \vartheta_j ϑ j ; it is computed by central differences, and it is the identity when θ = ω \boldsymbol{\theta}=\boldsymbol{\omega} θ = ω . The standard error of ω ^ j \hat{\omega}_j ω ^ j is
σ ^ j 2 = [ J h Σ θ J h T ] j j , ( J h ) i j = ∂ h i ∂ ϑ j ∣ θ = θ ^ . (19) \hat{\sigma}_j^2=\left[\mathbf{J}_h\boldsymbol{\Sigma}_{\theta}\mathbf{J}_h^T\right]_{jj},\qquad(J_h)_{ij}=\left.\frac{\partial h_i}{\partial\vartheta_j}\right|_{\boldsymbol{\theta}=\hat{\boldsymbol{\theta}}}. \tag*{(19)} σ ^ j 2 = [ J h Σ θ J h T ] j j , ( J h ) ij = ∂ ϑ j ∂ h i θ = θ ^ . (19)
The σ ^ j \hat{\sigma}_j σ ^ j treat the residual as white noise. They ignore the smooth truncation bias of the derivative or quadrature and the correlation of the residuals, and are therefore not trustworthy as uncertainties. They are, however, a good shape since they encode how well each parameter is determined relative to the others. The conformal layer of the next section turns them into intervals with guaranteed coverage.
Conformal prediction with physics-based models
A calibration population from the model
Split conformal prediction ([16 , 18 , 19 ] ) requires calibration examples with known truth that are exchangeable with the test case. In standard regression these are held-out data points. A model coefficient has no such examples: each data set has exactly one true parameter vector, and calibrating ∣ ω ^ j − ω j ∣ |\hat{\omega}_j-\omega_j| ∣ ω ^ j − ω j ∣ requires a population of data sets with different known parameters. For a physics-based model this population is cheap to generate, and generating it is the central idea of our extension. Let D \mathcal{D} D be a prior box for the parameters. For i = 1 , … , n i=1,\ldots,n i = 1 , … , n :
draw ω ( i ) ∼ U ( D ) \boldsymbol{\omega}^{(i)}\sim U(\mathcal{D}) ω ( i ) ∼ U ( D ) ;
simulate the model from the same initial condition on the same time grid as the data;
add noise with the same noise model as the data;
run the fixed estimator (PIR or PIWR, with the same settings) to obtain ω ^ ( i ) \hat{\boldsymbol{\omega}}^{(i)} ω ^ ( i ) and σ ^ ( i ) \hat{\boldsymbol{\sigma}}^{(i)} σ ^ ( i ) .
The estimator is never refitted. All of its tuning (finite-difference order, row scaling, reference residual) is done on separate tuning draws, so that the calibration scores stay exchangeable with the score of a new problem from the same population.
Figure 1. Conformalized physics-informed regression. The same fixed estimator (PIR or PIWR) is applied to the data and to a population of simulated epidemics with known parameters; the calibration scores of the population set the scale q ^ \hat{q} q ^ of the simultaneous intervals.
Simultaneous intervals
To obtain intervals that hold for all k k k parameters at once, we use the maximum normalized error as the nonconformity score,
s ( i ) = max j = 1 , … , k ∣ ω j ( i ) − ω ^ j ( i ) ∣ σ ^ j ( i ) h ( i ) , (20) s^{(i)} = \max_{j=1,\ldots,k} \frac{\left|\omega_j^{(i)}-\hat{\omega}_j^{(i)}\right|}{\hat{\sigma}_j^{(i)}h^{(i)}}, \tag*{(20)} s ( i ) = j = 1 , … , k max σ ^ j ( i ) h ( i ) ω j ( i ) − ω ^ j ( i ) , (20)
with h ( i ) = 1 h^{(i)}=1 h ( i ) = 1 for the plain layer. With q ^ \hat{q} q ^ the ⌈ ( n + 1 ) ( 1 − α ) ⌉ \lceil(n+1)(1-\alpha)\rceil ⌈( n + 1 ) ( 1 − α )⌉ -th smallest score, the intervals for a new data set are
C j = [ ω ^ j − q ^ σ ^ j h , ω ^ j + q ^ σ ^ j h ] , j = 1 , … , k , (21) C_j=\left[\hat{\omega}_j-\hat{q}\hat{\sigma}_jh,\hat{\omega}_j+\hat{q}\hat{\sigma}_jh\right],\qquad j=1,\ldots,k, \tag*{(21)} C j = [ ω ^ j − q ^ σ ^ j h , ω ^ j + q ^ σ ^ j h ] , j = 1 , … , k , (21)
and, if the new problem is exchangeable with the calibration problems,
P ( ω j ∈ C j for all j = 1 , … , k ) ≥ 1 − α . (22) \mathbb{P}\left(\omega_j\in C_j\ \text{for all }j=1,\ldots,k\right)\ge1-\alpha. \tag*{(22)} P ( ω j ∈ C j for all j = 1 , … , k ) ≥ 1 − α . (22)
The guarantee holds for any n n n , any noise distribution and any bias of the estimator; a poor shape costs width but never coverage. Two properties are worth stating explicitly. First, the guarantee is marginal over the population : it holds on average over parameters drawn from D \mathcal{D} D , so a wide prior box yields intervals sized for the hardest epidemics in the box. Second, it is a statement about the estimator and the model: if the data were generated by a different model, the intervals carry no guarantee.
Residual-adaptive calibration and PIWR-RACC
The relative residual of the regression,
R = ∥ b − A θ ^ ∥ / ∥ b ∥ , (23) R=\lVert\mathbf{b}-A\hat{\boldsymbol{\theta}}\rVert/\lVert\mathbf{b}\rVert, \tag*{(23)} R = ∥ b − A θ ^ ∥ / ∥ b ∥ , (23)
measures how well the data satisfy the discretized equations. It grows when the sampling does not resolve the dynamics or the noise is large, and it is available without the true parameters. We therefore introduce the residual-adaptive factor
h = 1 + R / R ˉ , (24) h=1+R/\bar{R}, \tag*{(24)} h = 1 + R / R ˉ , (24)
with R ˉ \bar{R} R ˉ the median residual on 200 tuning draws, and use it in the score (20) and the intervals (21). Since h h h depends only on the data and the fixed estimator, (22) is unchanged. Problems that the residual flags as difficult receive wider intervals and easy ones narrower intervals, which moves the coverage from marginal towards conditional. Combined with PIWR we call the conformalized model PIWR-RACC. It is summarized in fig. 1.
Results
Setup
For each of the eleven DINN benchmarks we regenerate the data with the original initial conditions, time grids and parameter values (table 1, section A), and add noise per compartment c c c as x ~ c ( t i ) = x c ( t i ) + ϵ max x c ( t ) ∣ ξ i ∣ \tilde{x}_c(t_i)=x_c(t_i)+\epsilon_{\max}x_c(t)|\xi_i| x ~ c ( t i ) = x c ( t i ) + ϵ m a x x c ( t ) ∣ ξ i ∣ , ξ i ∼ N ( 0 , 1 ) \xi_i\sim\mathcal{N}(0,1) ξ i ∼ N ( 0 , 1 ) ([5 ] ), with ϵ = 0 \epsilon=0 ϵ = 0 (the setting of [4 ] ) and ϵ = 1 % \epsilon=1\% ϵ = 1% . We compare PIR-FD2, PIR-FD4, PIR-FD6 and PIWR, each with plain and residual-adaptive calibration. The prior box is ± 50 % \pm50\% ± 50% around the literature values (capped at 1 for probabilities, and [0, c] for the three parameters whose literature value is zero), which is much wider than the DINN search ranges. Every estimator is tuned on draws that are not used for calibration or testing: the row scaling on 100 draws, R ˉ \bar{R} R ˉ on 200 draws. The calibration uses n = 999 n=999 n = 999 problems and α = 0.1 \alpha=0.1 α = 0.1 . The coverage is measured on 2,000 independent test problems from the same population, and, for ϵ = 1 % \epsilon= 1\% ϵ = 1% , on 1,000 noise realizations at the literature values. Errors are reported in percent of the actual value, as the median over the estimated parameters of a model.
Table 2. COVID-19 (SIDR): estimates found by PIR-FD2, PIR-FD4, PIR-FD6 and PIWR with their % errors, and the PIWR-RACC 90 % simultaneous interval, without noise and with 1 % noise. The CPU time is the median of 30 repeated fits of one data set (section 5.9). DINN values and training time from Shaier et al. [4 ] (noise-free data only).
Figure 2. COVID-19 (SIDR). (a) Data with 1 % noise (markers) and the model integrated with the PIWR parameters (lines). (b) Calibration scores of PIWR with 1 % noise, plain and adaptive, with the quantiles q ^ \hat{q} q ^ (dashed). (c) Errors of the estimates with their 90 % simultaneous intervals (plain for PIR, PIWR-RACC for PIWR) for both noise levels, next to the DINN errors; symmetric logarithmic axis.
Worked example: COVID-19
Table 2 and fig. 2 follow the procedure of sections 3 and 4 for the SIDR model. Without noise, the error of PIR-FD2, 0.76–0.95 %, is the truncation error of the central difference at Δ t = 5.05 \Delta t = 5.05 Δ t = 5.05 days. It is comparable to the DINN errors (0.2–1.15 %). PIR-FD6 reduces it to 0.002–0.003 %, and PIWR to 0.0001 %, four orders of magnitude below DINN, from a least-squares solve of less than a millisecond (table 2). The PIWR-RACC intervals are correspondingly narrow (median half-width ± \pm ± 0.001 %) and contain the literature values. With 1 % noise the error of PIR-FD2 grows to 1.2–1.5 %, while PIR-FD6 and PIWR reach 0.12–0.49 %. The intervals of PIWR are about half as wide as those of PIR-FD6 (median ± \pm ± 2.1 % against ± \pm ± 4.5 %, and ± \pm ± 1.9 % with PIWR-RACC), because integration averages the noise instead of amplifying it. Figure 2(b) shows the calibration scores: dividing by h h h shifts the scores of the poorly resolved draws, and the adaptive quantile q ^ \hat{q} q ^ is about half the plain one indicating reduced uncertainty for the well-resolved estimates.
Accuracy against the sampling interval
Since the finite difference approximation of the rate of change term in (2) introduced approximations that depend on the time grid we investigate the effect on two Models. Figure 3 refines the time grid of the noise-free COVID-19 and Measles data. For COVID-19 the finite-difference estimators follow their design orders 2, 4 and 6 down to 10 − 8 10^{-8} 1 0 − 8 %. PIWR converges at fourth order but with a much smaller constant, i.e. at the DINN grid it is 30 times more accurate than PIR-FD6 and 10 4 10^4 1 0 4 times more accurate than PIR-FD2. PIR-FD6 overtakes it only on grids eight times finer. Measles is the extreme case: the outbreak is over within about 0.3 years, and at the DINN spacing Δ t = 0.2 \Delta t = 0.2 Δ t = 0.2 years no finite-difference estimator is better than 33 %.
Figure 3. Noise-free error against the sampling interval Δ t \Delta t Δ t on the same time horizon. Results of the COVID-19 case (left 3 sub-figures) with error of each parameter. Results of the Measles case with median error over its five parameters. The vertical line marks the DINN grid.
PIWR gives 9.4 % at the same spacing, because it needs to resolve only the area under the outbreak. It reaches 0.1 % when Δ t \Delta t Δ t is halved and 10 − 3 10^{-3} 1 0 − 3 % when it is halved twice. PIR-FD6 needs Δ t ≈ 0.025 \Delta t \approx0.025 Δ t ≈ 0.025 years for 10 − 3 10^{-3} 1 0 − 3 %.
Bechmarks across all eleven models
We compare the results of the physics-informed regression models in Table 3 and Figure 4 summarize the accuracy for all models. We find that PIWR is the most accurate estimator in 15 of the 22 model/noise settings, and PIR-FD6 in the remaining seven. Without noise, PIWR or PIR-FD6 improves on the reported DINN errors by one to four orders of magnitude for COVID-19, Ebola, Dengue, Pneumonia, Polio and Tuberculosis, is comparable for HIV and Zika, and less accurate for Smallpox (6.9 % against 5.1 %) and Measles (9.4 % against 3.4 %).
Table 3. Median % error at the literature values over the estimated parameters of each model. DINN: noise-free data, as reported by Shaier et al. [4 ] within prescribed search ranges. Bold: most accurate PIR/PIWR estimator per noise level.
Figure 4. Median % error at the literature values for all models, without noise (a) and with 1 % noise (b).
With 1 % noise the advantage of PIWR is largest where the finite differences amplify the noise of small compartments: Pneumonia (11 % against 13–57 %), Ebola (25 % against 37–40 %), Measles (28 % against 84–88 %) and HIV (22 % against 35–51 %).
Two benchmarks remain out of reach at their DINN sampling. Anthrax has outbreaks of a few days, sampled every 40 days, and all estimators have median errors of 7–85 %. For Zika, the row scaling selected on the tuning draws for PIWR is suboptimal for the literature case (6.3 % against 0.19 % for PIR-FD6 without noise).
The DINN errors are not directly comparable. Shaier et al. [4 ] restrict every parameter to a search range that is typically ± 1 \pm1 ± 1 –10 % around the literature value, which bounds their errors by construction. They also report estimates for parameters that do not occur in the equations (k k k , τ \tau τ , λ v \lambda_v λ v , m m m ) or that cannot be separated from others (μ T \mu_T μ T and N N N , c c c , θ 1 \theta_1 θ 1 , δ 1 \delta_1 δ 1 , δ 2 \delta_2 δ 2 , a a a ; table 1). PIR and PIWR search an unbounded parameter space, and the least-squares structure makes identifiability explicit as collinear columns of the library.
Uncertainty quantification
While the DINN benchmarks report point estimates without uncertainty estimates, we equip every estimate with simultaneous intervals from the conformal prediction framework of section 4, calibrated on a population of simulated epidemics. The uncertainty is modelled by simulation: each calibration epidemic draws its parameters from the ± 50 \pm50 ± 50 % box around the literature values, is sampled on the same time grid, receives the measurement noise of section 5.1, and is passed through the same estimator. The calibrated intervals therefore cover every error that this pipeline produces, from measurement noise as well as from the finite-difference truncation or the quadrature of the weak form, and a 90 % interval means that, for a new data set drawn from the same population, all parameters lie inside their intervals simultaneously with probability at least 90 %. This is a frequentist guarantee over epidemics and noise realizations, not a Bayesian posterior for one data set, and it assumes that the compartment model itself is correct. Simulating this population (1,199 tuning and calibration epidemics per model and noise level) is the dominant cost of the pipeline, seconds to minutes instead of the millisecond of a single fit (section 5.9), but it is what makes the intervals reliable. Their coverage is calibrated and can be checked on independent test problems instead of resting on asymptotic assumptions. Table 4 and Figure 5 report the half-widths of the 90 % simultaneous intervals at the literature values and the coverage on the test problems.
Table 4. Median half-width (in % of the actual value) of the 90 % simultaneous intervals at the literature values for PIR-FD6 (plain), PIWR (plain) and PIWR-RACC, the empirical PIWR-RACC coverage on 2,000 test problems, and the total time of the conformal pipeline per model. The pipeline covers four estimators, both noise levels, the tuning, 999 calibration and 2,000 test problems, and 1,000 noise realizations.
Figure 5. (a, b) Median half-width of the 90 % simultaneous intervals at the literature values for PIR-FD6 (plain), PIWR (plain) and PIWR-RACC. (c) Empirical coverage on 2,000 test problems for all models and noise levels, plain (filled) and adaptive (open); circles ϵ = 0 \epsilon= 0 ϵ = 0 , diamonds ϵ = 1 % \epsilon= 1\% ϵ = 1% . Target: 90 %.
Coverage. Over all 88 settings (11 models, 4 estimators, 2 noise levels) the empirical coverage is 87.6–92.0 % for the plain layer (mean 90.0 %) and 86.7–92.5 % for the adaptive layer (mean 89.9 %). This is the target within the fluctuation expected for a single calibration set of 999 problems.
Width follows accuracy. The intervals are narrow where the estimator is accurate: for example, with PIWR-RACC and without noise, COVID-19 ± \pm ± 0.001 %, Ebola ± \pm ± 0.01 %, Dengue ± \pm ± 0.09 %, Tuberculosis ± \pm ± 0.4 %. They are wide or vacuous where the data do not resolve the dynamics (Anthrax, HIV with noise). No information about the true parameters is needed to tell these cases apart.
PIWR narrows the intervals with noise. With 1 % noise the PIWR intervals are narrower than those of PIR-FD6 for nine of the eleven models, e.g. Dengue ± \pm ± 33 % against ± \pm ± 150 %, Smallpox ± \pm ± 54 % against ± \pm ± 147 %, Ebola ± \pm ± 46 % against ± \pm ± 91 %.
The adaptive factor helps where the population is heterogeneous. It narrows the intervals where the calibration box contains much harder epidemics than the literature case and the residual separates them, e.g. Polio with noise ± \pm ± 22 → \rightarrow → ± \pm ± 15 %, HIV without noise ± \pm ± 24 → \rightarrow → ± \pm ± 18 %, Zika ± \pm ± 34 → \rightarrow → ± \pm ± 27 %. It widens them slightly where the literature case is already typical (COVID-19 and Ebola without noise). The least-squares shape already scales with the absolute residual, so h h h is a second-order correction.
Coverage at the literature values. The guarantee is marginal over the prior box; the coverage of one fixed parameter vector over noise realizations is a conditional quantity that it does not control. For PIR-FD6 this coverage is 96–100 % for all models but one, because the literature case is easier than the average epidemic in the box. For PIWR it is 86–100 % and the PIWR intervals are tighter and, for COVID-19, Pneumonia, Dengue and Measles, the literature case is slightly harder than the average. Conditional guarantees would require a narrower, problem-specific calibration population, or localized conformal methods.
Further benchmarks: S3I3R and real influenza data
Two cases from outside the DINN set test the methods on a larger compartment model with a published PIR and PINN reference, and on real data with a published Bayesian reference. The models are given in section B.
S3I3R. The seven-compartment model of Nielsen et al. [5 ] splits the infected into three stages of increasing severity (section B.1). We use their parameters and initial state, daily samples over the first 28 days, and two settings: the published one, in which the recovery rates γ 1 \gamma_1 γ 1 , γ 2 \gamma_2 γ 2 , γ 3 \gamma_3 γ 3 are known and ( β , ϕ 1 , ϕ 2 , θ ) (\beta, \phi_1, \phi_2, \theta) ( β , ϕ 1 , ϕ 2 , θ ) are estimated, and the harder one with all seven rates unknown. Known terms of the model enter the regression as an offset, x ˙ = f 0 ( x , t ) + A ( x , t ) θ \dot{x} = f_0(x,t) + A(x,t)\theta x ˙ = f 0 ( x , t ) + A ( x , t ) θ , which is subtracted from the derivative estimates d i d_i d i in (8) (strong form) or, integrated, from x ~ j \tilde{x}_j x ~ j in (12) (weak form). All other settings are as in section 5.1. Table 5 shows the results.
Table 5. S3I3R model (Nielsen et al. [5 ] ): % errors of the estimates and PIWR-RACC 90% simultaneous intervals (ϵ = 1 % \epsilon= 1\% ϵ = 1% ). PIR and PINN: errors reported in Tables 1 and 4 of Nielsen et al. [5 ] for noise-free data with γ 1 , 2 , 3 \gamma_{1,2,3} γ 1 , 2 , 3 known.
The noise-free (ϵ = 0 \epsilon= 0 ϵ = 0 ) PIR-FD2 reproduces the published PIR errors to within a factor of 1.3–10 (0.06–0.22 % against 0.02–0.11 %. The published data were generated with a fixed-step Runge–Kutta method). PIR-FD6 and PIWR reduce the errors to 10 − 6 10^{-6} 1 0 − 6 –3 ⋅ 10 − 5 3\cdot10^{-5} 3 ⋅ 1 0 − 5 %. That is about three orders of magnitude below PIR-FD2 and five orders of magnitude below the PINN of Nielsen et al. [5 ] (0.25–9.5 %).
With 1 % noise and γ i \gamma_i γ i known it is found that PIWR has the smallest median error, 0.51 % against 0.79–1.0 % for PIR-FD2/4/6 (individual errors 0.07–0.77 %). The PIWR-RACC intervals are ± 0.7 \pm0.7 ± 0.7 –2.8 %, half as wide as those of PIR-FD6, at 91 % coverage.
With 1 % noise and all rates unknown, it is found that during the first four weeks where the epidemic is still growing, I 2 I_2 I 2 and I 3 I_3 I 3 are small and dominated by the noise. Hence, γ 2 \gamma_2 γ 2 and γ 3 \gamma_3 γ 3 are then practically not identifiable (PIWR errors 93 % and 27 %). The intervals show this rather than hide it, since they contain zero for γ 2 \gamma_2 γ 2 and γ 3 \gamma_3 γ 3 (± 141 \pm141 ± 141 % and ± 170 \pm170 ± 170 %). They stay at ± 1.6 \pm1.6 ± 1.6 % for β \beta β and ± 2.2 \pm2.2 ± 2.2 % for θ \theta θ , and the coverage is 89 %.
Influenza in a boarding school. In January 1978, 512 of the 763 boys of a British boarding school fell ill with influenza ([23 ] ). The data are the number of boys in bed on each of 14 days. They are a standard test case for Bayesian inference in compartment models, and we compare with the SIR fit of Grinsztajn et al. [11 ] in Stan: negative-binomial observations, weakly informative priors, S ( 0 ) = 762 S(0) = 762 S ( 0 ) = 762 , I ( 0 ) = 1 I(0) = 1 I ( 0 ) = 1 . Only I I I is observed. Eliminating S = N − I − R S = N - I - R S = N − I − R and R = γ ∫ 0 t I d s R = \gamma\int_0^t I\,\mathrm{d}s R = γ ∫ 0 t I d s gives
I ˙ = ( β − γ ) I − β N I 2 − β γ N I C ( t ) , C ( t ) = ∫ 0 t I d s , (25) \dot{I} = (\beta- \gamma)I - \frac{\beta}{N}I^2 - \frac{\beta\gamma}{N}IC(t), \qquad C(t) = \int_0^t I\,\mathrm{d}s, \tag*{(25)} I ˙ = ( β − γ ) I − N β I 2 − N β γ I C ( t ) , C ( t ) = ∫ 0 t I d s , (25)
which is linear in θ = ( β − γ , β / N , β γ / N ) \theta= (\beta- \gamma,\ \beta/N,\ \beta\gamma/N) θ = ( β − γ , β / N , β γ / N ) . C C C is computed from the data with the same cubic-spline quadrature as the weak form. Three coefficients carry two parameters. A free fit of θ \theta θ ignores the constraint θ 3 = θ 2 ( N θ 2 − θ 1 ) \theta_3 = \theta_2(N\theta_2 - \theta_1) θ 3 = θ 2 ( N θ 2 − θ 1 ) , which is costly with 15 noisy samples. We therefore also use PIWR-VP, which imposes the constraint by variable projection (VP) (Golub and Pereyra [25 ] ). The integrated (25) , I j = I 0 + β ( P 1 , j − γ P 2 , j ) − γ C j I_j = I_0 + \beta(P_{1,j} - \gamma P_{2,j}) - \gamma C_j I j = I 0 + β ( P 1 , j − γ P 2 , j ) − γ C j with P 1 = ∫ I ( N − I ) / N P_1 = \int I(N-I)/N P 1 = ∫ I ( N − I ) / N and P 2 = ∫ I C / N P_2 = \int IC/N P 2 = ∫ I C / N , is linear in ( β , I 0 ) (\beta,I_0) ( β , I 0 ) for fixed γ \gamma γ . So γ \gamma γ minimizes the profiled residual in one dimension, and ( β , I 0 ) (\beta,I_0) ( β , I 0 ) follow from a two-column least-squares solve. In short, VP keeps the cheap linear solve for the parameters that enter linearly and leaves only a one-dimensional search for the one that does not. The covariance is the Gauss–Newton covariance of ( β , γ , I 0 ) (\beta,\gamma,I_0) ( β , γ , I 0 ) , and R 0 = β / γ R_0 = \beta/\gamma R 0 = β / γ follows by the delta method (19).
The calibration population is the SIR model with negative-binomial counts with mean I I I and variance I + ϕ − 1 I 2 I+\phi^{-1}I^2 I + ϕ − 1 I 2 . ( β , γ , ϕ − 1 ) (\beta,\gamma,\phi^{-1}) ( β , γ , ϕ − 1 ) are drawn from a ± 50 % \pm50\% ± 50% box around the pilot PIWR-VP fit to the data, with ϕ − 1 = 0.040 \phi^{-1} = 0.040 ϕ − 1 = 0.040 from the moment estimate of the residuals. The intervals are simultaneous for ( β , γ , R 0 ) (\beta,\gamma,R_0) ( β , γ , R 0 ) at 95%, to match the reported credible intervals. The coverage is measured on five independent calibration/test splits. Table 6 and Figure 6 show the results. It is seen that imposing the coefficient constraint matters since with only 14 samples, fitting two parameters ( β , γ ) (\beta,\gamma) ( β , γ ) rather than three free coefficients makes the problem better conditioned. The three coefficients satisfy ϑ 3 = ϑ 2 ( N ϑ 2 − ϑ 1 ) \vartheta_3 = \vartheta_2(N\vartheta_2 - \vartheta_1) ϑ 3 = ϑ 2 ( N ϑ 2 − ϑ 1 ) (section B.2), which the finite-difference and free-coefficient PIWR estimates ignore. They are calibrated (95–96% coverage) but useless, since their intervals include negative rates. The median error on the test problems is 55% for PIR-FD2 and 33% for PIWR. PIWR-VP reduces it to 7.6%, and its intervals are 5–12 times narrower: β ∈ [ 1.15 , 2.47 ] \beta\in[1.15,2.47] β ∈ [ 1.15 , 2.47 ] , γ ∈ [ 0.39 , 0.52 ] \gamma\in[0.39,0.52] γ ∈ [ 0.39 , 0.52 ] and R 0 ∈ [ 2.97 , 4.96 ] R_0 \in[2.97,4.96] R 0 ∈ [ 2.97 , 4.96 ] for PIWR-VP-RACC, at 94.1% mean coverage (93.3–96.6% over the splits).
Table 6. Boarding-school influenza: estimates with 95 % simultaneous conformal intervals, mean coverage (range over five calibration/test splits), median % error on the test problems, and the time per fit, against the posterior mean and 95 % credible intervals of the Stan SIR model [11 ] .
Figure 6. Boarding-school influenza. (a) Number of boys in bed, the SIR trajectory with the PIWR-VP parameters, the envelope of the trajectories whose parameters lie in the PIWR-VP-RACC 95 % set, and the trajectory at the Stan posterior mean. (b–d) 95 % intervals for β \beta β , γ \gamma γ and R 0 \mathcal{R}_0 R 0 , where the dotted line is the Stan posterior mean. The finite-difference and free-coefficient PIWR intervals extend beyond the axes.
The PIWR-VP intervals contain the Stan posterior means of β \beta β and R 0 R_0 R 0 , and the γ \gamma γ interval overlaps the credible interval. The estimate γ = 0.46 \gamma= 0.46 γ = 0.46 lies below the posterior mean 0.54. An output-error least-squares fit of the simulated SIR trajectory to the counts gives γ = 0.44 \gamma= 0.44 γ = 0.44 as well, so the difference comes from the weighting of the observations (negative-binomial likelihood and priors in Stan, least squares here), not from the weak form. The credible intervals are narrower, most of all for β \beta β , but they are conditional on the model, the prior and the likelihood, and they are marginal for each parameter. The conformal intervals are simultaneous, and their coverage is guaranteed over the calibration population rather than conditional on the data.
The cost remains small. A PIWR-VP fit takes 5 ms, and the complete conformal pipeline, including five calibration/test splits for five estimators, takes 110 s.
Prior knowledge in the conformal calibration
A parameter that is known from other sources is moved from θ \boldsymbol{\theta} θ to the known terms f 0 f_0 f 0 of (4) . Conformal prediction treats everything that is not estimated as part of the calibration population. A known parameter can therefore be fixed at its nominal value in the calibration epidemics, or drawn from a range that reflects how well it is actually known. We show what this implies with a synthetic first and a real case.
Synthetic case: S3I3R. With all seven rates unknown and 1 % noise, γ 2 \gamma_2 γ 2 and γ 3 \gamma_3 γ 3 are practically not identifiable, and their uncertainty spills into ϕ 1 \phi_1 ϕ 1 and $\phi_2 (see {xref}Table 5). We fix the recovery rates $\gamma_1$, $\gamma_2$, $\gamma_3$ at their nominal values in the estimator, as in {citet}Nielsen et al. [5 ] , and calibrate with each $\gamma_i$ drawn uniformly within $0$, $\pm 5$ % or $\pm 20$ % of its nominal value. The coverage is measured on test epidemics with the nominal $\gamma_i$ and with $\gamma_i$ within $\pm 20$ % ({xref}Table 7`).
Prior knowledge narrows the intervals of the parameters it decouples. With the recovery rates known exactly, the intervals of ϕ 1 \phi_1 ϕ 1 and ϕ 2 \phi_2 ϕ 2 shrink from ± 34 \pm34 ± 34 % and ± 33 \pm33 ± 33 % to ± 1.6 \pm1.6 ± 1.6 %, a factor of twenty, and that of β \beta β from ± 1.8 \pm1.8 ± 1.8 % to ± 0.7 \pm0.7 ± 0.7 %.
The precision of the prior knowledge matters. Known only to ± 5 \pm5 ± 5 % or ± 20 \pm20 ± 20 %, the recovery rates still narrow the intervals of ϕ 1 \phi_1 ϕ 1 and ϕ 2 \phi_2 ϕ 2 (± 9 \pm9 ± 9 % and ± 19 \pm19 ± 19 %). For β \beta β and θ \theta θ , which the data determine well when all rates are estimated (± 1.8 \pm1.8 ± 1.8 % and ± 2.4 \pm2.4 ± 2.4 %), they instead widen them: to ± 4.1 \pm4.1 ± 4.1 % and ± 17 \pm17 ± 17 % at ± 5 \pm5 ± 5 %, and to ± 8 \pm8 ± 8 % and ± 33 \pm33 ± 33 % at ± 20 \pm20 ± 20 %. Fixing a parameter that is known less precisely than the data can determine it is worse than estimating it.
Uncertain inputs belong in the calibration population. Calibrated as exactly known, the intervals cover 90.9 % of the test epidemics with the nominal γ i \gamma_i γ i , but only 2.4 % when the γ i \gamma_i γ i deviate by up to ± 20 \pm20 ± 20 %: they are narrow intervals around biased estimates. A calibration with ± 5 \pm5 ± 5 % gives 59 % of the test epidemics (74 % with PIWR-RACC), and one with ± 20 \pm20 ± 20 % gives 89.9 %, the target. When the γ i \gamma_i γ i are in fact nominal, the wider calibrations are conservative (100 %). The calibration range must cover the true uncertainty of the prior knowledge; nothing else in the method changes.
Real case: boarding school. Suppose the recovery rate is known from clinical experience, γ = 0.5 \gamma= 0.5 γ = 0.5 per day, an infectious period of about two days. With γ \gamma γ fixed, (25) is linear in ( β , I 0 ) (\beta, I_0) ( β , I 0 ) alone, and PIWR reduces to a two-column least-squares solve. The estimator uses γ = 0.5 \gamma= 0.5 γ = 0.5 , and the calibration epidemics use either γ = 0.5 \gamma= 0.5 γ = 0.5 (known exactly) or γ \gamma γ drawn uniformly from [ 0.4 , 0.6 ] [0.4, 0.6] [ 0.4 , 0.6 ] (known approximately); all other settings are as in § 5.6 (Table 8 ).
Table 8: Boarding-school influenza with prior knowledge of the recovery rate: estimates and 95% simultaneous conformal intervals for β \beta β and R 0 R_{0} R 0 , and mean coverage (range over five calibration/test splits) on test epidemics with γ = 0.5 \gamma= 0.5 γ = 0.5 and with γ ∈ [ 0.4 , 0.6 ] \gamma\in[0.4, 0.6] γ ∈ [ 0.4 , 0.6 ] . First row: γ \gamma γ estimated (Table 6 ); its calibration range of γ \gamma γ is shown, and its coverage is measured on its own calibration population.
Table 8.
Table 7: S3I3R with the recovery rates γ 1 , γ 2 , γ 3 \gamma_{1},\gamma_{2},\gamma_{3} γ 1 , γ 2 , γ 3 fixed at their nominal values in the estimator (PIWR, 1% noise): median half-width (in % of the actual value) of the 90% simultaneous intervals at the literature values for different calibrations of γ i \gamma_{i} γ i , and mean coverage (range over five calibration/test splits) on test epidemics with the nominal γ i \gamma_{i} γ i and with γ i \gamma_{i} γ i within ± 20 % \pm20\% ± 20% . First row: all seven rates estimated (Table 5 ), coverage on its own calibration population.
Table 7.
The same calibration rule holds. Calibrated as exactly known, the intervals cover 94.8% of the test epidemics with γ = 0.5 \gamma= 0.5 γ = 0.5 , but only 90.5% when the true γ \gamma γ lies anywhere in [ 0.4 , 0.6 ] [0.4, 0.6] [ 0.4 , 0.6 ] ; drawing γ \gamma γ from this range in the calibration restores 95.2%.
The residual-adaptive factor detects a wrong assumption. A wrong γ \gamma γ increases the residual of the fit, and h h h widens exactly those intervals: with exact calibration, PIWR-RACC keeps 94.2% coverage on the mismatched test epidemics. For the real data h = 2.4 h = 2.4 h = 2.4 , the counts fit the model with γ = 0.5 \gamma= 0.5 γ = 0.5 less well than a typical calibration epidemic, and the PIWR-RACC intervals widen accordingly.
Prior knowledge narrows the intervals only if the estimator can use it. Here fixing γ \gamma γ widens the plain interval for β \beta β from [ 1.15 , 2.47 ] [1.15, 2.47] [ 1.15 , 2.47 ] to [ 1.24 , 3.27 ] [1.24, 3.27] [ 1.24 , 3.27 ] . In the integral form, the noise of the counts enters the regressors C = ∫ I C = \int I C = ∫ I , I 2 I^{2} I 2 and I C IC I C . With γ \gamma γ free, part of this correlated error is absorbed by γ \gamma γ . With γ \gamma γ fixed, it is carried by β \beta β alone. In simulations with the true γ \gamma γ , the standard deviation of β ^ \hat{\beta} β ^ is 0.41 with γ \gamma γ fixed against 0.18 with γ \gamma γ estimated. The conformal intervals report this rather than crediting the prior with a precision that the estimator does not deliver.
Adding the daily number of convalescent boys, which the data set also records, as a second observed state does not help either. In simulations with a convalescent stage it leaves the scatter of the estimates unchanged, and the real convalescent counts are zero for the first four days, which an exponentially distributed stay in bed cannot produce. A model with a delayed (multi-stage) bed period would be required.
Time-varying transmission: comparison with PINNs
The DINN benchmarks have constant parameters. In a real outbreak the transmission rate changes with interventions, behaviour and new variants, and estimating β ( t ) \beta(t) β ( t ) , or the effective reproduction number R t = β ( t ) S ( t ) / ( δ N ) \mathcal{R}_{t} = \beta(t)S(t)/(\delta N) R t = β ( t ) S ( t ) / ( δ N ) , from surveillance counts is the central inverse problem of epidemic monitoring. Millevoi et al. [24 ] provide a clean benchmark for this problem with a physics-informed neural network (PINN) baseline. Their model is the SIR model (57) with N = 56 ⋅ 10 6 N = 56 \cdot10^{6} N = 56 ⋅ 1 0 6 , a known removal rate δ = 1 / 5 d − 1 \delta= 1/5\,\mathrm{d}^{-1} δ = 1/5 d − 1 and I ( 0 ) = 1 I(0) = 1 I ( 0 ) = 1 , and only the number of infected is observed, once per day. Case 1 has a constant β = 0.6 d − 1 \beta= 0.6\,\mathrm{d}^{-1} β = 0.6 d − 1 , Case 2 a synthetic β ( t ) \beta(t) β ( t ) that produces two waves, and Case 3 the β ( t ) \beta(t) β ( t ) implied by the R t \mathcal{R}_{t} R t estimates of the first COVID-19 wave in Italy, all over 90 days with Poisson counts. Case 4 extends Case 2 to 120 days with Gaussian errors of 40 % coefficient of variation, rounded and clipped at zero. The errors are relative 2-norms at 90 equispaced times, for β \beta β or R t R_t R t also over the last 70 (Case 4: 100) days, since the first weeks, with a handful of infected, do not identify β \beta β . The case is relevant for three reasons: the parameter is a function of time, only one of the three states is observed, and the PINN results come with training times. The reference β ( t ) \beta(t) β ( t ) of Cases 2–4 is given only as a figure. This figure was digitized from Figs. 5, 7 and 8 of Millevoi et al. [24 ] and adjusted it so that the simulated I ( t ) I(t) I ( t ) reproduces the published curves (Case 2: peaks of 1.19 ⋅ 10 5 1.19 \cdot10^{5} 1.19 ⋅ 1 0 5 on day 40 and 1.18 ⋅ 10 5 1.18 \cdot10^{5} 1.18 ⋅ 1 0 5 on day 85; Case 3: a peak of 1.0 ⋅ 10 6 1.0 \cdot10^{6} 1.0 ⋅ 1 0 6 on day 47).
From constant to time-varying coefficients. Three steps put the problem in the form (2) . First, with δ \delta δ known and only I I I observed, R ( t ) = δ C ( t ) R(t)=\delta C(t) R ( t ) = δ C ( t ) with C ( t ) = ∫ 0 t I d s C(t)=\int_{0}^{t} I\,\mathrm{d}s C ( t ) = ∫ 0 t I d s , and S = N − I − δ C S=N-I-\delta C S = N − I − δ C follows from the data by the cubic-spline quadrature of section 3.2, as for the boarding school (section 5.6). Second, the transmission rate is expanded in K K K cubic B-splines on equispaced knots, β ( t ) = ∑ k = 1 K b k φ k ( t ) \beta(t)=\sum_{k=1}^{K}b_k\varphi_k(t) β ( t ) = ∑ k = 1 K b k φ k ( t ) , with K = 24 K=24 K = 24 for 90 days, K = 30 K=30 K = 30 for 120 days and K = 1 K=1 K = 1 for Case 1. The infected compartment then obeys
I ˙ + δ I = ∑ k = 1 K b k φ k ( t ) S I N , (26) \dot{I}+\delta I=\sum_{k=1}^{K}b_k\varphi_k(t)\frac{SI}{N}, \tag*{(26)} I ˙ + δ I = k = 1 ∑ K b k φ k ( t ) N S I , (26)
which is linear in the coefficients b \mathbf{b} b . PIR evaluates (26) at the interior sampling times with the finite-difference derivative (9) . PIWR integrates it from 0 to t j t_j t j ,
I ~ j + δ C j = I 0 + ∑ k = 1 K b k ∫ 0 t j φ k S I N d s , (27) \widetilde{I}_j+\delta C_j=I_0+\sum_{k=1}^{K}b_k\int_{0}^{t_j}\varphi_k\frac{SI}{N}\,\mathrm{d}s, \tag*{(27)} I j + δ C j = I 0 + k = 1 ∑ K b k ∫ 0 t j φ k N S I d s , (27)
with the unknown I 0 I_0 I 0 as in (14) . Third, K K K coefficients are not determined by noisy counts without some smoothing, so we add the second-difference penalty λ ∥ D 2 b ∥ 2 2 \lambda\lVert D^2\mathbf{b}\rVert_2^2 λ ∥ D 2 b ∥ 2 2 (a P-spline; Eilers and Marx [26 ] ) with λ \lambda λ chosen by generalized cross-validation, and weight each row by 1 / max ( I ~ j , 1 ) 1/\sqrt{\max(\widetilde{I}_j,1)} 1/ max ( I j , 1 ) , the standard deviation of a Poisson count. The estimate remains a single linear least-squares solve. Its covariance Σ b \Sigma_b Σ b follows from the sandwich formula of the penalized estimator, and the pointwise standard error is σ ^ ( t ) = ( φ ( t ) ⊤ Σ b φ ( t ) ) 1 / 2 \hat{\sigma}(t)=(\varphi(t)^\top\Sigma_b\varphi(t))^{1/2} σ ^ ( t ) = ( φ ( t ) ⊤ Σ b φ ( t ) ) 1/2 , with φ = ( φ 1 , … , φ K ) \varphi=(\varphi_1,\ldots,\varphi_K) φ = ( φ 1 , … , φ K ) ; for R t R_t R t it is scaled by S ^ / ( δ N ) \widehat{S}/(\delta N) S / ( δ N ) .
Conformal bands. The simultaneous score (20) becomes a maximum over time, s = max t i ≥ 20 ∣ β ^ ( t i ) − β ( t i ) ∣ / ( h σ ^ ( t i ) ) s=\max_{t_i\geq20}\lvert\widehat{\beta}(t_i)-\beta(t_i)\rvert/(h\widehat{\sigma}(t_i)) s = max t i ≥ 20 ∣ β ( t i ) − β ( t i )∣ / ( h σ ( t i )) , over the 90 evaluation times after day 20, with the residual-adaptive factor h h h of (24) . Its calibrated quantile q ^ \hat{q} q ^ gives the 90 % simultaneous band β ^ ( t ) ± q ^ h σ ^ ( t ) \widehat{\beta}(t)\pm\hat{q}h\widehat{\sigma}(t) β ( t ) ± q ^ h σ ( t ) . The calibration population is the curve family of each case with every shape parameter (initial level, onset and width of the decline, final level, and the amplitude, timing and width of the second wave) drawn uniformly within ± 30 % \pm30\% ± 30% ; as before, 200 tuning, 999 calibration and 2,000 test problems are simulated with the noise model of the case.
Results. Table 9 compares the errors with the PINN results of Millevoi et al. [24 ] (mean of 10 training runs; ours are medians over 100 noise realizations). In Cases 1–3 PIR and PIWR are more accurate than both PINN variants for every quantity, mostly by one to two orders of magnitude (the one exception is the truncation-limited PIR-FD6 estimate of the constant β \beta β ), in milliseconds instead of 12–37 minutes of training. The constant β \beta β of Case 1 is recovered to 6 ⋅ 10 − 5 6\cdot10^{-5} 6 ⋅ 1 0 − 5 (PIR-FD6) and 1 ⋅ 10 − 4 1\cdot10^{-4} 1 ⋅ 1 0 − 4 (PIWR), against 3.6 ⋅ 10 − 4 3.6\cdot10^{-4} 3.6 ⋅ 1 0 − 4 for the better PINN. For the time-varying cases the full-period error, 0.27–0.70 for the PINNs because they fail in the first weeks, drops to 0.02–0.07, and after day 20 PIWR reaches 5.0 ⋅ 10 − 3 5.0\cdot10^{-3} 5.0 ⋅ 1 0 − 3 for β ( t ) \beta(t) β ( t ) and 2.7 ⋅ 10 − 3 2.7\cdot10^{-3} 2.7 ⋅ 1 0 − 3 for R t R_t R t , against 1.6 ⋅ 10 − 2 1.6\cdot10^{-2} 1.6 ⋅ 1 0 − 2 and 6.7 ⋅ 10 − 2 6.7\cdot10^{-2} 6.7 ⋅ 1 0 − 2 for the better PINN. PIWR is the most accurate estimator after day 20 in Cases 2 and 3, and it fits the infected curve to 2 ⋅ 10 − 3 2\cdot10^{-3} 2 ⋅ 1 0 − 3 and 5 ⋅ 10 − 4 5\cdot10^{-4} 5 ⋅ 1 0 − 4 . In Case 4 the 40 % errors dominate. PIR-FD6 is the most accurate there, with R t R_t R t errors of 0.17 over the whole period and 0.18 after day 20, against 0.47–0.50 and 0.31–0.33 for the PINNs. PIWR is comparable with the PINN (0.34 and 0.39). In the weak form each equation contains one raw sample with its 40 % error, while the finite-difference rows, together with the smoothness penalty, average over neighbouring days.
Figure 7 shows one noise realization of Cases 2 and 3 with the conformal bands. On the test populations the bands cover 89.2–91.9 % of the curves for both estimators, and they contain the published curves in all of 200 noise realizations, since the population includes sharper transitions than the reference curves. The median half-width on the reference curves is 5.3 % (Case 2) and 3.0 % (Case 3) for PIWR-RACC and 7.1 % and 7.2 % for PIR-FD6-RACC. The residual-adaptive factor is essential in Case 3: problems whose decline the splines resolve poorly dominate the plain quantile (q ^ = 191 \hat{q}=191 q ^ = 191 for PIWR), and dividing their scores by h h h lowers it to 18, narrowing the bands from 28 % to 3.0 %. In Case 4 the bands are calibrated (88.2–89.8 %) but uninformative, with half-widths of 1.7 (PIR-FD6) and 4.6 (PIWR) in units of R t \mathcal{R}_t R t : with 40% errors on every count, a simultaneous band over 100 days cannot be narrow, and the wide bands correctly reflect that the data do not determine R t \mathcal{R}_t R t more precisely. Calibration takes 14–27 s per case and estimator. The PINN bands of Millevoi et al. [24 ] are one standard deviation over training runs, which measures the variability of the optimization on one data set, not the uncertainty due to the data.
Figure 7. Time-varying transmission, Cases 2 and 3 of Millevoi et al. [24 ] , one noise realization. (a, b) Poisson counts of the infected, exact solution and PIWR fit. (c, d) Reference β ( t ) \beta(t) β ( t ) and R t \mathcal{R}_t R t , the PIR-FD6 and PIWR estimates, and their 90% simultaneous RACC bands after day 20.
Computational cost
A single PIR fit takes 0.14–0.5 ms and a PIWR fit 0.5–1.6 ms. The complete conformal pipeline of a model, including tuning, calibration and testing for all four estimators and both noise levels, takes 19–108 s (Table 4 ). This is dominated by simulating the roughly 3 ⋅ 10 4 3 \cdot10^{4} 3 ⋅ 1 0 4 calibration and test epidemics, and it parallelizes trivially. The DINN training times reported by Shaier et al. [4 ] range from 20 minutes (COVID-19) to 91 hours (Anthrax) on a 2.3 GHz Intel Xeon CPU, without uncertainty quantification. The hardware differs, so the comparison is indicative, but the gap of three to five orders of magnitude is not a matter of hardware.
Limitations
Sampling. PIR and PIWR require that the sampled states resolve the dynamics (Anthrax), and that the library terms carrying a parameter are not swamped by the noise of the largest compartment. The latter limits, for example, the hospital and funeral transmission rates in Ebola.
Errors in variables. Both PIR and PIWR evaluate the library at the noisy samples. Nonlinear library terms are then biased (e.g. the expected value of I ~ 2 \tilde{I}^{2} I ~ 2 is I ~ 2 + σ 2 \tilde{I}^{2}+\sigma^{2} I ~ 2 + σ 2 ), and noise in the regressors shrinks the least-squares coefficients. The weak form averages out the random part of this error but not the bias. The effect is small at 1% noise but dominates for sparse, noisy counts (section 5.7). The conformal calibration includes it, so coverage is retained at the price of wider intervals. We find that smoothing the samples before evaluating the library, or bias-corrected or total least squares, could reduce it.
Table 9. Time-varying transmission ([24 ] ): relative 2-norm errors at 90 equispaced times and CPU time per fit for the joint and split PINNs ([24 Tables 2–4] ) and for PIR-FD2, PIR-FD6 and PIWR with a B-spline expansion of β ( t ) \beta(t) β ( t ) (medians over 100 noise realizations). † ^{\dagger} † PIR uses the data for I I I ; S S S and R R R follow from their integral. The reference curves of Cases 2–4 are digitized (see text); the hardware differs.
Constraints between coefficients. When θ = g ( ω ) \theta= g(\omega) θ = g ( ω ) has more entries than ω \omega ω , a free fit ignores the constraint. With few, noisy data this can cost an order of magnitude in accuracy (boarding school, section 5.6). Variable projection restores it when the nonlinearity sits in one or two parameters. For sparse count data, a likelihood-based fit is still more efficient than least squares.
Scope of the guarantee. The guarantee is marginal over the calibration population and assumes the model is correct. A misspecified model, or a test case far from the prior box, is not covered.
Conclusions
For epidemic compartment models whose right-hand side is linear in coefficients that are parameters or products of parameters, we conclude that parameter estimation does not require training a neural network. Physics-informed regression solves it with one least-squares problem, and its weak form, PIWR, removes the dependence on derivative estimates and is fourth-order accurate with cubic-spline quadrature. On the eleven DINN benchmarks Shaier et al. [4 ] , PIWR or PIR-FD6 improves on the reported DINN errors by up to four orders of magnitude wherever the sampling resolves the dynamics, at a cost of milliseconds instead of hours. Together with the calibrated intervals on real data from the 1978 boarding-school outbreak, where imposing the coefficient constraint by variable projection (PIWR-VP) was essential with only 15 samples, this suggests that PIWR is well suited for practical applications whenever the data resolve the epidemic dynamics. However, this does not make other estimation methods obsolete, and therefore comparing with alternative approaches, such as likelihood-based or Bayesian inference, remains valuable as part of a validation procedure.
The physics-informed regression framework is not restricted to constant parameters. Expanding a time-varying transmission rate in B-splines keeps the model linear in the coefficients, and a smoothness penalty turns the estimate into one penalized least-squares solve. On the benchmark of Millevoi et al. [24 ] , PIR and PIWR are more accurate than PINNs in three of four cases and at least comparable in the noisiest one, in milliseconds instead of tens of minutes (section 5.8). The conformal layer extends directly to simultaneous bands for β ( t ) \beta(t) β ( t ) and R t \mathcal{R}_t R t , and with 40% errors on every count these bands become wide, correctly reflecting that the data do not determine R t \mathcal{R}_t R t more precisely. A physics-based model can generate its own calibration population, which makes split conformal prediction applicable to model parameters. The resulting simultaneous intervals keep their 90 % coverage in all 88 tested settings of the DINN benchmarks, and in the S3I3R and real-data cases, are narrow where the estimate is accurate, and widen where the data do not support the estimate, without access to the true parameters. The residual-adaptive factor (PIWR-RACC) adapts the width to the difficulty of the individual data set at no cost in coverage (in the time-varying Case 3 it narrows the bands by a factor of nine). Prior knowledge enters the same way, where a parameter known only approximately must be drawn from its uncertainty range in the calibration population, otherwise the intervals lose their coverage, and fixing a parameter narrows the intervals only of the parameters it decouples.
Acknowledgment
This work was performed at Department of Applied Mathematics and Computer Science, Technical University of Denmark.
Declaration
The author declare that he had no potential conflicts of interest with respect to the investigation, authorship, and/or publication of this article.
During the preparation of this work, generative AI tools were used in order to review python code (fx. bug finding), setup scripts for systematic numerical experiments, and improve language clarity. The author take full responsibility for the scientific content of the published article. The original ideas of this work was the outcome of authors human thoughts and creativity.
Code and hardware environment
The code that reproduces every figure and table in section 5 will be available after peer review of the work. The timings reported in section 5 were measured on a MacBook Pro (Nov 2024, Apple M4 Max, 16 cores, 48 GB RAM). The implementation uses Python with NumPy, SciPy and Matplotlib. The ODEs are integrated with LSODA (scipy.integrate.odeint), the weak-form integrals use scipy.interpolate.CubicSpline, and all estimates are dense least-squares solves (numpy.linalg.lstsq) in double precision. No deep-learning framework, automatic differentiation or GPU is required.
Data
The benchmark data are regenerated from the generator notebooks of Shaier et al. [4 ] (https://github.com/Shaier/DINN ) with the same initial conditions, time grids and parameters, and agree with the published data files to about 10 − 8 10^{-8} 1 0 − 8 relative difference, except for the Anthrax file (see section A.8). The S3I3R data are generated with the parameters of Nielsen et al. [5 ] (section B.1). The boarding-school data are influenza_england_1978_school from the R package outbreaks (https://github.com/reconhub/outbreaks ). The time-varying cases of § 5.8 are generated with the setup of Millevoi et al. [24 ] ; their reference transmission curves, which are published only as figures, are digitized from Figure 5 , Figure 7 and 8 of that paper.
The eleven DINN epidemic models
All data are generated as in the DINN generator notebooks (Shaier et al., [4 ] ), (initial conditions, time grids and parameter values), but integrated with LSODA (Petzold, [27 ] ) at relative and absolute tolerances of 10 − 10 10^{-10} 1 0 − 10 . Where the generator code differs from the equations printed in Shaier et al. [4 ] , the generator is used, since it produced the benchmark data; the differences are noted below. Every model is stated in the framework of § 2 : the state x \mathbf{x} x , the equations x ˙ = f ( x , t ; ω ) \dot{\mathbf{x}} = f(\mathbf{x},t;\boldsymbol{\omega}) x ˙ = f ( x , t ; ω ) , the physical parameters ω ∈ R k \boldsymbol{\omega} \in\mathbb{R}^{k} ω ∈ R k with the values ω ∗ \boldsymbol{\omega}^{*} ω ∗ used to generate the data, the coefficient vector θ = g ( ω ) ∈ R p \boldsymbol{\theta} = g(\boldsymbol{\omega}) \in\mathbb{R}^{p} θ = g ( ω ) ∈ R p in which the equations are linear, the left inverse ω = h ( θ ) \boldsymbol{\omega} = h(\boldsymbol{\theta}) ω = h ( θ ) , the known constants, and the initial condition x ( t 0 ) = x 0 \mathbf{x}(t_{0}) = \mathbf{x}_{0} x ( t 0 ) = x 0 with t 0 = 0 t_{0} = 0 t 0 = 0 . The library A ( x , t ) \mathbf{A}(\mathbf{x},t) A ( x , t ) of (2) follows by collecting, in each equation, the factor that multiplies each entry of θ \boldsymbol{\theta} θ . To avoid a clash with model parameters that are named θ \theta θ or θ 1 \theta_{1} θ 1 in the original references, we write ϑ c \vartheta_{c} ϑ c for the c c c -th entry of θ \boldsymbol{\theta} θ . When p > k p > k p > k , the coefficients satisfy p − k p-k p − k constraints, which are listed but not imposed. The parameter tables report PIWR with the PIWR-RACC intervals (90 %, simultaneous over all parameters of a model) for noise-free data and for ϵ = 1 \epsilon= 1 ϵ = 1 %, next to the DINN estimates. A dagger († \dagger † ) marks an absolute error for parameters whose actual value is zero.
COVID-19: SIDR model
State x = ( S , I , D , R ) \mathbf{x} = (S, I, D, R) x = ( S , I , D , R ) (susceptible, infected, dead, recovered), n = 4 n = 4 n = 4 , with known population N = 59 ⋅ 10 6 N = 59 \cdot10^{6} N = 59 ⋅ 1 0 6 :
S ˙ = − α S I N , I ˙ = α S I N − ( β + γ ) I , D ˙ = γ I , R ˙ = β I . (28) \begin{aligned}
\dot{S} &= -\alpha\frac{SI}{N},\\
\dot{I} &= \alpha\frac{SI}{N} - (\beta+ \gamma)I,\\
\dot{D} &= \gamma I,\\
\dot{R} &= \beta I. \tag*{(28)}
\end{aligned} S ˙ I ˙ D ˙ R ˙ = − α N S I , = α N S I − ( β + γ ) I , = γ I , = β I . (28)
Parameters, coefficients and initial condition:
ω = ( α , β , γ ) ∈ R 3 , ω ⋆ = ( 0.191 , 0.05 , 0.0294 ) , θ = g ( ω ) = ( α , β , γ ) ∈ R 3 , ω = h ( θ ) = ( ϑ 1 , ϑ 2 , ϑ 3 ) , x 0 = ( N − 1 , 1 , 0 , 0 ) . (29) \begin{aligned}
\omega&= (\alpha,\beta,\gamma) \in\mathbb{R}^{3},\\
\omega^{\star} &= (0.191, 0.05, 0.0294),\\
\theta&= g(\omega) = (\alpha,\beta,\gamma) \in\mathbb{R}^{3},\\
\omega&= h(\theta) = (\vartheta_{1},\vartheta_{2},\vartheta_{3}),\\
\mathbf{x}_{0} &= (N-1,1,0,0). \tag*{(29)}
\end{aligned} ω ω ⋆ θ ω x 0 = ( α , β , γ ) ∈ R 3 , = ( 0.191 , 0.05 , 0.0294 ) , = g ( ω ) = ( α , β , γ ) ∈ R 3 , = h ( θ ) = ( ϑ 1 , ϑ 2 , ϑ 3 ) , = ( N − 1 , 1 , 0 , 0 ) . (29)
The library is given in matrix form in (5) . Data: m = 100 m = 100 m = 100 samples on [ 0 , 500 ] [0,500] [ 0 , 500 ] days.
Table 10. COVID-19 (SIDR): PIWR estimates and PIWR-RACC 90 % simultaneous intervals, and the DINN values are from Shaier et al. [4 ] .
HIV
State x = ( T , I , V ) \mathbf{x} = (T, I, V) x = ( T , I , V ) (healthy CD4+ T cells, infected cells, virus), n = 3 n = 3 n = 3 , with known natural death rate μ T = 0.02 \mu_{T} = 0.02 μ T = 0.02 and burst factor N = 250 N = 250 N = 250 :
T ˙ = s − μ T T + r T ( 1 − T + I T max − k 1 ′ V T ) , I ˙ = k 1 ′ V T − μ I I , V ˙ = N μ b I − k 1 V T − μ V V . (30) \begin{aligned}
\dot{T} &= s - \mu_{T}T + rT\left(1-\frac{T+I}{T_{\max}}-k_{1}'VT\right),\\
\dot{I} &= k_{1}'VT-\mu_{I}I,\\
\dot{V} &= N\mu_{b}I-k_{1}VT-\mu_{V}V. \tag*{(30)}
\end{aligned} T ˙ I ˙ V ˙ = s − μ T T + r T ( 1 − T m a x T + I − k 1 ′ V T ) , = k 1 ′ V T − μ I I , = N μ b I − k 1 V T − μ V V . (30)
Parameters, coefficients and initial condition:
ω = ( s , μ I , μ b , μ V , r , T max , k 1 , k 1 ′ ) ∈ R 8 , ω ⋆ = ( 10 , 0.26 , 0.24 , 2.4 , 0.03 , 1500 , 2.4 ⋅ 10 − 4 , 2 ⋅ 10 − 4 ) , θ = g ( ω ) = ( s , r − μ T , r / T max , r k 1 , k 1 ′ , μ I , N μ b , k 1 , μ V ) ∈ R 9 , ω = h ( θ ) = ( ϑ 1 , ϑ 6 , ϑ 7 / N , ϑ 9 , ϑ 2 + μ T , ( ϑ 2 + μ T ) / ϑ 3 , ϑ 8 , ϑ 5 ) , x 0 = ( 1000 , 10 , 0.01 ) . (31) \begin{aligned}
\omega&= (s,\mu_{I},\mu_{b},\mu_{V},r,T_{\max},k_{1},k_{1}') \in\mathbb{R}^{8},\\
\omega^{\star} &= (10,0.26,0.24,2.4,0.03,1500,2.4\cdot10^{-4},2\cdot10^{-4}),\\
\theta&= g(\omega) = (s,r-\mu_{T},r/T_{\max},rk_{1},k_{1}',\mu_{I},N\mu_{b},k_{1},\mu_{V}) \in\mathbb{R}^{9},\\
\omega&= h(\theta) = (\vartheta_{1},\vartheta_{6},\vartheta_{7}/N,\vartheta_{9},\vartheta_{2}+\mu_{T},(\vartheta_{2}+\mu_{T})/\vartheta_{3},\vartheta_{8},\vartheta_{5}),\\
\mathbf{x}_{0} &= (1000,10,0.01). \tag*{(31)}
\end{aligned} ω ω ⋆ θ ω x 0 = ( s , μ I , μ b , μ V , r , T m a x , k 1 , k 1 ′ ) ∈ R 8 , = ( 10 , 0.26 , 0.24 , 2.4 , 0.03 , 1500 , 2.4 ⋅ 1 0 − 4 , 2 ⋅ 1 0 − 4 ) , = g ( ω ) = ( s , r − μ T , r / T m a x , r k 1 , k 1 ′ , μ I , N μ b , k 1 , μ V ) ∈ R 9 , = h ( θ ) = ( ϑ 1 , ϑ 6 , ϑ 7 / N , ϑ 9 , ϑ 2 + μ T , ( ϑ 2 + μ T ) / ϑ 3 , ϑ 8 , ϑ 5 ) , = ( 1000 , 10 , 0.01 ) . (31)
The one constraint is ϑ 4 = ( ϑ 2 + μ T ) ϑ 8 \vartheta_{4} = (\vartheta_{2}+\mu_{T})\vartheta_{8} ϑ 4 = ( ϑ 2 + μ T ) ϑ 8 . μ T \mu_{T} μ T enters only through r − μ T r-\mu_{T} r − μ T and N N N only through N μ b N\mu_{b} N μ b , so both are fixed. The generator places k 1 V T k_{1}VT k 1 V T inside the bracket of the T ˙ \dot{T} T ˙ equation, unlike the printed equation of Shaier et al. [4 ] , and uses k 1 = 2.4 ⋅ 10 − 4 k_{1} = 2.4 \cdot10^{-4} k 1 = 2.4 ⋅ 1 0 − 4 , k 1 ′ = 2 ⋅ 10 − 4 k_{1}' = 2 \cdot10^{-4} k 1 ′ = 2 ⋅ 1 0 − 4 . Data: m = 50 m = 50 m = 50 samples on [ 0 , 20 ] [0,20] [ 0 , 20 ] days.
Table 11. HIV: PIWR estimates and PIWR-RACC 90 % simultaneous intervals, and the DINN values are from Shaier et al. [4 ] .
Smallpox
State x = ( S , E n , E i , C i , I , Q , U , V ) \mathbf{x}=(S,E_n,E_i,C_i,I,Q,U,V) x = ( S , E n , E i , C i , I , Q , U , V ) , n = 8 n=8 n = 8 , with known population N = 7000 N=7000 N = 7000 and the auxiliary quantities
φ = I / S , \varphi= I/S, φ = I / S ,
β = 10 γ / ( φ N ) . (32) \beta= 10\gamma/(\varphi N). \tag*{(32)} β = 10 γ / ( φN ) . (32)
The equations are
S ˙ = χ 1 ( 1 − ϵ 1 ) C i − β ( φ + ρ − φ ρ ) S I , E ˙ n = β φ ( 1 − ρ ) S I − α E n , E ˙ i = β φ ρ S I − ( χ 1 ϵ 2 + α ( 1 − ϵ 2 ) ) E i , C ˙ i = β ρ ( 1 − φ ) S I − χ 1 C i , I ˙ = α ( 1 − θ ) E n − ( θ + γ ) I , Q ˙ = α ( 1 − ϵ 2 ) E i + θ ( α E n + I ) − χ 2 Q , U ˙ = γ I + χ 2 Q , V ˙ = χ 1 ( ϵ 2 E i + ϵ 1 C i ) . (33) \begin{aligned}
\dot{S} &= \chi_1(1-\epsilon_1)C_i-\beta(\varphi+\rho-\varphi\rho)SI,\\
\dot{E}_n &= \beta\varphi(1-\rho)SI-\alpha E_n,\\
\dot{E}_i &= \beta\varphi\rho SI-\left(\chi_1\epsilon_2+\alpha(1-\epsilon_2)\right)E_i,\\
\dot{C}_i &= \beta\rho(1-\varphi)SI-\chi_1 C_i,\\
\dot{I} &= \alpha(1-\theta)E_n-(\theta+\gamma)I,\\
\dot{Q} &= \alpha(1-\epsilon_2)E_i+\theta(\alpha E_n+I)-\chi_2 Q,\\
\dot{U} &= \gamma I+\chi_2 Q,\\
\dot{V} &= \chi_1(\epsilon_2 E_i+\epsilon_1 C_i). \tag*{(33)}
\end{aligned} S ˙ E ˙ n E ˙ i C ˙ i I ˙ Q ˙ U ˙ V ˙ = χ 1 ( 1 − ϵ 1 ) C i − β ( φ + ρ − φρ ) S I , = β φ ( 1 − ρ ) S I − α E n , = β φρS I − ( χ 1 ϵ 2 + α ( 1 − ϵ 2 ) ) E i , = β ρ ( 1 − φ ) S I − χ 1 C i , = α ( 1 − θ ) E n − ( θ + γ ) I , = α ( 1 − ϵ 2 ) E i + θ ( α E n + I ) − χ 2 Q , = γ I + χ 2 Q , = χ 1 ( ϵ 2 E i + ϵ 1 C i ) . (33)
With (32), β φ S I = 10 γ S I / N \beta\varphi SI=10\gamma SI/N β φS I = 10 γ S I / N and β S I = 10 γ S 2 / N \beta SI=10\gamma S^2/N β S I = 10 γ S 2 / N , so the equations are linear in
ω = ( χ 1 , χ 2 , ϵ 1 , ϵ 2 , ρ , θ , α , γ ) ∈ R 8 , ω ⋆ = ( 0.06 , 0.04 , 0.975 , 0.3 , 0.975 , 0.95 , 0.0685 , 0.116 ) , ϑ = g ( ω ) = ( χ 1 , χ 1 ϵ 1 , γ , γ ρ , α , χ 1 ϵ 2 , α ϵ 2 , θ , α θ , χ 2 ) ∈ R 10 , ω = h ( ϑ ) = ( ϑ 1 , ϑ 10 , ϑ 2 / ϑ 1 , ϑ 6 / ϑ 1 , ϑ 4 / ϑ 3 , ϑ 8 , ϑ 5 , ϑ 3 ) , x 0 = ( 7000 , 0 , 0 , 0 , 100 , 0 , 0 , 0 ) . (34) \begin{aligned}
\boldsymbol{\omega} &= (\chi_1,\chi_2,\epsilon_1,\epsilon_2,\rho,\theta,\alpha,\gamma)\in\mathbb{R}^{8},\\
\boldsymbol{\omega}^{\star} &= (0.06,\ 0.04,\ 0.975,\ 0.3,\ 0.975,\ 0.95,\ 0.0685,\ 0.116),\\
\boldsymbol{\vartheta}=g(\boldsymbol{\omega}) &= (\chi_1,\ \chi_1\epsilon_1,\ \gamma,\ \gamma\rho,\ \alpha,\ \chi_1\epsilon_2,\ \alpha\epsilon_2,\ \theta,\ \alpha\theta,\ \chi_2)\in\mathbb{R}^{10},\\
\boldsymbol{\omega}=h(\boldsymbol{\vartheta}) &= (\vartheta_1,\ \vartheta_{10},\ \vartheta_2/\vartheta_1,\ \vartheta_6/\vartheta_1,\ \vartheta_4/\vartheta_3,\ \vartheta_8,\ \vartheta_5,\ \vartheta_3),\\
\mathbf{x}_0 &= (7000,\ 0,\ 0,\ 0,\ 100,\ 0,\ 0,\ 0). \tag*{(34)}
\end{aligned} ω ω ⋆ ϑ = g ( ω ) ω = h ( ϑ ) x 0 = ( χ 1 , χ 2 , ϵ 1 , ϵ 2 , ρ , θ , α , γ ) ∈ R 8 , = ( 0.06 , 0.04 , 0.975 , 0.3 , 0.975 , 0.95 , 0.0685 , 0.116 ) , = ( χ 1 , χ 1 ϵ 1 , γ , γ ρ , α , χ 1 ϵ 2 , α ϵ 2 , θ , α θ , χ 2 ) ∈ R 10 , = ( ϑ 1 , ϑ 10 , ϑ 2 / ϑ 1 , ϑ 6 / ϑ 1 , ϑ 4 / ϑ 3 , ϑ 8 , ϑ 5 , ϑ 3 ) , = ( 7000 , 0 , 0 , 0 , 100 , 0 , 0 , 0 ) . (34)
The two constraints are ϑ 7 = ϑ 5 ϑ 6 / ϑ 1 \vartheta_7=\vartheta_5\vartheta_6/\vartheta_1 ϑ 7 = ϑ 5 ϑ 6 / ϑ 1 and ϑ 9 = ϑ 5 ϑ 8 \vartheta_9=\vartheta_5\vartheta_8 ϑ 9 = ϑ 5 ϑ 8 . All eight parameters are identifiable. The generator uses α = 0.0685 \alpha=0.0685 α = 0.0685 and γ = 0.116 \gamma=0.116 γ = 0.116 (paper: 0.068 and 0.11). Data: m = 50 m=50 m = 50 samples on [0, 100] days.
Table 12. Smallpox: PIWR estimates and PIWR-RACC 90 % simultaneous intervals, and the DINN values are from Shaier et al. [4 ] .
Tuberculosis: SLIT model
State x = ( S , L , I , T ) \mathbf{x}=(S,L,I,T) x = ( S , L , I , T ) (susceptible, latent, infectious, treated), n = 4 n=4 n = 4 , with known population N = 1001 N=1001 N = 1001 and contact rate c = 1 c=1 c = 1 :
S ˙ = δ − β c S I N − μ S , L ˙ = β c S I N − ( μ + k + r 1 ) L + β ′ c T N , I ˙ = k L − ( μ + d ) I − r 2 I , T ˙ = r 1 L + r 2 I − β ′ c T N − μ T . (35) \begin{aligned}
\dot{S} &= \delta-\beta c\frac{SI}{N}-\mu S,\\
\dot{L} &= \beta c\frac{SI}{N}-(\mu+k+r_1)L+\beta'c\frac{T}{N},\\
\dot{I} &= kL-(\mu+d)I-r_2I,\\
\dot{T} &= r_1L+r_2I-\beta'c\frac{T}{N}-\mu T. \tag*{(35)}
\end{aligned} S ˙ L ˙ I ˙ T ˙ = δ − β c N S I − μ S , = β c N S I − ( μ + k + r 1 ) L + β ′ c N T , = k L − ( μ + d ) I − r 2 I , = r 1 L + r 2 I − β ′ c N T − μ T . (35)
Parameters, coefficients and initial condition:
ω = ( δ , β , μ , k , r 1 , r 2 , β ′ , d ) ∈ R 8 , ω ⋆ = ( 500 , 13 , 0.143 , 0.5 , 2 , 1 , 13 , 0 ) , θ = g ( ω ) = ( δ , β , μ , k , r 1 , r 2 , β ′ , d ) ∈ R 8 , ω = h ( θ ) = ( ϑ 1 , … , ϑ 8 ) , x 0 = ( 1000 , 0 , 1 , 0 ) . (36) \begin{aligned}
\omega&= (\delta,\beta,\mu,k,r_1,r_2,\beta',d)\in\mathbb{R}^8,\\
\omega^\star&= (500,13,0.143,0.5,2,1,13,0),\\
\theta&= g(\omega)=(\delta,\beta,\mu,k,r_1,r_2,\beta',d)\in\mathbb{R}^8,\\
\omega&= h(\theta)=(\vartheta_1,\ldots,\vartheta_8),\\
\mathbf{x}_0 &= (1000,0,1,0). \tag*{(36)}
\end{aligned} ω ω ⋆ θ ω x 0 = ( δ , β , μ , k , r 1 , r 2 , β ′ , d ) ∈ R 8 , = ( 500 , 13 , 0.143 , 0.5 , 2 , 1 , 13 , 0 ) , = g ( ω ) = ( δ , β , μ , k , r 1 , r 2 , β ′ , d ) ∈ R 8 , = h ( θ ) = ( ϑ 1 , … , ϑ 8 ) , = ( 1000 , 0 , 1 , 0 ) . (36)
The contact rate enters only through β c \beta c β c and β ′ c \beta'c β ′ c and is therefore fixed. The actual value d = 0 d=0 d = 0 is reported with an absolute error, and its prior is U [ 0 , 0.2 ] U[0,0.2] U [ 0 , 0.2 ] . Data: m = 50 m=50 m = 50 samples on [ 0 , 40 ] [0,40] [ 0 , 40 ] days.
Table 13. Tuberculosis (SLIT): PIWR estimates and PIWR-RACC 90 % simultaneous intervals, and the DINN values are from Shaier et al. [4 ] .
Pneumonia: SVCIR model
State x = ( S , V , C , I , R ) \mathbf{x}=(S,V,C,I,R) x = ( S , V , C , I , R ) (susceptible, vaccinated, carrier, infected, recovered), n = 5 n=5 n = 5 :
S ˙ = ( 1 − p ) π + ϕ V + δ R − ( μ + λ + θ ) S , V ˙ = p π + θ S − ( μ + ϵ λ + ϕ ) V , C ˙ = ρ λ S + ρ ϵ λ V + ( 1 − q ) η I − ( μ + β + χ ) C , I ˙ = ( 1 − ρ ) λ S + ( 1 − ρ ) ϵ λ V + χ C − ( μ + α + η ) I , R ˙ = β C + q η I − ( μ + δ ) R . (37) \begin{aligned}
\dot{S} &= (1-p)\pi+\phi V+\delta R-(\mu+\lambda+\theta)S,\\
\dot{V} &= p\pi+\theta S-(\mu+\epsilon\lambda+\phi)V,\\
\dot{C} &= \rho\lambda S+\rho\epsilon\lambda V+(1-q)\eta I-(\mu+\beta+\chi)C,\\
\dot{I} &= (1-\rho)\lambda S+(1-\rho)\epsilon\lambda V+\chi C-(\mu+\alpha+\eta)I,\\
\dot{R} &= \beta C+q\eta I-(\mu+\delta)R. \tag*{(37)}
\end{aligned} S ˙ V ˙ C ˙ I ˙ R ˙ = ( 1 − p ) π + ϕ V + δ R − ( μ + λ + θ ) S , = p π + θ S − ( μ + ϵ λ + ϕ ) V , = ρ λ S + ρ ϵ λV + ( 1 − q ) η I − ( μ + β + χ ) C , = ( 1 − ρ ) λ S + ( 1 − ρ ) ϵ λV + χ C − ( μ + α + η ) I , = β C + q η I − ( μ + δ ) R . (37)
Parameters, coefficients and initial condition:
ω = ( π , λ , ϵ , ϕ , χ , p , θ , μ , α , ρ , β , η , q , δ ) ∈ R 14 , ω ⋆ = ( 0.01 , 0.1 , 0.002 , 0.0025 , 0.001 , 0.2 , 0.008 , 0.01 , 0.057 , 0.05 , 0.0115 , 0.2 , 0.5 , 0.1 ) , θ = g ( ω ) = ( π , p π , ϕ , δ , μ , λ , θ , ϵ λ , ρ λ , ρ ϵ λ , χ , β , α , η , q η ) ∈ R 15 , ω = h ( θ ) = ( ϑ 1 , ϑ 6 , ϑ 8 / ϑ 6 , ϑ 3 , ϑ 11 , ϑ 2 / ϑ 1 , ϑ 7 , ϑ 5 , ϑ 13 , ϑ 9 / ϑ 6 , ϑ 12 , ϑ 14 , ϑ 15 / ϑ 14 , ϑ 4 ) , x 0 = ( 8200 , 2800 , 200 , 210 , 200 ) . (38) \begin{aligned}
\omega&= (\pi,\lambda,\epsilon,\phi,\chi,p,\theta,\mu,\alpha,\rho,\beta,\eta,q,\delta)\in\mathbb{R}^{14},\\
\omega^\star&= (0.01,0.1,0.002,0.0025,0.001,0.2,0.008,0.01,0.057,0.05,0.0115,0.2,0.5,0.1),\\
\theta&= g(\omega)=(\pi,p\pi,\phi,\delta,\mu,\lambda,\theta,\epsilon\lambda,\rho\lambda,\rho\epsilon\lambda,\chi,\beta,\alpha,\eta,q\eta)\in\mathbb{R}^{15},\\
\omega&= h(\theta)=(\vartheta_1,\vartheta_6,\vartheta_8/\vartheta_6,\vartheta_3,\vartheta_{11},\vartheta_2/\vartheta_1,\vartheta_7,\vartheta_5,\vartheta_{13},\vartheta_9/\vartheta_6,\vartheta_{12},\vartheta_{14},\vartheta_{15}/\vartheta_{14},\vartheta_4),\\
\mathbf{x}_0 &= (8200,2800,200,210,200). \tag*{(38)}
\end{aligned} ω ω ⋆ θ ω x 0 = ( π , λ , ϵ , ϕ , χ , p , θ , μ , α , ρ , β , η , q , δ ) ∈ R 14 , = ( 0.01 , 0.1 , 0.002 , 0.0025 , 0.001 , 0.2 , 0.008 , 0.01 , 0.057 , 0.05 , 0.0115 , 0.2 , 0.5 , 0.1 ) , = g ( ω ) = ( π , p π , ϕ , δ , μ , λ , θ , ϵ λ , ρ λ , ρ ϵ λ , χ , β , α , η , q η ) ∈ R 15 , = h ( θ ) = ( ϑ 1 , ϑ 6 , ϑ 8 / ϑ 6 , ϑ 3 , ϑ 11 , ϑ 2 / ϑ 1 , ϑ 7 , ϑ 5 , ϑ 13 , ϑ 9 / ϑ 6 , ϑ 12 , ϑ 14 , ϑ 15 / ϑ 14 , ϑ 4 ) , = ( 8200 , 2800 , 200 , 210 , 200 ) . (38)
The one constraint is ϑ 10 = ϑ 8 ϑ 9 / ϑ 6 \vartheta_{10}=\vartheta_8\vartheta_9/\vartheta_6 ϑ 10 = ϑ 8 ϑ 9 / ϑ 6 . The parameters k k k and τ \tau τ of the DINN table do not occur in the model. Data: m = 50 m=50 m = 50 samples on [ 0 , 100 ] [0,100] [ 0 , 100 ] days.
Table 14. Pneumonia (SVCIR): PIWR estimates and PIWR-RACC 90 % simultaneous intervals, and the DINN values are from Shaier et al. [4 ] .
Ebola: SEIHFR model
State x = ( S , E , I , H , F , R ) \mathbf{x} = (S, E, I, H, F, R) x = ( S , E , I , H , F , R ) (susceptible, exposed, infectious, hospitalized, dead but not yet buried, removed), n = 6 n = 6 n = 6 , with known population N = 470 000 N = 470\,000 N = 470 000 and known probabilities θ 1 = 0.65 \theta_1 = 0.65 θ 1 = 0.65 , δ 1 = 0.47 \delta_1 = 0.47 δ 1 = 0.47 , δ 2 = 0.42 \delta_2 = 0.42 δ 2 = 0.42 :
S ˙ = − 1 N ( β 1 S I + β h S H + β f S F ) , E ˙ = 1 N ( β 1 S I + β h S H + β f S F ) − α E , I ˙ = α E − ( γ h θ 1 + γ i ( 1 − θ 1 ) ( 1 − δ 1 ) + γ d ( 1 − θ 1 ) δ 1 ) I , H ˙ = γ h θ 1 I − ( γ d h δ 2 + γ i h ( 1 − δ 2 ) ) H , F ˙ = γ d ( 1 − θ 1 ) δ 1 I + γ d h δ 2 H − γ f F , R ˙ = γ i ( 1 − θ 1 ) ( 1 − δ 1 ) I + γ i h ( 1 − δ 2 ) H + γ f F . (39) \begin{aligned}
\dot{S} &= -\frac{1}{N}\left(\beta_1SI + \beta_hSH + \beta_fSF\right),\\
\dot{E} &= \frac{1}{N}\left(\beta_1SI + \beta_hSH + \beta_fSF\right) - \alpha E,\\
\dot{I} &= \alpha E - \left(\gamma_h\theta_1 + \gamma_i(1-\theta_1)(1-\delta_1) + \gamma_d(1-\theta_1)\delta_1\right)I,\\
\dot{H} &= \gamma_h\theta_1 I - \left(\gamma_{dh}\delta_2 + \gamma_{ih}(1-\delta_2)\right)H,\\
\dot{F} &= \gamma_d(1-\theta_1)\delta_1 I + \gamma_{dh}\delta_2H - \gamma_fF,\\
\dot{R} &= \gamma_i(1-\theta_1)(1-\delta_1)I + \gamma_{ih}(1-\delta_2)H + \gamma_fF. \tag*{(39)}
\end{aligned} S ˙ E ˙ I ˙ H ˙ F ˙ R ˙ = − N 1 ( β 1 S I + β h S H + β f S F ) , = N 1 ( β 1 S I + β h S H + β f S F ) − α E , = α E − ( γ h θ 1 + γ i ( 1 − θ 1 ) ( 1 − δ 1 ) + γ d ( 1 − θ 1 ) δ 1 ) I , = γ h θ 1 I − ( γ d h δ 2 + γ ih ( 1 − δ 2 ) ) H , = γ d ( 1 − θ 1 ) δ 1 I + γ d h δ 2 H − γ f F , = γ i ( 1 − θ 1 ) ( 1 − δ 1 ) I + γ ih ( 1 − δ 2 ) H + γ f F . (39)
Parameters, coefficients and initial condition:
ω = ( β 1 , β h , β f , α , γ h , γ i , γ d , γ f , γ i h , γ d h ) ∈ R 10 , ω ⋆ = ( 3.532 , 0.012 , 0.462 , 1 / 12 , 1 / 4.2 , 1 / 10 , 1 / 8 , 1 / 2 , 1 / 12.2 , 1 / 14.2 ) , θ = g ( ω ) = ( β 1 , β h , β f , α , γ h , γ i , γ d , γ f , γ i h , γ d h ) ∈ R 10 , ω = h ( θ ) = ( ϑ 1 , … , ϑ 10 ) , x 0 = ( N − 425 , 0 , 425 , 0 , 0 , 0 ) . (40) \begin{aligned}
\boldsymbol{\omega} &= (\beta_1, \beta_h, \beta_f, \alpha, \gamma_h, \gamma_i, \gamma_d, \gamma_f, \gamma_{ih}, \gamma_{dh}) \in\mathbb{R}^{10},\\
\boldsymbol{\omega}^{\star} &= (3.532, 0.012, 0.462, 1/12, 1/4.2, 1/10, 1/8, 1/2, 1/12.2, 1/14.2),\\
\boldsymbol{\theta} &= g(\boldsymbol{\omega}) = (\beta_1, \beta_h, \beta_f, \alpha, \gamma_h, \gamma_i, \gamma_d, \gamma_f, \gamma_{ih}, \gamma_{dh}) \in\mathbb{R}^{10},\\
\boldsymbol{\omega} &= h(\boldsymbol{\theta}) = (\vartheta_1, \ldots, \vartheta_{10}),\\
\mathbf{x}_0 &= (N - 425, 0, 425, 0, 0, 0). \tag*{(40)}
\end{aligned} ω ω ⋆ θ ω x 0 = ( β 1 , β h , β f , α , γ h , γ i , γ d , γ f , γ ih , γ d h ) ∈ R 10 , = ( 3.532 , 0.012 , 0.462 , 1/12 , 1/4.2 , 1/10 , 1/8 , 1/2 , 1/12.2 , 1/14.2 ) , = g ( ω ) = ( β 1 , β h , β f , α , γ h , γ i , γ d , γ f , γ ih , γ d h ) ∈ R 10 , = h ( θ ) = ( ϑ 1 , … , ϑ 10 ) , = ( N − 425 , 0 , 425 , 0 , 0 , 0 ) . (40)
The probabilities θ 1 \theta_1 θ 1 , δ 1 \delta_1 δ 1 , δ 2 \delta_2 δ 2 enter only as factors of the rates, so they are fixed. The values γ i h ⋆ = 1 / ( 1 / γ d ⋆ + 1 / γ h ⋆ ) \gamma_{ih}^{\star} = 1/(1/\gamma_d^{\star} + 1/\gamma_h^{\star}) γ ih ⋆ = 1/ ( 1/ γ d ⋆ + 1/ γ h ⋆ ) and γ d h ⋆ = 1 / ( 1 / γ i ⋆ + 1 / γ h ⋆ ) \gamma_{dh}^{\star} = 1/(1/\gamma_i^{\star} + 1/\gamma_h^{\star}) γ d h ⋆ = 1/ ( 1/ γ i ⋆ + 1/ γ h ⋆ ) follow the generator. Data: m = 100 m = 100 m = 100 samples on [ 0 , 100 ] [0, 100] [ 0 , 100 ] days.
Dengue: host–vector model
State x = ( S h , E h , I h , R h , S v , E v , I v ) \mathbf{x} = (S_h, E_h, I_h, R_h, S_v, E_v, I_v) x = ( S h , E h , I h , R h , S v , E v , I v ) (hosts h h h , vectors v v v ), n = 7 n = 7 n = 7 :
S ˙ h = π h − λ h S h − μ h S h , E ˙ h = λ h S h − σ h μ h E h , I ˙ h = σ h E h − ( τ h + μ h + δ h ) I h , R ˙ h = τ h I h − μ h R h , S ˙ v = π v − δ v S v − μ v S v , E ˙ v = δ v S v − ( σ v + μ v ) E v , I ˙ v = σ v E v − ( μ v + δ v ) I v . (41) \begin{aligned}
\dot{S}_h &= \pi_h - \lambda_hS_h - \mu_hS_h,\\
\dot{E}_h &= \lambda_hS_h - \sigma_h\mu_hE_h,\\
\dot{I}_h &= \sigma_hE_h - (\tau_h + \mu_h + \delta_h)I_h,\\
\dot{R}_h &= \tau_hI_h - \mu_hR_h,\\
\dot{S}_v &= \pi_v - \delta_vS_v - \mu_vS_v,\\
\dot{E}_v &= \delta_vS_v - (\sigma_v + \mu_v)E_v,\\
\dot{I}_v &= \sigma_vE_v - (\mu_v + \delta_v)I_v. \tag*{(41)}
\end{aligned} S ˙ h E ˙ h I ˙ h R ˙ h S ˙ v E ˙ v I ˙ v = π h − λ h S h − μ h S h , = λ h S h − σ h μ h E h , = σ h E h − ( τ h + μ h + δ h ) I h , = τ h I h − μ h R h , = π v − δ v S v − μ v S v , = δ v S v − ( σ v + μ v ) E v , = σ v E v − ( μ v + δ v ) I v . (41)
Table 15: Ebola (SEIHFR): PIWR estimates and PIWR-RACC 90 % simultaneous intervals, and the DINN values are from Shaier et al. [4 ] .
Table 15. Ebola (SEIHFR): PIWR estimates and PIWR-RACC 90 % simultaneous intervals, and the DINN values are from Shaier et al. [4 ] .
Parameters, coefficients and initial condition:
ω = ( π h , π v , λ h , δ h , δ v , μ h , μ v , σ h , σ v , τ h ) ∈ R 10 , ω ⋆ = ( 10 , 30 , 0.0553 , 0.99 , 0.057 , 0.0195 , 0.016 , 0.53 , 0.2 , 0.1 ) , θ = g ( ω ) = ( π h , λ h , μ h , σ h μ h , σ h , τ h , δ h , π v , δ v , μ v , σ v ) ∈ R 11 , ω = h ( θ ) = ( ϑ 1 , ϑ 8 , ϑ 2 , ϑ 7 , ϑ 9 , ϑ 3 , ϑ 10 , ϑ 5 , ϑ 11 , ϑ 6 ) , x 0 = ( 100 , 0 , 0 , 0 , 1 , 0 , 0 ) . (42) \begin{aligned}
\omega&= (\pi_h,\ \pi_v,\ \lambda_h,\ \delta_h,\ \delta_v,\ \mu_h,\ \mu_v,\ \sigma_h,\ \sigma_v,\ \tau_h) \in\mathbb{R}^{10},\\
\omega^\star&= (10,\ 30,\ 0.0553,\ 0.99,\ 0.057,\ 0.0195,\ 0.016,\ 0.53,\ 0.2,\ 0.1),\\
\theta&= g(\omega) = (\pi_h,\ \lambda_h,\ \mu_h,\ \sigma_h\mu_h,\ \sigma_h,\ \tau_h,\ \delta_h,\ \pi_v,\ \delta_v,\ \mu_v,\ \sigma_v) \in\mathbb{R}^{11},\\
\omega&= h(\theta) = (\vartheta_1,\ \vartheta_8,\ \vartheta_2,\ \vartheta_7,\ \vartheta_9,\ \vartheta_3,\ \vartheta_{10},\ \vartheta_5,\ \vartheta_{11},\ \vartheta_6),\\
x_0 &= (100,\ 0,\ 0,\ 0,\ 1,\ 0,\ 0). \tag*{(42)}
\end{aligned} ω ω ⋆ θ ω x 0 = ( π h , π v , λ h , δ h , δ v , μ h , μ v , σ h , σ v , τ h ) ∈ R 10 , = ( 10 , 30 , 0.0553 , 0.99 , 0.057 , 0.0195 , 0.016 , 0.53 , 0.2 , 0.1 ) , = g ( ω ) = ( π h , λ h , μ h , σ h μ h , σ h , τ h , δ h , π v , δ v , μ v , σ v ) ∈ R 11 , = h ( θ ) = ( ϑ 1 , ϑ 8 , ϑ 2 , ϑ 7 , ϑ 9 , ϑ 3 , ϑ 10 , ϑ 5 , ϑ 11 , ϑ 6 ) , = ( 100 , 0 , 0 , 0 , 1 , 0 , 0 ) . (42)
The one constraint is ϑ 4 = ϑ 3 ϑ 5 \vartheta_4 = \vartheta_3\vartheta_5 ϑ 4 = ϑ 3 ϑ 5 . The parameter λ v \lambda_v λ v of the DINN table does not occur in the model, and the generator uses λ h = 0.0553 \lambda_h = 0.0553 λ h = 0.0553 . Data: m = 50 m = 50 m = 50 samples on [ 0 , 200 ] [0, 200] [ 0 , 200 ] days.
Table 16: Dengue: PIWR estimates and PIWR-RACC 90 % simultaneous intervals, and the DINN values are from Shaier et al. [4 ] .
Table 16. Dengue: PIWR estimates and PIWR-RACC 90 % simultaneous intervals, and the DINN values are from Shaier et al. [4 ] .
Anthrax: SIAC model
State x = ( S , I , A , C ) \mathbf{x} = (S, I, A, C) x = ( S , I , A , C ) (susceptible and infected animals, spores in the environment, carcasses), n = 4 n = 4 n = 4 :
S ˙ = r ( S + I ) ( 1 − S + I K ) − η a A S − η c S C − η i S I S + I − μ S + τ I , I ˙ = η a A S + η c S C + ( η i S I S + I − ( γ + μ + τ ) ) I , A ˙ = − σ A + β C , C ˙ = ( γ + μ ) I − δ ( S + I ) C − κ C . (43) \begin{aligned}
\dot{S} &= r(S+I)\left(1-\frac{S+I}{K}\right)-\eta_a AS-\eta_c SC-\eta_i\frac{SI}{S+I}-\mu S+\tau I,\\
\dot{I} &= \eta_a AS+\eta_c SC+\left(\eta_i\frac{SI}{S+I}-(\gamma+\mu+\tau)\right)I,\\
\dot{A} &= -\sigma A+\beta C,\\
\dot{C} &= (\gamma+\mu)I-\delta(S+I)C-\kappa C. \tag*{(43)}
\end{aligned} S ˙ I ˙ A ˙ C ˙ = r ( S + I ) ( 1 − K S + I ) − η a A S − η c S C − η i S + I S I − μ S + τ I , = η a A S + η c S C + ( η i S + I S I − ( γ + μ + τ ) ) I , = − σ A + β C , = ( γ + μ ) I − δ ( S + I ) C − κ C . (43)
Parameters, coefficients and initial condition:
ω = ( r , μ , κ , η a , η c , η i , τ , γ , δ , K , β , σ ) ∈ R 12 , ω ⋆ = ( 1 / 300 , 1 / 600 , 1 / 10 , 1 / 2 , 1 / 10 , 1 / 100 , 1 / 10 , 1 / 7 , 1 / 20 , 100 , 1 / 500 , 1 / 10 ) , θ = g ( ω ) = ( r , r / K , μ , κ , η a , η c , η i , τ , γ , δ , β , σ ) ∈ R 12 , ω = h ( θ ) = ( ϑ 1 , ϑ 3 , ϑ 4 , ϑ 5 , ϑ 6 , ϑ 7 , ϑ 8 , ϑ 9 , ϑ 10 , ϑ 1 / ϑ 2 , ϑ 11 , ϑ 12 ) , x 0 = ( 20 , 3 , 0 , 0 ) . (44) \begin{aligned}
\boldsymbol{\omega} &= (r,\mu,\kappa,\eta_a,\eta_c,\eta_i,\tau,\gamma,\delta,K,\beta,\sigma) \in\mathbb{R}^{12},\\
\boldsymbol{\omega}^{\star} &= (1/300,1/600,1/10,1/2,1/10,1/100,1/10,1/7,1/20,100,1/500,1/10),\\
\boldsymbol{\theta} &= g(\boldsymbol{\omega}) = (r,r/K,\mu,\kappa,\eta_a,\eta_c,\eta_i,\tau,\gamma,\delta,\beta,\sigma) \in\mathbb{R}^{12},\\
\boldsymbol{\omega} &= h(\boldsymbol{\theta}) = (\vartheta_1,\vartheta_3,\vartheta_4,\vartheta_5,\vartheta_6,\vartheta_7,\vartheta_8,\vartheta_9,\vartheta_{10},\vartheta_1/\vartheta_2,\vartheta_{11},\vartheta_{12}),\\
\mathbf{x}_0 &= (20,3,0,0). \tag*{(44)}
\end{aligned} ω ω ⋆ θ ω x 0 = ( r , μ , κ , η a , η c , η i , τ , γ , δ , K , β , σ ) ∈ R 12 , = ( 1/300 , 1/600 , 1/10 , 1/2 , 1/10 , 1/100 , 1/10 , 1/7 , 1/20 , 100 , 1/500 , 1/10 ) , = g ( ω ) = ( r , r / K , μ , κ , η a , η c , η i , τ , γ , δ , β , σ ) ∈ R 12 , = h ( θ ) = ( ϑ 1 , ϑ 3 , ϑ 4 , ϑ 5 , ϑ 6 , ϑ 7 , ϑ 8 , ϑ 9 , ϑ 10 , ϑ 1 / ϑ 2 , ϑ 11 , ϑ 12 ) , = ( 20 , 3 , 0 , 0 ) . (44)
The generator uses δ = 1 / 20 \delta=1/20 δ = 1/20 and β = 1 / 500 \beta=1/500 β = 1/500 (paper table: 1/64 and 0.02). The DINN data file was produced with the default LSODA tolerances and differs from the accurate solution by up to 24 %. Data: m = 100 m=100 m = 100 samples on [ 0 , 4000 ] [0,4000] [ 0 , 4000 ] days.
Table 17. Anthrax (SIAC): PIWR estimates and PIWR-RACC 90 % simultaneous intervals, and the DINN values are from Shaier et al. [4 ] .
Polio: age-structured SIR model
State x = ( S c , S a , I c , I a , R c , R a ) \mathbf{x}=(S_c,S_a,I_c,I_a,R_c,R_a) x = ( S c , S a , I c , I a , R c , R a ) (children c c c , adults a a a ), n = 6 n=6 n = 6 , with the group sizes fixed by the initial condition,
N c = S c ( 0 ) + I c ( 0 ) + R c ( 0 ) = 91.2 , N a = S a ( 0 ) + I a ( 0 ) + R a ( 0 ) = 908.8 , N = N c + N a = 1000. (45) \begin{aligned}
N_c &= S_c(0)+I_c(0)+R_c(0)=91.2,\\
N_a &= S_a(0)+I_a(0)+R_a(0)=908.8,\\
N &= N_c+N_a=1000. \tag*{(45)}
\end{aligned} N c N a N = S c ( 0 ) + I c ( 0 ) + R c ( 0 ) = 91.2 , = S a ( 0 ) + I a ( 0 ) + R a ( 0 ) = 908.8 , = N c + N a = 1000. (45)
The equations are
S ˙ c = μ N − ( α + μ + β c c N c I c + β c a N c I a ) S c , S ˙ a = α S c − ( μ + β a a N a I a + β a c N a I c ) S a , I ˙ c = ( β c c N c I c + β c a N c I a ) S c − ( γ c + α + μ ) I c , I ˙ a = ( β a c N a I c + β a a N a I a ) S a − ( γ a + μ ) I a + α I c , R ˙ c = γ c I c − μ R c − α R c , R ˙ a = γ a I a − μ R a + α R c . (46) \begin{aligned}
\dot{S}_c &= \mu N-\left(\alpha+\mu+\frac{\beta_{cc}}{N_c}I_c+\frac{\beta_{ca}}{N_c}I_a\right)S_c,\\
\dot{S}_a &= \alpha S_c-\left(\mu+\frac{\beta_{aa}}{N_a}I_a+\frac{\beta_{ac}}{N_a}I_c\right)S_a,\\
\dot{I}_c &= \left(\frac{\beta_{cc}}{N_c}I_c+\frac{\beta_{ca}}{N_c}I_a\right)S_c-(\gamma_c+\alpha+\mu)I_c,\\
\dot{I}_a &= \left(\frac{\beta_{ac}}{N_a}I_c+\frac{\beta_{aa}}{N_a}I_a\right)S_a-(\gamma_a+\mu)I_a+\alpha I_c,\\
\dot{R}_c &= \gamma_c I_c-\mu R_c-\alpha R_c,\\
\dot{R}_a &= \gamma_a I_a-\mu R_a+\alpha R_c. \tag*{(46)}
\end{aligned} S ˙ c S ˙ a I ˙ c I ˙ a R ˙ c R ˙ a = μ N − ( α + μ + N c β cc I c + N c β c a I a ) S c , = α S c − ( μ + N a β aa I a + N a β a c I c ) S a , = ( N c β cc I c + N c β c a I a ) S c − ( γ c + α + μ ) I c , = ( N a β a c I c + N a β aa I a ) S a − ( γ a + μ ) I a + α I c , = γ c I c − μ R c − α R c , = γ a I a − μ R a + α R c . (46)
Parameters, coefficients and initial condition:
ω = ( μ , α , γ a , γ c , β a a , β c c , β a c , β c a ) ∈ R 8 , ω ⋆ = ( 0.02 , 0.5 , 18 , 36 , 40 , 90 , 0 , 0 ) , θ = g ( ω ) = ( μ , α , γ a , γ c , β a a , β c c , β a c , β c a ) ∈ R 8 , ω = h ( θ ) = ( ϑ 1 , … , ϑ 8 ) , x 0 = ( 35.5 , 355 , 0.3 , 0 , 55.4 , 553.8 ) . (47) \begin{aligned}
\boldsymbol{\omega} &= (\mu,\alpha,\gamma_a,\gamma_c,\beta_{aa},\beta_{cc},\beta_{ac},\beta_{ca}) \in\mathbb{R}^{8},\\
\boldsymbol{\omega}^{\star} &= (0.02,0.5,18,36,40,90,0,0),\\
\boldsymbol{\theta} &= g(\boldsymbol{\omega}) = (\mu,\alpha,\gamma_a,\gamma_c,\beta_{aa},\beta_{cc},\beta_{ac},\beta_{ca}) \in\mathbb{R}^{8},\\
\boldsymbol{\omega} &= h(\boldsymbol{\theta}) = (\vartheta_1,\ldots,\vartheta_8),\\
\mathbf{x}_0 &= (35.5,355,0.3,0,55.4,553.8). \tag*{(47)}
\end{aligned} ω ω ⋆ θ ω x 0 = ( μ , α , γ a , γ c , β aa , β cc , β a c , β c a ) ∈ R 8 , = ( 0.02 , 0.5 , 18 , 36 , 40 , 90 , 0 , 0 ) , = g ( ω ) = ( μ , α , γ a , γ c , β aa , β cc , β a c , β c a ) ∈ R 8 , = h ( θ ) = ( ϑ 1 , … , ϑ 8 ) , = ( 35.5 , 355 , 0.3 , 0 , 55.4 , 553.8 ) . (47)
The cross rates β a c = β c a = 0 \beta_{ac}=\beta_{ca}=0 β a c = β c a = 0 have the prior U [ 0 , 2 ] U[0,2] U [ 0 , 2 ] and are reported with absolute errors. Data: m = 50 m=50 m = 50 samples on [ 0 , 40 ] [0,40] [ 0 , 40 ] days.
Table 18: Polio: PIWR estimates and PIWR-RACC 90 % simultaneous intervals, and the DINN values are from Shaier et al. [4 ] .
Table 18.
Measles: seasonally forced SEI model
State x = ( S , E , I ) \mathbf{x}=(S,E,I) x = ( S , E , I ) , n = 3 n=3 n = 3 , with known population N = 50 001 N=50\,001 N = 50 001 and the seasonally forced transmission rate
β ( t ) = β 0 ( 1 + β 1 cos 2 π t ) . (48) \beta(t)=\beta_0(1+\beta_1\cos2\pi t). \tag*{(48)} β ( t ) = β 0 ( 1 + β 1 cos 2 π t ) . (48)
The equations are
S ˙ = μ ( N − S ) − β ( t ) S I N , E ˙ = β ( t ) S I N − μ σ E , I ˙ = σ E − ( μ + γ ) I . (49) \begin{aligned}
\dot{S} &= \mu(N-S)-\beta(t)\frac{SI}{N},\\
\dot{E} &= \beta(t)\frac{SI}{N}-\mu\sigma E,\\
\dot{I} &= \sigma E-(\mu+\gamma)I. \tag*{(49)}
\end{aligned} S ˙ E ˙ I ˙ = μ ( N − S ) − β ( t ) N S I , = β ( t ) N S I − μ σ E , = σ E − ( μ + γ ) I . (49)
Parameters, coefficients and initial condition:
ω = ( μ , β 0 , β 1 , γ , σ ) ∈ R 5 , ω ⋆ = ( 0.02 , 0.0010107 N , 0.28 , 100 , 35.84 ) , θ = g ( ω ) = ( μ , β 0 , β 0 β 1 , μ σ , σ , γ ) ∈ R 6 , ω = h ( θ ) = ( ϑ 1 , ϑ 2 , ϑ 3 / ϑ 2 , ϑ 6 , ϑ 5 ) , x 0 = ( 50 000 , 0 , 1 ) . (50) \begin{aligned}
\boldsymbol{\omega} &= (\mu,\beta_0,\beta_1,\gamma,\sigma)\in\mathbb{R}^{5},\\
\boldsymbol{\omega}^{\star} &= (0.02,\ 0.0010107\,N,\ 0.28,\ 100,\ 35.84),\\
\boldsymbol{\theta} &= g(\boldsymbol{\omega})=(\mu,\beta_0,\beta_0\beta_1,\mu\sigma,\sigma,\gamma)\in\mathbb{R}^{6},\\
\boldsymbol{\omega} &= h(\boldsymbol{\theta})=(\vartheta_1,\vartheta_2,\vartheta_3/\vartheta_2,\vartheta_6,\vartheta_5),\\
\mathbf{x}_0 &= (50\,000,\ 0,\ 1). \tag*{(50)}
\end{aligned} ω ω ⋆ θ ω x 0 = ( μ , β 0 , β 1 , γ , σ ) ∈ R 5 , = ( 0.02 , 0.0010107 N , 0.28 , 100 , 35.84 ) , = g ( ω ) = ( μ , β 0 , β 0 β 1 , μ σ , σ , γ ) ∈ R 6 , = h ( θ ) = ( ϑ 1 , ϑ 2 , ϑ 3 / ϑ 2 , ϑ 6 , ϑ 5 ) , = ( 50 000 , 0 , 1 ) . (50)
The one constraint is ϑ 4 = ϑ 1 ϑ 5 \vartheta_4=\vartheta_1\vartheta_5 ϑ 4 = ϑ 1 ϑ 5 . The known forcing cos 2 π t \cos2\pi t cos 2 π t enters the library A ( x , t ) A(\mathbf{x},t) A ( x , t ) , which is the reason for its explicit time dependence. Time is measured in years (the forcing has period one). DINN treats β 0 ⋆ = 0.0010107 N ≈ 50.54 \beta_0^\star=0.0010107\,N\approx50.54 β 0 ⋆ = 0.0010107 N ≈ 50.54 as known; here it is estimated. Data: m = 50 m=50 m = 50 samples on [ 0 , 10 ] [0,10] [ 0 , 10 ] .
Table 19: Measles (seasonal SEI): PIWR estimates and PIWR-RACC 90 % simultaneous intervals, and the DINN values are from Shaier et al. [4 ] .
Table 19.
Zika: host–vector model
State x = ( S h , E h , I h 1 , I h 2 , A h , R h , S v , E v , I v ) \mathbf{x}=(S_h,E_h,I_{h1},I_{h2},A_h,R_h,S_v,E_v,I_v) x = ( S h , E h , I h 1 , I h 2 , A h , R h , S v , E v , I v ) (hosts h h h with two infectious stages and asymptomatic A h A_h A h , vectors v v v ), n = 9 n=9 n = 9 , with known biting rate a = 0.5 a=0.5 a = 0.5 , host and vector populations fixed by the initial condition, and the forces of infection on the hosts from vectors and from hosts:
N h = S h ( 0 ) + E h ( 0 ) + I h 1 ( 0 ) + I h 2 ( 0 ) + A h ( 0 ) + R h ( 0 ) = 0.518628 , N v = 5 N h , F v = a b I v N h S h , F h = β κ E h + I h 1 + τ I h 2 N h S h . (51) \begin{aligned}
N_h &= S_h(0)+E_h(0)+I_{h1}(0)+I_{h2}(0)+A_h(0)+R_h(0)=0.518628,\\
N_v &= 5N_h,\\
F_v &= ab\frac{I_v}{N_h}S_h,\\
F_h &= \beta\frac{\kappa E_h+I_{h1}+\tau I_{h2}}{N_h}S_h. \tag*{(51)}
\end{aligned} N h N v F v F h = S h ( 0 ) + E h ( 0 ) + I h 1 ( 0 ) + I h 2 ( 0 ) + A h ( 0 ) + R h ( 0 ) = 0.518628 , = 5 N h , = ab N h I v S h , = β N h κ E h + I h 1 + τ I h 2 S h . (51)
The equations, as printed in Shaier et al. [4 ] and used by the generator, are
S ˙ h = − F v − F h , E ˙ h = − θ ( F v + F h ) − V h E h , I ˙ h 1 = V h E h − γ h 1 I h 1 , I ˙ h 2 = γ h 1 I h 1 − γ h 2 I h 2 , A ˙ h = ( 1 − θ ) ( F v − F h ) − γ h A h , R ˙ h = γ h 2 I h 2 + γ h A h , S ˙ v = μ v N v − a c η E h + I h 1 N h S v − μ v S v , E ˙ v = a c η E h + I h 1 N h − ( V v + μ v ) E v , I ˙ v = V v E v − μ v I v . (52) \begin{aligned}
\dot{S}_h &= -F_v-F_h,\\
\dot{E}_h &= -\theta(F_v+F_h)-V_hE_h,\\
\dot{I}_{h1} &= V_hE_h-\gamma_{h1}I_{h1},\\
\dot{I}_{h2} &= \gamma_{h1}I_{h1}-\gamma_{h2}I_{h2},\\
\dot{A}_h &= (1-\theta)(F_v-F_h)-\gamma_hA_h,\\
\dot{R}_h &= \gamma_{h2}I_{h2}+\gamma_hA_h,\\
\dot{S}_v &= \mu_vN_v-ac\frac{\eta E_h+I_{h1}}{N_h}S_v-\mu_vS_v,\\
\dot{E}_v &= ac\frac{\eta E_h+I_{h1}}{N_h}-(V_v+\mu_v)E_v,\\
\dot{I}_v &= V_vE_v-\mu_vI_v. \tag*{(52)}
\end{aligned} S ˙ h E ˙ h I ˙ h 1 I ˙ h 2 A ˙ h R ˙ h S ˙ v E ˙ v I ˙ v = − F v − F h , = − θ ( F v + F h ) − V h E h , = V h E h − γ h 1 I h 1 , = γ h 1 I h 1 − γ h 2 I h 2 , = ( 1 − θ ) ( F v − F h ) − γ h A h , = γ h 2 I h 2 + γ h A h , = μ v N v − a c N h η E h + I h 1 S v − μ v S v , = a c N h η E h + I h 1 − ( V v + μ v ) E v , = V v E v − μ v I v . (52)
Parameters, coefficients and initial condition:
ω = ( b , c , η , β , κ , τ , θ , V h , V v , γ h 1 , γ h 2 , γ h , μ v ) ∈ R 13 , ω ⋆ = ( 0.4 , 0.5 , 0.1 , 0.05 , 0.6 , 0.3 , 18 , 1 / 5 , 10 , 1 / 5 , 1 / 20 , 1 / 7 , 1 / 14 ) , ϑ = g ( ω ) = ( a b , β κ , β , β τ , θ a b , θ β κ , θ β , θ β τ , V h , γ h 1 , γ h 2 , γ h , μ v , a c η , a c , V v ) ∈ R 16 , ω = h ( ϑ ) = ( ϑ 1 / a , ϑ 15 / a , ϑ 14 / ϑ 15 , ϑ 3 , ϑ 2 / ϑ 3 , ϑ 4 / ϑ 3 , ϑ 7 / ϑ 3 , ϑ 9 , ϑ 16 , ϑ 10 , ϑ 11 , ϑ 12 , ϑ 13 ) , x 0 = ( 0.516 , 6.57 ⋅ 10 − 4 , 6.57 ⋅ 10 − 4 , 6.57 ⋅ 10 − 4 , 6.57 ⋅ 10 − 4 , 0 , 10 − 4 , 10 − 4 , 10 − 4 ) . (53) \begin{aligned}
\omega&= (b,c,\eta,\beta,\kappa,\tau,\theta,V_h,V_v,\gamma_{h1},\gamma_{h2},\gamma_h,\mu_v)\in\mathbb{R}^{13},\\
\omega^\star&= (0.4,0.5,0.1,0.05,0.6,0.3,18,1/5,10,1/5,1/20,1/7,1/14),\\
\vartheta&= g(\omega)=(ab,\beta\kappa,\beta,\beta\tau,\theta ab,\theta\beta\kappa,\theta\beta,\theta\beta\tau,V_h,\gamma_{h1},\gamma_{h2},\gamma_h,\mu_v,ac\eta,ac,V_v)\in\mathbb{R}^{16},\\
\omega&= h(\vartheta)=(\vartheta_1/a,\vartheta_{15}/a,\vartheta_{14}/\vartheta_{15},\vartheta_3,\vartheta_2/\vartheta_3,\vartheta_4/\vartheta_3,\vartheta_7/\vartheta_3,\vartheta_9,\vartheta_{16},\vartheta_{10},\vartheta_{11},\vartheta_{12},\vartheta_{13}),\\
\mathbf{x}_0 &= (0.516,6.57\cdot10^{-4},6.57\cdot10^{-4},6.57\cdot10^{-4},6.57\cdot10^{-4},0,10^{-4},10^{-4},10^{-4}). \tag*{(53)}
\end{aligned} ω ω ⋆ ϑ ω x 0 = ( b , c , η , β , κ , τ , θ , V h , V v , γ h 1 , γ h 2 , γ h , μ v ) ∈ R 13 , = ( 0.4 , 0.5 , 0.1 , 0.05 , 0.6 , 0.3 , 18 , 1/5 , 10 , 1/5 , 1/20 , 1/7 , 1/14 ) , = g ( ω ) = ( ab , β κ , β , β τ , θ ab , θ β κ , θ β , θ β τ , V h , γ h 1 , γ h 2 , γ h , μ v , a cη , a c , V v ) ∈ R 16 , = h ( ϑ ) = ( ϑ 1 / a , ϑ 15 / a , ϑ 14 / ϑ 15 , ϑ 3 , ϑ 2 / ϑ 3 , ϑ 4 / ϑ 3 , ϑ 7 / ϑ 3 , ϑ 9 , ϑ 16 , ϑ 10 , ϑ 11 , ϑ 12 , ϑ 13 ) , = ( 0.516 , 6.57 ⋅ 1 0 − 4 , 6.57 ⋅ 1 0 − 4 , 6.57 ⋅ 1 0 − 4 , 6.57 ⋅ 1 0 − 4 , 0 , 1 0 − 4 , 1 0 − 4 , 1 0 − 4 ) . (53)
The three constraints are ϑ 5 = ϑ 7 ϑ 1 / ϑ 3 \vartheta_5=\vartheta_7\vartheta_1/\vartheta_3 ϑ 5 = ϑ 7 ϑ 1 / ϑ 3 , ϑ 6 = ϑ 7 ϑ 2 / ϑ 3 \vartheta_6=\vartheta_7\vartheta_2/\vartheta_3 ϑ 6 = ϑ 7 ϑ 2 / ϑ 3 and ϑ 8 = ϑ 7 ϑ 4 / ϑ 3 \vartheta_8=\vartheta_7\vartheta_4/\vartheta_3 ϑ 8 = ϑ 7 ϑ 4 / ϑ 3 . The biting rate a a a enters only through a b ab ab and a c ac a c and is therefore fixed. The parameter m m m of the DINN table does not occur in the model; the generator uses γ h 2 = 1 / 20 \gamma_{h2}=1/20 γ h 2 = 1/20 . Data: m = 50 m=50 m = 50 samples on [ 0 , 30 ] [0,30] [ 0 , 30 ] days.
Table 20: Zika: PIWR estimates and PIWR-RACC 90 % simultaneous intervals, and the DINN values are from Shaier et al. [4 ] .
Table 20. Zika: PIWR estimates and PIWR-RACC 90 % simultaneous intervals, and the DINN values are from Shaier et al. [4 ] .
Further benchmark models
S3I3R model
The model of Nielsen et al. [5 ] eq. 21) has the state x = ( S , I 1 , I 2 , I 3 , R 1 , R 2 , R 3 ) \mathbf{x}=(S,I_1,I_2,I_3,R_1,R_2,R_3) x = ( S , I 1 , I 2 , I 3 , R 1 , R 2 , R 3 ) , n = 7 n=7 n = 7 : susceptibles S S S , three infected stages I 1 I_1 I 1 (infected), I 2 I_2 I 2 (hospitalized) and I 3 I_3 I 3 (in intensive care), recovered R 1 R_1 R 1 , vaccinated $R_2 and dead R 3 R_3 R 3 . With the population N N N and the vaccination rate τ \tau τ known,
S ˙ = − ( β I 1 N + τ S + I 1 + R 1 ) S , I ˙ 1 = β I 1 S N − ( γ 1 + τ S + I 1 + R 1 + ϕ 1 ) I 1 , I ˙ 2 = ϕ 1 I 1 − ( γ 2 + ϕ 2 ) I 2 , I ˙ 3 = ϕ 2 I 2 − ( γ 3 + θ ) I 3 , R ˙ 1 = γ 1 I 1 + γ 2 I 2 + γ 3 I 3 − τ R 1 S + I 1 + R 1 , R ˙ 2 = τ , R ˙ 3 = θ I 3 . (54) \begin{aligned}
\dot{S} &= -\left(\frac{\beta I_1}{N}+\frac{\tau}{S+I_1+R_1}\right)S,\\
\dot{I}_1 &= \frac{\beta I_1S}{N}-\left(\gamma_1+\frac{\tau}{S+I_1+R_1}+\phi_1\right)I_1,\\
\dot{I}_2 &= \phi_1I_1-(\gamma_2+\phi_2)I_2,\\
\dot{I}_3 &= \phi_2I_2-(\gamma_3+\theta)I_3,\\
\dot{R}_1 &= \gamma_1I_1+\gamma_2I_2+\gamma_3I_3-\frac{\tau R_1}{S+I_1+R_1},\\
\dot{R}_2 &= \tau,\\
\dot{R}_3 &= \theta I_3. \tag*{(54)}
\end{aligned} S ˙ I ˙ 1 I ˙ 2 I ˙ 3 R ˙ 1 R ˙ 2 R ˙ 3 = − ( N β I 1 + S + I 1 + R 1 τ ) S , = N β I 1 S − ( γ 1 + S + I 1 + R 1 τ + ϕ 1 ) I 1 , = ϕ 1 I 1 − ( γ 2 + ϕ 2 ) I 2 , = ϕ 2 I 2 − ( γ 3 + θ ) I 3 , = γ 1 I 1 + γ 2 I 2 + γ 3 I 3 − S + I 1 + R 1 τ R 1 , = τ , = θ I 3 . (54)
The terms with τ \tau τ form the offset f 0 f_0 f 0 of (4) ; here τ = 0 \tau=0 τ = 0 . With all seven rates unknown, and with fractional states (N = 1 N=1 N = 1 ),
ω = ( β , γ 1 , γ 2 , γ 3 , ϕ 1 , ϕ 2 , θ ) ∈ R 7 , ω ⋆ = ( 1 / 2 , 1 / 3 , 1 / 20 , 1 / 20 , 1 / 20 , 1 / 20 , 1 / 10 ) , θ = g ( ω ) = ( β , γ 1 , γ 2 , γ 3 , ϕ 1 , ϕ 2 , θ ) ∈ R 7 , ω = h ( θ ) = ( ϑ 1 , … , ϑ 7 ) , x 0 = ( 0.9999 , 0.0001 , 0 , 0 , 0 , 0 , 0 ) . (55) \begin{aligned}
\omega&= (\beta,\gamma_1,\gamma_2,\gamma_3,\phi_1,\phi_2,\theta)\in\mathbb{R}^7,\\
\omega^\star&= (1/2,\,1/3,\,1/20,\,1/20,\,1/20,\,1/20,\,1/10),\\
\theta&= g(\omega)=(\beta,\gamma_1,\gamma_2,\gamma_3,\phi_1,\phi_2,\theta)\in\mathbb{R}^7,\\
\omega&= h(\theta)=(\vartheta_1,\ldots,\vartheta_7),\\
\mathbf{x}_0 &= (0.9999,\,0.0001,\,0,\,0,\,0,\,0,\,0). \tag*{(55)}
\end{aligned} ω ω ⋆ θ ω x 0 = ( β , γ 1 , γ 2 , γ 3 , ϕ 1 , ϕ 2 , θ ) ∈ R 7 , = ( 1/2 , 1/3 , 1/20 , 1/20 , 1/20 , 1/20 , 1/10 ) , = g ( ω ) = ( β , γ 1 , γ 2 , γ 3 , ϕ 1 , ϕ 2 , θ ) ∈ R 7 , = h ( θ ) = ( ϑ 1 , … , ϑ 7 ) , = ( 0.9999 , 0.0001 , 0 , 0 , 0 , 0 , 0 ) . (55)
In the setting of Nielsen et al. [5 ] , the recovery rates are assumed known and hence their terms must join the offset,
ω = ( β , ϕ 1 , ϕ 2 , θ ) ∈ R 4 , θ = g ( ω ) = ( β , ϕ 1 , ϕ 2 , θ ) ∈ R 4 , f 0 ( x ) = ( 0 , − γ 1 I 1 , − γ 2 I 2 , − γ 3 I 3 , γ 1 I 1 + γ 2 I 2 + γ 3 I 3 , 0 , 0 ) . (56) \begin{aligned}
\omega&= (\beta,\phi_1,\phi_2,\theta)\in\mathbb{R}^4,\\
\theta&= g(\omega)=(\beta,\phi_1,\phi_2,\theta)\in\mathbb{R}^4,\\
f_0(\mathbf{x}) &= (0,-\gamma_1I_1,-\gamma_2I_2,-\gamma_3I_3,\gamma_1I_1+\gamma_2I_2+\gamma_3I_3,0,0). \tag*{(56)}
\end{aligned} ω θ f 0 ( x ) = ( β , ϕ 1 , ϕ 2 , θ ) ∈ R 4 , = g ( ω ) = ( β , ϕ 1 , ϕ 2 , θ ) ∈ R 4 , = ( 0 , − γ 1 I 1 , − γ 2 I 2 , − γ 3 I 3 , γ 1 I 1 + γ 2 I 2 + γ 3 I 3 , 0 , 0 ) . (56)
The setting uses the same initial condition. These values are taken from the code of Nielsen et al. [5 ] ; the parameter vector printed in their eq. (26) lacks one of the entries 1 / 20 1/20 1/20 . Data: m = 29 m=29 m = 29 daily samples on [ 0 , 28 ] [0,28] [ 0 , 28 ] days.
SIR model with only the infected observed
The SIR model with the state ( S , I , R ) (S,I,R) ( S , I , R ) and known population N = 763 N=763 N = 763 is
S ˙ = − β S I N , I ˙ = β S I N − γ I , R ˙ = γ I . (57) \begin{aligned}
\dot{S} &= -\frac{\beta SI}{N},\\
\dot{I} &= \frac{\beta SI}{N}-\gamma I,\\
\dot{R} &= \gamma I. \tag*{(57)}
\end{aligned} S ˙ I ˙ R ˙ = − N β S I , = N β S I − γ I , = γ I . (57)
It conserves S + I + R = N S+I+R=N S + I + R = N . Parameters, coefficients and initial condition:
ω = ( β , γ ) ∈ R 2 , θ = g ( ω ) = ( β − γ , β / N , β γ / N ) ∈ R 3 , ω = h ( θ ) = ( N ϑ 2 , ϑ 3 / ϑ 2 ) , R 0 = β / γ = N ϑ 2 2 / ϑ 3 , ( S ( 0 ) , I ( 0 ) , R ( 0 ) ) = ( 762 , 1 , 0 ) . (58) \begin{aligned}
\omega&= (\beta,\gamma)\in\mathbb{R}^2,\\
\theta&= g(\omega)=(\beta-\gamma,\beta/N,\beta\gamma/N)\in\mathbb{R}^3,\\
\omega&= h(\theta)=(N\vartheta_2,\vartheta_3/\vartheta_2),\\
R_0 &= \beta/\gamma=N\vartheta_2^2/\vartheta_3,\\
(S(0),I(0),R(0)) &= (762,1,0). \tag*{(58)}
\end{aligned} ω θ ω R 0 ( S ( 0 ) , I ( 0 ) , R ( 0 )) = ( β , γ ) ∈ R 2 , = g ( ω ) = ( β − γ , β / N , β γ / N ) ∈ R 3 , = h ( θ ) = ( N ϑ 2 , ϑ 3 / ϑ 2 ) , = β / γ = N ϑ 2 2 / ϑ 3 , = ( 762 , 1 , 0 ) . (58)
Only I I I is observed, so the regression uses the scalar state x = I x=I x = I , n = 1 n=1 n = 1 . With R = γ C R=\gamma C R = γ C and S = N − I − γ C S=N-I-\gamma C S = N − I − γ C , the infected compartment satisfies the closed equation (25) ,
I ˙ = ( β − γ ) I − β N I 2 − β γ N I C ( t ) , C ( t ) = ∫ 0 t I ( s ) d s , (59) \dot{I}=(\beta-\gamma)I-\frac{\beta}{N}I^2-\frac{\beta\gamma}{N}IC(t),\qquad C(t)=\int_0^t I(s)\,\mathrm{d}s, \tag*{(59)} I ˙ = ( β − γ ) I − N β I 2 − N β γ I C ( t ) , C ( t ) = ∫ 0 t I ( s ) d s , (59)
whose library A = ( I , − I 2 , − I C ) A=(I,-I^2,-IC) A = ( I , − I 2 , − I C ) depends on the past of the trajectory through C C C , which is computed from the data by the cubic-spline quadrature of § 3.2 . The one constraint is ϑ 3 = ϑ 2 ( N ϑ 2 − ϑ 1 ) \vartheta_3=\vartheta_2(N\vartheta_2-\vartheta_1) ϑ 3 = ϑ 2 ( N ϑ 2 − ϑ 1 ) ; PIWR-VP imposes it (§ 5.6 ). There are no true values ω ⋆ \omega^\star ω ⋆ for real data. The data (influenza_england_1978_school in the R package outbreaks) are the number of boys in bed on 22 January to 4 February 1978, placed at t = 1 , … , 14 t = 1,\ldots,14 t = 1 , … , 14 days, together with I ( 0 ) = 1 I(0) = 1 I ( 0 ) = 1 at t = 0 t = 0 t = 0 as in Grinsztajn et al. [11 ] : 3, 8, 26, 76, 225, 298, 258, 233, 189, 128, 68, 29, 14, 4.