Tutorials › Pharmacokinetic-Pharmacodynamic (PK/PD) Modeling › Linking Time-Varying Covariates to PK/PD Parameters

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

Linking Time-Varying Covariates to PK/PD Parameters

Build and interpret covariate functions that let PK/PD parameters change over time, and assess when their shape and exposure interactions are scientifically defensible.

Advanced 10 min read

What You'll Learn

  • Define a time-varying covariate-to-parameter link using a reference value and an appropriate scale.
  • Interpret exponential and power functions for positive PK/PD parameters.
  • Distinguish covariate effects on baseline response, potency, and maximal drug effect.
  • Construct and calculate a covariate interaction with the drug-exposure response.
  • Diagnose implausible functional forms, extrapolation, and weakly supported interactions.

Why Link a Covariate to a PK/PD Parameter?

A covariate can change during follow-up, and its relationship to a model parameter can matter for predictions at particular times. For example, a time-varying renal-function measure might be linked to clearance, while a changing biomarker might be linked to potency or maximal effect. The central modeling choice is not merely whether to include the covariate, but which parameter it modifies and what function maps its values to that parameter.

Here, \(x_i(t)\) denotes a time-varying covariate for individual \(i\) at time \(t\). Treat \(x_i(t)\) as an aligned covariate value, as established by the earlier material on time-indexed covariate histories and interpolating irregular measurements. This tutorial concerns the parameter link, not how those values are reconstructed or how a full dynamic model is numerically solved.

Definition: A time-varying covariate-to-parameter function specifies a model parameter at time \(t\) as a function of the covariate value \(x_i(t)\). A reference-scaled covariate is \(z_i(t)=[x_i(t)-x_{\mathrm{ref}}]/s_x\), where \(x_{\mathrm{ref}}\) is a chosen reference value and \(s_x\) is a positive scale, such as a clinically interpretable increment. A parameter written \(P_i(t)\) may then be defined as \(P_{\mathrm{ref}} f(z_i(t))\), with \(f(0)=1\) when \(P_{\mathrm{ref}}\) is the parameter at the reference covariate value.

Reference scaling gives the parameter a useful interpretation: \(P_{\mathrm{ref}}\) is its value when \(x_i(t)=x_{\mathrm{ref}}\). Choosing \(s_x\) makes coefficients easier to read. If \(s_x\) is one standard deviation, a coefficient describes a one-standard-deviation change; if it is a specified clinical increment, the coefficient describes that increment. The choice changes coefficient units and interpretation, not the underlying covariate values.

Choosing a Link for the Parameter

For parameters that must remain positive, such as clearance \(CL_i(t)\), volume, or potency \(EC_{50,i}(t)\), a common choice is an exponential link:

$$ P_i(t)=P_{\mathrm{ref}}\exp\{\beta z_i(t)\}. $$

This form guarantees \(P_i(t)>0\) for every real value of \(\beta z_i(t)\). Taking logarithms gives \(\log[P_i(t)/P_{\mathrm{ref}}]=\beta z_i(t)\). Thus \(\beta\) is a change in log parameter per one-unit increase in \(z\); a one-unit increase multiplies the parameter by \(\exp(\beta)\), or changes it by \(100[\exp(\beta)-1]\%\). The link is linear on the log scale but nonlinear on the original scale.

A power function is another positive-valued option when the covariate is positive:

$$ P_i(t)=P_{\mathrm{ref}}\left(\frac{x_i(t)}{x_{\mathrm{ref}}}\right)^\theta. $$

At the reference value the ratio is one, so \(P_i(t)=P_{\mathrm{ref}}\). The exponent \(\theta\) describes the elasticity: a 1% relative increase in \(x\) corresponds approximately to a \(\theta\)% relative increase in \(P\), locally. This model is undefined for nonpositive \(x_i(t)\), so its use requires a positive covariate and a meaningful ratio scale.

Not every parameter should be forced to be positive or modeled multiplicatively. A baseline response \(R_{0,i}(t)\) can use an additive link, such as \(R_{0,i}(t)=R_{0,\mathrm{ref}}+\beta z_i(t)\), when an additive change in response units is scientifically sensible. If a parameter is constrained to a bounded interval, a bounded link may be needed. The link should reflect both the parameter’s allowed range and the scientific interpretation.

Worked Example: Linking Renal Function to Clearance

Suppose a hypothetical model uses a reference clearance of \(5.0\ \mathrm{L/h}\) at an estimated filtration value of \(90\ \mathrm{mL/min}\). Let the covariate at a particular time be \(60\ \mathrm{mL/min}\), and use a power link with \(\theta=0.60\). Calculate the clearance at that time.

The values are positive, so the ratio-scale power link is defined. Its reference is \(x_{\mathrm{ref}}=90\ \mathrm{mL/min}\), and:

$$ CL_i(t)=5.0\left(\frac{60}{90}\right)^{0.60}\ \mathrm{L/h} =5.0\exp\{0.60\log(2/3)\}\ \mathrm{L/h}. $$

Since \(\log(2/3)\approx-0.4055\), the exponent is \(0.60(-0.4055)=-0.2433\), and \(\exp(-0.2433)\approx0.7841\). Therefore:

