Tutorials › Model-Informed Drug Development (MIDD) › Evaluating Biomarker-Enriched Trial Designs

Clinical Trial Simulation · Tutorial 296 of 596

Evaluating Biomarker-Enriched Trial Designs

Build and interpret simulations that compare biomarker-enriched and all-comer designs while accounting for assay error, subgroup effects, precision, and screening burden.

Advanced 10 min read

What You'll Learn

  • Calculate the fraction of screened patients who test positive and the biomarker prevalence among those patients.
  • Translate subgroup-specific treatment effects into expected effects among enrolled patients.
  • Account for between-subgroup variation when estimating endpoint variance and standard error.
  • Compare trial operating characteristics at a fixed randomized sample size.
  • Include screening yield and assay misclassification when comparing enrichment thresholds.
  • Diagnose assumptions and implementation errors that can make a simulated comparison misleading.

Why Enrichment Requires Simulation

A biomarker-enriched trial enrolls patients selected by a biomarker result or threshold, rather than enrolling the full eligible population. Enrichment can raise the expected treatment effect in the randomized sample when treatment works better in a biomarker-defined subgroup. But the test used to select patients may misclassify them, the biomarker-positive population may be uncommon, and treatment effects may vary across subgroups. These features affect both trial precision and the number of people who must be screened.

Simulation makes these trade-offs explicit. A useful comparison specifies the target population, the assay's operating characteristics, the treatment effect in each biomarker subgroup, the endpoint distribution, the enrollment rule, and the analysis used to evaluate the trial. It then generates complete trials under those assumptions and estimates operating characteristics, such as power or the probability of reaching a decision criterion. The simulation evaluates a defined design and analysis; it does not establish that the assumptions are true.

Definition: Let \(B=1\) denote true biomarker-positive status and \(B=0\) true biomarker-negative status. Let \(A=1\) denote an assay-positive result and \(A=0\) an assay-negative result. Prevalence is \(P(B=1)\); sensitivity is \(P(A=1\mid B=1)\); and specificity is \(P(A=0\mid B=0)\). The positive predictive value, \(P(B=1\mid A=1)\), is the proportion of assay-positive patients who are truly biomarker-positive. These quantities are not interchangeable.

For prevalence \(\pi=P(B=1)\), sensitivity \(Se\), and specificity \(Sp\), the probability that a screened person tests positive is \(r=P(A=1)=Se\pi+(1-Sp)(1-\pi)\). By Bayes' rule, the true-positive fraction among assay-positive enrollees is \(q=P(B=1\mid A=1)=Se\pi/r\). An assay-positive enrollment rule therefore selects a mixture of the two true biomarker subgroups unless its false-positive rate is zero. A different assay threshold can change both the yield \(r\) and the composition \(q\).

Translate Selection Into Effects and Variability

Suppose the treatment effect, defined as the treatment-arm mean minus the control-arm mean, is \(\tau_1\) for true biomarker-positive patients and \(\tau_0\) for true biomarker-negative patients. If treatment assignment is randomized within the enrolled population and the subgroup mixture is the same in expectation across arms, the expected treatment contrast among assay-positive enrollees is \(\tau_A=q\tau_1+(1-q)\tau_0\). For an all-comer population, the corresponding expected contrast is \(\tau_{\mathrm{all}}=\pi\tau_1+(1-\pi)\tau_0\). Thus, assay-positive enrollment does not make every enrolled patient truly positive; its expected effect depends on the assay's predictive value.

An effect mixture also affects endpoint variability. For example, suppose the control outcome has the same mean and variance \(\sigma^2\) in both true subgroups, and treatment outcomes have subgroup means separated by \(\tau_1-\tau_0\), with within-subgroup variance \(\sigma^2\). In an enrolled population with true-positive fraction \(q\), the treated-arm variance is \(\sigma^2+q(1-q)(\tau_1-\tau_0)^2\). The added term is between-subgroup variation in treatment-arm means. The control-arm variance remains \(\sigma^2\) under these assumptions. This matters because a larger average effect does not by itself guarantee a smaller standard error or greater power.

Simulation principle: Generate true biomarker status first, generate the assay result conditional on that status, apply the enrollment threshold, randomize eligible enrollees, and generate outcomes using the subgroup-specific model. Analyze each simulated trial using the planned trial analysis. Preserve the distinction between true status and observed assay result throughout.

Worked Example: Assay Error and the Enrolled Population

Consider a hypothetical population with biomarker prevalence \(\pi=0.30\), assay sensitivity \(Se=0.85\), and specificity \(Sp=0.90\). The enrollment rule is to enroll assay-positive patients. Calculate the positive-test yield and the true-positive fraction among those enrolled.

