Tutorials › Pharmacometrics › Prediction-Corrected Visual Predictive Checks
Pharmacokinetics · Population PK Diagnostics

Prediction-Corrected Visual Predictive Checks

Learn how prediction-corrected visual predictive checks (pcVPCs) assess population PK models when predicted concentrations vary substantially over time or across subjects, and how prediction correction helps separate model adequacy from changes in the magnitude of the underlying predictions.

Intermediate Population PK Model Diagnostics Pharmacometrics
01 · The big picture

1. What Is a Prediction-Corrected VPC?

A visual predictive check (VPC) compares observed data with data simulated from a fitted population PK model. The purpose is to determine whether the model can reproduce important features of the observed data, including the central tendency and variability over time.

A conventional VPC works particularly well when the magnitude of the model prediction is reasonably comparable across the time range being evaluated. However, concentration-time data often have strongly changing predictions. Concentrations may be high shortly after dosing and much lower later, or different subjects may have substantially different predicted concentration levels because of covariates.

A prediction-corrected visual predictive check (pcVPC) adjusts observed and simulated concentrations relative to the model's typical prediction at the corresponding time or prediction bin. This reduces the influence of systematic changes in prediction magnitude and makes the variability structure easier to compare across the prediction range.

Core idea: a pcVPC asks whether the observed data have the same relative behavior around the model prediction as the simulated data, rather than comparing raw concentrations alone.
02 · Why prediction correction?

2. Why Is Prediction Correction Needed?

Consider a concentration-time profile following an oral dose. Early concentrations may be large, while concentrations several hours later may be much smaller. The absolute size of the variability therefore changes with the prediction.

For example, a 2 mg/L deviation from a prediction of 20 mg/L is very different from a 2 mg/L deviation from a prediction of 2 mg/L. A conventional VPC displays these differences on the original concentration scale, where changes in prediction magnitude can dominate the visual comparison.

Situation Potential issue with a conventional VPC What prediction correction helps with
Large change in concentration over time Absolute variability changes with the prediction Places observations and simulations on a relative scale
Strong covariate effects Different subjects may have different prediction levels Accounts for differences in expected prediction magnitude
Wide dynamic range High concentrations can dominate the visual display Makes relative deviations easier to compare
Nonuniform prediction distribution Raw percentiles may be difficult to interpret across bins Uses model-based predictions as the reference for correction

Prediction correction does not replace the conventional VPC. Instead, it is an additional diagnostic that can be particularly informative when prediction magnitude changes substantially across the independent variable.

03 · The central concept

3. The Prediction-Correction Concept

Let \(y_{ij}\) denote an observed concentration for subject \(i\) at time \(t_{ij}\). Let \(PRED_{ij}\) represent the corresponding model prediction. The basic idea of prediction correction is to express the observation relative to an appropriate typical prediction at that point in the prediction range.

A simplified representation is:

\[ PC_{ij} = y_{ij} \frac{PRED_{\mathrm{ref}}(t_{ij})} {PRED_{ij}} \]

where \(PRED_{\mathrm{ref}}\) is a reference prediction, often derived from the distribution of predictions in the relevant time or prediction bin. The exact implementation depends on the prediction-correction method and binning strategy.

The same correction is applied to simulated observations. This is important: the diagnostic must compare observations and simulations on the same prediction-corrected scale.

Key principle: prediction correction should not be viewed as a transformation applied only to the observed data. The observed and simulated datasets must be treated consistently so that their distributions remain comparable.
04 · Workflow

4. How Is a pcVPC Constructed?

A typical prediction-corrected VPC follows a sequence of model-based simulation and comparison steps.

  1. Fit the population PK model. Estimate the structural parameters, variability parameters, covariate relationships, and residual error model.
  2. Generate replicated datasets. Use the fitted model to simulate many datasets under the same or appropriately matched study design.
  3. Calculate predictions. Obtain the model prediction associated with each observed and simulated observation.
  4. Define prediction or time bins. Partition the independent variable, usually time, into intervals containing enough information for stable summaries.
  5. Determine the reference prediction. Within each bin, characterize the distribution of model predictions and obtain a reference value used for prediction correction.
  6. Prediction-correct the observations and simulations. Transform both datasets using the corresponding prediction reference.
  7. Calculate percentiles. For each bin, calculate selected percentiles of the prediction-corrected observations and simulations.
  8. Compare observed and simulated summaries. The observed percentiles are compared with simulation-based prediction intervals.
