Used in a trial with a Bayesian analysis and parameter of interest \(\theta\), where the decisions are based two posterior probabilities Pr( \(\theta\) > MAV |data ) > vMAVCutoff and Pr( \(\theta\) > TV | data ) > vTVCutoff. This function returns a list with dMAVCutoff and dTVCutoff. 0 <= dMAVCutoff and dTVCutoff <= 1. Typically, this function is not called directly but as part of the ComputePosteriorProb function.
# S3 method for default GetBayesianCutoffs(cAnalysis, nISAAnalysisIndx, bIsFinalISAAnalysis)
nISAAnalysisIndx | An integer with the index of the analysis |
---|---|
bIsFinalISAAnalysis | TRUE or FALSE to indicate if this is the final analysis. Typically, used in a Bayesian design such that the final analysis can have different cutoff values. |
cAnalysis$vMAVCutoff | A vector of cutoffs for the MAV at each analysis. |
cAnalysis$vTVCutoff | A vector of cutoffs for the TV. |
List with two values dMAVCutoff and dTVCutoff.