Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
Comparative Study
. 2016 Mar-Jun;51(2-3):154-84.
doi: 10.1080/00273171.2015.1123138.

A Comparison of Two-Stage Approaches for Fitting Nonlinear Ordinary Differential Equation Models with Mixed Effects

Affiliations
Comparative Study

A Comparison of Two-Stage Approaches for Fitting Nonlinear Ordinary Differential Equation Models with Mixed Effects

Sy-Miin Chow et al. Multivariate Behav Res. 2016 Mar-Jun.

Abstract

Several approaches exist for estimating the derivatives of observed data for model exploration purposes, including functional data analysis (FDA; Ramsay & Silverman, 2005 ), generalized local linear approximation (GLLA; Boker, Deboeck, Edler, & Peel, 2010 ), and generalized orthogonal local derivative approximation (GOLD; Deboeck, 2010 ). These derivative estimation procedures can be used in a two-stage process to fit mixed effects ordinary differential equation (ODE) models. While the performance and utility of these routines for estimating linear ODEs have been established, they have not yet been evaluated in the context of nonlinear ODEs with mixed effects. We compared properties of the GLLA and GOLD to an FDA-based two-stage approach denoted herein as functional ordinary differential equation with mixed effects (FODEmixed) in a Monte Carlo (MC) study using a nonlinear coupled oscillators model with mixed effects. Simulation results showed that overall, the FODEmixed outperformed both the GLLA and GOLD across all the embedding dimensions considered, but a novel use of a fourth-order GLLA approach combined with very high embedding dimensions yielded estimation results that almost paralleled those from the FODEmixed. We discuss the strengths and limitations of each approach and demonstrate how output from each stage of FODEmixed may be used to inform empirical modeling of young children's self-regulation.

Keywords: Differential equation; derivatives; dynamic; dynamical systems; functional data analysis.

PubMed Disclaimer

Figures

Figure 1
Figure 1
(A) Over-time trajectories of x(t) from the proportional change model generated using based on a numerical ODE solver; (B) phase plane of levels and first derivatives in the proportional change model. The solid arrow points to one of the equilibrium points of the system at x(t) = x* = 3, defined as points at which dxdt=0. (C) Over-time trajectories of x(t) from the damped oscillator model generated using based on a numerical ODE solver at different values of ζ and η set to −0.8; (D) phase plane of levels and second derivatives in the damped oscillator model. (E) phase plane of first and second derivatives in the damped oscillator model (F)–(G): component + residuals plot revealing the associations between the residuals and x(t) and dx(t)/dt, respectively, with the linear effect of the other predictor partialled out.
Figure 2
Figure 2
(A)–(B) Over-time trajectories of the predator and prey population sizes from the classical predator-prey model and the corresponding phase plane plot generated with r1 = 4, r2 = −3.5,a12 = −2 and a21 = 1.5; (C)–(D) over-time trajectories of the two species’ sizes and the corresponding phase plane plot after adding a quadratic element, -0.20x12(t) to the prey equation in Equation 10; (E) Over-time trajectories of x1(t) from the van der Pol model generated with η = 1, ζ = 1.0, 3.0, and 5.0; (F) the phase plane of the second and first derivatives; (G) component + residuals plot revealing the association between d2x(t)/dt2 and dx(t)/dt after the linear effect of x(t) has been partialled out; (H) plot of the residuals from an expanded model (a model in which x(t), dx(t)/dt and x2(t)dx(t)/dt were included as predictors) against dx(t)/dt.
Figure 3
Figure 3
(A) True and estimated first derivatives from the van der Pol oscillator model with no measurement noise; (B) true and estimated second derivatives with no measurement noise; (C)–(D) true and estimated first and second derivatives when reliability = 0.9. The lowest panels show boxplots of the second derivative estimates from the GOLD, the GLLA and the 4th-order GLLA when d, the embedding dimension, was set to 5. Here, reliability was computed as the ratio between the variance of the true x(t) generated by means of a numerical ODE solver and the sum of the true x(t) and measurement error variance. The same legends were used in plots (A)–(D) but are only shown in plots (A)–(B) due to space limitations.
Figure 4
Figure 4
Results from fitting the coupled nonlinear oscillators model (see Equation 23) across sample size conditions, with (A) the RMSEs of the fixed effects point estimates; (B) the RMSEs of the random effect SD parameters, (C) biases in the SE estimates and (D) proportions of non-convergent replications.
Figure 5
Figure 5
(A) Over-time trajectories of EP and PR from 5 randomly selected children; component + residuals plot revealing the partial associations between d2PRi(t)/dt2 and: (B) demeaned PRi(t), (C) demeaned EPi(t), and (D) dPRi(t)dt; (E) the component + residuals plot revealing the partial associations between d2EPi(t)dt2 and dEPi(t)dt.
Figure 6
Figure 6
(A) Observed data and predicted trajectories for one randomly selected partipant generated using parameter estimates from the final model; (B)–(C) simulated trajectories illustrating the effects of γEP,1 and ζEP,2, respectively, for a hypothetical child with high (+2SD above the sample average) and low (−2SD below the sample average) effortful control. (D) simulated trajectories generated using the estimated parameters from the final nonlinear model in comparison to trajectories generated by setting the values of γEP,3 and γP R,3 to zero; (E–F) discrepancies between the observed data and predicted trajectories for the same participant using the final nonlinear model and the linear comparison model, for EP and PR, respectively. The shaded regions of plots (B)–(D) correspond to regions where the predicted EP trajectories marked with solid triangles show accelerations (positive second derivatives). The unshaded regions correspond to regions with decelerations (negative second derivatives) or second derivative value of zero (points of inflection). EC = effortful control.

References

    1. Arminger G. Linear stochastic differential equation models for panel data with unobserved variables. In: Tuma N, editor. Sociological methodology 1986. San Francisco: Jossey-Bass; 1986. pp. 187–212.
    1. Banks RB. Growth and diffusion phenomena: mathematical frameworks and applications. New York: Springer; 1994.
    1. Beskos A, Papaspiliopoulos O, Roberts G. Monte carlo maximum likelihood estimation for discretely observed diffusion processes. The Annals of Statistics. 2009;37(1):223–245.
    1. Boker S, Laurenceau J-P. Dynamical systems modeling: an application to the regulation of intimacy and disclosure in marriage. In: Walls T, Schafer J, editors. Models for intensive longitudinal data. New York: Oxford University Press; 2006. pp. 195–218.
    1. Boker SM. Specifying latent differential equations models. In: Boker SM, Wenger MJ, editors. Data analytic techniques for dynamical systems. Mahwah, NJ: Lawrence Erlbaum Associates; 2007. pp. 131–159.