Used in a Bayesian analysis when you have interest in determining if a single posterior probability, eg probability a parameter is greater than MAV, being greater than an upper cutoff or below a lower cutoff. In particular, you must define vPUpper, vPLower, dFinalPUpper, dFinalPLower as part of your cAnalysis object. This function returns a list with dPUpperCutoff and dPLowerCutoff. 0 <= dPUpperCutoff <= dPLowerCutoff <= 1
# S3 method for MAVOnly GetBayesianCutoffs(cAnalysis, nISAAnalysisIndx, bIsFinalISAAnalysis)
cAnalysis$vPUpper | Vector of upper cutoffs, typically used in the context of success if a posterior probability > vPUpper, 0 <= vPLowerCutoff <= vPUpperCutoff <= 1 |
---|---|
cAnalysis$vPLower | Vector of lower cutoffs, typically used in the context of failure if a posterior probability < vPLower, 0 <= vPLowerCutoff <= vPUpperCutoff <= 1 |
cAnalysis$dFinalPUpper | Value of upper cutoff used at the FINAL analysis, typically used in the context of success if a posterior probability > dFinalPUpper, 0 <= dPLowerCutoff <= dPUpperCutoff <= 1 |
cAnalysis$dFinalPLower | Value of lower cutoff used at the FINAL analysis, typically used in the context of failure if a posterior probability < dFinalPLower, 0 <= dPLowerCutoff <= dPUpperCutoff <= 1 |