View source: R/GetBayesianCutoffs.R
GetBayesianCutoffs.default | R Documentation |
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.
## Default S3 method:
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.