Nonlinear mixed-effects models constitute a class of statistical models generalizing linear mixed-effects models. Like linear mixed-effects models, they are particularly useful in settings where there are multiple measurements within the same statistical units or when there are dependencies between measurements on related statistical units. Nonlinear mixed-effects models are applied in many fields including medicine, public health, pharmacology, and ecology.[1] [2]
While any statistical model containing both fixed effects and random effects is an example of a nonlinear mixed-effects model, the most commonly used models are members of the class of nonlinear mixed-effects models for repeated measures[1]
{y}ij=f(\phiij,{v}ij)+\epsilonij, i=1,\ldots,M,j=1,\ldots,ni
where
M
ni
i
f
\phiij
vij
\phiij
\phiij=\boldsymbol{A}ij\beta+\boldsymbol{B}ij\boldsymbol{b}i,
\beta
\boldsymbol{b}i
i
\epsilonij
When the model is only nonlinear in fixed effects and the random effects are Gaussian, maximum-likelihood estimation can be done using nonlinear least squares methods, although asymptotic properties of estimators and test statistics may differ from the conventional general linear model. In the more general setting, there exist several methods for doing maximum-likelihood estimation or maximum a posteriori estimation in certain classes of nonlinear mixed-effects models – typically under the assumption of normally distributed random variables. A popular approach is the Lindstrom-Bates algorithm[3] which relies on iteratively optimizing a nonlinear problem, locally linearizing the model around this optimum and then employing conventional methods from linear mixed-effects models to do maximum likelihood estimation. Stochastic approximation of the expectation-maximization algorithm gives an alternative approach for doing maximum-likelihood estimation.[4]
Nonlinear mixed-effects models have been used for modeling progression of disease.[5] In progressive disease, the temporal patterns of progression on outcome variables may follow a nonlinear temporal shape that is similar between patients. However, the stage of disease of an individual may not be known or only partially known from what can be measured. Therefore, a latent time variable that describe individual disease stage (i.e. where the patient is along the nonlinear mean curve) can be included in the model.
Alzheimer's disease is characterized by a progressive cognitive deterioration. However, patients may differ widely in cognitive ability and reserve, so cognitive testing at a single time point can often only be used to coarsely group individuals in different stages of disease. Now suppose we have a set of longitudinal cognitive data
(yi1,\ldots,
y | |
ini |
)
i=1,\ldots,M
ti1=0
yi1
{y}ij=f\tilde\beta(tij+
MCI | |
A | |
i |
\betaMCI+
DEM | |
A | |
i |
\betaDEM+bi)+\epsilonij, i=1,\ldots,M,j=1,\ldots,ni
f\tilde\beta
\tilde\beta
tij
MCI | |
A | |
i |
DEM | |
A | |
i |
i
\betaMCI
\betaDEM
bi
i
\epsilonij
An example of such a model with an exponential mean function fitted to longitudinal measurements of the Alzheimer's Disease Assessment Scale-Cognitive Subscale (ADAS-Cog) is shown in the box. As shown, the inclusion of fixed effects of baseline categorization (MCI or dementia relative to normal cognition) and the random effect of individual continuous disease stage
bi
Growth phenomena often follow nonlinear patters (e.g. logistic growth, exponential growth, and hyperbolic growth). Factors such as nutrient deficiency may both directly affect the measured outcome (e.g. organisms with lack of nutrients end up smaller), but possibly also timing (e.g. organisms with lack of nutrients grow at a slower pace). If a model fails to account for the differences in timing, the estimated population-level curves may smooth out finer details due to lack of synchronization between organisms. Nonlinear mixed-effects models enable simultaneous modeling of individual differences in growth outcomes and timing.
Models for estimating the mean curves of human height and weight as a function of age and the natural variation around the mean are used to create growth charts. The growth of children can however become desynchronized due to both genetic and environmental factors. For example, age at onset of puberty and its associated height spurt can vary several years between adolescents. Therefore, cross-sectional studies may underestimate the magnitude of the pubertal height spurt because age is not synchronized with biological development. The differences in biological development can be modeled using random effects
\boldsymbol{w}i
v( ⋅ ,\boldsymbol{w}i)
{y}ij=f\beta(v(tij,\boldsymbol{w}i))+\epsilonij, i=1,\ldots,M,j=1,\ldots,ni
f\beta
\beta
tij
i
yij
v( ⋅ ,\boldsymbol{w}i)
\boldsymbol{w}i
\epsilonij
There exists several methods and software packages for fitting such models. The so-called SITAR model[6] can fit such models using warping functions that are affine transformations of time (i.e. additive shifts in biological age and differences in rate of maturation), while the so-called pavpop model can fit models with smoothly-varying warping functions. An example of the latter is shown in the box.
PK/PD models for describing exposure-response relationships such as the Emax model can be formulated as nonlinear mixed-effects models.[7] The mixed-model approach allows modeling of both population level and individual differences in effects that have a nonlinear effect on the observed outcomes, for example the rate at which a compound is being metabolized or distributed in the body.
The platform of the nonlinear mixed effect models can be used to describe infection trajectories of subjects and understand some common features shared across the subjects. In epidemiological problems, subjects can be countries, states, or counties, etc. This can be particularly useful in estimating a future trend of the epidemic in an early stage of pendemic where nearly little information is known regarding the disease.[8]
The eventual success of petroleum development projects relies on a large degree of well construction costs. As for unconventional oil and gas reservoirs, because of very low permeability, and a flow mechanism very different from that of conventional reservoirs, estimates for the well construction cost often contain high levels of uncertainty, and oil companies need to make heavy investment in the drilling and completion phase of the wells. The overall recent commercial success rate of horizontal wells in the United States is known to be 65%, which implies that only 2 out of 3 drilled wells will be commercially successful. For this reason, one of the crucial tasks of petroleum engineers is to quantify the uncertainty associated with oil or gas production from shale reservoirs, and further, to predict an approximated production behavior of a new well at a new location given specific completion data before actual drilling takes place to save a large degree of well construction costs.
The platform of the nonlinear mixed effect models can be extended to consider the spatial association by incorporating the geostatistical processes such as Gaussian process on the second stage of the model as follows:[9]
{y}it=\mu(t;\theta1i,\theta2i,\theta3i)+\epsilonit, i=1,\ldots,N,t=1,\ldots,Ti,
\thetali=\thetal(si)=\alphal+
p | |
\sum | |
j=1 |
\betaljxj+\epsilonl(si)+ηl(si), \epsilonl( ⋅ )\sim
2), | |
GWN(\sigma | |
l |
l=1,2,3,
ηl( ⋅ )\sim
GP(0,K | |
\gammal |
( ⋅ , ⋅ )),
K | |
\gammal |
(si,sj)=
2 | |
\gamma | |
l |
\exp
\rhol | |
(-e |
\|si-sj\|2), l=1,2,3,
\betalj|λlj,\taul,\sigmal\sim
2 | |
N(0,\sigma | |
l |
2 | |
\tau | |
l |
2 | |
λ | |
lj |
), \sigma,λlj,\taul,\sigmal\simC+(0,1), l=1,2,3,j=1, … ,p,
\alphal\sim\pi(\alpha)\propto1,
2 | |
\sigma | |
l |
\sim\pi(\sigma2)\propto1/\sigma2, l=1,2,3,
where
\mu(t;\theta1,\theta2,\theta3)
(\theta1,\theta2,\theta3)
xi=(xi1, … ,xip)\top
i
si=(si1,si2)\top
i
\epsilonl( ⋅ )
2 | |
\sigma | |
l |
ηl( ⋅ )
K | |
\gammal |
( ⋅ , ⋅ )
\beta
The Gaussian process regressions used on the latent level (the second stage) eventually produce kriging predictors for the curve parameters
(\theta1i,\theta2i,\theta3i),(i=1, … ,N),
\mu(t;\theta1,\theta2,\theta3)
The framework of Bayesian hierarchical modeling is frequently used in diverse applications. Particularly, Bayesian nonlinear mixed-effects models have recently received significant attention. A basic version of the Bayesian nonlinear mixed-effects models is represented as the following three-stage:
Stage 1: Individual-Level Model
{y}ij=f(tij;\theta1i,\theta2i,\ldots,\thetali,\ldots,\thetaKi)+\epsilonij, \epsilonij\simN(0,\sigma2), i=1,\ldots,N,j=1,\ldots,Mi.
Stage 2: Population Model
\thetali=\alphal+
P | |
\sum | |
b=1 |
\betalbxib+ηli, ηli\simN(0,
2), | |
\omega | |
l |
i=1,\ldots,N,l=1,\ldots,K.
Stage 3: Prior
\sigma2\sim\pi(\sigma2), \alphal\sim\pi(\alphal), (\betal1,\ldots,\betalb,\ldots,\betalP)\sim\pi(\betal1,\ldots,\betalb,\ldots,\betalP),
2 | |
\omega | |
l |
\sim
2), | |
\pi(\omega | |
l |
l=1,\ldots,K.
Here,
yij
i
tij
xib
b
i
f(t;\theta1,\ldots,\thetaK)
K
(\theta1,\ldots,\thetaK)
f
\epsilonij
ηli
A central task in the application of the Bayesian nonlinear mixed-effect models is to evaluate the posterior density:
\pi(\{\thetali
N,K | |
\} | |
i=1,l=1 |
,\sigma2,\{\alphal\}
K, | |
l=1 |
\{\betalb
K,P | |
\} | |
l=1,b=1 |
,\{\omegal\}
K | |
l=1 |
|\{yij
N,Mi | |
\} | |
i=1,j=1 |
)
\propto\pi(\{yij
N,Mi | |
\} | |
i=1,j=1 |
,\{\thetali
N,K | |
\} | |
i=1,l=1 |
,\sigma2,\{\alphal\}
K, | |
l=1 |
\{\betalb
K,P | |
\} | |
l=1,b=1 |
,\{\omegal\}
K) | |
l=1 |
=\underbrace{\pi(\{yij
N,Mi | |
\} | |
i=1,j=1 |
|\{\thetali
N,K | |
\} | |
i=1,l=1 |
2)} | |
,\sigma | |
Stage1:Individual-LevelModel |
x \underbrace{\pi(\{\thetali
N,K | |
\} | |
i=1,l=1 |
|\{\alphal\}
K, | |
l=1 |
\{\betalb
K,P | |
\} | |
l=1,b=1 |
,\{\omegal\}
K)} | |
Stage2:PopulationModel |
x \underbrace{p(\sigma2,\{\alphal\}
K, | |
l=1 |
\{\betalb
K,P | |
\} | |
l=1,b=1 |
,\{\omegal\}
K)} | |
Stage3:Prior |
The panel on the right displays Bayesian research cycle using Bayesian nonlinear mixed-effects model.[10] A research cycle using the Bayesian nonlinear mixed-effects model comprises two steps: (a) standard research cycle and (b) Bayesian-specific workflow. Standard research cycle involves literature review, defining a problem and specifying the research question and hypothesis. Bayesian-specific workflow comprises three sub-steps: (b)–(i) formalizing prior distributions based on background knowledge and prior elicitation; (b)–(ii) determining the likelihood function based on a nonlinear function
f