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.
Definition 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
yij=f(ϕij,vij)+ϵij,i=1,…,M,j=1,…,ni where
M is the number of groups/subjects, ni is the number of observations for the ith group/subject, f is a real-valued differentiable function of a group-specific parameter vector ϕij and a covariate vector vij, ϕij is modeled as a linear mixed-effects model ϕij=𝑨ijβ+𝑩ij𝒃i, where β is a vector of fixed effects and 𝒃i is a vector of random effects associated with group i, and ϵij is a random variable describing additive noise.
Estimation 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 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.
Applications
Example: Disease progression modeling Nonlinear mixed-effects models have been used for modeling progression of disease. 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.
Example: Modeling cognitive decline in Alzheimer's disease 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,…,yini) from i=1,…,M individuals that are each categorized as having either normal cognition (CN), mild cognitive impairment (MCI) or dementia (DEM) at the baseline visit (time ti1=0 corresponding to measurement yi1). These longitudinal trajectories can be modeled using a nonlinear mixed effects model that allows differences in disease state based on baseline categorization: yij=fβ~(tij+AiMCIβMCI+AiDEMβDEM+bi)+ϵij,i=1,…,M,j=1,…,ni where
fβ~ is a function that models the mean time-profile of cognitive decline whose shape is determined by the parameters β~, tij represents observation time (e.g. time since baseline in the study), AiMCI and AiDEM are dummy variables that are 1 if individual i has MCI or dementia at baseline and 0 otherwise, βMCI and βDEM are parameters that model the difference in disease progression of the MCI and dementia groups relative to the cognitively normal, bi is the difference in disease stage of individual i relative to his/her baseline category, and ϵij is a random variable describing additive noise. 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 aligns the trajectories of cognitive deterioration to reveal a common pattern of cognitive decline.
Example: Growth analysis
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.
Example: Modeling human height 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 𝒘i that describe a mapping of observed age to a latent biological age using a so-called warping function v(⋅,𝒘i). A simple nonlinear mixed-effects model with this structure is given by
yij=fβ(v(tij,𝒘i))+ϵij,i=1,…,M,j=1,…,ni where
… excerpt ends here. Continue reading the full article.

![Nonlinear mixed-effects model: Estimation of a mean height curve for boys from the Berkeley Growth Study with and without warping. Warping model is fitted as a nonlinear mixed-effects model using the pavpop R package.[6]](https://thumb.wikimedia.org/wikipedia/commons/thumb/a/a0/Estimation_of_a_mean_height_curve_for_boys_from_the_Berkeley_Growth_Study_with_and_without_warping.gif/500px-Estimation_of_a_mean_height_curve_for_boys_from_the_Berkeley_Growth_Study_with_and_without_warping.gif?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)



![Nonlinear mixed-effects model: Bayesian research cycle using Bayesian nonlinear mixed effects model: (a) standard research cycle and (b) Bayesian-specific workflow.[12]](https://thumb.wikimedia.org/wikipedia/commons/thumb/1/12/Bayesian_research_cycle.png/1280px-Bayesian_research_cycle.png?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)