ArticleslgStudy

science

Nonlinear mixed-effects model

Nonlinear mixed-effects model is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Nonlinear mixed-effects model rather than just read about it. In short: 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 model — main illustration
Nonlinear mixed-effects model — illustration

Key takeaways

  • Nonlinear mixed-effects model belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Nonlinear mixed-effects model to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Nonlinear mixed-effects model from memory before moving on to harder problems.

Reference excerpt

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.

Illustrations

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]
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]
Nonlinear mixed-effects model: Basic pharmacokinetic processes affecting the fate of ingested substances. Nonlinear mixed-effects modeling can be used to estimate the population-level effects of these processes while also modeling the individual variation between subjects.
Basic pharmacokinetic processes affecting the fate of ingested substances. Nonlinear mixed-effects modeling can be used to estimate the population-level effects of these processes while also modeling the individual variation between subjects.
Nonlinear mixed-effects model: Extrapolated infection trajectories of 40 countries severely affected by COVID-19 and grand (population) average through May 14th
Extrapolated infection trajectories of 40 countries severely affected by COVID-19 and grand (population) average through May 14th
Nonlinear mixed-effects model: Prediction of oil production rate decline curve obtained by latent kriging. 324 training wells and two test wells in the Eagle Ford Shale Reservoir of South Texas (top left); A schematic example of a hydraulically fractured horizontal well (bottom left); Predicted curves at test wells via latent kriging method (right)
Prediction of oil production rate decline curve obtained by latent kriging. 324 training wells and two test wells in the Eagle Ford Shale Reservoir of South Texas (top left); A schematic example of a hydraulically fractured horizontal well (bottom left); Predicted curves at test wells via latent kriging method (right)
Nonlinear mixed-effects model: Bayesian research cycle using Bayesian nonlinear mixed effects model: (a) standard research cycle and (b) Bayesian-specific workflow.[12]
Bayesian research cycle using Bayesian nonlinear mixed effects model: (a) standard research cycle and (b) Bayesian-specific workflow.[12]

Worked examples

Example 1 — a first encounter with Nonlinear mixed-effects model

Start with the simplest possible case. Write down what Nonlinear mixed-effects model claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Nonlinear mixed-effects model before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Nonlinear mixed-effects model ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Nonlinear mixed-effects model

In research
Nonlinear mixed-effects model appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Nonlinear mixed-effects model in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Nonlinear mixed-effects model is common in secondary-school and first-year university syllabi. It links to neighbouring topics Regression models, so understanding it makes those chapters shorter.
In everyday life
Look for Nonlinear mixed-effects model outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Nonlinear mixed-effects model” →

How to study Nonlinear mixed-effects model in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Nonlinear mixed-effects model means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Nonlinear mixed-effects model out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Nonlinear mixed-effects model in simple terms?

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…

Why does Nonlinear mixed-effects model matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Nonlinear mixed-effects model?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Nonlinear mixed-effects model.

Tags

  • Regression models

Keep exploring