Tutorials › Pharmacokinetic-Pharmacodynamic (PK/PD) Modeling › Measurement Error and Missingness in Covariate Histories

Time-Varying Covariates and Dosing History · Tutorial 501 of 598

Measurement Error and Missingness in Covariate Histories

Learn to trace covariate-history uncertainty into PK/PD estimates and choose defensible likelihood, imputation, and sensitivity approaches.

Advanced 12 min read

What You'll Learn

  • Distinguish covariate measurement error from missing covariate values
  • Derive attenuation of a covariate effect under classical measurement error
  • Specify how joint likelihood integrates over unobserved covariate histories
  • Pool estimates and uncertainty across multiple imputations
  • Use sensitivity parameters to assess departures from missing at random
  • Recognize diagnostics and limitations of each approach

Why Covariate Histories Need an Uncertainty Model

A covariate history is rarely observed continuously and without error. A biomarker may be measured intermittently, a value may be recorded with assay error, or a measurement may be unavailable at a visit. Treating every recorded value as the exact covariate at every relevant time can make a covariate effect appear weaker or stronger than it is, and can understate uncertainty in PK/PD parameters that depend on it.

The key distinction is between a covariate value that is unobserved and one that is observed with error. Missingness concerns whether a value was recorded; measurement error concerns how the recorded value relates to the underlying value. Both can occur in the same history. Their consequences depend on the covariate process, the outcome model, the observation process, and the assumptions used to connect them.

Definition: Let \(X_i(t)\) denote the underlying covariate for individual \(i\) at time \(t\), and let \(W_{ij}\) denote a recorded measurement at time \(t_{ij}\). A measurement-error model describes the relation between \(W_{ij}\) and \(X_i(t_{ij})\), such as \(W_{ij}=X_i(t_{ij})+U_{ij}\), where \(U_{ij}\) is measurement error. A missingness indicator \(R_{ij}\) equals 1 when the covariate is observed and 0 when it is missing.

For a time-varying covariate, uncertainty about \(X_i(t)\) can affect the entire modeled history, not only a single visit. For example, uncertainty in a renal-function history may propagate into a clearance model if clearance depends on renal function over time. A value reconstructed between two measurements is not known merely because its endpoints are known: a trajectory assumption, such as linear change between endpoints, is needed to define an interpolated value. Earlier material on interpolating irregular covariate measurements establishes that reconstruction requires such assumptions; here the focus is on retaining and propagating the uncertainty those assumptions leave behind.

Measurement Error and the Attenuation Result

A common starting model is classical additive measurement error: \(W=X+U\), where \(U\) has mean zero, is independent of \(X\), and is independent of the outcome error. These are substantive assumptions, not automatic properties of an assay. If error variance is large relative to the between-person variation in \(X\), a regression using \(W\) in place of \(X\) tends to estimate a covariate effect closer to zero.

Result: In the linear model \(Y=\beta_0+\beta_1X+\varepsilon\), suppose \(W=X+U\), with \(X\), \(U\), and \(\varepsilon\) mutually uncorrelated, \(E(U)=0\), and \(E(\varepsilon)=0\). The population regression slope from regressing \(Y\) on \(W\) is \(\beta_{1,\mathrm{naive}}=\beta_1\frac{\operatorname{Var}(X)}{\operatorname{Var}(X)+\operatorname{Var}(U)}\). The fraction is the reliability ratio. Under these assumptions it lies between 0 and 1, so the expected slope is attenuated toward zero.

The result follows directly from the population least-squares slope, \(\operatorname{Cov}(W,Y)/\operatorname{Var}(W)\). Since \(W=X+U\) and \(Y=\beta_0+\beta_1X+\varepsilon\), the stated independence and zero-mean conditions give \(\operatorname{Cov}(W,Y)=\beta_1\operatorname{Var}(X)\). They also give \(\operatorname{Var}(W)=\operatorname{Var}(X)+\operatorname{Var}(U)\). Dividing yields the result. If error is correlated with the true value, outcome, or other modeled variables, this derivation no longer applies; the bias need not be toward zero.

Worked Example: Attenuation in a Covariate Effect

Hypothetical data-generating setting. Suppose a log-scale PK parameter \(Y\) depends linearly on a centered biomarker \(X\), with true slope \(\beta_1=0.20\) log-parameter units per mmol/L. Assume \(\operatorname{Var}(X)=4.00\) \((\mathrm{mmol/L})^2\), and a single recorded measurement has independent classical error with \(\operatorname{Var}(U)=1.00\) \((\mathrm{mmol/L})^2\). Assume the outcome error is also uncorrelated with \(X\) and \(U\).

