Tutorials › Nonlinear Mixed-Effects Models (NLME) › Interspersed BQL and Quantified Observations

Below-Quantification-Limit Observations · Tutorial 299 of 797

Interspersed BQL and Quantified Observations

You will build conditional and marginal likelihoods for interspersed quantified and BQL records, while preserving each sample’s observation type and assay limit.

Advanced 11 min read

What You'll Learn

  • Distinguish a quantified observation’s density contribution from a BQL observation’s probability contribution.
  • Construct a record-by-record likelihood when observation types alternate over time.
  • Apply the LLOQ belonging to each BQL record rather than a single subject-level limit.
  • Combine record contributions conditional on a shared individual random effect.
  • Integrate the joint conditional likelihood to obtain an individual’s marginal likelihood.
  • Identify common errors in ordering, substitution, and marginalization.

Why the Sequence Must Be Built Record by Record

A subject’s concentration profile can include both reported numerical concentrations and samples reported as below the limit of quantification (BQL). When the types alternate, it is tempting to summarize the subject as having “some BQL data” and apply one rule to the whole sequence. That loses information: each record has its own time, its own observation type, and potentially its own lower limit of quantification (LLOQ). The likelihood must preserve those record-level details.

The task here is to form the likelihood contribution for one subject’s ordered sequence. A quantified value contributes a probability density evaluated at the reported value. A BQL result contributes the probability that the unobserved concentration fell below that record’s LLOQ. These are different kinds of contributions, and they must not be interchanged.

Definition: Let \(Y_{ij}\) denote the latent concentration for subject \(i\) at record \(j\), and let \(\eta_i\) denote that subject’s random effects. Write \(q_{ij}=1\) when the record is quantified and \(q_{ij}=0\) when it is BQL. Let \(y_{ij}\) be the reported concentration for a quantified record and \(L_{ij}\) the LLOQ for a BQL record. Given \(\eta_i\), the record contribution is \(f_{ij}(y_{ij}\mid\eta_i)\) if \(q_{ij}=1\), and \(F_{ij}(L_{ij}\mid\eta_i)=P(Y_{ij}<L_{ij}\mid\eta_i)\) if \(q_{ij}=0\).

For a continuous observation model, the probability of being exactly equal to the LLOQ is zero, so using \(Y_{ij}\leq L_{ij}\) rather than \(Y_{ij}<L_{ij}\) gives the same probability. The key distinction is still between a density at a numerical observation and a cumulative probability for a censored observation.

Constructing the Conditional Sequence Likelihood

Suppose the model gives the conditional density \(f_{ij}\) and distribution function \(F_{ij}\) for each record, given the subject’s random effects. Assume that, conditional on \(\eta_i\) and the model parameters, residual errors at different records are independent. Also assume that the BQL indicator accurately records whether the latent result fell below its stated LLOQ, and that the LLOQ used for each record is known. Under these assumptions, the conditional likelihood for the subject is the product of the contributions in record order:

$$ L_i(\eta_i)= \prod_{j:q_{ij}=1} f_{ij}(y_{ij}\mid\eta_i) \prod_{j:q_{ij}=0} F_{ij}(L_{ij}\mid\eta_i). $$

This compact product does not mean that all records use the same expression. It means that each record supplies the appropriate factor, determined by its own status. The record order is useful for checking the data and the computation, even though multiplication itself is commutative. A quantified record contributes no BQL probability factor, and a BQL record contributes no density at an invented concentration.

Worked Example: Four Alternating Records With Different LLOQs

Consider a hypothetical subject with four records in time order: BQL, BQL, quantified, BQL. The observation model and limits give the following conditional contributions at a fixed value of \(\eta_i\): record 1 has \(F_{i1}(L_{i1}\mid\eta_i)=0.6049\); record 2 has \(F_{i2}(L_{i2}\mid\eta_i)=0.4013\); record 3 has \(f_{i3}(1.10\mid\eta_i)=0.8802\) per concentration unit; and record 4 has \(F_{i4}(L_{i4}\mid\eta_i)=0.5987\). The BQL probabilities use the LLOQ belonging to each particular record.

The conditional sequence likelihood is \(0.6049\times0.4013\times0.8802\times0.5987=0.1279\), using unrounded contributions for the final calculation. There is one density contribution and three dimensionless probabilities, so the likelihood has units of inverse concentration. The values are illustrative, hypothetical model outputs; they are not study results.

