GetBayesianCutoffs.MAVOnly: GetBayesianCutoffs.MAVOnly

View source: R/GetBayesianCutoffs.R

GetBayesianCutoffs.MAVOnlyR Documentation

GetBayesianCutoffs.MAVOnly

Description

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

Usage

## S3 method for class 'MAVOnly'
GetBayesianCutoffs(cAnalysis, nISAAnalysisIndx, bIsFinalISAAnalysis)

Arguments

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

See Also

View Code on GitHub


kwathen/OCTOPUS documentation built on Oct. 24, 2024, 12:36 p.m.