Positive-test yield. The probability of a true positive is \(0.30(0.85)=0.255\). The false-positive probability in the whole population is \(0.70(1-0.90)=0.070\). Therefore, \(r=0.255+0.070=0.325\). An expected 32.5% of screened people test positive.

Composition of enrollment. Among assay-positive patients, the true-positive fraction is \(q=0.255/0.325=51/65\approx0.7846\). The remaining fraction is \(14/65\approx0.2154\), who are truly biomarker-negative despite testing positive.

If the subgroup treatment effects are \(\tau_1=8\) units and \(\tau_0=1\) unit, the expected effect among assay-positive enrollees is \(0.7846(8)+0.2154(1)=6.2768+0.2154=6.4922\) units, approximately. Using the exact fraction gives \((51(8)+14(1))/65=422/65\approx6.4923\) units. The all-comer expected effect is \(0.30(8)+0.70(1)=3.10\) units. The enrichment rule raises the expected effect, but it does not remove false-positive enrollment.

Compare Designs Under Explicit Assumptions

A comparison is only interpretable when its basis is stated. Holding the randomized sample size fixed asks how much performance differs for trials of the same size, but it does not account for the additional screening needed to fill an enriched trial. Holding screening capacity fixed asks how many randomized patients each rule can yield. Other comparisons can hold cost, calendar time, or a target precision fixed. These are different design questions, so simulation results should name the constraint.

The following calculation gives a simple normal-endpoint approximation for a fixed-size comparison. Assume independent patients, equal allocation, normally distributed outcomes within each true subgroup, common within-subgroup standard deviation \(\sigma=10\) units, and the subgroup effects from the previous example. Also assume a common control mean across subgroups and a treatment-arm subgroup mean difference of \(8-1=7\) units. These assumptions make the variance calculation transparent; a simulation should use the endpoint model and analysis intended for the actual design.

Worked Example: Fixed-Size Enrichment Versus All-Comer Enrollment

Compare an assay-positive trial with an all-comer trial, each with 80 patients per arm, using a two-sided normal test at \(\alpha=0.05\). Use the prevalence and assay characteristics already specified. Calculate approximate standard errors and standardized expected contrasts.

Assay-positive trial. Its true-positive fraction is \(q=51/65\). The treatment-arm mixture variance added by subgroup means is \((51/65)(14/65)(7^2)=34{,}986/4{,}225\approx8.281\) square units. Thus the treatment-arm variance is approximately \(100+8.281=108.281\) square units, while the control-arm variance is \(100\) square units. For two independent arms of 80 patients each, the contrast standard error is \(\sqrt{(108.281+100)/80}\approx1.614\) units. The expected contrast is approximately \(6.4923\) units, giving a standardized contrast of \(6.4923/1.6135\approx4.024\).

For clarity, if the control mean were treated as known without sampling error, the standard error attributable to the treatment-arm mean alone would instead be \(\sqrt{108.281/80}\approx1.163\) units. That is not the standard error of the two-sample contrast when both arms are sampled; the control-arm variance must then be included.

All-comer trial. The treated population has true-positive fraction \(\pi=0.30\), so its treatment-arm variance is \(100+0.30(0.70)(49)=110.290\) square units. The two-arm contrast standard error is \(\sqrt{(110.290+100)/80}\approx1.621\) units. The expected contrast is \(3.10\) units, giving \(3.10/1.621\approx1.912\).

Under the stated normal approximation, power is the probability that a normal test statistic with this standardized mean lies outside \([-1.96,1.96]\). The assay-positive design has approximate power \(P(Z>1.96)+P(Z<-1.96)\), where \(Z\sim N(4.024,1)\), or about 0.980. The all-comer design has approximate power about 0.481 for \(Z\sim N(1.912,1)\). These are planning approximations, not simulation estimates. With 80 assay-positive patients per arm, the expected screening requirement is \(160/0.325\approx492.3\) people across both arms, or about \(80/0.325\approx246.2\) per arm if recruitment is split evenly; actual screening counts vary.

A different threshold can produce a different trade-off between enrichment and yield. Its characteristics should come from the intended assay and threshold, not be inferred from the positive-test calculations above. For instance, consider a hypothetical stricter threshold with positive yield \(r=0.20\) and positive predictive value \(q=0.90\). Those values describe a separate operating point. They imply a mean effect of \(0.90(8)+0.10(1)=7.30\) units and an expected screening requirement of \(160/0.20=800\) people to obtain 160 positive enrollees. Higher enrichment may raise the expected effect while sharply increasing screening burden.

Worked Example: Screening Burden at a Stricter Threshold

Continue with the hypothetical effects of 8 and 1 units, and suppose the stricter threshold has yield \(r=0.20\) and positive predictive value \(q=0.90\). A design requires 120 assay-positive participants in total. Find the expected screening count and explain the trade-off.

