Tutorials › Pharmacokinetic-Pharmacodynamic (PK/PD) Modeling › Worked Example: Effect-Compartment Estimation With Sparse Concentrations

Sequential Versus Simultaneous PK/PD Estimation · Tutorial 417 of 598

Worked Example: Effect-Compartment Estimation With Sparse Concentrations

Work through sequential and joint estimation of equilibration rate and Emax when plasma concentrations are sparse and PD responses are delayed.

Advanced 12 min read

What You'll Learn

  • Derive the effect-compartment concentration for a one-compartment bolus profile.
  • Calculate a delayed Emax response from an effect-site concentration.
  • Compare sequential and joint likelihoods when plasma samples are sparse.
  • Identify how uncertainty in the PK profile can affect equilibration-rate and Emax estimates.
  • Diagnose weak identification and assess the limits of a single simulated fit.

Why Sparse Concentrations Complicate Effect-Compartment Estimation

When a pharmacodynamic response rises or falls later than plasma concentration, an effect-compartment model represents the delay with an equilibration rate. Estimating that rate is challenging when plasma samples are sparse: the unobserved parts of the plasma curve are uncertain, and those parts determine the input to the effect compartment. The estimated equilibration rate and the estimated Emax can therefore depend on whether the PK fit is frozen before PD estimation or whether both data sources contribute to one joint fit.

The calculations below use a deliberately simple simulated model to make that dependence visible. They are not a claim that joint estimation must always give better estimates. The result depends on the model, sampling design, residual assumptions, and information in both data streams.

Model: For a one-compartment bolus profile, let \(C_p(t)=C_0e^{-kt}\), where \(C_0\) is the initial plasma concentration and \(k\) is the elimination rate constant. The effect-compartment concentration \(C_e(t)\) follows \(\frac{dC_e(t)}{dt}=k_{e0}\{C_p(t)-C_e(t)\}\), with \(C_e(0)=0\). The response follows \(R(t)=E_0+\frac{E_{\max}C_e(t)}{EC_{50}+C_e(t)}\). Here \(k_{e0}\) is the equilibration rate, \(E_0\) is baseline response, \(E_{\max}\) is the maximum response above baseline, and \(EC_{50}\) is the effect-compartment concentration producing half of \(E_{\max}\).

This example assumes a known bolus time, a single linear effect compartment, an inhibitory-free increasing Emax response, and conditionally independent Gaussian errors in measured plasma concentrations and responses. It also assumes the same structural PK model is appropriate for the concentration and response observations. For the worked calculations, \(E_0\) and \(EC_{50}\) are fixed; in an applied analysis, whether to estimate them must be considered in light of the design and identifiability.

Deriving the Effect-Compartment Concentration

The effect-compartment equation says that \(C_e(t)\) moves toward the current plasma concentration at a rate controlled by \(k_{e0}\). Multiplying the differential equation by the integrating factor \(e^{k_{e0}t}\) and integrating from zero to \(t\) gives the convolution expression below. It makes explicit that the effect compartment retains a weighted history of plasma concentrations, rather than responding only to the current plasma value.

$$ C_e(t)=k_{e0}\int_0^t C_p(s)e^{-k_{e0}(t-s)}\,ds $$

Substitute \(C_p(s)=C_0e^{-ks}\). When \(k_{e0}\ne k\), integration gives the following closed-form expression. If the two rates are equal, the limiting expression applies instead.

$$ C_e(t)=\frac{k_{e0}C_0}{k_{e0}-k}\left(e^{-kt}-e^{-k_{e0}t}\right),\qquad C_e(t)=C_0kt e^{-kt}\ \text{when } k_{e0}=k. $$

The equal-rate case follows by taking the limit as \(k_{e0}\) approaches \(k\). For example, the difference \(e^{-kt}-e^{-k_{e0}t}\), divided by \(k_{e0}-k\), approaches \(t e^{-kt}\); multiplying by \(k_{e0}C_0\) then gives \(C_0kt e^{-kt}\). This limit matters numerically: direct use of the unequal-rate formula near equal rates can cause loss of precision.

Worked Example: Calculating a Delayed Response

Suppose a simulated bolus profile has \(C_0=10.0\) mg/L and \(k=0.500\) h\(^{-1}\). At \(t=1.00\) h, calculate the effect concentration and response for \(k_{e0}=0.800\) h\(^{-1}\), \(E_0=5.00\) response units, \(E_{\max}=80.0\) response units, and \(EC_{50}=2.00\) mg/L.

The rates differ, so use the unequal-rate expression:

$$ C_e(1)=\frac{(0.800)(10.0)}{0.800-0.500} \left(e^{-(0.500)(1)}-e^{-(0.800)(1)}\right) =26.6667(0.606531-0.449329) =4.192\ {\rm mg/L}. $$

Substitute this effect concentration into the Emax equation:

$$ R(1)=5.00+\frac{(80.0)(4.192)}{2.00+4.192} =5.00+54.16 =59.16\ \text{response units}. $$

