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
. 2023 Nov;76(3):462-490.
doi: 10.1111/bmsp.12318. Epub 2023 Sep 6.

Estimation of nonlinear mixed-effects continuous-time models using the continuous-discrete extended Kalman filter

Affiliations

Estimation of nonlinear mixed-effects continuous-time models using the continuous-discrete extended Kalman filter

Lu Ou et al. Br J Math Stat Psychol. 2023 Nov.

Abstract

Many intensive longitudinal measurements are collected at irregularly spaced time intervals, and involve complex, possibly nonlinear and heterogeneous patterns of change. Effective modelling of such change processes requires continuous-time differential equation models that may be nonlinear and include mixed effects in the parameters. One approach of fitting such models is to define random effect variables as additional latent variables in a stochastic differential equation (SDE) model of choice, and use estimation algorithms designed for fitting SDE models, such as the continuous-discrete extended Kalman filter (CDEKF) approach implemented in the dynr R package, to estimate the random effect variables as latent variables. However, this approach's efficacy and identification constraints in handling mixed-effects SDE models have not been investigated. In the current study, we analytically inspect the identification constraints of using the CDEKF approach to fit nonlinear mixed-effects SDE models; extend a published model of emotions to a nonlinear mixed-effects SDE model as an example, and fit it to a set of irregularly spaced ecological momentary assessment data; and evaluate the feasibility of the proposed approach to fit the model through a Monte Carlo simulation study. Results show that the proposed approach produces reasonable parameter and standard error estimates when some identification constraint is met. We address the effects of sample size, process noise variance, and data spacing conditions on estimation results.

Keywords: continuous-discrete extended Kalman filter; continuous-time model; mixed-effects model; nonlinear model.

PubMed Disclaimer

Figures

Figure 1.
Figure 1.
Phase portraits (A1-D1) and over-time trajectories (A2-D2) of the ODE equations dPE(t)=expρ1+ρ12(NE(t)1.5)(PE(t)2.5)dt, and dNE(t)=expρ2+ρ21(PE(t)2.5)(NE(t)1.5)dt with different parameter values of ρ1=ρ2 and ρ12=ρ21.
Figure 2.
Figure 2.
Smoothed emotion state estimates for 3 random individuals from the ADID study
Figure 3.
Figure 3.
Observed and predicted emotion trajectory for a random individual from the ADID study
Figure 4.
Figure 4.
Simulated irregularly spaced observed and latent scores of positive and negative emotions for a single subject when Q=0.2, nP=100, nT=100
Figure 5.
Figure 5.
The effects of spacing on the performance measures under typical simulation conditions when Np=200, Nt=150, and Q=(a) 0.2 and (b) 0.5. The letters “F”, “I”, “N”, “E”, and “R” are respectively short for fixed-effects, initial condition, process noise, measurement error, and random-effects parameters. The value of the performance measures were averages of the related measures within each sub-category of parameters.
Figure 6.
Figure 6.
The effects of Np and Nt on the performance measures for irregularly spaced simulated data when (a) Q=0.2 and (b) Q=0.5. The letters “F”, “I”, “N”, “E”, and “R” are respectively short for fixed-effects, initial condition, process noise, measurement error, and random-effects parameters. The value of the performance measures were averages of the related measures within each sub-category of parameters.
Figure 7.
Figure 7.
The effects of process noise variance (Q) on the performance measures under the simulation condition Np=200 and Nt=150 for (a) regularly and (b) irregularly spaced data. The letters “F”, “I”, “N”, “E”, and “R” are respectively short for fixed-effects, initial condition, process noise, measurement error, and random-effects parameters. The value of the performance measures were averages of the related measures within each sub-category of parameters.

References

    1. Anderson BDO & Moore JB (1979). Optimal filtering. Englewood Cliffs, NJ: Prentice Hall.
    1. Andrieu C, Doucet A, & Holenstein R (2010). Particle Markov chain Monte Carlo methods. Journal of Royal Statistical Society B, 72(3), 269–342.
    1. Ansley CF & Kohn R (1985). Estimation, filtering and smoothing in state space models with incompletely specified initial conditions. The Annals of Statistics, 13, 1286–1316. doi: 10.1214/aos/1176349739 - DOI
    1. Arnold L (1974). Stochastic differential equations. New York, NY: Wiley. doi: 10.1002/zamm.19770570413 - DOI
    1. Bar-Shalom Y, Li XR, & Kirubarajan T (2001). Estimation with applications to tracking and navigation: Theory algorithms and software. New York, NY: John Wiley & Sons.