Why Small Simulation Errors Can Change a Dose Decision
Probability of target attainment (PTA) is a probability calculated for a specified drug regimen, target, and population. A simulation can implement the chosen model correctly in a computational sense and still answer the wrong question. A unit conversion error can reverse pass/fail classifications; a dosing-interval error can distort the exposure metric; and a sampling scheme that confuses population variability with parameter uncertainty can produce a PTA for a population that was never intended.
The introductory material on dose selection by simulation establishes the basic role of PTA in comparing regimens. Here the emphasis is on auditing the simulation that produces it: precisely what is sampled, which exposure is evaluated, and what the resulting probability means. The examples use hypothetical data and targets.
The event \(I_i(d)=1\) must be written down before running the simulation. For an AUC/MIC target, it might be \(AUC_{24,i}(d)/MIC_i \geq T\); for a time-above-MIC target, it might be \(T_{>MIC,i}(d)/\tau \geq q\), where \(\tau\) is the dosing interval and \(q\) is a target fraction. These are not interchangeable definitions. Each requires the correct exposure period, units, threshold, and regimen.
Audit the Target and Exposure Units
A ratio can be dimensionless or can carry units, depending on its numerator and denominator. For example, AUC in mg·h/L divided by MIC in mg/L has units of hours. If the target is expressed in those units, compare quantities after converting both to a common unit system. Do not compare the numerical values alone when the units differ. Likewise, a fraction of an interval is dimensionless, while time above the threshold is measured in time units.
Worked Example: Converting Units Before Applying an AUC/MIC Target
Suppose a hypothetical simulation uses a target \(AUC_{24}/MIC \geq 400\) h. One simulated individual has \(AUC_{24}=480\) mg·h/L and \(MIC=1000\) µg/L. Determine whether the target is met.
First convert AUC to the MIC concentration unit. Since 1 mg = 1000 µg, \(480\) mg·h/L is \(480{,}000\) µg·h/L. Therefore,
Since \(480\) h is greater than or equal to \(400\) h, this individual meets the stated target. Dividing the raw numbers \(480/1000=0.48\) would be wrong: those numbers use different concentration units, and the resulting value does not represent the correctly calculated ratio. The unit conversion changes the numerical value of the numerator before comparison.
A reliable implementation records units alongside every simulated quantity and checks the event definition against a hand calculation. This is especially important when data sources report MIC in different concentration units, or when a target has been copied from a source using a different exposure convention. The AUC period must also match: \(AUC_{24}\) is not automatically the same quantity as AUC over one dosing interval when \(\tau\) is not 24 hours.
Use the Actual Dosing Interval and Exposure Profile
Time-above-target metrics depend on both the concentration-time profile and the interval over which it is evaluated. For a steady-state regimen with interval \(\tau\), define \(T_{>MIC}\) as the total time within that interval for which the concentration exceeds MIC. Then the fraction above MIC is \(T_{>MIC}/\tau\). The denominator is the actual interval for the regimen being assessed, not a default interval or the duration of a convenient simulation grid.
Worked Example: The Interval Is Part of the Target Calculation
For a hypothetical once-daily regimen, suppose the simulated steady-state concentration over the 24-hour interval is \(C(t)=8e^{-kt}\) mg/L, where \(k=\ln(2)/6\) per hour. Let MIC be 2 mg/L and the target be above MIC for at least 50% of the interval. Find the fraction above MIC.
Solve for the threshold crossing:
Thus the concentration is above MIC for 12 hours of the 24-hour interval, and the fraction is \(12/24=0.50\). The individual meets a target of at least 50%. If an implementation mistakenly divides by 12 hours, perhaps because it uses an interval from another regimen, it reports \(12/12=1.00\), or 100%. That is not a harmless rescaling: it evaluates a different denominator and falsely reports complete interval coverage for this once-daily regimen.
In practice, the interval must agree across the dose schedule, simulated concentration-time profile, exposure calculation, and target definition. For a grid-based profile, check that the grid covers the full interval and resolves crossings adequately. A coarse grid can miss a short period below MIC or above a toxicity threshold. If the simulation concerns a treatment period rather than steady state, state which doses and time window define the metric; do not silently substitute a steady-state exposure.
Sample the Intended Population, Not a Convenient Distribution
A population PTA averages over the population that the dose recommendation is meant to address. Individual parameter draws should therefore reflect the model’s population distribution, including relevant covariates and the estimated random-effects covariance structure. Parameters that are correlated in the model should not be sampled independently unless independence is a justified feature of the model. Sampling each parameter from a marginal distribution while discarding correlation can create combinations of clearance, volume, or other parameters that are implausible under the fitted model.
It is also necessary to distinguish population variability from uncertainty in estimated model parameters. Population variability describes differences among individuals and belongs in the virtual population. Parameter uncertainty describes uncertainty about quantities such as fixed effects, random-effects variances, or covariate effects estimated from finite data. Treating a fresh draw of a fixed-effect estimate as if it were a new individual’s parameter can mix these sources and change the question. A common approach is to simulate individuals conditional on a fitted parameter set, then assess parameter uncertainty separately, for example by repeating the population simulation across parameter draws or bootstrap fits.
Worked Example: Separating Population PTA From Parameter Uncertainty
Suppose a hypothetical simulation generates \(N=1000\) individuals from the intended covariate and random-effects distributions under a fixed fitted model. Of these, 800 meet the target. What is the estimated PTA, and what does it describe?
The estimate is
This estimates the proportion of individuals meeting the target in the specified population under the fixed parameter values and regimen. It does not mean that each individual has an 80% chance of success, nor that the dose guarantees success for any particular person. In this simulation, 200 of the 1000 generated individuals did not meet the target.
If the 1000 success indicators are independent draws from a population with PTA \(p\), then each indicator is Bernoulli with variance \(p(1-p)\), and the variance of their average is \(p(1-p)/N\). Substituting the estimate gives the Monte Carlo standard error:
A rough 95% Monte Carlo interval is \(0.800\pm1.96(0.01265)\), or approximately 0.775 to 0.825. This interval describes simulation error for the estimated population PTA under the assumed fixed model and independent simulation draws. It does not include uncertainty in the fitted model parameters, uncertainty in the target, or uncertainty about whether the simulated population represents the clinical population.
A parameter-uncertainty analysis answers a different question from the preceding Monte Carlo calculation. For example, if a bootstrap produces several plausible fitted parameter sets, each can yield its own PTA estimate. Variation across those estimates reflects sensitivity to parameter estimation as well as any simulation noise that remains. It should not be reported as though it were simply the spread of individual outcomes.
A Short Justification for the Monte Carlo Error Check
The standard error formula provides a useful check on whether an apparent difference between candidate doses is larger than simulation noise. Let \(I_i\) be independent indicators with \(P(I_i=1)=p\). Since \(I_i\) takes values 0 and 1, its expectation is \(p\) and its variance is \(p(1-p)\). For \(\widehat p=N^{-1}\sum I_i\), independence gives the variance of the sum as the sum of the variances:
Replacing the unknown \(p\) with \(\widehat p\) gives the estimated Monte Carlo standard error \(\sqrt{\widehat p(1-\widehat p)/N}\). This justification relies on independent, identically distributed simulation draws for the specified population. It does not correct a misspecified model, biased sampling, incorrect units, or an incorrect target event. More simulations reduce Monte Carlo error; they cannot repair a simulation that answers the wrong question.
Common Errors, Diagnostics, and Alternatives
Several checks can reveal errors before the results are used for dose selection. Recompute a few simulated subjects’ exposure metrics by hand; print the units and interval in the output; inspect whether target attainment changes plausibly with dose; and verify that the generated covariates and random effects match the intended population. A suspiciously abrupt PTA change, an impossible exposure scale, or a result that changes greatly when a modest number of draws is added warrants investigation. These checks complement, rather than replace, the diagnostics for implausible PTA curves.
| Common error | Why it is wrong | Useful check |
|---|---|---|
| Comparing quantities in incompatible units | The numerical comparison no longer represents the stated target event. | Write each quantity with units and convert before calculating the ratio. |
| Using the wrong interval or exposure window | The calculated fraction or AUC corresponds to a different regimen or time period. | Trace the interval from the prescribed schedule into the profile and denominator. |
| Sampling parameters independently or from the wrong population | The simulated individuals may not follow the model or represent the intended population. | Compare simulated covariate and random-effects summaries, including correlations, with the model specification. |
| Calling PTA an individual guarantee | A population probability does not establish the outcome for a particular person. | Report the population, model, regimen, and estimated proportion together. |
The main alternatives are useful for different reasons, but none removes the need to define the target and sampling population correctly. Direct Monte Carlo simulation is flexible for nonlinear models and complicated regimens, but has finite simulation error. Deterministic numerical integration can reduce random simulation noise when the parameter dimension and integration structure make it practical, but can become difficult in high dimensions. Bootstrap or parameter-draw analyses address uncertainty from fitting the model, but do not by themselves define the intended patient population or fix a faulty exposure calculation. In every approach, the target event and units must be audited.
The central pitfall is to treat a polished percentage as self-validating. A PTA of 90% is meaningful only with its target, population, regimen, time window, model assumptions, and uncertainty made clear. It is a population-level result under those specifications, not an individual prediction or a promise of efficacy. It may also be limited by model misspecification, uncertain targets, unrepresented covariates, or a simulated population that differs from the population in which the dose will be used.
Check Your Understanding
Answer each question, then compare your reasoning with the solutions below.
- A simulated \(AUC_{24}\) is 300 mg·h/L and MIC is 0.5 mg/L. What is the ratio and its unit? Does it meet a hypothetical target of at least 500 h?
- A regimen is given every 8 hours. A subject is above MIC for 6 hours in one interval. What fraction of the interval is above MIC? What error results from dividing by 24 hours?
- In 400 independent simulated individuals, 340 meet the target. Calculate the PTA estimate and its approximate Monte Carlo standard error.
- Why might independently sampling two correlated random effects distort PTA, even if each marginal distribution is sampled correctly?
Solutions. (1) \(300/0.5=600\) h, so the target is met; the units follow from (mg·h/L)/(mg/L) = h. (2) \(6/8=0.75\), or 75%. Dividing by 24 gives 0.25, which uses the wrong interval and understates the fraction for this regimen. (3) The estimate is \(340/400=0.850\). Its approximate Monte Carlo standard error is \(\sqrt{0.850(0.150)/400}=0.0179\), or about 1.79 percentage points. (4) Independent sampling removes the model’s dependence structure and can generate parameter combinations with the wrong frequency, changing simulated exposures and hence target attainment.