05 · Visual structure

5. What Does a pcVPC Look Like?

Time Prediction-corrected concentration Observed median Simulated prediction interval

Conceptually, the pcVPC compares prediction-corrected observed percentiles with simulation-based prediction intervals across time. The shaded region represents a simulated prediction interval, while the observed percentile curve is overlaid for comparison.

The exact appearance depends on the implementation. A typical pcVPC displays one or more observed percentile curves, such as the 10th, 50th, and 90th percentiles, together with corresponding simulation-based prediction intervals.

06 · Prediction reference

6. What Is the Reference Prediction?

The prediction correction requires a reference prediction. Conceptually, this reference represents the expected model prediction for the relevant portion of the independent-variable range.

Suppose the prediction distribution in a time bin is represented by \(PRED_{ij}\). A reference value can be obtained from that distribution, depending on the chosen pcVPC methodology.

The corrected observation can then be expressed generically as:

\[ PC\text{-}OBS_{ij} = OBS_{ij} \frac{PRED_{\mathrm{ref}}} {PRED_{ij}} \]

The same principle applies to a simulated observation:

\[ PC\text{-}SIM_{ij} = SIM_{ij} \frac{PRED_{\mathrm{ref}}} {PRED_{ij}} \]

After correction, values can be compared across the bin even when the original model predictions differed substantially.

Important: the reference prediction is part of the diagnostic definition. Different implementation choices can affect the resulting plot, so the method used to calculate the reference prediction should be documented.
07 · Binning

7. Why Does Binning Matter?

Both conventional VPCs and pcVPCs usually summarize data over regions of the independent variable rather than at every individual observation time. Binning provides enough observations within each region to estimate percentiles more stably.

For example, time after dose might be divided into intervals such as:

Bin Time range Purpose
1 0–1 h Early absorption and distribution
2 1–2 h Transition toward peak concentration
3 2–4 h Early elimination
4 4–8 h Later elimination
5 8–12 h Terminal portion of the profile

The bins should contain enough information to produce useful percentile estimates while retaining sufficient temporal resolution to identify important model deficiencies.

Poorly chosen bins can make a diagnostic difficult to interpret. Excessively wide bins may hide localized model misspecification, whereas very narrow bins may produce unstable percentile estimates.

08 · Percentiles

8. Which Percentiles Are Compared?

A pcVPC commonly compares the central tendency and variability of the prediction-corrected observations with corresponding quantities from the simulations.

Common percentile summaries include:

  • 10th percentile — lower portion of the distribution.
  • 50th percentile — median or central tendency.
  • 90th percentile — upper portion of the distribution.

For each percentile, the simulated datasets provide a distribution of the percentile estimate. This allows a simulation-based prediction interval to be constructed around the simulated percentile.

\[ \text{Observed percentile} \quad\text{vs.}\quad \text{simulation-based prediction interval} \]

If the observed percentile generally remains within the corresponding simulation-based interval, that feature of the observed data is broadly consistent with the model simulations.

09 · Simulation

9. Why Does the VPC Need Simulation?

The VPC is fundamentally a simulation-based diagnostic. A fitted population PK model is used to generate many datasets that would be expected if the model were an adequate representation of the data-generating process.

Suppose \(B\) simulated datasets are generated. For a particular time bin, each simulated dataset produces an estimate of the 50th percentile. These \(B\) estimates form a distribution of possible medians under the fitted model.

A central prediction interval can then be constructed from that distribution. For example, a 95% simulation-based interval might be obtained from the 2.5th and 97.5th percentiles of the simulated statistic.

Interpretation: the shaded simulation interval is not a confidence interval for the fitted parameter. It represents the range of summary statistics that could arise from simulated datasets under the fitted model.
10 · Worked example

10. Worked Example: Prediction Correction

Consider a hypothetical population PK model evaluated at a particular time bin. Suppose the reference model prediction in that bin is 10 mg/L.

For one observed subject, the model prediction is 8 mg/L and the observed concentration is 6 mg/L.

Step 1: Identify the observed concentration

\[ OBS=6\text{ mg/L} \]

Step 2: Identify the individual prediction

\[ PRED=8\text{ mg/L} \]