The response is not calculated from the plasma concentration at exactly one hour. It is calculated from the effect-compartment concentration, which incorporates the preceding plasma profile.

Sequential and Joint Likelihoods

In a sequential fit, the concentration data are used first to estimate the PK parameters. The resulting PK estimates are then held fixed while the response data are used to estimate PD parameters such as \(k_{e0}\) and \(E_{\max}\). This is computationally convenient, but the second stage treats the estimated plasma profile as though it were known. Uncertainty in the sparse-data PK fit is not automatically carried into the PD likelihood.

In a joint fit, the concentration and response observations contribute to one likelihood. For example, suppose the concentration residuals have variance \(\sigma_C^2\), and response residuals have variance \(\sigma_R^2\). Under the stated independent Gaussian-error assumption, the negative log likelihood is:

$$ -\ell= \frac{1}{2}\sum_{i,j}\left[ \log(2\pi\sigma_C^2)+ \frac{\{C_{ij}-C_p(t_{ij})\}^2}{\sigma_C^2} \right] + \frac{1}{2}\sum_{i,l}\left[ \log(2\pi\sigma_R^2)+ \frac{\{R_{il}-R(t_{il})\}^2}{\sigma_R^2} \right]. $$

The indices \(i\) refer to individuals, \(j\) to concentration observations, and \(l\) to response observations. If the variances are fixed, the log-variance terms are constant with respect to the model parameters and may be omitted when comparing parameter estimates. If either variance is estimated, its log-variance term must be included: otherwise the objective is not the Gaussian negative log likelihood and can favour inappropriate variance estimates.

Worked Example: How Sparse PK Data Weight the Fit

Consider two hypothetical concentration observations: 7.60 mg/L at 0.500 h and 3.90 mg/L at 2.00 h. Compare two candidate PK curves, assuming a fixed concentration residual standard deviation \(\sigma_C=0.200\) mg/L. Candidate A has \(C_0=10.0\) mg/L and \(k=0.500\) h\(^{-1}\); candidate B has \(C_0=9.60\) mg/L and \(k=0.450\) h\(^{-1}\).

Candidate A predicts \(10.0e^{-0.250}=7.788\) mg/L at 0.500 h and \(10.0e^{-1.00}=3.679\) mg/L at 2.00 h. Its sum of squared concentration residuals is:

$$ (7.60-7.788)^2+(3.90-3.679)^2 =(-0.188)^2+(0.221)^2 =0.0842\ ({\rm mg/L})^2. $$

Candidate B predicts \(9.60e^{-0.225}=7.666\) mg/L and \(9.60e^{-0.900}=3.903\) mg/L. Its sum of squared residuals is:

$$ (7.60-7.666)^2+(3.90-3.903)^2 =(-0.066)^2+(-0.003)^2 =0.00436\ ({\rm mg/L})^2. $$

With the same fixed variance, the difference in the concentration contribution to negative log likelihood, candidate A minus candidate B, is \( (0.0842-0.00436)/(2(0.200)^2)=0.998\). Thus the concentration data alone favour candidate B in this two-candidate comparison. In a joint fit, response residuals can also affect the selected PK curve, because that curve determines \(C_e(t)\). A joint fit does not simply choose the PK curve with the smallest concentration residual sum of squares.

A Simulated Sequential-versus-Joint Comparison

The next example illustrates how the parameter estimates can move when the response data help determine the latent PK profile. The reported fits are hypothetical optimizer outputs from one simulated data set with sparse concentration observations and delayed responses. Assume \(E_0=5.00\) response units and \(EC_{50}=2.00\) mg/L were fixed for both fits, so that the comparison focuses on \(k_{e0}\) and \(E_{\max}\), together with PK parameters.

Worked Example: Comparing Estimates and Predictions

Suppose a sequential analysis estimates \(C_0=9.85\) mg/L and \(k=0.480\) h\(^{-1}\) from the concentration data, then estimates \(k_{e0}=0.620\) h\(^{-1}\) and \(E_{\max}=92.0\) response units from the response data. A joint analysis of both data streams estimates \(C_0=9.72\) mg/L, \(k=0.460\) h\(^{-1}\), \(k_{e0}=0.790\) h\(^{-1}\), and \(E_{\max}=84.0\) response units.

For the sequential estimates at one hour, the effect concentration is:

$$ C_{e,\mathrm{seq}}(1)= \frac{(0.620)(9.85)}{0.620-0.480} (e^{-0.480}-e^{-0.620}) \approx43.6214(0.618783-0.537944) =3.526\ {\rm mg/L}. $$

The predicted response is \(5.00+(92.0)(3.526)/(2.00+3.526)=63.70\) response units. For the joint estimates:

$$ C_{e,\mathrm{joint}}(1)= \frac{(0.790)(9.72)}{0.790-0.460} (e^{-0.460}-e^{-0.790}) =23.27(0.6313-0.4538) =4.129\ {\rm mg/L}. $$