If the record-3 density is evaluated under a normal residual model with mean \(1.30\) concentration units and standard deviation \(0.40\) concentration units, then \[ f(1.10)=\frac{1}{0.40\sqrt{2\pi}} \exp\left[-\frac{(1.10-1.30)^2}{2(0.40)^2}\right] \approx 0.8802 \] per concentration unit. The other record contributions remain probabilities, not densities.

The usual NLME likelihood for subject \(i\) is marginal over the random effects, whose population distribution has density \(p(\eta_i\mid\Omega)\), where \(\Omega\) denotes the random-effects distribution parameters. The marginal individual contribution is

$$ L_i=\int L_i(\eta_i)\,p(\eta_i\mid\Omega)\,d\eta_i. $$

The product over records is formed before this integration. A subject’s random effect is shared across that subject’s records; it is not a new independent draw at every sample. For independent subjects, the population likelihood is the product of these individual marginal contributions.

Why Product-Then-Integrate Is Necessary

Conditional independence gives a product after conditioning on the shared random effect. Marginalization then averages that product over the possible random effects. In general, averaging each record separately and multiplying those averages gives a different result, because it effectively allows the random effect to vary independently from record to record.

Justification: Given \(\eta_i\), the record events or densities factor under conditional independence, so their joint contribution is \(L_i(\eta_i)=\prod_j \ell_{ij}(\eta_i)\), with \(\ell_{ij}\) chosen according to the record status. The law of total probability then gives \(L_i=\int \left[\prod_j\ell_{ij}(\eta_i)\right]p(\eta_i\mid\Omega)d\eta_i\). In general, \(\int\prod_j\ell_{ij}(\eta_i)p(\eta_i\mid\Omega)d\eta_i\ne \prod_j\int\ell_{ij}(\eta_i)p(\eta_i\mid\Omega)d\eta_i\).

Worked Example: Marginalizing Over a Shared Random Effect

For a hypothetical three-record sequence—quantified, BQL, quantified—suppose a simple random-effects distribution assigns probability \(0.5\) to each of two possible values, A and B. At A, the model gives record contributions \(0.8\) per concentration unit, \(0.2\), and \(1.0\) per concentration unit. At B, the corresponding contributions are \(0.4\) per concentration unit, \(0.7\), and \(0.5\) per concentration unit. These are conditional model contributions, not observed concentrations.

First multiply within each random-effect value. At A, the sequence contribution is \(0.8\times0.2\times1.0=0.16\) per concentration squared. At B, it is \(0.4\times0.7\times0.5=0.14\) per concentration squared. Average these joint contributions using the two probabilities: \(L_i=0.5(0.16)+0.5(0.14)=0.1500\) per concentration squared.

If instead each record were averaged separately, the factors would be \(0.5(0.8)+0.5(0.4)=0.6\), \(0.5(0.2)+0.5(0.7)=0.45\), and \(0.5(1.0)+0.5(0.5)=0.75\). Their product is \(0.2025\) per concentration squared, not \(0.1500\). That calculation incorrectly fails to preserve the shared random effect across the sequence.

Calculating Each Type of Contribution

The contribution formulas depend on the observation model. Earlier material on below-LLOQ probabilities establishes how to obtain the appropriate distribution function under a specified residual error model. Once that model is specified, the same record-by-record construction applies to an interspersed sequence.

For example, under an additive normal residual model with conditional mean \(\mu_{ij}\) and standard deviation \(\sigma\), a quantified value contributes the normal density \[ f_{ij}(y_{ij}\mid\eta_i)= \frac{1}{\sigma\sqrt{2\pi}} \exp\left[-\frac{(y_{ij}-\mu_{ij})^2}{2\sigma^2}\right], \] and a BQL record contributes \[ F_{ij}(L_{ij}\mid\eta_i)= \Phi\left(\frac{L_{ij}-\mu_{ij}}{\sigma}\right), \] where \(\Phi\) is the standard normal cumulative distribution function. These expressions use the same conditional mean and residual model, but evaluate different features of its distribution. Use the residual model appropriate to the analysis rather than assuming these normal formulas apply universally.

Worked Example: Two Quantified Values and Two BQL Results