The expected number of positive enrollees per screened person is 0.20. Therefore the expected screening requirement is \(120/0.20=600\) people. The expected treatment effect among the selected group is \(0.90(8)+0.10(1)=7.20+0.10=7.30\) units. The higher positive predictive value concentrates enrollment in the subgroup with the larger assumed effect, but the low yield means that 600 people must be screened on average to obtain 120 eligible enrollees. Screening counts are random, so 600 is an expectation, not a guaranteed number.

Simulation Workflow, Diagnostics, and Alternatives

A practical simulation can repeat the following sequence for each candidate design and each replicate:

1
Specify population and assay inputs.
Set biomarker prevalence and, for each threshold, sensitivity and specificity or a joint model for assay score and true status. Check that probabilities are valid and that threshold-specific characteristics are internally coherent.
2
Generate screening and enrollment.
Generate true status and assay result, then apply the enrollment rule. Record the screening count, enrolled count, and true subgroup composition. If screening stops at a fixed enrollment target, allow the screening total to vary.
3
Generate trial outcomes and apply the planned analysis.
Randomize eligible patients according to the design, generate outcomes using subgroup-specific treatment effects and variability, and analyze with the specified model and decision rule.
4
Summarize performance across replicates.
Estimate operating characteristics such as power, bias, interval coverage, or probability of a decision, and report screening burden and relevant subgroup composition alongside them.

Check the simulated quantities against their theoretical expectations before interpreting performance. In a large set of screening draws, the assay-positive proportion should approach \(r\), and the true-positive fraction among assay-positive people should approach \(q\). Under randomization, treatment assignment should not systematically alter baseline biomarker composition. Compare simulated endpoint means and variances with values implied by the data-generating model. The earlier material on Monte Carlo error is relevant when deciding whether apparent differences between designs are larger than simulation noise; the earlier material on validation invariants helps catch coding errors such as enrolling assay-negative patients under a positive-only rule.

Common failure modes include treating assay-positive status as identical to true biomarker-positive status, using sensitivity as if it were positive predictive value, and simulating subgroup effects without the resulting mixture variance. Another is comparing designs at equal randomized sample size while presenting the result as if screening cost were also equal. If prevalence, assay performance, or treatment effects are uncertain, a single assumed value can make the comparison fragile. Evaluate plausible scenarios or parameter distributions and report which conclusions change.

A fixed-threshold enriched design is not the only option. All-comer enrollment avoids screening exclusions and can estimate effects across the broader population, though its average effect may be smaller under strong treatment-effect heterogeneity. Enrichment based on a more specific threshold may increase the selected-population effect but reduce yield. A broader threshold can retain more participants while diluting enrichment. Designs that enroll multiple biomarker groups can provide direct subgroup information, but require a clearly specified analysis and may change sample-size and decision requirements. The later material on stratified randomization addresses subgroup balance; here the central comparison is how the enrollment rule changes who enters the trial and what that implies for performance and screening.

Common Mistake and Key Interpretation

A tempting but incorrect argument is: “The assay is 85% sensitive, so 85% of assay-positive enrollees are truly biomarker-positive.” Sensitivity is the proportion of truly positive people who test positive, \(P(A=1\mid B=1)\); the desired enrollment fraction is the positive predictive value, \(P(B=1\mid A=1)\). The latter also depends on prevalence and specificity. In the worked example, sensitivity is 0.85 but the positive predictive value is only about 0.785.

Key takeaway: Evaluate enrichment as a joint consequence of prevalence, assay performance, subgroup effects, endpoint variability, and the design constraint. Report both trial performance and the resources needed to obtain the selected sample; neither an enriched expected effect nor a positive-test rate alone describes the design.

Check Your Understanding

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

  1. A hypothetical population has prevalence 0.20, sensitivity 0.90, and specificity 0.80. What fraction tests positive, and what fraction of positive tests are true positives?
  2. If the true-positive fraction among enrollees is 0.60 and subgroup treatment effects are 6 and 2 units, what is the expected enrolled-population effect?
  3. A threshold yields 30% assay-positive results. How many people must be screened on average to obtain 120 assay-positive enrollees?
  4. Why is it generally incorrect to calculate the standard error of a two-arm contrast using only the treatment-arm variance?

Solutions. (1) The positive-test yield is \(0.20(0.90)+0.80(1-0.80)=0.18+0.16=0.34\). The positive predictive value is \(0.18/0.34\approx0.5294\), or 52.94%. (2) The weighted effect is \(0.60(6)+0.40(2)=3.60+0.80=4.40\) units. (3) The expected screening count is \(120/0.30=400\) people. (4) With independent sampled arms, the variance of the difference between sample means is the treatment-arm variance divided by its sample size plus the control-arm variance divided by its sample size. Omitting the control contribution understates uncertainty unless the control mean is treated as known without sampling error.