Step 3: Identify the reference prediction

\[ PRED_{\mathrm{ref}}=10\text{ mg/L} \]

Step 4: Apply prediction correction

\[ PC\text{-}OBS = 6 \left( \frac{10}{8} \right) = 7.5\text{ mg/L} \]

The prediction-corrected observation is therefore 7.5 mg/L on the reference prediction scale.

Step 5: Interpret the transformation

The original observation was 75% of its individual prediction:

\[ \frac{6}{8}=0.75 \]

The prediction-corrected value preserves this relative relationship while expressing it at the reference prediction of 10 mg/L:

\[ 0.75\times10=7.5\text{ mg/L} \]
Important: this example illustrates the arithmetic of prediction correction. A real pcVPC involves many observations, prediction bins, simulated datasets, and percentile calculations.
11 · Covariates

11. Why Are pcVPCs Useful in Covariate-Rich Models?

Population PK models frequently include covariates such as body weight, creatinine clearance, age, sex, or other patient characteristics. These covariates can produce large differences in predicted concentrations among subjects.

Suppose two subjects have different predicted concentrations at the same nominal time because one subject has substantially higher clearance. A conventional VPC may reflect these prediction differences directly in the raw concentration distribution.

Prediction correction attempts to account for these expected differences by expressing observations and simulations relative to the model predictions. This can make it easier to evaluate whether the remaining variability and distributional behavior are consistent with the model.

Model feature Potential effect on raw concentrations Diagnostic question after prediction correction
Body-weight effect on clearance Different concentration levels among subjects Does residual relative behavior agree with simulations?
Renal-function effect Different elimination rates Does the model reproduce variability after accounting for prediction level?
Dose differences Different concentration magnitudes Does the model reproduce the relative distribution?
Multiple dosing regimens Different prediction trajectories Does the model reproduce the observed profile across regimens?
12 · Interpretation

12. How Should a pcVPC Be Interpreted?

The most important question is whether the observed prediction-corrected percentiles are reasonably consistent with the corresponding simulation-based prediction intervals.

Several patterns can be informative.

Observed median outside the simulation interval

If the observed median repeatedly lies outside the simulation interval over a meaningful portion of the profile, the model may not adequately reproduce the central tendency in that region.

Observed variability outside the simulation interval

If the observed lower or upper percentile systematically departs from the corresponding simulated interval, the model may not adequately describe the observed variability.

Localized discrepancies

A discrepancy confined to a particular time region may point toward a specific model component, such as absorption, distribution, or terminal elimination.

Broad discrepancies

A systematic departure over much of the profile may suggest a more general problem with the structural model, covariate model, variability model, or simulation setup.

Diagnostic principle: a pcVPC identifies patterns of inconsistency between observations and model simulations. It does not by itself identify the precise cause of the discrepancy.
13 · Common patterns

13. Common pcVPC Patterns and What They May Suggest

Pattern Possible interpretation
Observed median systematically above simulations The model may underpredict the central tendency in that region.
Observed median systematically below simulations The model may overpredict the central tendency in that region.
Observed 90th percentile above simulations Observed upper-tail variability may exceed model-predicted variability.
Observed 10th percentile below simulations Observed lower-tail variability may exceed model-predicted variability.
Only early times disagree Absorption, lag time, formulation, or early distribution may require investigation.
Only late times disagree Elimination or terminal disposition may require investigation.
Discrepancy changes by covariate group A covariate relationship or unexplained heterogeneity may require investigation.

These interpretations are hypotheses rather than automatic conclusions. Other diagnostics should be examined before attributing a particular discrepancy to a specific model component.

14 · Comparison

14. Conventional VPC vs. pcVPC

Feature Conventional VPC Prediction-corrected VPC
Scale Original observation scale Prediction-corrected scale
Uses model predictions Yes, for simulation Yes, for simulation and correction
Accounts for changing prediction magnitude Less directly Explicitly incorporates prediction magnitude
Useful for dynamic concentration ranges Yes Often particularly informative
Interpretation Observed concentration distribution vs simulated distribution Relative observed behavior vs simulated behavior around model predictions

The two diagnostics answer closely related but not identical questions. Viewing both can provide a more complete understanding of model performance.

15 · Limitations

15. Limitations and Important Cautions

