Skip to contents

All functions

ASLdata
An example dataset formatted as subject level VAD
ATEdata
An example dataset formatted as time to event efficacy VAD
phase1b-package Phase1b-package Phase1b phase1b
Calculations for decisions on Phase 1b clinical trials
TTEdata
Example of time to event dataset
boundsPostprob()
Decision cutpoints for boundary (based on posterior probability)
boundsPredprob()
Decision cutpoints for boundary (based on predictive probability)
dbetaMix()
Beta-Mixture density function
dbetabinom()
Beta-Binomial Density Function
dbetabinomMix()
Beta-Mixture-Binomial Density Function
dbetadiff()
The Difference between Two Beta Distributions
myPlotDiff()
Plot Diff Between two Beta distributions
oc2()
Run simulations to obtain operating characteristics for methods that include historical data on control
oc3()
Run simulations to obtain operating characteristics for methods that include historical data on control
ocPostprob()
Operating Characteristics for Posterior Probability method
ocPostprobDist()
Calculate Operating characteristics of Posterior Probability method with Beta Prior on the Control or Standard of Care Arm
ocPredprob()
Operating Characteristics for Predictive Probability method
ocPredprobDist()
Calculate operating characteristics for predictive probability method with beta prior on SOC response rate (gray zone allowed in the final analysis for Decision 2)
ocRctPostprobDist()
Calculate operating characteristics for RCT against SOC, using the posterior probability method with beta priors
ocRctPredprobDist()
Calculate operating characteristics for RCT against SOC, using the predictive probability method with beta priors
pbetaMix()
Beta-Mixture CDF
pbetadiff()
Beta difference Cumulative Probability Function
plotBeta()
Plot the Beta distribution
plotBounds()
Plot the boundary decision cutpoints
plotDecision()
Plot a summary plot corresponding to the sumTable output
plotOc()
Display the operating characteristics using an oc object
postprob()
Posterior Probability of Efficacy Given Beta-Mixture Prior
postprobBeta()
Posterior Probability of Efficacy Given Beta Prior
postprobDist()
Compute the Posterior Probability with Beta Prior on standard of care S
predprob()
Predictive probability of trial success
predprobDist()
Compute the predictive probability that the trial will be successful, with a prior distribution on the standard of care or S
qbetaMix()
Beta-Mixture Quantile Function
qbetadiff()
Beta difference Quantile Function
runShinyPhase1b()
Launch the ShinyPhase1b app
sumBetadiff()
Mode and Credible Interval Calculation for The Difference between Two Beta Distributions
sumTable()
Return summary statistics under one response scenario