View source: R/MakeDecisionBasedOnPostProb.R
MakeDecisionBasedOnPostProb.default | R Documentation |
This function will make the Go/NoGo decision based on two posterior probabilities
Pr( \theta
> MAV |data ) and Pr( \theta
> TV | data ) where \theta
is the
parameter of interest.
Pr( \theta > MAV ) > dMAVCutoff | | | Pr( \theta > MAV) <= dMAVCutoff |
|
------------------------------------- | | | ------------------------------------- | |
Pr( \theta > TV ) > dTVCutoff | Go | | | Pause |
------------------------------------- | | | ------------------------------------- | |
Pr( \theta > TV ) <= dTVCutoff | Pause | | | No Go |
## Default S3 method:
MakeDecisionBasedOnPostProb(cAnalysis, lCalcs)
cAnalysis |
The analysis object. |
lCalcs |
a list with dPrGrtTV, dPrGrtMAV, dMAVCutoff, dTVCutoff |
Return List of ( nGo, nNoGo, nPause ). Only one of the elements should be 1 to reflect the decision.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.