The corresponding predicted response is \(5.00+(84.0)(4.129)/(2.00+4.129)=61.59\) response units. The joint fit has a higher predicted effect concentration at this time but a lower estimated Emax, so its predicted response is slightly lower. The parameter estimates must be interpreted together; comparing \(k_{e0}\) alone does not tell us which fit predicts the larger response.

These estimates are illustrative, not evidence that the joint fit is more accurate. To assess performance, one would examine the fitted concentration and response residuals, uncertainty and parameter correlation, and—if the goal is to compare estimation strategies—simulation results across repeated data sets under a credible model.

Assumptions, Diagnostics, and Alternatives

An effect-compartment fit is meaningful only if the structural and error assumptions are reasonably compatible with the data. In particular, a single first-order equilibration rate assumes the effect compartment approaches plasma concentration with a constant rate. A delayed response can also arise from an indirect-response process, active metabolites, tolerance, or another mechanism. The effect-compartment model may reproduce a delay without identifying its biological cause.

Useful checks include plotting observed and predicted concentrations and responses against time, inspecting residuals for systematic trends, and checking whether the predicted response shows a plausible delay relative to the plasma curve. A fitted \(k_{e0}\) near a parameter boundary, a very broad profile likelihood, or large changes in \(k_{e0}\) and \(E_{\max}\) under modest changes in the PK fit signal weak identification. With sparse PK samples, intermediate plasma concentrations are model-based predictions, not direct observations. If those predictions are uncertain, a narrow PD confidence interval conditional on a frozen PK fit can overstate the information available.

The central comparison is not “sequential is wrong, joint is right.” Sequential estimation can be reasonable when the PK profile is well characterized and the loss of PK uncertainty has little practical effect. Joint estimation carries the PK and PD residual contributions into one objective, but it can also let a misspecified PD model pull the PK estimates away from what the concentration data support. The table summarizes the distinction.

FeatureSequential estimationJoint estimation
PK information used in PD fitFrozen PK parameter estimates and their implied profilePK parameters remain part of the shared likelihood
PK uncertaintyUsually not fully propagated if the PK estimates are treated as fixedRepresented through the joint likelihood, subject to model and uncertainty assumptions
Main vulnerabilityPD estimates may be sensitive to an uncertain plug-in profileMisspecification or imbalance between data streams can influence shared estimates
Practical checkAssess sensitivity to plausible PK profilesInspect both data streams’ fit and the contribution of each likelihood component

When rates are close, use a numerically stable implementation of the equal-rate limit rather than subtracting nearly equal exponentials. When concentrations or responses have different units or measurement variability, their likelihood contributions should be scaled by their appropriate variances; raw sums of squared residuals from the two assays are not directly comparable. If the response model includes estimated residual variances, retain the corresponding log-variance terms in the likelihood.

Common Pitfall

  • Wrong reasoning: “The sequential PD standard error is small, so \(k_{e0}\) and Emax are precisely estimated.”
  • Correction: That standard error may be conditional on a frozen PK curve. With sparse concentrations, uncertainty in that curve can affect the effect-compartment trajectory and the PD estimates. Check sensitivity to PK uncertainty or fit a joint model, then assess whether the assumptions and fit support the result.

A second common error is to minimize only the weighted squared residuals while estimating residual variances and call the result a Gaussian likelihood fit. The variance-dependent log terms are part of that likelihood; omit them only when the variances are fixed, and then only because they are constant with respect to the parameters being optimized.

Key takeaway: Sparse plasma observations leave uncertainty in the concentration history that drives the effect compartment. Sequential estimation conditions on a fitted PK profile; joint estimation lets both data streams inform shared parameters. Neither approach removes the need to check identifiability, residual fit, and structural assumptions.

Check Your Understanding

Answer each question, then compare with the worked solutions below.

  1. For \(C_0=8.00\) mg/L, \(k=0.400\) h\(^{-1}\), and \(k_{e0}=0.400\) h\(^{-1}\), calculate \(C_e(1.00\ {\rm h})\).
  2. In a sequential fit, what uncertainty is commonly lost when the PK parameter estimates are treated as fixed in the PD stage?
  3. Why must the log-variance terms be included in the Gaussian negative log likelihood when residual variances are estimated?
  4. Does a joint fit necessarily produce more accurate estimates than a sequential fit? Give one reason for your answer.

Solutions. (1) The rates are equal, so \(C_e(t)=C_0kt e^{-kt}\). Thus \(C_e(1)=8.00(0.400)(1.00)e^{-0.400}=2.145\) mg/L. (2) Uncertainty in the fitted PK parameters, and therefore uncertainty in the plasma profile and effect-compartment input, is commonly not propagated when that profile is treated as fixed. (3) The log-variance terms depend on the variance being estimated; leaving them out changes the objective and can lead to invalid variance estimates. (4) No. A joint fit can be influenced by misspecification in either data model or by poorly balanced information, so accuracy depends on the design and assumptions as well as the estimation strategy.

Clinical Biostats