The reliability ratio is \(\frac{4.00}{4.00+1.00}=0.800\). Therefore, the expected slope from a regression that substitutes the recorded value \(W\) for \(X\) is \(0.20\times0.800=0.160\) log-parameter units per mmol/L.

This calculation describes the expected naive slope under the specified model; it does not correct an observed estimate by itself. In a real analysis, the error variance and covariate variance must be estimated or otherwise justified, and uncertainty in those quantities should be considered. For a nonlinear PK/PD model, error can also affect predictions and parameter estimates through nonlinear transformations, so the simple attenuation formula is not generally a correction formula.

Missing Covariates: Likelihood and Imputation

Missingness is often classified by what information predicts whether a value is missing. Missing completely at random (MCAR) means missingness is independent of observed and unobserved data. Missing at random (MAR) means that, conditional on included observed data, missingness does not additionally depend on the missing value. Missing not at random (MNAR) means that missingness still depends on the unobserved value after conditioning on included observed data. MAR is an assumption about the data-generating process, not something that can generally be verified from observed data alone.

A likelihood-based joint model specifies a distribution for the underlying covariate history and a conditional PK/PD outcome model. For an unobserved covariate value, its contribution is integrated over the covariate distribution rather than replaced by one fixed guess. If the observation process is informative, the likelihood may also need a model for that process. Under MAR, a separate missingness model can sometimes be omitted for likelihood inference when the relevant observed-data likelihood is correctly specified and the missingness mechanism is ignorable; that conclusion depends on the model and sampling structure.

Worked Example: Integrating Over a Missing Covariate

Hypothetical setting. For a participant at a particular time, suppose a covariate value is missing. Based on the participant’s observed covariate history, the model specifies \(X\sim N(6.0,1.5^2)\) mmol/L. The conditional response model is \(Y=2.0+0.30X+\varepsilon\), where \(\varepsilon\sim N(0,0.20^2)\) response units and is independent of \(X\). The response is observed as \(Y=3.9\).

The conditional mean of the response given the missing covariate is \(2.0+0.30X\). Integrating over \(X\), the marginal response distribution has mean \(2.0+0.30(6.0)=3.80\) response units. Its variance is the covariate-induced variance plus the outcome-error variance: \(0.30^2(1.5^2)+0.20^2=0.2025+0.0400=0.2425\) response-units squared. Thus its standard deviation is \(\sqrt{0.2425}=0.4924\) response units, and the observed response is \(3.9\) response units, \(0.1\) above the marginal mean.

The likelihood contribution for this response is the normal density at 3.9 with mean 3.80 and variance 0.2425. This contribution accounts for uncertainty in the missing covariate; substituting \(X=6.0\) as if it were known would instead omit the covariate-induced variance. The calculation relies on the stated normal distributions, conditional mean model, and independence assumption.

Multiple imputation (MI) offers another way to carry missing-value uncertainty into analysis. It draws plausible completed data sets from an imputation model, fits the analysis model to each, and combines the estimates and their uncertainty. The imputation model should include variables related to the covariate, missingness, and outcome, and should respect important longitudinal and PK/PD structure. Imputing missing values alone does not correct measurement error in values that were recorded noisily; that requires an explicit measurement-error model or an appropriate latent-variable imputation model.

Definition: For \(m\) imputations, let \(Q_k\) be the estimate from imputed data set \(k\), and \(U_k\) its estimated variance. The pooled estimate is \(\bar{Q}=\frac{1}{m}\sum_{k=1}^m Q_k\). The within-imputation variance is \(\bar{U}=\frac{1}{m}\sum_{k=1}^m U_k\), and the between-imputation variance is \(B=\frac{1}{m-1}\sum_{k=1}^m(Q_k-\bar{Q})^2\). The total variance is \(T=\bar{U}+(1+\frac{1}{m})B\).

Worked Example: Pooling a Covariate-Effect Estimate

Hypothetical MI results. Suppose five imputed data sets give estimates of a covariate effect of 0.28, 0.32, 0.30, 0.34, and 0.26 response units per mmol/L. Each estimate has estimated variance \(U_k=0.0064\) \((\text{response units per mmol/L})^2\).

The pooled estimate is \(\bar{Q}=(0.28+0.32+0.30+0.34+0.26)/5=1.50/5=0.300\) response units per mmol/L. The within-imputation variance is \(\bar{U}=0.0064\). The squared deviations from 0.300 are \(0.0004, 0.0004, 0, 0.0016,\) and \(0.0016\), so \(B=0.0040/(5-1)=0.00100\) in squared slope units.

