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
y i j = f ( ϕ i j , v i j ) + ϵ i j , i = 1 , … , M , j = 1 , … , n i {\displaystyle {y}_{ij}=f(\phi _{ij},{v}_{ij})+\epsilon _{ij},\quad i=1,\ldots ,M,\,j=1,\ldots ,n_{i}}
where
M {\displaystyle M} is the number of groups/subjects,
n i {\displaystyle n_{i}} is the number of observations for the i {\displaystyle i} th group/subject,
f {\displaystyle f} is a real-valued differentiable function of a group-specific parameter vector ϕ i j {\displaystyle \phi _{ij}} and a covariate vector v i j {\displaystyle v_{ij}} ,
ϕ i j {\displaystyle \phi _{ij}} is modeled as a linear mixed-effects model ϕ i j = A i j β + B i j b i , {\displaystyle \phi _{ij}={\boldsymbol {A}}_{ij}\beta +{\boldsymbol {B}}_{ij}{\boldsymbol {b}}_{i},} where β {\displaystyle \beta } is a vector of fixed effects and b i {\displaystyle {\boldsymbol {b}}_{i}} is a vector of random effects associated with group i {\displaystyle i} , and
ϵ i j {\displaystyle \epsilon _{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.
… 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://upload.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://upload.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)