$$ CL_i(t)=5(60/90)^{0.60}\approx3.920\ \mathrm{L/h}. $$

Under this hypothetical function, clearance is approximately \(3.920\ \mathrm{L/h}\) at the stated covariate value, compared with \(5.0\ \mathrm{L/h}\) at the reference value. This is a model-based association, not by itself evidence that changing renal function causes the parameter change.

Nonlinear Covariate Effects and Parameter Choice

A nonlinear covariate effect means that equal changes in the covariate do not necessarily produce equal changes in the parameter on its original scale. The exponential link already has this property. Other shapes may be appropriate when the relationship is expected to bend or saturate. For example, a saturating function can be centered at the reference value:

$$ \log\left(\frac{P_i(t)}{P_{\mathrm{ref}}}\right) =\beta\left[ \frac{x_i(t)}{K+x_i(t)} -\frac{x_{\mathrm{ref}}}{K+x_{\mathrm{ref}}} \right]. $$

Here \(K>0\) controls the covariate scale at which the function bends. The subtraction makes the log ratio zero at \(x_{\mathrm{ref}}\), preserving the interpretation of \(P_{\mathrm{ref}}\). This shape approaches a limit as \(x_i(t)\) grows, unlike an unbounded linear effect on the log scale. Its use still requires a plausible \(K\), adequate covariate range, and data informative enough to distinguish curvature from a simpler relationship.

The parameter selected for modification determines the scientific meaning of the covariate effect. In a standard Emax response function,

$$ R_i(t)=R_{0,i}(t)+ \frac{E_{\max,i}(t)C_i(t)} {EC_{50,i}(t)+C_i(t)}, $$

changing \(R_{0,i}(t)\) shifts the baseline, changing \(E_{\max,i}(t)\) changes the maximum drug-related increment, and changing \(EC_{50,i}(t)\) shifts the concentration scale of the response. A lower \(EC_{50}\) means greater potency in this model: at the same positive concentration and fixed baseline and \(E_{\max}\), the drug-related response fraction is larger. These are distinct hypotheses, even if their predictions can look similar over a narrow concentration range.

Worked Example: A Covariate-Dependent Potency

Consider a hypothetical Emax model with reference potency \(EC_{50,\mathrm{ref}}=2.0\ \mathrm{mg/L}\). Let a time-varying biomarker be \(3.5\) units when its reference is \(2.75\) units, with scale \(s_x=1.0\) unit. Suppose \(\log[EC_{50,i}(t)/EC_{50,\mathrm{ref}}]=\beta z_i(t)\) and \(\beta=-0.35\). Calculate the potency and response at concentration \(C_i(t)=4.0\ \mathrm{mg/L}\), using baseline \(5.0\) response units and \(E_{\max}=30\) response units.

First, \(z_i(t)=(3.5-2.75)/1.0=0.75\), so \(\beta z_i(t)=-0.35(0.75)=-0.2625\). The positive exponential link gives:

$$ EC_{50,i}(t)=2.0\exp(-0.2625) \approx2.0(0.7691)=1.538\ \mathrm{mg/L}. $$

The units are consistent: the exponential and its argument are dimensionless, so the result retains the units of the reference potency. Substituting the displayed potency into the Emax equation:

$$ R_i(t)=5.0+30\left(\frac{4.0}{1.538+4.0}\right) \approx5.0+30(0.7223) \approx26.67\ \text{response units}. $$

The negative coefficient makes potency lower as the biomarker rises above its reference in this specified model. At the stated concentration, this lowers the denominator of the Emax fraction and increases the drug-related response relative to the reference-potency case. This interpretation is conditional on holding baseline and \(E_{\max}\) fixed.

Interactions Between Covariates and Drug Exposure

A covariate may alter the drug-related response rather than merely add a separate response shift. One explicit construction lets the covariate modify the maximal drug effect:

$$ R_i(t)=R_0+ E_{\max}\{1+\gamma z_i(t)\} \frac{C_i(t)}{EC_{50}+C_i(t)}. $$

The product of the covariate-dependent multiplier and the concentration-response fraction is an exposure interaction: the covariate changes the size of the response associated with drug exposure. In this form, the covariate has no effect on response when \(C_i(t)=0\), because the drug-related term is then zero. The multiplier must remain positive over the intended covariate range if a positive maximal drug effect is required. This linear multiplier is only one possible interaction form; a log link for \(E_{\max}\) may be safer when positivity must hold without a restricted covariate range.

Worked Example: Covariate Modification of the Drug-Related Effect

For a hypothetical response model, let \(R_0=4\) response units, \(E_{\max}=24\) response units, \(EC_{50}=2\ \mathrm{mg/L}\), \(\gamma=0.20\), and \(C_i(t)=3\ \mathrm{mg/L}\). Compare the prediction at \(z_i(t)=0\) with the prediction at \(z_i(t)=1\).

The concentration fraction is \(3/(2+3)=0.6000\). At the reference covariate value, the multiplier is \(1+0.20(0)=1\), giving:

