Skip to contents

Decision Making Functions

Main functions for Go/NoGo/Gray decision making

BayesDecisionProbBinary()
Calculate the Go, NoGo and Gray Probabilities for a Clinical Trial When Outcome is Binary Under the Bayesian Framework Using Two Metrics
BayesDecisionProbContinuous()
Calculate the Go, NoGo and Gray Probabilities for a Clinical Trial When Outcome is Continuous Under the Bayesian Framework Using Two Metrics

Probability Calculation Functions

Functions for posterior and posterior predictive probabilities

BayesPostPredBinary()
Calculate Bayesian Posterior Probability or Bayesian Posterior Predictive Probability for a Clinical Trial When Outcome is Binary
BayesPostPredContinuous()
Calculate Bayesian Posterior Probability or Bayesian Posterior Predictive Probability for a Clinical Trial When Outcome is Continuous

Distribution Functions for Continuous Endpoints

Functions for calculating differences of t-distributions

pNIdifft()
Cumulative Distribution Function of the Difference of Two t-Distributed Variables by Numerical Integration
pWSdifft()
Cumulative Distribution Function of the Welch-Satterthwaite Approximated Difference of Two t-Distributed Variables
pMCdifft()
Cumulative Distribution Function of the Difference of Two t-Distributed Variables by Monte Carlo Simulation
pINLAdifft()
Cumulative Distribution Function of the Difference of Two t-Distributed Variables by INLA

Distribution Functions for Binary Endpoints

Functions for calculating differences of beta distributions

pBetadiff()
Cumulative Distribution Function of the Difference Between Two Beta Variables
pBetaBinomdiff()
Cumulative Distribution Function of the Difference Between Two Beta-Binomial Variables

Utility Functions

Supporting mathematical functions

AppellsF1()
Calculate Appell's First Hypergeometric Function of Two Variables