Tutorials › Population Pharmacokinetics › Computing PTA Within a Therapeutic Window

Simulation for Dose Justification · Tutorial 475 of 599

Computing PTA Within a Therapeutic Window

Calculate therapeutic-window PTA from simulated exposures and distinguish it from efficacy-only or safety-only attainment.

Advanced 9 min read

What You'll Learn

  • Define window attainment using both efficacy and safety exposure limits.
  • Calculate a simulated PTA as the proportion of subjects inside the specified window.
  • Distinguish window attainment from meeting either limit considered alone.
  • Compare window attainment across doses when efficacy and safety pull in different directions.
  • Diagnose boundary, denominator, and simulation-design errors that can distort PTA.

Why a Therapeutic Window Requires Two Limits

A dose can produce exposures that are high enough to meet an efficacy target yet also high enough to exceed a safety limit. Conversely, a low exposure may avoid the safety concern but fail the efficacy target. When the clinical objective is to meet both constraints, neither the efficacy threshold nor the safety threshold alone describes success. The relevant quantity is the fraction of simulated subjects whose exposure is between the two limits.

The exposure measure and its definition must be fixed before counting. For example, the measure might be steady-state AUC over a dosing interval, with units of mg·h/L. The efficacy and safety limits must refer to that same measure, time frame, and unit. This tutorial concerns whether a subject's chosen exposure summary falls within a window; it does not calculate time spent above or below a limit.

Definition: Let \(E_i(d)\) be the exposure summary for simulated subject \(i\) at dose \(d\), and let \(L\) and \(U\) be the efficacy lower limit and safety upper limit, respectively, with \(L<U\). Subject \(i\) attains the therapeutic window when \(L \leq E_i(d) \leq U\). For \(N\) simulated subjects, the estimated window probability of target attainment (PTA) is $$ \widehat{\mathrm{PTA}}_{\mathrm{window}}(d) = \frac{1}{N}\sum_{i=1}^{N} I\{L \leq E_i(d) \leq U\}, $$ where \(I\{\cdot\}\) equals 1 when the condition is true and 0 otherwise.

The estimate is the proportion of the simulated cohort inside the window. It estimates a model-based population probability under the simulation design and assumptions; it is not a guarantee about any particular patient. Its interpretation depends on which sources of variability were represented, how the virtual cohort was generated, and what exposure summary was used. Those choices should be consistent with the intended population and dosing question.

Count Subjects That Satisfy Both Conditions

The direct calculation is deliberately simple: apply both inequalities to each subject, count the subjects satisfying both, and divide by the number eligible for the analysis. The limits are often inclusive: exposure equal to \(L\) meets the efficacy condition, and exposure equal to \(U\) does not exceed the safety limit. If a study or decision rule specifies strict inequalities instead, use that rule consistently. With continuous simulated exposures, exact equality is usually rare, but boundary handling still matters when exposures are rounded or discretized.

Worked Example: Counting Exposure Values Inside the Window

Consider 12 hypothetical subjects simulated at one dose. Their steady-state AUC values, in mg·h/L, are 18, 22, 25, 41, 36, 19, 30, 40, 42, 27, 15, and 35. Suppose the efficacy lower limit is \(L=20\) mg·h/L and the safety upper limit is \(U=40\) mg·h/L.

For each value, check \(20 \leq E_i \leq 40\). The values inside the window are 22, 25, 36, 30, 40, 27, and 35 mg·h/L. There are 7 such subjects, so $$ \widehat{\mathrm{PTA}}_{\mathrm{window}} = \frac{7}{12} = 0.5833. $$

The estimated window PTA is 58.3% for this hypothetical simulation. The value 40 mg·h/L is included because the stated safety condition is \(E_i \leq U\). The values 41 and 42 mg·h/L exceed the upper limit, while 18, 19, and 15 mg·h/L fall below the efficacy limit.

A useful accounting check partitions the cohort into three mutually exclusive groups: below the window, within the window, and above the window. For \(L<U\), these events are \(E<L\), \(L\leq E\leq U\), and \(E>U\). Their counts must sum to \(N\), and their proportions must sum to 1. In the example, the counts are 3, 7, and 2, respectively, giving \(3/12+7/12+2/12=1\).

