Skip to contents

All functions

BPP_func()
Calculate Bayesian Predictive Probability given interim data and posterior samples
INTEREST
INTEREST data set
MCMC_sample
MCMC_sample
REVEL
REVEL data set
ZODIAC
ZODIAC data set
add_recruitment_time()
Add recruitment time to a survival dataset
assurance_adaptive_shiny_app()
Launch the 'shiny' adaptive assurance app
assurance_shiny_app()
Launch the 'shiny' Assurance app
calc_dte_assurance()
Calculate Assurance for a Trial with a Delayed Treatment Effect
calc_dte_assurance_adaptive()
Calculates operating characteristics for a Group Sequential Trial with a Delayed Treatment Effect
calibrate_BPP_threshold()
Function to calculate the 'optimal' BPP threshold value
calibrate_BPP_timing()
Function to calculate the 'optimal' information fraction to calculate BPP
calibrate_matched_futility_boundary()
Calibrate a fixed Z-statistic futility boundary
cens_data()
Censor a survival dataset
run_calibration_grid()
Simulate BPP values and true trial outcomes for BPP-threshold calibration
select_lambda_star()
Select the BPP futility threshold minimising null expected sample size
sim_dte()
Simulates survival times for a delayed treatment effect (DTE) scenario, where the treatment group experiences a delayed onset of benefit. Control and treatment groups are generated under exponential or Weibull distributions.
summarize_grid_by_lambda()
Summarise calibration-grid output over a grid of BPP futility thresholds
survival_test()
Calculate statistical significance on a survival dataset
update_priors()
Update prior distributions using interim survival data