$$ R_i(t)=4+24(1)(0.6000)=18.40\ \text{response units}. $$

At \(z_i(t)=1\), the multiplier is \(1+0.20(1)=1.20\), which is positive and therefore admissible for this example. The prediction is:

$$ R_i(t)=4+24(1.20)(0.6000) =4+17.28=21.28\ \text{response units}. $$

The modeled difference is \(21.28-18.40=2.88\) response units at this concentration. At zero concentration, both predictions equal \(4\) response units. Thus the covariate modifies the exposure-related component rather than acting as a direct baseline shift.

Justification, Diagnostics, and Alternatives

The reference interpretation of the exponential link follows directly from substitution. With \(z_i(t)=[x_i(t)-x_{\mathrm{ref}}]/s_x\), at \(x_i(t)=x_{\mathrm{ref}}\), \(z_i(t)=0\), and therefore \(P_i(t)=P_{\mathrm{ref}}\exp(0)=P_{\mathrm{ref}}\). For a one-unit increase in \(z\), the parameter ratio is:

$$ \frac{P(z+1)}{P(z)} =\frac{P_{\mathrm{ref}}\exp\{\beta(z+1)\}} {P_{\mathrm{ref}}\exp(\beta z)} =\exp(\beta). $$

This ratio does not depend on the starting value \(z\), so the link imposes a constant multiplicative change per scale unit. By contrast, an additive parameter model imposes a constant absolute change per scale unit. This distinction is a useful check that the chosen form matches the scientific question.

Diagnostics should examine both the parameter link and its consequences for predicted concentrations or responses. Plot the covariate against the fitted parameter function over the observed range, and check that the reference point and direction of effect are as intended. Look for implausibly rapid changes, nonpositive values where positivity is required, boundary behavior, and predictions driven by covariate values outside the data range. Compare fitted and observed responses across covariate ranges and exposure levels; an interaction that is poorly supported may appear as unstable estimates or markedly different predictions from small changes in the fitted coefficient.

The main alternatives encode different assumptions. An additive covariate term is interpretable in the parameter’s units but may violate positivity. A log-linear link enforces positivity and gives multiplicative effects, but assumes a constant log-scale slope. A power link is natural for positive ratio-scale covariates. A spline or saturating function can represent curvature, at the cost of more flexibility and greater need for data support. Adding a covariate directly to the response differs from linking it to a PK/PD parameter: the former can shift response independently of exposure, while the latter changes the model’s concentration-response structure.

A fitted time-varying link also makes a substantive timing assumption: the parameter at time \(t\) is determined by the covariate value assigned to that time. If the effect is delayed, this instantaneous link may be inadequate. Further, association in an observational dataset does not establish causation, and correlated covariates or sparse measurements can make the selected parameter link difficult to identify. Nonlinear functions are especially vulnerable to unsupported extrapolation and to trade-offs among parameter effects.

Common Mistakes

  • Using an invalid scale. A power function requires a positive covariate; check its domain before fitting or calculating.
  • Misreading an exponential coefficient. \(\beta\) is a log-scale coefficient, not a fixed absolute change in the parameter. The multiplier for one scale unit is \(\exp(\beta)\).
  • Linking the covariate to the wrong feature. An \(EC_{50}\) effect concerns potency, whereas a baseline effect shifts response independently of drug exposure.
  • Assuming an interaction is harmless everywhere. In the linear \(E_{\max}\) multiplier, verify \(1+\gamma z_i(t)>0\) across the intended range.
  • Interpreting association as causation. A time-varying covariate link describes a modeled relationship; it does not, by itself, identify a causal effect.
Key takeaway: Define the covariate scale and reference, choose a link compatible with the parameter’s range, and state whether the covariate modifies baseline, potency, maximal effect, or the exposure-related response. Check the resulting function across the observed covariate and exposure ranges before interpreting it.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions below.

  1. For \(P_i(t)=P_{\mathrm{ref}}\exp\{\beta z_i(t)\}\), what is \(P_i(t)\) at the reference covariate value?
  2. If \(\beta=-0.20\) in this exponential link, what is the parameter multiplier for a one-unit increase in \(z\), to three significant figures?
  3. In an Emax model, which parameter would you link to a covariate if the scientific hypothesis concerns potency?
  4. For the interaction multiplier \(1+\gamma z\), what condition is needed to keep a positive \(E_{\max}\) multiplier over the covariate range?
  5. Why does a covariate effect on baseline response differ from an interaction with drug exposure?

Solutions. (1) At the reference, \(z=0\), so \(P_i(t)=P_{\mathrm{ref}}\exp(0)=P_{\mathrm{ref}}\). (2) The multiplier is \(\exp(-0.20)\approx0.819\), a decrease of about \(18.1\%\) per scale unit. (3) Link \(EC_{50}\); a lower \(EC_{50}\) corresponds to greater potency in the standard Emax model. (4) Require \(1+\gamma z>0\) for every covariate value in the intended range. (5) A baseline effect can change response at zero drug concentration, whereas the exposure interaction shown multiplies a drug-related term that is zero when concentration is zero.

Clinical Biostats