Standard Designs Documentation
There are three available standard designs:
1. Randomize-All Design:
All eligible participants are randomized to treatment vs. control regardless their biomarker status.
The trial tests whether the treatment is efficacious across all participants.
2. Enrichment Design:
All eligible participants are first screened for the selected biomarker.
Only participants who screen positive for the biomarker (M+) are randomized to treatment vs. control.
The trial tests whether the treatment is efficacious in M+ participants only.
3. Strategy Design:
All eligible participants are first screened for the selected biomarker.
Participants are randomized to either a “biomarker-based strategy”
(where M+ and M- participants receive the experimental or control treatments,
respectively) or to a “biomarker-agnostic strategy” (where all participants receive the control treatment).
The trial tests whether using the biomarker-based strategy to guide treatment improves outcomes.
Standard Designs
Inputs Panel
Sample size of arm1 := The number of participants in arm 1 (control).
Targeted power := designated \(1-\beta\) level for the entire trial. One minus the type II error rate.
Standardized effect size for M+ patients (Δ+) := The expected standardized effect size for biomarker positive population.
Standardized effect size for M- patients (Δ-) := The expected standardized effect size for biomarker negative population.
Biomarker prevalence := proportion of general population that are biomarker positive.
Hypothesis Test := Two-sided tests evaluate a null hypothesis of equality, while one-sided tests evaluate a null hypothesis with a greater-than or less-than condition.
Significance level (\(\alpha\)) := designated \(\alpha\) level for the entire trial, false positive rate overall.
Randomization ratio (Arm 2 / Arm 1) := Allocation ratio of arm 2 (strategy/treatment) to arm 1 (control).
Accrual rate of M+ participants (pts/month) := Accrual rate of biomarker-positive (M⁺) individuals per month.
Accrual rate of M- participants (pts/month) := Accrual rate of biomarker-negative (M⁻) individuals per month.
Click
Calculate Now! to view outputs.
Outputs Panel
Current Design
An illustration produced to show the current design of the trail based on your inputs. To copy, simply right click>"copy image"or"save image as". If texts are not fitting well, please adjust the width of you browser until it fits properly.
Design Summary
A test summary of current design of the trial based on your inputs. You can directy copy it since it is in text format.
Download as a Word Document
Click here to download all the content above, including text, images, and formatting, as a Word document.
GRaBIt Documentation
Above is a motivating example from Patel (2024). We obtain key metrics such as the total sample size for each basket, the true activity status of each basket, and the proportion of participants accrued during the interim analysis. To tailor the analysis to their specific trial designs, users provide additional inputs. This ensures maximum flexibility when computing test statistics. Refer to the screenshot below for guidance on transcribing the design above into inputs.
Inputs Panel
Vector Inputs (Multiple Values):
Total sample size of each basket := The number of participants per basket, using only commas to separate them. Ensure they are all positive even integers, so that after randomization, the cohort sizes in both the treatment and control arms are whole numbers. The length of the input vector corresponds to the number of baskets.
Relative ratio of each basket := The relative ratio of sample size in each basket, in the same order & format as above. Investigator can estimate effect sizes from published results.
Standardized effect size(\(\Delta\)) of each basket := The expected effect size per basket, in the same order & format as above. Investigator can estimate this ratio via subtype prevalence from published results.
Accrual rate (individual/month) of each basket := number of individuals recruited per month in each basket, in the same order & format as the sample size input above.
Scalar Inputs(Single Value):
Nominal power := designated \(1-\beta\) level for the entire trial. One minus the type II error rate.
Proportion of participants accrued at interim analysis(\(t\)) := Interim analysis cutoff point, or % of total amount of participants recruited. This ratio should be consistent across all baskets.
Interim significance level(\(\alpha_t\)) := designated \(\alpha\) level for the interim analysis at proportion t. The basket with a p-value larger than this threshold will be dropped.
Trial-wide significance level(\(\alpha\)) := designated \(\alpha\) level for the entire trial, false positive rate overall.
Once all inputs have been filled as desired and vector inputs are ensured to be of the same length, click
Calculate Now! to view outputs.
Outputs Panel
Current Design
An illustration produced to show the current design of the trail based on your inputs. To copy, simply right click>"copy image"or"save image as". If texts are not fitting well, please adjust the width of you browser until it fits properly.
Design Summary
A test summary of current design of the trial based on your inputs. You can directy copy it since it is in text format.
Download as a Word Document
Click here to download all the content above, including text, images, and formatting, as a Word document.
A Glimpse of the Statistical Method
For detailed deriviation, please refer to Patel 2024 paper in the references.
Trial-wide Type 1 Error Rate:
\( \alpha = \sum_{m}Pr_{H_0}(V_m|\alpha^*,\alpha_t,m,\Delta)= \sum_{m}Pr_{H0}(\cap_{\,i\in id(m)}Y_{i1}>Z_{1-\alpha_t},V_m>Z_{1-\alpha^*})\cdot(1-\alpha_t)^{K-|id(m)|} \)
The overall type 1 error rate is a summed rejection probability under the null of different built, the rejection probability is assessed whether all baskets passing through interim and final stage.
Power
\( 1- \beta = \sum_{m}Pr_{H_{1g}}(V_m|\alpha^*,\alpha_t,m,\Delta) \)
Similarly, The power is a summed rejection probability under the alternative of different built.
SMARTIES Documentation
SMARTIES is a two phase adaptive design with an internal pilot study for feasibility assessment and unblindedc sample size re-estimation (Phase I),
followed by a main trial for testing efficacy with adjusted sample size when needed (Phase II).
Quick Start
- Step 1 (Feasibility): Enter p0, p1, α, target power, and number of candidate designs. Choose Auto/Manual and click
Use this design to lock the internal pilot design.
- Step 2 (Initial main trial sample size calculation): Enter α, power, SD, and planned mean difference d. Click
Lock original main trial sample size to lock Norig.
- Step 3 (SSR): Enter dobs, γl, γu, nsims, seed, then click
Run Sample Size Re-estimation.
- Report: Review the final summary and click
Download Word report.
Step 1: Internal Pilot (Feasibility)
Goal: decide whether the trial is feasible to proceed based on a one-stage exact test for a binary feasibility endpoint.
- p0: unacceptable feasibility success rate.
- p1: acceptable feasibility success rate (must satisfy p1 > p0).
- α (one-sided): Type I error for feasibility test.
- Power: probability of declaring feasibility under p1.
- Output: interim total sample size nint and feasibility cutoff rfeas.
Step 2: Initial Main Trial (Efficacy)
Goal: compute the initial planned sample size for a two-arm superiority test under user-specified α, power, SD, and planned mean difference d.
- Output: per-arm norig and total Norig.
- Tip: ensure per-arm interim n (from Step 1) is smaller than per-arm planned n (from Step 2) so the interim information fraction is valid.
Step 3: SSR using the CHW conditional power rule
Goal: re-estimate the required sample size based on conditional power computed from interim data.
Key quantities
- dobs: observed interim mean difference (user input).
- t: interim information fraction (approximately nint/2 divided by norig).
- CPplan: conditional power under planned effect size.
- CPobs: conditional power under observed interim effect size.
- γl, γu: lower/upper thresholds defining zones.
Decision zones (CHW)
- Futility: CPobs < γl × CPplan (keep original N; consider stopping).
- Promising: γl × CPplan ≤ CPobs ≤ γu × CPplan (apply CHW inflation / top-up).
- Success: CPobs > γu × CPplan (keep original N).
The app summarizes SSR via simulation (nsims runs), producing the distribution of suggested N and the zone proportions.
How to read the outputs
- Design header: locked Step 1/2 inputs, final α, and interim t.
- Key metrics table: effect sizes, CP metrics, and suggested sample size summary.
- Decision rule & interpretation: CHW rule + dominant zone statement.
- Plots: zone counts + histogram of suggested total N.
- Word report: timestamp + summary + rule + schema figure.