Skip to contents

Decision Probability Functions

Go/NoGo/Gray decision probability calculation

pbayesdecisionprob1bin()
Go/NoGo/Gray Decision Probabilities for a Clinical Trial with a Single Binary Endpoint
pbayesdecisionprob1cont()
Bayesian Go/NoGo/Gray Decision Probabilities for Single Continuous Endpoint
pbayesdecisionprob2bin()
Go/NoGo/Gray Decision Probabilities for a Clinical Trial with Two Binary Endpoints
pbayesdecisionprob2cont()
Go/NoGo/Gray Decision Probabilities for Two Continuous Endpoints

S3 print methods for decision probability objects

print(<pbayesdecisionprob1bin>)
Print Method for pbayesdecisionprob1bin Objects
print(<pbayesdecisionprob1cont>)
Print Method for pbayesdecisionprob1cont Objects
print(<pbayesdecisionprob2bin>)
Print Method for pbayesdecisionprob2bin Objects
print(<pbayesdecisionprob2cont>)
Print Method for pbayesdecisionprob2cont Objects

Plot Methods

S3 plot methods for decision probability and threshold search objects

plot(<pbayesdecisionprob1bin>)
Plot Method for pbayesdecisionprob1bin Objects
plot(<pbayesdecisionprob1cont>)
Plot Method for pbayesdecisionprob1cont Objects
plot(<pbayesdecisionprob2bin>)
Plot Method for pbayesdecisionprob2bin Objects
plot(<pbayesdecisionprob2cont>)
Plot Method for pbayesdecisionprob2cont Objects
plot(<getgamma1bin>)
Plot Method for getgamma1bin Objects
plot(<getgamma1cont>)
Plot Method for getgamma1cont Objects
plot(<getgamma2bin>)
Plot Method for getgamma2bin Objects
plot(<getgamma2cont>)
Plot Method for getgamma2cont Objects

Posterior and Predictive Probability Functions

Posterior and posterior predictive probability calculation

pbayespostpred1bin()
Bayesian Posterior or Posterior Predictive Probability for a Single Binary Endpoint
pbayespostpred1cont()
Bayesian Posterior or Posterior Predictive Probability for a Single Continuous Endpoint
pbayespostpred2bin()
Bayesian Posterior or Posterior Predictive Probability for Two Binary Endpoints
pbayespostpred2cont()
Region Probabilities for Two Continuous Endpoints

Optimal Threshold Search Functions

Grid-search functions for optimal Go/NoGo thresholds

getgamma1bin()
Find Optimal Go/NoGo Thresholds for a Single Binary Endpoint
getgamma1cont()
Find Optimal Go/NoGo Thresholds for a Single Continuous Endpoint
getgamma2bin()
Find Optimal Go/NoGo Thresholds for Two Binary Endpoints
getgamma2cont()
Find Optimal Go/NoGo Thresholds for Two Continuous Endpoints

Distribution Functions for Continuous Endpoints

CDF for the difference of two t-distributions

ptdiff_NI()
Cumulative Distribution Function of the Difference of Two Independent t-Distributed Variables via Numerical Integration
ptdiff_MC()
Cumulative Distribution Function of the Difference of Two Independent t-Distributed Variables via Monte Carlo Simulation
ptdiff_MM()
Cumulative Distribution Function of the Difference of Two Independent t-Distributed Variables via Moment-Matching Approximation

Distribution Functions for Binary Endpoints

CDF and related functions for Beta and Beta-binomial distributions

pbetadiff()
Cumulative Distribution Function of the Difference Between Two Independent Beta Variables
pbetabinomdiff()
Cumulative Distribution Function of the Difference Between Two Independent Beta-Binomial Proportions

Sampling Functions

Random samplers for multivariate distributions

rdirichlet()
Generate Random Samples from a Dirichlet Distribution

Utility Functions

Supporting functions for joint probability and multinomial enumeration

getjointbin()
Compute Joint Bivariate Binary Probabilities from Marginal Rates and Correlation
allmultinom()
Enumerate All Multinomial Count Vectors for a Bivariate Binary Outcome