R/MakeDecisionBasedOnPostProb.R
MakeDecisionBasedOnPostProb.default.RdThis 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)Return List of ( nGo, nNoGo, nPause ). Only one of the elements should be 1 to reflect the decision.