Skip to contents

OS Monitoring Boundaries

Core statistical functions for computing positivity thresholds.

bounds()
Bounds
find_pos()
Find Positivity Threshold

Bayesian Metrics

Posterior and predictive probability calculations.

calc_posterior()
Function which calculates for k=1, ..., K, Pr(log-HR >= lhr_null | theta.hat.k = lhr_con.k)
calc_predictive()
Calculate posterior predictive probability of ruling out lhr_null at final OS analysis
meeting_probs()
Probabilities of meeting positivity threshold under target HR

Shiny App

Interactive Shiny dashboard for OS monitoring.

run_app()
monitOS app
app_server()
Shiny app server function
app_ui()
Shiny app UI definition