Abstract
Ordinary differential equation (ODE) models are popularly used to describe complex dynamical systems. When estimating ODE parameters from noisy data, a common distribution assumption is using the Gaussian distribution. It is known that the Gaussian distribution is not robust when abnormal data exist. In this article, we develop a hierarchical semiparametric mixed-effects ODE model for longitudinal data under the Bayesian framework. For robust inference on ODE parameters, we consider a class of heavy-tailed distributions to model the random effects of ODE parameters and observations errors. An MCMC method is proposed to sample ODE parameters from the posterior distributions. Our proposed method is illustrated by studying a gene regulation experiment. Simulation studies show that our proposed method provides satisfactory results for the semiparametric mixed-effects ODE models with finite samples.
Supplementary materials accompanying this paper appear online.
Supplementary Information
Supplementary materials for this article are available at10.1007/s13253-021-00446-2.
Keywords: Metropolis–Hastings, Abnormal data, Scale mixture of multivariate normal distributions
Introduction
Ordinary differential equations are widely used to model complex dynamical systems in many areas of science and technology. For example, ODE models have been used in the study of reconstruction of transcription factor activity for gene regulatory activities (Khanin et al. 2007; Rogers et al. 2007; Nie et al. 2019). Although ODE models are often proposed based on expert knowledge of the dynamical process of interest, the solver of the ODE relies heavily on the ODE parameters and the values of the ODE parameters are rarely known. It is an important but challenging statistical problem to estimate the ODE parameters from observational (noisy) data since that most ODEs have no analytic solutions and it is often computationally intensive to solve ODE numerically.
For estimating the ODE parameters, many efficient methods have been developed. For instance, Liang and Wu (2008) developed a two-step method using local polynomial regression. Ramsay et al. (2007), Cao and Ramsay (2007), and Cao et al. (2008) proposed a generalized profiling approach to estimate the ODE parameters. Cao et al. (2011) proposed a robust method for estimating ODE parameters when the data have outliers. Hall and Ma (2014) suggested a class of fast, easy-to-use, genuinely one-step procedures for estimating unknown parameters in dynamical system models. Brunel et al. (2014) developed a gradient matching approach for estimating ODE parameters. Zhang et al. (2015) proposed a least squares approximation method for ODE model selection. In the Bayesian framework, many researches have been made for estimating the ODE models; for example, Campbell and Steele (2012) proposed a Bayesian smooth functional tempering method for the ODE models; Bhaumik and Ghosal (2015) considered a Bayesian two-step estimation approach; Dass et al. (2017) suggested a Laplace approximation method for obtaining the posterior inference of ODE parameters; and Liu et al. (2018) proposed a stochastic approximation Monte Carlo method for estimating ODE models when the likelihood has multiple local modes, among others. However, all of the above methods assume that the data are collected for one individual dynamical process and cannot address the problem when multiple individuals dynamical processes are observed.
When the dynamical process are measured for multiple subjects, mixed-effects ODE models are developed to include random effects to account for the within-subjects correlations in the models. For instance, Huang and Wu (2006) studied a parametric hierarchical HIV dynamic model and provided an MCMC algorithm to sample from the posterior distribution of ODE parameters. Guedj et al. (2007) used the maximum likelihood approach directly to estimate unknown parameters in mixed-effects ODE models. Fang et al. (2011) proposed a fast two-stage estimating procedure for mixed-effects dynamical systems and applied it to analyze longitudinal HIV virus data. Wang et al. (2014) proposed a semiparametric method to estimate a mixed-effects ODE model for the HIV combination therapy study. A common fundamental assumption of aforementioned methods is that the observations for the dynamical process follow a normal distribution, but this assumption may lack robustness when abnormal data exist, which may lead to biased inference. Liu et al. (2019) proposed an MCMC method to estimate the mixed-effects ODE model using heavy-tailed distributions. On the other hand, the aforementioned papers only studied the parametric mixed-effects ODE models, while the semiparametric dynamic system which includes time-varying coefficients in ODE models can have many valuable applications, especially in gene transcription experiments in which the regulatory activity of the transcriptional factor is often modeled by a varying function over time [see Eq. (4.1) in Section 4].
To introduce the motivation of this paper, we revisit the experiment that studies statistical reconstruction of transcription factor activity (TFA) from time-course gene expression data (Khanin et al. 2007; Rogers et al. 2007). It is a central but difficult problem to link transcription factors (TFs) to their target genes in post-genomic biology, since that the changes in the expression of a TF are subtle and its activity is often controlled at levels of other than expression, for example, via post-transcriptional and post-transcriptional modifications.
Under the log-normal noise assumptions, Khanin et al. (2007) made statistical inference on the ODE parameters using a conjugate gradient method, and Rogers et al. (2007) developed a fully Bayesian approach to reconstruct the functional TFA from time-course gene expression data. However, this assumption may lack the robustness against departures from normality and/or abnormal data. Fig. 1a displays the histogram of the obtained residuals for the semiparametric mixed-effects gene regulation ODE model (4.1) by assuming that the observations errors and random effects both follow normal distributions. It seems that the obtained residuals present a heavy-tailed feature. This is also confirmed by the normal Q–Q plot of the residuals shown in Fig. 1b. In addition, the p-value from the Shapiro–Wilk test is . Thus, a normal distribution assumption is quite doubtful and may be too restrictive to provide an accurate inference of ODE models.
Fig. 1.
The histogram and the normal Q–Q plot of the obtained residuals assuming normal distributions for observations and random effects in the gene regulation ODE model (4.1) with the fission yeast cells
To account for this departure from normality, we propose to apply the scale mixture of multivariate normal (SMN) distributions (Andrews and Mallows 1974), to model the observations errors of the dynamical process and random effects of ODE parameters. The SMN distributions are flexible heavy-tailed distributions which include the multivariate normal distribution as a special case. In the literature, the SMN distributions have been extensively applied to regression models (Lange and Sinsheimer 1993; Liu 1996), linear mixed-effects models (Choy and Smith 1997; Rosa et al. 2004) and nonlinear mixed-effects models (Meza et al. 2012; De la Cruz 2014), to obtain robust estimates against outlying observations. In this article, we intend to pursue the robust inference of the ODEs model based on the SMN distributions.
This article has three main contributions. (i) We develop a hierarchical semiparametric mixed-effects ODE model which considers the within-subject and between-subject variations simultaneously and makes the statistical inference by borrowing more information from all subjects. (ii) Our model applies a class of heavy-tailed distributions for random-effect ODE parameters and observations errors for the dynamical process, which is robust against the atypical subjects and the abnormal observations within individual subjects. (iii) Our proposed method can detect the subjects which are atypical or have abnormal observations by estimating latent parameters in the model.
The remainder of this article is organized as follows. Section 2 briefly reviews the scale mixture of multivariate normal distributions. Section 3 introduces our proposed hierarchical semiparametric mixed-effects ODE models and provides a Bayesian estimation method. Section 4 demonstrates our proposed method in comparison with the conventional method by studying the reconstruction of transcription factor activity from a set of real time-course gene expression measurements. Section 5 evaluates the finite sample performance of our proposed method using some simulation studies. We end this article with conclusions and some discussion of future research in Sect. 6. The MATLAB code for our simulation studies can be downloaded at https://www.github.com/caojiguo/SMODE.
Scale Mixture of Multivariate Normal Distributions
The class of SMN distributions consists of a group of heavy-tailed distributions and has been applied to make robust inference in the statistical analysis. In this section, we provide some brief knowledge of the SMN distributions. More details refer to the book of Azzalini and Capitanio (2014).
Let be an m-dimensional vector and be an positive definite symmetric matrix. An m-dimensional random vector is said to follow a scale mixture of multivariate normal distribution, if it has a probability density function
| 2.1 |
where , and is a univariate probability distribution function which depends on a scalar- or vector-valued parameter and satisfies . We use the notation to indicate that has the density (2.1). This class of distributions is flexible and includes many symmetric distributions as special cases, for instance, the normal, the Student’s t, etc. When the mixture distribution function H is degenerate, reduces to the usual multivariate normal distribution .
Let be an m-dimensional random variable and be an independent mixture variable. The SMN distributed random variables can be written as Azzalini and Capitanio (2014)
| 2.2 |
From (2.2), applying the iterative law of expectations, the mean and covariance of are given, respectively, by
and
| 2.3 |
Trivially, when , has a finite positive definite covariance matrix.
In fact, a more convenient stochastic representation is to use the following hierarchical representation (De la Cruz 2014)
| 2.4 |
A special distribution of the SMN class is the multivariate t distribution (Lange et al. 1989) that has been extensively applied in robust regressions. In the rest of this paper, we use the notation to denote a Gamma distribution with shape parameter and rate parameter , which has the following density
Then, the multivariate t distribution is obtained by assuming that in (2.4), where the parameter corresponds to the degrees of freedom of the multivariate Student’s t distribution. If further letting , the Gaussian distribution is recovered.
Estimating Semiparametric Mixed-Effects ODE
Bayesian Framework
Consider the dynamical process for the i-th subject, , which is defined by
| 3.1 |
where t is continuous in some interval [0, T], F is a known function, is the population time-varying function, and is a q-dimensional vector of individual ODE parameters for the i-th subject. Without loss of generality, we assume that is one-dimensional dynamical curve in this article. We also assume that the subject-specific ODE parameters are expressed as , where is a q-dimensional fixed effect and is a q-dimensional random effect. Let denote the vector of observations or measurements for the i-th subject at the observation times and with being the solution of the ODE (3.1) conditional on . Generally, we assume that , where is a known function (e.g., in many statistical analysis) and are measurement errors. In conventional methods, a common assumption is that the random effects and the data errors both follow the multivariate normal distributions. However, as discussed in Sect. 1, such normality assumptions are vulnerable in the presence of atypical observations, which can seriously affect the estimation accuracy of the mixed-effects ODE model. Thus, more flexible distributions are necessary to replace the normality assumption. To this aim, we propose to use the scale mixture of multivariate normal distributions for ODE random effects and within-subject data errors . In other words, we assume and where is an unknown positive definite symmetric matrix.
Applying the stochastic representation (2.4), the ODE model of interest is presented as the following hierarchical structure
| 3.2 |
where and are two latent variables with distributions and , respectively. One popular choice for the latent variable distribution (and ) is to use the gamma distributions (Azzalini and Capitanio 2014). For example, in this article, we assume that with the shape parameter and the rate parameter , which leads to a multivariate t distribution for . Similarly, we assume that with the shape parameter and the rate parameter , which leads to a multivariate t distribution for . When and have degenerate distributions, model (3.2) reduces to the conventional model with the normal distribution assumption. However, when some has a large value, it indicates that the i-th subject may have outlying observations. When some has a large value, it indicates that the i-th subject may be an atypical subject with outlying ODE parameters. This outlier detection will be demonstrated in our applications in Sect. 4. Hence, our proposed model (3.2) is more flexible than the conventional model with the normal distribution assumption.
We estimate the time-varying parameter using a linear combination of spline basis functions:
| 3.3 |
where is a vector of basis functions with dimension J, and is the corresponding vector of basis coefficients. In this article, we choose cubic B-splines as basis functions for expanding , and the smoothness of is controlled by penalizing the difference of adjacent B-splines coefficients. In the Bayesian framework, this penalization is conveniently implemented by assuming a kth-order random walk prior on the splines coefficients (Lang and Brezger 2004). The first-order random walk is defined as
| 3.4 |
with and a diffuse prior . The second-order random walk is defined as
| 3.5 |
with , and a diffuse prior and . The smoothness of is controlled by the additional parameter . In this article, we apply the second-order random walk prior (3.5). To avoid the possibility of improper posteriors of , we assign weakly informative priors on : and . Then, the prior of can be equivalently written in the following form
| 3.6 |
where with
| 3.7 |
The unknown parameter is assigned a hyper-prior with the pre-specified values of the hyper-parameters .
In nonparametric regressions, the number of spline coefficients, J, may potentially impact the fitted results. In the Bayesian scheme, there are two approaches to deal with the choice of J. One is fixing J, and the other is treating J as an unknown variable to be estimated (for example, using the reversible jump MCMC algorithm, see Biller and Fahrmeir 2001). Lang and Brezger (2004) compared these two methods and found that the approach that fixes J performed better for functions with moderate curvature, while the approach that treats J as random performed better for highly oscillating functions. In this article, J is fixed and pre-determined in our approach [generally from 20 to 40, see Lang and Brezger (2004)]. The simulation results showed that our method is robust on the choice of J, see Figure S5 in the Supplementary file.
Define and let and be the latent variables. Then, the joint likelihood is given by
where is the likelihood function of the i-th subject, that is,
with
and
To complete the Bayesian specification of the proposed model, the following prior distributions are assigned: , and , where the Gamma distribution has the shape parameter and the rate parameter , and the inverse Wishart distribution has the scale matrix and degrees of freedom df. The hyper-parameters , , , , and df are pre-specified. The priors for and depend on which distributions chosen for and . If both and are chosen as gamma distributions, then the values of and must be chosen to ensure and which further lead to both and have finite positive definite covariance matrices. For convenient conjugacy, in this article, we specify the priors of and as truncated exponential priors, and , with pre-specified values and , respectively.
The joint posterior distribution of the parameters of the model conditional on the data is obtained by combining the joint likelihood and the prior distributions using the Bayes’ theorem. The full conditional posterior distributions are sampled using the Monte Carlo methods which are presented in the Supplementary file.
Model Comparisons
To determine the best fitting model in a class of candidate models, in this article, we apply two common measures of model adequacy: the deviance information criterion (DIC; see, Spiegelhalter et al. 2002; Celeux et al. 2006) and conditional predictive ordinate (; see, Chen et al. 2000). In this section, we briefly review the theory of DIC and under a general Bayesian hierarchical framework.
The DIC has been extensively applied in Bayesian statistics, which measures the fit and the complexity of the candidate model. Suppose that is a sample with the probability distribution function which depends on the parameter vector . Then, the deviance is given by
where is some fully specified normalized term. Define the effective number of parameters
where is the posterior mean deviance which is defined as
and is a posterior mean estimate of depending on . Then, the DIC statistic is defined as
| 3.8 |
A smaller DIC value indicates a better model.
The CPO is a Bayesian diagnostic tool which is based on leave-one-out-cross-validation. The CPO can be used to detect the surprising observations. Let which is obtained from the sample after omitting . The CPO for is defined as
| 3.9 |
which gives the predictive distribution of each data point conditional on the remainder of the data. Since that involves a multiple integration, we estimate it based on the MCMC samples of (Carlin and Louis 2008). Let be the posterior samples from the posterior distribution with the size M after the burn-in. A Monte Carlo estimate of is given by
where are the posterior samples of (De la Cruz 2014). More conveniently, a common summary statistic of ’s is defined as , which is often called the logarithm of the pseudo-Bayes factor. A larger value of B indicates a better model.
Application: Gene Regulation Study
In this study, we consider the cell-cycle microarray data of S. pombe or fission yeast (Rustici et al. 2004) which studied three transcription factors that were involved in regulating three different groups of genes in the fission yeast cell cycle. A single input motif (SIM) is a class of small regulatory subnetwork which consists of one transcription factor regulating a set of target genes. In this article, we only analyze one SIM, but our proposed model can be extended to multiple SIMs. Rustici et al. (2004) studied a SIM with one transcription factor, Sep1p and 14 target genes. In addition, gene ace2, which is also coded as Ace2p, is known to be the target gene of Sep1p (Bahler 2005). Hence, we include gene ace2 in the SIM as another target gene. Thus, we have totally 15 target genes regulated by the same transcription factor, Sep1p.
The expressions of all genes are measured at 20 equally spaced time points on [0, 285]. Let be the expressions of the i-th gene at the common observation time points . Let be the logarithms of noisy measurements of gene expressions with . As discussed in Sect. 1, it is doubtful that follows a multivariate normal distribution. Therefore, in this article, we assume that follows the scale mixture of multivariate normal distributions , where is a gamma distribution with the shape parameter and rate parameter . This is equivalent to assume a hierarchical structure and .
One of the often-used semiparametric gene regulation dynamical systems is given by Khanin et al. (2007) and Rogers et al. (2007)
| 4.1 |
where is the activity function of the transcriptional factor, Sep1p. To remove the positive constraints on the ODE parameters , they are reparameterized in the logarithmic scales. Besides, the initial condition is assumed unknown and also estimated together with the ODE parameters. Let . We assume that follows the scale mixture of multivariate normal distribution , where and is a gamma distribution with the shape parameter and the rate parameter . This is equivalent to the hierarchical structure: and .
For the identifiability problem, we rescale the transcriptional factor activity to satisfy . We use cubic B-spline basis functions with 20 equally spaced knots on [0, 285]. Then, is approximated by a linear combination of B-spline basis functions:
where , and are the corresponding basis coefficients. The property of B-spline basis functions allows that is equivalent to . We assign a prior for other basis coefficients : where and is given by (3.7).
We set a gamma prior Ga(0.01, 0.01) for , a gamma prior Ga(1, 0.01) for , an inverse Wishart prior for and a multivariate normal prior for . Moreover, we chose the following values for the hyper-parameters: , , , and . For the hyper-priors of and , we choose and .
We compare our proposed SMN model which assumes both the individual ODE parameters and the observations errors to follow the scale mixture of multivariate normal distribution with the conventional normal model which assumes both the individual ODE parameters and the observations errors to follow the normal distributions. To improve mixing convergence of the posterior samples, the adaptive proposals are applied in the Metropolis–Hastings algorithm. The details are provided in Section S1 of the Supplementary document. For each of SMN model and normal model, the proposed MCMC algorithm is run for 150,000 iterations. With the ‘burn-in’ of the first 50,000 iterations, the samples of are chosen with a lag of size 20 from the rest of Markov chains under each of the models. The convergence of the MCMC chains was monitored using trace plots and Gelman–Rubin convergence diagnostic (). We report the results of the convergence diagnostic results in Table S1 of the Supplementary document. Gelman and Rubin (1992) suggested that diagnostic values greater than 1.2 for any of the model parameters should indicate non-convergence. Here, we use a rule of to declare convergence of the Markov chains. All these diagnostics indicate a good convergence of the Markov chains. We calculate the values of the DIC using the formula (3.8) and the pseudo-Bayes factor based on the formula (3.9). The results are: For the SMN model, and , whereas for the normal model, and . Obviously, our proposed model using the SMN model has a smaller value of DIC and a large value of the logarithm of the pseudo-Bayes factor than the conventional model using the normal distribution, which indicates that our proposed model is better. The values of for each individual are calculated and reported in Table S2 of the Supplementary document. Obviously, the overall CPO is driven by a few overly influential values under the multivariate normal model, e.g., the 12th gene. In contrast, the influence of those points is greatly attenuated by assuming a scaled mixture of normal distributions. As the requirement of a referee, we also calculate using the bridge sampling method (Meng and Wang 1996) and the results are: For the SMN model, , whereas for the normal model, , which further demonstrated that the SMN model is better than the normal model.
Table 1 shows the posterior means, the standard errors and the corresponding 95% equal-tail credible intervals for the fixed effects in our proposed model. Table 2 displays the estimated latent parameters in the gene regulation mixed-effects ODE model (4.1) under the assumption that the individual ODE parameters and observations errors follow the SMN distributions. All of and most of are around 1.0, but Gene 12 has very large values of . This implies that Gene 12 may have abnormal observations. The left panel of Fig. 2 displays the measured gene expressions and the estimated for Gene 12. As expected, the estimate of gene expression under the normal model is much affected by the abnormal observations. In contrast, the estimate of gene expression under the SMN model is robust against the abnormal observations. Furthermore, from Fig. 1a, it seems that the residuals present a feature of skewness. We performed a mixed-effects ODE model by assuming that the ODE parameters and observations errors follow the scale mixture of multivariate skew normal distributions; however, it is found that the skewness is not significant. Finally, the estimated transcriptional factor activity is displayed in the right panel of Fig. 2. It shows that the transcriptional factor activity has two periodic cycles, which coincided with the results of Rogers et al. (2007).
Table 1.
The posterior means, standard deviations (SD) and 95% credible intervals of the population ODE parameters in the gene regulation mixed-effects ODE model (4.1) under the SMN model and normal model, respectively
| Model | Parameters | Mean | SD | 95% CI |
|---|---|---|---|---|
| SMN model | 0.012 | 0.006 | (0.004, 0.026) | |
| 0.207 | 0.080 | (0.108, 0.441) | ||
| 2.656 | 1.222 | (1.123, 5.791) | ||
| 0.050 | 0.011 | (0.031, 0.075) | ||
| Normal model | 0.012 | 0.007 | (0.003, 0.028) | |
| 0.221 | 0.081 | (0.108, 0.418) | ||
| 2.702 | 1.265 | (1.095, 5.828) | ||
| 0.053 | 0.013 | (0.032, 0.082) |
Table 2.
The estimated latent parameters in the gene regulation mixed-effects ODE model (4.1) under the SMN model which assumes that the ODE parameters and observations errors follow the scale mixture of multivariate normal distributions
| Subject | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| Residual errors () | 1.02 | 0.92 | 2.11 | 0.75 | 0.72 |
| Random effects () | 0.95 | 1.09 | 0.94 | 0.93 | 0.95 |
| Subject | 6 | 7 | 8 | 9 | 10 |
| Residual errors () | 0.75 | 0.99 | 2.22 | 1.53 | 0.84 |
| Random effects () | 0.94 | 0.95 | 0.97 | 1.28 | 0.99 |
| Subject | 11 | 12 | 13 | 14 | 15 |
| Residual errors () | 0.60 | 8.05 | 0.74 | 1.54 | 1.14 |
| Random effects () | 0.96 | 1.16 | 0.96 | 1.05 | 1.18 |
The significance of the bold values is at the 1% level
Fig. 2.
Example of inference applying the SMN model (solid lines) and normal model (slashed lines) with real microarray data from fission yeast. a The observations of gene expressions (circles) and the numerical solutions of the gene regulation mixed-effects ODE model (4.1) for Gene 12; b the posterior mean estimates of ; the shaded area denotes the 95% credible intervals of the TFA under the SMN model
Simulation Studies
In this section, we implement four simulation studies to evaluate the finite sample performance of our proposed semiparametric mixed-effects ODE models.
Scenario I
As stated in Sect. 1, the semiparametric ordinary differential equations have valuable applications in the gene transcription experiments. To mimic the transcription activity in gene transcription experiments, we consider the following semiparametric ODE (Barenco et al. 2006):
| 5.1 |
where the changing level of a gene i’s expression, , is given by a combination of a basal transcription rate, , a sensitivity, , to its governing TF’s activity, , and the decay rate of the mRNA, . We generate the logarithm of the individual ODE parameters from a multivariate normal distribution with the mean vector and the covariance matrix , where the true values of are chosen as with , and , and the correlation matrix with , and . The activity function of the transcriptional factor is given by a mixture of three Gaussian-like bumps, , which was considered in Chapter 9 of Lawrence et al. (2010) with a similar formula.
The true initial condition is generated as . Then, our simulated data are generated as , where is the numerical solution of ODE (5.1) via the fourth-order Runge–Kutta algorithm evaluated at 201 equally spaced time points on [0, 8], and are the measurement errors which are independently generated from a normal distribution N(0, 0.25). We then estimate the mixed-effects ODE (5.1) by assuming the ODE parameter and the data error follow the SMN distributions. This proposed model is also compared with the conventional model which assumes and follow the normal distribution. With the ‘burn-in’ of the first 10,000 iterations, we obtain 1000 posterior samples from the rest of the Markov chains with a lag of size 10. The above procedure is repeated for 100 simulation replicates.
To evaluate the performance of the estimate for the time-varying ODE parameter , we define the following mean absolute deviation error (MADE)
where , are equally spaced time points in [0, 8], and is the estimate of in the -th simulation replicate for . Table S3 of the Supplementary file shows the posterior means, standard deviations as well as the mean absolute deviation errors for the fixed effect . In Table S3, for and , our proposed model based on the SMN distribution has a little larger MADE values but has smaller MADE values for and in comparison with the conventional model using the normal distribution for and 100. We think that our proposed model using the SMN distribution is compatible with the conventional model using the normal distribution.
Scenario II
To study the robustness of the proposed method, we generate the logarithm of the individual ODE parameters from a multivariate Student’s t distribution with the location parameter , shape matrix which are the same as in Scenario I and degrees of freedom . The time-varying fixed-effect function is also the same as in Scenario I.
The true initial condition is generated from the where follows a Student’s t distribution, t(3), with degree of freedom 3. Then, our simulated data are generated as , where is the numerical solution of ODE (5.1) via the fourth-order Runge–Kutta algorithm evaluated at 201 equally spaced time points on [0, 8], and are the measurement errors. We consider two cases for generating the measurement errors: (i) ; (ii) . With the ‘burn-in’ of the first 10,000 samples, we obtain 1000 posterior samples from the rest of the Markov chain with a lag of size 10. Table 3 displays the simulation results for the estimates of fixed-effect and time-varying function based on 100 simulation replicates. It shows that our proposed model using the SMN distribution is preferred than the conventional model using the normal distribution.
Table 3.
The bias, standard deviation(SD) and mean absolute deviation error (MADE) of estimates for the fixed effects of the mixed-effects ODE model (5.1) under Scenario II based on 100 simulation replicates
| Case | n | Fixed effects | Distribution assumptions | |||||
|---|---|---|---|---|---|---|---|---|
| SMN distributions | Normal distributions | |||||||
| Bias | SD | MADE | Bias | SD | MADE | |||
| (i) | 50 | 0.155 | 0.150 | 0.214 | 0.222 | 0.156 | 0.272 | |
| 0.261 | 0.269 | 0.374 | 0.420 | 0.261 | 0.493 | |||
| 0.244 | 0.182 | 0.303 | 0.370 | 0.146 | 0.397 | |||
| N/A | N/A | 0.384 | N/A | N/A | 0.497 | |||
| 100 | 0.139 | 0.149 | 0.202 | 0.263 | 0.143 | 0.311 | ||
| 0.207 | 0.235 | 0.311 | 0.434 | 0.197 | 0.476 | |||
| 0.217 | 0.174 | 0.277 | 0.388 | 0.090 | 0.397 | |||
| N/A | N/A | 0.364 | N/A | N/A | 0.481 | |||
| (ii) | 50 | 0.274 | 0.188 | 0.331 | 0.314 | 0.229 | 0.388 | |
| 0.206 | 0.268 | 0.336 | 0.216 | 0.305 | 0.372 | |||
| 0.257 | 0.123 | 0.282 | 0.250 | 0.150 | 0.289 | |||
| N/A | N/A | 0.492 | N/A | N/A | 0.517 | |||
| 100 | 0.207 | 0.148 | 0.252 | 0.307 | 0.162 | 0.346 | ||
| 0.275 | 0.199 | 0.339 | 0.367 | 0.215 | 0.424 | |||
| 0.28 | 0.120 | 0.303 | 0.359 | 0.097 | 0.371 | |||
| N/A | N/A | 0.421 | N/A | N/A | 0.491 | |||
The true values of fixed effects , and
Scenario III
To study the robustness of the proposed method for mis-specified ODEs model, we consider the following two experiment designs:
III-(a): Suppose that the true ODEs are given by
| 5.2 |
where , and the logarithms of the individual ODE parameters follow a multivariate normal distribution with and . The true initial condition is generated from a normal distribution N(1.0, 0.01). Then, our simulated data are generated as , where is the numerical solution of ODE (5.2) via the fourth-order Runge–Kutta algorithm evaluated at 201 equally spaced time points on [0, 12], and the measurement errors .
III-(b): Suppose that the true ODEs are given by
| 5.3 |
where the values of individual parameters are taken the same as in Scenario III-(a).
To implement the traditional method which is based on the normal distributions assumptions, the working ODEs model is specified by
| 5.4 |
which is a mis-specified model in Scenario of III-(a) and is a correct model in Scenario of III-(b). For our proposed method, the working ODEs model is specified by
| 5.5 |
We use the following mean integrated square error (MISE) criterion:
to evaluate the performances of our proposed method and the traditional method. The results are displayed in Fig. 3, which show that our proposed method is robust on the mis-specified ODEs model.
Fig. 3.
The MISEs for in the Scenario III by performing the SMN model and normal model, respectively
Conclusions and Discussion
Ordinary differential equation models are elegant and popular models for describing the mechanism of complex dynamical systems. In this paper, we propose a semiparametric mixed-effects ODE model that contains both constant and time-varying parameters and considers the within-subject and between-subject variations simultaneously. We propose to use a class of scale mixture of multivariate normal distributions to model the random effects of ODE parameters and measurement errors in the data to obtain a robust estimation for the ODE parameters when the abnormal subjects and the abnormal measurement errors exist in the data.
Our proposed model can be framed in a Bayesian hierarchical model in which two latent variables are introduced to identify abnormal individuals and abnormal measurement errors. As one reviewer points out, one interesting feature of the proposed hierarchical model is the potential interpretability of the latent parameters as indicators of abnormal individuals. Another benefit of the proposed hierarchical model is feasibly performing an MCMC method to estimate the ODE parameters and latent variables. To improve the mixing convergence of the algorithm, an adaptive proposal was applied in the MH step. Finally, our proposed method is demonstrated by studying a genetic regulation experiment in which the regulatory activity of the transcriptional factor is modeled by a varying function over time. We show that our proposed model using the scale mixture of multivariate normal distribution is preferred in comparison with the conventional model using the normal distribution. Our simulation studies also show that our proposed model can obtain a more robust estimation for ODE parameters when using the scale mixture of multivariate normal distributions. As an example of applications, a class of often-used gene regulatory dynamic systems was studied in real data analysis; however, our proposed approach is very flexible and can be applied to provide robust inference results for other semiparametric mixed-effects dynamic systems.
Furthermore, the ODEs are generally designed based on the experts knowledge or the prior research. Our simulation results showed that there will have serious bias when applying a mis-specified ODEs model. A conservative approach is to consider a flexible semiparametric ODEs model:
| 6.1 |
where the parameters belong to a parameter space , the function F is known based on the experts knowledge, and describes the uncertainty of the ODEs. In the simulation studies, we have investigated the case of and demonstrated the efficiency of our proposed method. We will go on to study this issue in the future. It is possible that the heavy-tailed residuals arise from stochastic transcriptional factor activity rather than how it is currently modeled as a smooth deterministic trend. We will study how to distinguish them in our future study.
Supplementary Information
Below is the link to the electronic supplementary material.
Acknowledgements
The authors would like to thank the Editor, the Associate Editor and two reviewers for their valuable comments, which are very helpful to improve this work. The authors are also grateful to Prof. Mark Girolami sharing the genetics data. This work was supported by the discovery grants from the Natural Sciences and Engineering Research Council of Canada (NSERC) to J. Cao and L. Wang. This work was also supported by the Liaoning Provincial Education Department, China (No. LN2020J18) to B. Liu.
Footnotes
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
References
- Andrews DF, Mallows CL. Scale mixtures of normal distributions. J R Stat Soc Ser B. 1974;36:99–102. [Google Scholar]
- Azzalini A, Capitanio A. The skew-normal and related families. London: Chapman and Hall; 2014. [Google Scholar]
- Bahler J. Cell-cycle control of gene expression in budding and fission yeast. Annu Rev Genet. 2005;39:69–94. doi: 10.1146/annurev.genet.39.110304.095808. [DOI] [PubMed] [Google Scholar]
- Barenco M, Tomescu D, Brewer D, Callard J, Stark R, Hubank M. Ranked prediction of p53 targets using hidden variable dynamic modeling. Genome Biol. 2006;7:R25. doi: 10.1186/gb-2006-7-3-r25. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Bhaumik P, Ghosal S. Bayesian two-step estimation in differential equation models. Electron J Stat. 2015;9:3124–3154. doi: 10.1214/15-EJS1099. [DOI] [Google Scholar]
- Biller C, Fahrmeir L. Bayesian varying-coefficient models using adaptive regression splines. Stat Model. 2001;1:195–211. doi: 10.1177/1471082X0100100303. [DOI] [Google Scholar]
- Brunel NJ, Clairon Q, d’Alché-Buc F. Parametric estimation of ordinary differential equations with orthogonality conditions. J Am Stat Assoc. 2014;109:173–185. doi: 10.1080/01621459.2013.841583. [DOI] [Google Scholar]
- Campbell D, Steele RJ. Smooth functional tempering for nonlinear differential equation models. Stat Comput. 2012;22:429–443. doi: 10.1007/s11222-011-9234-3. [DOI] [Google Scholar]
- Cao J, Ramsay JO. Parameter cascades and profiling in functional data analysis. Comput Stat. 2007;22(3):335–351. doi: 10.1007/s00180-007-0044-1. [DOI] [Google Scholar]
- Cao J, Fussmann GF, Ramsay JO. Estimating a predator–prey dynamical model with the parameter cascades method. Biometrics. 2008;64:959–967. doi: 10.1111/j.1541-0420.2007.00942.x. [DOI] [PubMed] [Google Scholar]
- Cao J, Wang L, Xu J. Robust estimation for ordinary differential equation models. Biometrics. 2011;67:1305–1313. doi: 10.1111/j.1541-0420.2011.01577.x. [DOI] [PubMed] [Google Scholar]
- Carlin BP, Louis TA. Bayesian methods for data analysis. 3. London: Chapman/Hall; 2008. [Google Scholar]
- Celeux G, Forbes F, Robert CP, Titterington DM. Deviance information criteria for missing data models. Bayesian Anal. 2006;1:651–674. [Google Scholar]
- Chen M-H, Shao Q-M, Ibrahim JG. Monte Carlo methods in Bayesian computation. New York: Springer; 2000. [Google Scholar]
- Choy STB, Smith AFM. Hierarchical models with scale mixtures of normal distributions. Test. 1997;6:205–221. doi: 10.1007/BF02564434. [DOI] [Google Scholar]
- De la Cruz R. Bayesian analysis for nonlinear mixed-effects models under heavy-tailed distributions. Pharmaceut Stat. 2014;13:81–93. doi: 10.1002/pst.1598. [DOI] [PubMed] [Google Scholar]
- Dass SC, Lee J, Lee K, Park J. Laplace based approximate posterior inference for differential equation models. Stat Comput. 2017;27:679–698. doi: 10.1007/s11222-016-9647-0. [DOI] [Google Scholar]
- Fang Y, Wu H, Zhu LX. A two-stage estimation method for random-coefficient differential equation models with application to longitudinal HIV dynamic data. Stat Sin. 2011;21:1145–1170. doi: 10.5705/ss.2009.156. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Gelman A, Rubin DB. Inference from iterative simulation using multiple sequences. Stat Sci. 1992;7:457–511. [Google Scholar]
- Guedj J, Thiébaut R, Commenges D. Maximum likelihood estimation in dynamical models of HIV. Biometrics. 2007;63:1198–1206. doi: 10.1111/j.1541-0420.2007.00812.x. [DOI] [PubMed] [Google Scholar]
- Hall P, Ma Y. Quick and easy kernel based one-step estimation of parameters in differential equations. J R Stat Soc Ser B. 2014;76:735–748. doi: 10.1111/rssb.12040. [DOI] [Google Scholar]
- Huang Y, Wu H. A Bayesian approach for estimating antiviral efficacy in HIV dynamic models. J Appl Stat. 2006;33:155–174. doi: 10.1080/02664760500250552. [DOI] [Google Scholar]
- Khanin R, Vinciotti V, Mersinias M, Smith C, Wit E. Statistical reconstruction of transcription factor activity using Michaelis–Menten kinetics. Biometrics. 2007;63:816–823. doi: 10.1111/j.1541-0420.2007.00757.x. [DOI] [PubMed] [Google Scholar]
- Lang S, Brezger A. Bayesian P-splines. J Comput Graph Stat. 2004;131:183–212. doi: 10.1198/1061860043010. [DOI] [Google Scholar]
- Lange K, Sinsheimer J. Normal/independent distributions and their applications in robust regression. J Comput Graph Stat. 1993;2:175–198. [Google Scholar]
- Lange KL, Little RJA, Taylor JMG. Robust statistical modeling using the t distribution. J Am Stat Assoc. 1989;84:881–896. [Google Scholar]
- Lawrence ND, Girolami M, Rattray M, Sanguinetti G. Learning and inference in computational systems biology. Cambridge: The MIT Press; 2000. [Google Scholar]
- Liang H, Wu H. Parameter estimation for differential equation models using a framework of measurement error in regression. J Am Stat Assoc. 2008;103:1570–1583. doi: 10.1198/016214508000000797. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Liu C. Bayesian robust multivariate linear regression with incomplete data. J Am Stat Assoc. 1996;91:1219–1227. doi: 10.1080/01621459.1996.10476991. [DOI] [Google Scholar]
- Liu B, Wang L, Cao J. Bayesian estimation of ordinary differential equation models when the likelihood has multiple local modes. Monte Carlo Methods Appl. 2018;24(2):117–127. doi: 10.1515/mcma-2018-0010. [DOI] [Google Scholar]
- Liu B, Wang L, Nie Y, Cao J. Bayesian inference of mixed-effects ordinary differential equations models using heavy-tailed distributions. Comput Stat Data Anal. 2019;137:233–246. doi: 10.1016/j.csda.2019.03.001. [DOI] [Google Scholar]
- Meng X-L, Wong WH. Simulating ratios of normalizing constants via a simple identity: a theoretical exploration. Stat Sin. 1996;6:831–886. [Google Scholar]
- Meza C, Osorio F, De la Cruz R. Estimation in nonlinear mixed-effects models using heavy-tailed distributions. Stat Comput. 2012;22:121–139. doi: 10.1007/s11222-010-9212-1. [DOI] [Google Scholar]
- Nie Y, Wang L, Cao J. Estimating time-varying directed gene regulation networks. Biometrics. 2017;73:1231–1242. doi: 10.1111/biom.12685. [DOI] [PubMed] [Google Scholar]
- Ramsay JO, Hooker G, Campbell D, Cao J. Parameter estimation for differential equations: a generalized smoothing approach (with discussion) J R Stat Soc Ser B. 2007;69:741–796. doi: 10.1111/j.1467-9868.2007.00610.x. [DOI] [Google Scholar]
- Rogers S, Khanin R, Girolami M. Bayesian model-based inference of transcription factor activity. BMC Bioinform. 2007;8:S2. doi: 10.1186/1471-2105-8-S2-S2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Rosa GJM, Gianola D, Padovani CR. Bayesian longitudinal data analysis with mixed models and thick-tailed distributions using MCMC. J Appl Stat. 2004;31:855–873. doi: 10.1080/0266476042000214538. [DOI] [Google Scholar]
- Rustici G, Mata J, Kivinen K, Lio P, Penkett CJ, Burns G, Hayles J, Brazma A, Nurse P, Bahler J. Periodic gene expression program of the fission yeast cell cycle. Nat Genet. 2004;36:809–817. doi: 10.1038/ng1377. [DOI] [PubMed] [Google Scholar]
- Spiegelhalter DJ, Best NG, Carlin BP, van der Linde A. Bayesian measures of model complexity and fit. J R Stat Soc Ser B. 2002;64:583–639. doi: 10.1111/1467-9868.00353. [DOI] [Google Scholar]
- Wang L, Cao J, Ramsay JO, Burger D, Laporte C, Rockstrohk J. Estimating mixed-effects differential equation models. Stat Comput. 2014;24:111–121. doi: 10.1007/s11222-012-9357-1. [DOI] [Google Scholar]
- Zhang X, Cao J, Carroll RJ. On the selection of ordinary differential equation models with application to predator–prey dynamical models. Biometrics. 2015;71:131–138. doi: 10.1111/biom.12243. [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.