A pcVPC is a useful model diagnostic, but it should not be treated as a single definitive test of model validity.

  • Prediction correction depends on the fitted model. The correction itself uses model predictions, so the diagnostic is inherently model-dependent.
  • Binning affects the result. Different binning strategies can emphasize or obscure different patterns.
  • Simulation size matters. Too few simulation replicates can make simulation-based intervals noisy.
  • Sampling design matters. Sparse observations may limit the ability to identify localized model misspecification.
  • A visually acceptable pcVPC is not proof of model correctness. Other diagnostics and scientific considerations remain necessary.
  • Prediction correction does not eliminate all structural effects. The diagnostic should be interpreted together with other model diagnostics.
  • Extreme or unusual prediction distributions require care. The reference prediction and correction can become difficult to interpret when the prediction distribution is poorly behaved.
16 · Diagnostic framework

16. Where Does the pcVPC Fit in Population PK Diagnostics?

A pcVPC is most informative when considered as one component of a broader model-evaluation strategy.

Diagnostic Main question
Observed vs predicted plots Do individual and population predictions describe the observations?
Residual diagnostics Are residual patterns consistent with the observation model?
VPC Can the model reproduce the observed distribution over time?
pcVPC Can the model reproduce relative distributional behavior after accounting for prediction magnitude?
NPDE Are normalized prediction discrepancies consistent with the model assumptions?
Parameter diagnostics Are parameter estimates plausible and sufficiently precise?
Covariate diagnostics Does the model adequately describe systematic differences among subjects?

No single diagnostic should generally be interpreted in isolation. A useful model-evaluation workflow looks for a coherent picture across multiple diagnostic approaches.

17 · Practical workflow

17. A Practical pcVPC Workflow

  1. Finalize the candidate population PK model. Make sure the structural, variability, covariate, and residual-error components are specified.
  2. Generate adequate simulations. Use enough replicate datasets to estimate the simulation-based prediction intervals with reasonable stability.
  3. Check the simulation setup. Match relevant dose, sampling, observation, and study-design characteristics.
  4. Choose the independent variable. Usually this is time after dose, but other independent variables may be appropriate depending on the diagnostic objective.
  5. Select an appropriate binning strategy. Balance temporal resolution against the number of observations available per bin.
  6. Calculate prediction-corrected observations and simulations. Use the documented prediction-correction method consistently.
  7. Calculate observed and simulated percentiles. Common choices include the 10th, 50th, and 90th percentiles.
  8. Construct simulation-based prediction intervals. Summarize the distribution of the simulated percentile estimates.
  9. Inspect the resulting pcVPC. Look for systematic deviations in central tendency, variability, and specific time regions.
  10. Compare with other diagnostics. Use residual plots, conventional VPCs, parameter estimates, covariate diagnostics, and other relevant assessments.

18. Key Takeaways

  • A prediction-corrected visual predictive check evaluates whether observed and simulated data have similar relative behavior after accounting for differences in model-predicted magnitude.
  • Prediction correction is particularly useful when expected concentrations change substantially over time or differ substantially among subjects.
  • Both observed and simulated observations should undergo the corresponding prediction correction so that the two distributions remain comparable.
  • The reference prediction is central to the correction and should be defined and documented clearly.
  • A pcVPC commonly compares observed percentiles with simulation-based prediction intervals across time or another independent variable.
  • Binning affects the resolution and stability of the diagnostic and should be chosen carefully.
  • Discrepancies in the median can indicate problems reproducing central tendency, while discrepancies in the tails can indicate problems reproducing variability.
  • A localized discrepancy may provide clues about a particular part of the PK model, but the pcVPC alone does not establish the cause.
  • A pcVPC is complementary to, rather than a replacement for, a conventional VPC and other population PK diagnostics.
  • The goal is not simply to obtain a visually attractive pcVPC. The goal is to determine whether the model adequately reproduces clinically and scientifically important features of the observed data.
Next step

Where to Go Next

A natural progression is to study visual predictive checks in population PK first, followed by prediction-corrected VPCs, normalized prediction distribution errors, residual diagnostics, and covariate-specific model evaluation.

The next step is to connect pcVPC interpretation with the underlying simulation framework: how population parameters, between-subject variability, residual error, covariates, dose history, and sampling design determine the simulated prediction intervals.

← Back to Pharmacokinetics Tutorials