No articles match
A history of gsDesign5 days ago
A continuing purpose | Foundations and the early package | Selected milestones | Making the software easier to maintain and use | From statistical information to a trial that can be run | A growing family of packages | New questions, established calculations | A visual record and an open history | References
Calibrating futility spending to conditional power5 days ago
A design warning: futility, sample size, and overall power | What is being calibrated? | One parameter: CP 0.3 at the first interim | Event-driven survival design with gsSurv() | Targeting predictive power instead | Fixed calendar analyses with gsSurvCalendar() | Two parameters: a risk difference design | Fixed sample size and inflation from futility | What does delta at the bound mean? | Compare all six two-parameter families | Piecewise linear spending: comparing two normal means | A more conservative sequence of CP targets | Practical limits and diagnostics
Calibrating spending to effects at interim bounds5 days ago
Specify an effect; retain a spending function | Joint efficacy, futility and harm targets for normal means | Independent reconstruction and verification | All bounds, not only the targeted interim | Compare the fitted spending shapes | Two-parameter futility spending for a risk difference | Hazard ratios require explicit event scale metadata | Diagnostics and interpretation | Built on established computational tools
Futility and harm bounds for overall survival monitoring5 days ago
Introduction | Regulatory context: FDA guidance on OS monitoring in oncology | Design framework overview | Design with non-binding bounds (test.type = 8) | Spending function specification | Summary | Detailed boundary table | Interpreting the boundaries | Boundary crossing probabilities | Harm calibration versus actual stopping | Visualization | Z-value boundaries | Approximate treatment effect at boundaries | Conditional power at boundaries | Spending function plot | B-values at boundaries | Design with binding bounds (test.type = 7) | Comparing binding and non-binding | Efficacy bounds at alternate $\alpha$ levels | Sparse-event mortality monitoring | A harm bound without a separate futility bound | Integer death count boundaries | Sensitivity to excess mortality | Detecting harm versus ruling out harm | Practical considerations | Choice of spending functions | Total harm spending and the number of analyses | Interpreting the harm bound | Harm bound capping | When to use test.type = 7 vs. test.type = 8 | Binding and non-binding harm monitoring | Adjusting the boundaries | References
Futility spending calibrated to assurance and probability of success5 days ago
What is conditioned on? | A Dragalin-related fixed information example | Compare all three methods on the same reference | Same conditional assurance, different sample size and power constraints | Unconditional POS is a different requirement | Verify with established probability calculations | Operating characteristics, not just a target | Sample sizes and approximate effects at all bounds | The final specification is still a spending function | Building on established computational tools with AI | Scope and practical limits | References
Integer sample size and event counts5 days ago
Introduction | Summary of method | Binomial endpoint designs | Fixed sample size | 1-sided design | Non-binding design | Time-to-event endpoint designs | Seasonal design with a final zero event rate period | References
Multi-season studies for rare events5 days ago
Introduction | Assumptions and parameterization | Initial group sequential setup | Example repeated and sequential p-values | Update exact bounds at analysis time | Lightweight runnable simulation | Example with lower-than-planned event rates | Larger offline runs (template) | Notes and extensions | References
Planning enrollment and follow-up for survival designs5 days ago
Overview | Choose the workflow by the question | Pattern 1: fix study duration and minimum follow-up | Pattern 2: fix rates and minimum follow-up | Pattern 3: fix enrollment and solve follow-up | Calendar time analyses | Power for a fixed operational plan | Integer event and enrollment plans | Stratified enrollment
Power Computation for Group Sequential Survival Designs5 days ago
Motivation | Quick start | What this calculation does—and does not do | How gsSurvPower uses your inputs | Hazard ratio roles | Beta spending in scenario analyses | Analysis timing: calendar time vs. event-driven | Quick decision guide | Relationship to simtrial analysis cuts | Common timing pitfalls | Spending and method | Stratified timing arguments | Power under alternative assumptions | Power under a different hazard ratio | Power over a range of hazard ratios | Multiple timing criteria | Setup | Baseline: design assumptions | Scenario 1: slower enrollment | Scenario 2: higher control failure rate | Controlling effective spending time | User-specified spending time caps with informationRates | Additional and advanced examples | Comparison with gsDesign power plots | Bounds stability | Changing alpha | Binding type planning sensitivity example (test.type = 3) | Event-based timing | Slower enrollment at fixed analysis times | Calendar-based spending | Stratified event targets | Biomarker subgroup to stratified design | Step 1: Design for the biomarker-positive subgroup | Step 2: Power for the overall (stratified) population
Reproducing SAS PROC SEQDESIGN survival designs in gsDesign5 days ago
Overview | Starting point: SAS PROC SEQDESIGN survival example | Key differences: SAS SEQDESIGN vs. R gsDesign | 1. Event formula | 2. Alpha handling in gsDesign() and gsSurv() | 3. Accrual duration and follow-up time | Reproducing the fractional time design with gsSurv() | gsSurv() with aligned parameters | References
Selective bound testing at interim analyses5 days ago
Introduction | Parameters | Example 1: Futility testing only at the first interim | Example 2: Asymmetric lower testing | Example 3: Selective harm monitoring (test.type 7/8) | Harm calibration when futility is skipped | Example 4: Combining selective efficacy and futility | Validation rules | Accessing stored flags | Type I Error Preservation | How it works | Non-binding futility (test.type 4 or 6) | Binding futility (test.type 3 or 5)
Vaccine efficacy trial design5 days ago
Introduction | Parameterization | Exact binomial approach | The time-to-event approach | Generating a design | The time-to-event design | Converting to an exact binomial design | Combined summary table | Checking design properties | $\alpha$-spending | $\beta$-spending | Bound update at time of analysis for example 2 | Analysis of an exact binomial trial | Exact conditional power | Exact confidence intervals | Summary | References
Group sequential design and simulation21 days ago
Trial design parameters | Sample size calculation | Group sequential design | Simulation study | Load simulation results | Simulation results summary | Summary of verification results | Overall operating characteristics | Power comparison by analysis | Visualization of Z-statistics | Notes
Group sequential simulation with completers analysis21 days ago
Simulation setup | Simulation loop | Results summary | Visualization | Group sequential design evaluation
Sample size re-estimation example21 days ago
Introduction | Trial setup and initial design | Initial sample size calculation | End-to-end helper workflow | Simulation | Interim analysis | Information computation | Sample size re-estimation | Final analysis | Updating bounds | References
Simulating recurrent events21 days ago
Simulation setup | Defining input parameters | Running the simulation | Analyzing the data | Inspect first ten records | Plotting events | Cutting data by analysis date | Missing data assumptions and imputation | Wald test [@mutze2019group] | Finding analysis date for target events | Generating and verifying negative binomial data | Simulation with dispersion | Verifying the dispersion parameter | Visualizing the distribution | References
SSR simulation study21 days ago
Introduction | Planned trial design | Fixed design | Group sequential design | Group sequential sample size under each nuisance scenario | Expected information fraction at planned time of each interim | Scenario grid | Simulation engine | Running simulations | Results | Starting sample-size sensitivity | Power by rate ratio and SSR strategy | Power by nuisance scenario | Adapted sample size distribution | Expected sample size at study stop | Calendar and information at each analysis | Discussion | Key findings | Information-based interim timing | Futility at low information | Blinded information fallback | Computational considerations | References
Verification of sample size calculation via simulation21 days ago
Introduction | Simulation design | Parameters | Theoretical calculation | Simulation results | Power comparison | Summary of verification results (corrected design) | Distribution of the test statistic | Wald vs score Z-score comparison | Distribution statistics for log(RR) | Type I error: Wald vs score test | Scenario sweep: impact of the Jensen correction | Discussion: why we apply the correction
A cure model calendar-based design26 days ago
Introduction | The Poisson mixture model | Supporting functions | Scenario assumptions | Examples | Event accumulation | Study design | Design assumptions | Study design and event accumulation | Considerations | References
Conditional error spending functions26 days ago
Introduction | Implementation in gsDesign | Method 1 | Method 2 | Method 3 | Replicating published examples | Summary | References
Binomial SPRT1 months ago
Overview | Response rate example | Summarizing design properties | Safety monitoring example | Summary | References
gsDesign package overview1 months ago
Introduction | Example | References
Overview of survival endpoint design1 months ago
Introduction | Schoenfeld approximation support | Power and sample size with nEvents() | Group sequential design | Information based design | Approximating boundary characteristics | Examples | Lachin and Foulkes design | Model assumptions | Fixed design | Plotting | Event accrual | References
Two-sample normal sample size1 months ago
Introduction | The problem considered | Sample size | Examples | Power | Verification with simulation | Group sequential design | References
A gentle introduction to group sequential design1 months ago
Introduction | Group sequential design framework | Bounds for testing | One-sided testing | Asymmetric two-sided testing | Spending function design | References
Basic time-to-event group sequential design using gsSurv1 months ago
Introduction | Fixed design derivation | Outcome and dropout distributions | Enrollment and trial duration | Deriving design with no interim analyses | Varying enrollment duration to power trial | Group sequential design | Additional parameters | Generating the design | Textual summary | Tabular summaries | Summary plots | Update bounds at time of analysis | Evaluating interim results | References
Binomial two arm trial design and analysis1 months ago
Overview and notation | Sample size | Testing and confidence intervals | Non-inferiority and super-superiority | Simulation | Power table | Summary | References
Conditional power and conditional error1 months ago
Introduction | Design | Update design at time of interim analysis | Testing and conditional power | Predictive power | References
AI-assisted gsDesignNB workflows3 months ago
Purpose | Example task | Time-scale setup | Wald versus score sizing | Calendar-time group sequential design | Simulate, cut, and test a small data set | Production workflow reminder | What this skill is and is not
Published sample-size examples with the gsDesignNB AI skill3 months ago
Purpose | What is a skill file? | Using the skill with an AI assistant | Overview of examples | FLAME trial | The user's input | Skill Step 1: Extract what is stated | Skill Step 2: Prompt for essentials | Skill Step 3: Apply defaults for non-essentials | Skill Step 4: Handle dropout correctly | Skill Step 5: Confirm time units | Skill Step 6: Compute the sample size | Skill-compatible replication | Extensions beyond the core skill | Score sizing (comparison) | Compare the two sizing rules | What if the protocol required an event gap? | Verify by simulation (fixed design) | IMPACT trial | Extraction and computation | Sensitivity to dispersion | Impact of the 28-day event gap | OPERA I/II trials | Friede & Schmidli - formula validation | Published $n_0$ values | Replication | Non-inferiority extension | Mutze et al. - group sequential parameterization examples | Fixed-design information | Real-data reverse engineering: CHARM-Preserved | Small-sample regime: BOLD trial | PARADIGM-HF: recurrent-event re-analysis | Summary | Successes | Challenges | Lessons for skill development | Practical notes for literature replication | References
Score vs Wald tests and sample-size recommendations3 months ago
Introduction | Load pre-computed results | Scenario grid | Type I error comparison | Power comparison | Z-score density comparison (null simulations) | Fallback method frequency | Summary
Diagnosing Blinded Information Calculation Issues6 months ago
Overview | Dataset 1: Near-Zero Blinded Information | Event Counts Summary | Event Distribution | Event Rates by Patient | Violin Plot of Event Rates | What Happened with the Information Calculations | Root Cause Analysis | Method of Moments Comparison | Dataset 2: Extreme High Blinded Information | Why the Mutze Test Falls Back to Poisson | Summary of Issues | Recommendations
Sample size calculation for negative binomial outcomes6 months ago
Notation | Methodology | Negative binomial distribution | Gamma-Poisson mixture motivation | Graphical illustration | Sample size formula | Relationship between Zhu-Lakkis, Friede-Schmidli, and Mutze et al. | Non-inferiority and super-superiority | Average exposure | Setup | Calendar exposure without dropout | Calendar exposure with dropout | Maximum follow-up | Weighted average across segments | Group-specific parameters | Variance inflation for variable follow-up ($Q$ factor) | Event gaps | Simulation verification of average exposure | Statistical information | Per-subject Fisher information | Total information | Information in practice: blinded and unblinded estimation | Connection to sample size | Examples | Basic calculation [@zhu2014sample] | Piecewise constant accrual | Accrual with dropout and max follow-up | Group-specific dropout rates | Calculating power for fixed design | Unequal allocation | Example with event gap | References
Multiple imputation for longitudinal negative binomial counts6 months ago
Introduction | Statistical background | Negative binomial count model | Imputation draw | Bootstrap–MI combination | Worked example | Simulating longitudinal count data | Introducing missing data by mechanism | Running impute_nb() | Inspecting imputed values | Comparing imputed means by strategy | Pooled analysis with Rubin's rules (standard MI) | Bootstrap–MI for variance estimation | Using the building-block functions directly | Step 1 — Fit the GLMM | Step 2 — MAR imputation | Step 3 — MNAR reference-based imputation | Step 4 — Composite strategy (no model required) | Key considerations | Session info
Non-inferiority and super-superiority designs10 months ago
Non-inferiority design | Super-superiority design
Seasonal event simulation10 months ago
Simulation setup | Define parameters | Run simulation | Analysis at a cut date | Seasonal and treatment effect estimation | Variance and information
Spending function overview2 years ago
Introduction | Examples | References
Graphical testing for group sequential design3 years ago
Overview | Design | Multiplicity diagram for hypothesis testing | Group sequential designs for each hypothesis | H1: OS, Subgroup | H2: OS, All | H3: PFS, Subgroup | H4: PFS, All | H5 and H6: ORR | Design list | Spending plan and spending time | Results entry at time of analysis | Timing of analyses and resulting event counts and spending times | Nominal p-values for each analysis | Testing hypotheses | Compute sequential p-values for each hypothesis | Evaluate hypothesis rejection using gMCPLite | Verification of hypotheses rejected | Multiplicity graph sequence from gMCPLite | Comparison of sequential p-values to multiplicity graphs | Bounds at final $\alpha$ allocated for group sequential tests | Session information | References
Multiplicity graphs3 years ago
Introduction | The basic graph layout | Specifying hypothesis names and $\alpha$-allocation | Text formatting and location, ellipse size | Using colors and legends | Specifying the transition matrix between hypotheses | References
Graphical testing for group sequential design4 years ago
Multiplicity graphs4 years ago