The total variance is \(T=0.0064+(1+1/5)(0.00100)=0.00760\), giving pooled standard error \(\sqrt{0.00760}=0.0872\) response units per mmol/L. The extra term represents variation among the imputed-data estimates. This pooling calculation does not guarantee valid inference: it depends on a suitable imputation model, adequate imputations, and compatible analysis and imputation models.

Sensitivity Analysis, Diagnostics, and Limitations

When MAR is doubtful, sensitivity analysis makes the untestable departure explicit. One simple pattern-mixture approach shifts the distribution of missing covariate values by a sensitivity parameter \(\delta\), conditional on observed history. If the MAR-based model predicts a missing value with mean \(\mu\), a specified sensitivity model might use mean \(\mu+\delta\), while retaining the same variance. The resulting PK/PD estimates are refitted across a scientifically plausible range of \(\delta\). This does not identify the true missing values; it shows how conclusions depend on assumptions that observed data cannot settle.

Worked Example: Interpreting a Missingness Sensitivity Shift

Hypothetical setting. Suppose a response model has a covariate slope of 0.30 response units per mmol/L. For a participant with a missing covariate, the MAR-based conditional mean is 6.0 mmol/L. As a sensitivity scenario, suppose the missing value is shifted upward by \(\delta=1.0\) mmol/L, with the same conditional variance.

The covariate mean changes from 6.0 to \(6.0+1.0=7.0\) mmol/L. Under the stated linear response model, the predicted mean response changes by \(0.30\times1.0=0.30\) response units. This is a change in the predicted response for that conditional distribution, not a claim that the fitted covariate slope itself changes by 0.30. Refitting the full model under this shifted assumption is needed to assess its effect on PK/PD parameter estimates.

Useful diagnostics include comparing observed and imputed covariate distributions by visit and subject characteristics, examining whether imputed trajectories are plausible, checking the number and pattern of missing observations, and assessing whether repeated measurements support the assumed covariate-process model. For measurement error, replicate assays, validation data, or known assay precision can help assess error variance and bias. Implausible imputed ranges, unstable estimates across model specifications, or large shifts under modest sensitivity changes signal that conclusions are assumption-dependent. Good observed-data fit alone cannot establish that a missingness model is correct.

ApproachHow uncertainty entersKey conditions and limitation
Joint likelihoodIntegrates over latent covariate values or histories while fitting covariate and outcome models.Requires defensible distributional and dependence assumptions; misspecification can bias estimates.
Multiple imputationCombines estimates and variances across plausible completed data sets.Requires an adequate imputation model; ordinary imputation does not automatically correct noisy observed values.
Sensitivity analysisRepeats estimation under explicit alternative assumptions, such as shifted missing-value distributions.Does not identify an untestable missingness mechanism; conclusions are conditional on the scenarios examined.

A common mistake is to average two endpoint measurements and call the result the time-average covariate. That is justified only with an additional trajectory or weighting assumption—for example, linear change between endpoints over the interval gives the arithmetic mean as the time-average. Another mistake is to treat a filled-in value as observed truth and then report the standard error from a single completed data set. The correction is to state the assumptions behind reconstruction and to propagate uncertainty through a joint model, MI, or a clearly labeled sensitivity analysis. These methods complement, rather than replace, careful representation of the covariate and dosing histories.

Key takeaway: Covariate histories should not be treated as certain merely because a data table contains a value for each analysis time. Distinguish measurement error from missingness, specify the assumptions linking observed and underlying values, and check how PK/PD conclusions change when those assumptions are varied.

Check Your Understanding

Answer each question using the assumptions stated. Brief solutions follow the questions.

  1. If \(\operatorname{Var}(X)=9\) and \(\operatorname{Var}(U)=3\) under classical additive measurement error, what is the reliability ratio?
  2. Why does ordinary single-value imputation generally fail to represent uncertainty in a missing covariate?
  3. In the worked likelihood example, what component of the marginal response variance comes from uncertainty in \(X\)?
  4. What does MAR assert, and why can it not generally be confirmed from observed data alone?
  5. What does a sensitivity shift of \(\delta=1\) mmol/L mean in the worked sensitivity example?

Solutions. (1) The reliability ratio is \(9/(9+3)=0.750\). (2) It treats the inserted value as fixed, so it omits variability across plausible missing values and can understate uncertainty. (3) It is \(0.30^2(1.5^2)=0.2025\) response-units squared. (4) MAR means that, conditional on included observed data, missingness does not additionally depend on the missing value; the unobserved values are unavailable for directly testing that condition. (5) It assumes the conditional mean of the missing covariate is 1 mmol/L higher than under the MAR-based model; it is a scenario for sensitivity analysis, not an estimate learned from the observed data alone.

Clinical Biostats