Skip to contents

Decision Making Functions

Main functions for Go/NoGo/Gray decision making

pGNGsinglebinary()
Calculate Go, NoGo, and Gray Probabilities for a Clinical Trial with a Single Binary Endpoint Under the Bayesian Framework Using Two Metrics
pGNGsinglecontinuous()
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

pPPsinglebinary()
Calculate Bayesian Posterior Probability or Posterior Predictive Probability for a Clinical Trial with a Single Binary Endpoint
pPPsinglecontinuous()
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

pNI2tdiff()
Cumulative Distribution Function of the Difference of Two t-Distributed Variables by Numerical Integration
pWS2tdiff()
Cumulative Distribution Function of the Difference of Two t-Distributed Variables Using the Welch-Satterthwaite Approximation
pMC2tdiff()
Cumulative Distribution Function of the Difference of Two t-Distributed Variables by Monte Carlo Simulation

Distribution Functions for Binary Endpoints

Functions for calculating differences of beta distributions

p2betadiff()
Cumulative Distribution Function of the Difference Between Two Beta Variables
p2betabinomdiff()
Cumulative Distribution Function of the Difference Between Two Beta-Binomial Variables
d2betadiff()
Probability Density Function of the Difference Between Two Beta Variables

Utility Functions

Supporting mathematical functions

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