An overview of Nonlinear Mixed-Effects Models (NLME), their structure, and workflow using SimBiology.
Pharmacokinetics (PK) is the study of how the body handles a drug over time—specifically its absorption, distribution, metabolism, and excretion. It essentially characterizes “what the body does to the drug.” Since these biological processes are dynamic, drug handling is not instantaneous; it evolves over time. Consequently, we must measure drug concentration at multiple time points to fully understand the PK profile.
Let’s define our variables:
Our basic dataset consists of these repeated measurements: $(y_{ij}, t_{ij})$.
The primary goals of population PK modeling are twofold:
To address the first goal, we need a structural model. A common choice for PK data is the exponential decay function, as many drugs are eliminated from the body in an exponential fashion after distribution. A basic one-compartment model can be described as:
\[y_{ij} = \frac{D_i}{V} e^{-k_i t_{ij}} + \epsilon_{ij}\]Here:
$D_i$ is the dose administered to the $i$-th individual.
$V$ is the Volume of Distribution, which represents the apparent volume into which the drug distributes (think of it as the “tank size”). A small $V$ (e.g., 3–5 L) suggests the drug remains in the bloodstream, while a large $V$ implies extensive tissue binding, making the apparent volume much larger than the body itself.
$k_i$ is the Elimination Rate, which determines how fast the drug is removed.
$\epsilon_{ij} \sim N(0, \sigma^2)$ represents measurement error.
The elimination rate $k_i$ is often parameterized as the ratio of Clearance ($Cl_i$) to Volume ($V$): \(k_i = \frac{Cl_i}{V}\) where $Cl_i$ represents the volume of blood cleared of the drug per unit time (think of it as “blood cleaning speed”). Note that $k_i$ and $Cl_i$ are patient-specific parameters, allowing for individual variability.
In repeated measurement data, observations from the same individual ($y_{i1}, y_{i2}, \dots$) are correlated, violating the independence assumption of standard regression models.
To handle this, we have two extreme approaches:
Mixed-effects models offer a compromise. They recognize correlations within sample subgroups (individuals) and allow us to make broad inferences on population-wide parameters (fixed effects) while estimating individual-specific deviations (random effects). This approach allows for robust estimation even with sparse data per subject.
To model the biological variation between individuals, we treat parameters like clearance ($Cl$) as random variables that vary around a population mean.
We split the parameter into a fixed effect (population mean) and a random effect (individual deviation). For the $i$-th individual, we can model clearance as:
\[Cl_i = \theta_{Cl} + \eta_i\]We typically assume deviations are normally distributed: $\eta_i \sim N(0, \sigma^2_\eta)$. This formulation allows us to capture heterogeneity without estimating a completely free parameter for every individual.
We can further refine the model by adding individual-specific covariates (e.g., weight, age, renal function) to explain some of the inter-individual variability. Ideally, this reduces the unexplained variance in the random effect.
For example, if clearance is related to weight ($w_i$), we can expand the model:
\[Cl_i = \theta_{Cl} + \theta_{wt} \cdot w_i + \eta_i\]Here, $\theta_{wt}$ is the fixed effect quantifying the relationship between weight and clearance.
A general Nonlinear Mixed-Effects (NLME) model can be mathematically formulated as follows:
\[y_{ij} = f(x_{ij}, p_i) + \epsilon_{ij} \\ p_i = A_i \theta + B_i \eta_i \\ \epsilon_{ij} \sim N(0, \sigma^2) \\ \eta_i \sim N(0, \Psi)\]Where:
Estimating these models involves determining the fixed effects $\theta$, the random effect covariance $\Psi$, and residual variance $\sigma^2$. Software like MATLAB’s SimBiology facilitates this process using Maximum Likelihood Estimation.
A typical workflow involves:
groupedData format.This approach allows for rigorous quantification of drug behavior across populations, supporting dose optimization and clinical decision-making.