Suppose a hypothetical subject has quantified, BQL, quantified, BQL records. At the fixed random-effect value under consideration, the quantified values are both \(1.20\) concentration units, each with conditional mean \(1.00\) and residual standard deviation \(0.30\) concentration units. The BQL records have conditional means \(1.00\), the same standard deviation, and LLOQs \(0.80\) and \(1.10\) concentration units, respectively. This example assumes the additive normal model and conditional independence.

For either quantified value, the standardized residual is \((1.20-1.00)/0.30=0.6667\). Thus each density is \[ \frac{1}{0.30\sqrt{2\pi}}\exp(-0.6667^2/2) \approx 1.065 \] per concentration unit, using the unrounded value in subsequent calculations.

For the first BQL record, \(z=(0.80-1.00)/0.30=-0.6667\), so its contribution is \(\Phi(-0.6667)\approx0.2525\). For the last record, \(z=(1.10-1.00)/0.30=0.3333\), so its contribution is \(\Phi(0.3333)\approx0.6306\). The sequence contribution, calculated from the unrounded density and probability values, is approximately \(0.1805\) per concentration squared. The units are inverse concentration squared because two records contribute densities and the other two contribute probabilities.

The two BQL records do not use a shared threshold: the first probability is evaluated at \(0.80\), and the last at \(1.10\). Replacing either limit with the other would change the corresponding probability and therefore the sequence likelihood.

Implementation Checks, Alternatives, and Limitations

A reliable implementation keeps each record’s time, status, reported value or LLOQ, and model prediction together. Before evaluating a subject likelihood, check that the status selects exactly one contribution for every record; that quantified records have valid numerical observations; and that each BQL record uses its own applicable LLOQ and scale. If an LLOQ is recorded on the original concentration scale while the observation model is on a transformed scale, convert the limit consistently before evaluating the probability.

The main alternatives change how BQL records are handled, not the record-level logic of a censored likelihood. Deleting BQL records discards their information. Substituting a value such as half the LLOQ or the LLOQ itself treats a censored result as if it were an exact concentration, changing the observation model. A censored likelihood instead uses the probability below the threshold. These approaches can yield different estimates; they are not interchangeable computational shortcuts.

Diagnostics should focus on whether the assembled likelihood matches the actual records and assumed model. Useful checks include independently recomputing selected record contributions, confirming that probabilities lie between zero and one, and checking that densities have the expected units and scale. A probability above one, for example, signals an error; a density above one is possible and is not by itself an error. Also inspect whether status and LLOQ fields were aligned correctly after sorting or merging records. Incorrect alignment can produce plausible-looking calculations with the wrong likelihood.

This construction relies on the assumed observation model, known limits, and conditional independence of residual errors. If residual errors are dependent across records after conditioning on the modeled effects, the product factorization needs an appropriate joint observation model instead. The likelihood also cannot recover information absent from the records: when many observations are BQL, estimates may be weakly informed. The construction itself does not resolve that identifiability issue.

Common pitfall: “The subject has both quantified and BQL samples, so I can use a single rule for the whole subject or replace every BQL result with half a common LLOQ.” This is wrong because it ignores the distinct event recorded at each sample and may erase changes in assay limit. Instead, select the contribution record by record: density at each quantified value, CDF probability at each BQL record’s own LLOQ, then multiply conditionally and integrate over the shared random effects.

Check Your Understanding

Use the record-level rule to answer each question. Solutions are included after the questions.

  1. A subject has records in the order quantified, BQL, quantified. Which contribution type belongs to each record?
  2. Why must the LLOQ for a BQL record remain attached to that record when constructing the sequence likelihood?
  3. For conditional contributions \(0.7\) per concentration unit, \(0.3\), and \(0.5\) per concentration unit, calculate the conditional sequence likelihood and its units.
  4. Why is the marginal likelihood generally not the product of the separately marginalized record contributions?

Solutions. (1) Use a density at the first reported value, a cumulative probability below the second record’s LLOQ, and a density at the last reported value. (2) The BQL event is defined by its own assay threshold; changing that threshold changes \(P(Y<L\mid\eta_i)\). (3) The product is \(0.7\times0.3\times0.5=0.105\) per concentration squared: there are two densities and one dimensionless probability. (4) The same random effect applies to every record for the subject, so the correct operation is to multiply the conditional contributions and then average the joint product over the random-effects distribution. Separate averaging generally breaks that shared dependence.