Window Attainment Is Not Either Marginal Attainment

Two single-limit summaries are sometimes reported alongside window PTA. Efficacy-only attainment is the proportion with \(E_i \geq L\). Safety-limit attainment is the proportion with \(E_i \leq U\). Neither of these proportions requires subjects to satisfy the other condition, so neither is the proportion in the therapeutic window.

$$ \widehat{P}(E\geq L) = \frac{\#\{i:E_i\geq L\}}{N}, \qquad \widehat{P}(E\leq U) = \frac{\#\{i:E_i\leq U\}}{N}. $$

In the 12-subject example, 9 subjects meet the efficacy lower limit and 10 meet the safety upper limit. Those proportions are \(9/12=75.0\%\) and \(10/12=83.3\%\), respectively, whereas only \(7/12=58.3\%\) meet both. The difference arises because the two marginal counts include subjects failing the other constraint.

For \(L<U\), the two failure groups do not overlap: a value cannot be both below \(L\) and above \(U\). Consequently, the window proportion can also be calculated by subtracting both failure proportions from 1: $$ \widehat{\mathrm{PTA}}_{\mathrm{window}} = 1-\frac{\#\{i:E_i<L\}}{N}-\frac{\#\{i:E_i>U\}}{N}. $$ This identity is an accounting result, not an assumption that the two constraints are statistically independent. It follows because the below-window, in-window, and above-window groups form a complete partition. It also provides a simple check on a direct indicator calculation.

Worked Example: Why High Efficacy Attainment Can Coexist With Low Window PTA

At a hypothetical higher dose, 1,000 simulated subjects have AUC values classified as follows using \(L=20\) mg·h/L and \(U=40\) mg·h/L: 80 are below \(L\), 650 are inside the window, and 270 exceed \(U\). The counts sum to \(80+650+270=1{,}000\).

The window PTA is $$ \widehat{\mathrm{PTA}}_{\mathrm{window}} = \frac{650}{1{,}000} = 0.650. $$ Thus, 65.0% of the simulated subjects meet both limits.

Efficacy-only attainment includes the 650 in-window subjects and the 270 above the safety limit: \((650+270)/1{,}000=0.920\), or 92.0%. Safety-limit attainment includes the 80 below the efficacy limit and the 650 in-window subjects: \((80+650)/1{,}000=0.730\), or 73.0%. Neither marginal figure is a substitute for the 65.0% window PTA. In particular, the high efficacy-only proportion conceals that 27.0% of subjects exceed the safety limit.

Comparing Doses When the Window Creates a Trade-Off

A dose increase may move more subjects above the efficacy threshold while also pushing more subjects past the safety limit. As a result, window PTA need not increase with dose. This is a central difference from a single lower-threshold attainment calculation: once exposure can exceed an upper bound, raising exposure can improve one part of the criterion and worsen the other. Compute the fraction inside the window separately at every candidate dose rather than inferring it from an efficacy PTA curve alone.

Worked Example: Window PTA Across Two Candidate Doses

Suppose the same target window, 20 to 40 mg·h/L, is applied to two hypothetical candidate doses. For dose A, 140 of 200 simulated subjects are below 20, 55 are inside the window, and 5 exceed 40. For dose B, the corresponding counts are 30, 120, and 50. Each set of counts sums to 200.

At dose A, $$ \widehat{\mathrm{PTA}}_{\mathrm{window},A} = \frac{55}{200} = 0.275 = 27.5\%. $$ At dose B, $$ \widehat{\mathrm{PTA}}_{\mathrm{window},B} = \frac{120}{200} = 0.600 = 60.0\%. $$

Dose B has the larger estimated fraction inside the window in these simulations. Its efficacy-only attainment is \((120+50)/200=85.0\%\), while its safety-limit attainment is \((30+120)/200=75.0\%\). Dose A's corresponding marginal proportions are 30.0% and 97.5%. These summaries show why considering either limit alone could lead to a different impression: dose A rarely exceeds the upper limit, but usually fails the lower limit. The calculation identifies which candidate has greater simulated window attainment; it does not by itself establish a clinically acceptable decision threshold or account for uncertainties absent from the simulations.

Assumptions, Checks, and Common Failure Modes

The arithmetic is valid only if the simulated exposures and limits refer to a coherent target. Before counting, confirm that every included subject has one appropriately defined exposure summary at the dose under evaluation, that the exposure and both limits use the same units and time basis, and that \(L<U\). If exposures are missing or invalid, define the analysis population and denominator explicitly; silently dropping subjects can change the estimated proportion and make comparisons misleading. A missing exposure should not automatically be classified as either a success or a failure.

For an unweighted virtual cohort generated to represent the target population, each subject contributes one equally weighted indicator. If the simulation deliberately uses unequal sampling weights to represent a population, the corresponding weighted fraction is instead \(\sum_i w_i I\{L\leq E_i\leq U\}/\sum_i w_i\), where \(w_i\) is subject \(i\)'s nonnegative weight. Do not switch between weighted and unweighted calculations without stating the target and the weighting rationale.

Several diagnostics are especially useful. First, verify that the below-window, in-window, and above-window counts sum to the denominator. Second, inspect the exposure distribution and the three group counts: an unexpected zero count or an abrupt change across similar doses may indicate a coding, unit, or simulation problem. Third, check boundary handling on values exactly equal to \(L\) or \(U\). Fourth, ensure that the same definition of exposure is used across doses and that a subject is not counted more than once. Monte Carlo error also means a simulated proportion can vary across runs; the replicate-count methods covered in the earlier material on quantifying Monte Carlo error help assess whether the simulation is precise enough for the intended comparison.

A common mistake is to calculate the proportion with \(E\geq L\) and call it window PTA, reasoning that reaching efficacy is the main objective. The correction is to test both inequalities for every subject: efficacy attainment alone includes subjects with \(E>U\), who fail the safety constraint. The converse mistake—using only \(E\leq U\)—counts subjects below the efficacy limit. A third error is to multiply the two marginal probabilities as if the events were independent. They are conditions on the same exposure, so that multiplication is not the direct window calculation and has no general justification.

Direct simulation is usually the clearest approach when a population PK model has complex covariate or random-effect structure: it preserves the simulated exposure distribution and counts the target event directly. An analytic calculation from a fitted exposure distribution can be efficient when its distributional assumptions are appropriate and its tail probabilities are tractable, but a misspecified distribution may distort the fraction near either limit. Reporting a median exposure or selected percentiles can help describe the distribution, but these summaries do not generally determine the fraction between two limits. The direct count remains specific to the chosen population, model, dose, exposure summary, and target window; it is not a substitute for checking those choices or for evaluating distinct endpoints.

Key takeaway: Window PTA is the simulated proportion satisfying both the efficacy lower bound and safety upper bound. Calculate it from the subject-level exposure values, and report efficacy-only and safety-only attainment as distinct summaries rather than substitutes.

Check Your Understanding

Answer each question using the stated limits and denominator. Solutions follow the questions.

  1. For \(L=10\) and \(U=25\) mg·h/L, a hypothetical cohort has exposures 8, 10, 12, 25, 26, and 18 mg·h/L. What is its window PTA?
  2. Using the same six exposures, calculate efficacy-only attainment \(E\geq L\) and safety-limit attainment \(E\leq U\). Why are these not the window PTA?
  3. A simulation has 500 subjects: 40 below the window, 310 inside it, and 150 above it. Calculate the window PTA and check the partition.
  4. Why is multiplying the marginal proportions for \(E\geq L\) and \(E\leq U\) not a generally valid way to calculate window PTA?

Solutions. 1. Values 10, 12, 25, and 18 mg·h/L are inside the inclusive window, so the PTA is \(4/6=0.6667\), or 66.7%. 2. Five of six values meet \(E\geq10\), giving 83.3%; five of six meet \(E\leq25\), also 83.3%. Each marginal count includes one value failing the other condition: 26 exceeds the upper limit, and 8 is below the lower limit. The window count is four, not five. 3. The count check is \(40+310+150=500\), and the window PTA is \(310/500=0.620\), or 62.0%. The three group proportions are 8.0%, 62.0%, and 30.0%, summing to 100%. 4. Both conditions apply to the same exposure, so their events are dependent in general. Window PTA is obtained by counting subjects satisfying both conditions, not by assuming independence and multiplying marginal proportions.

Clinical Biostats