R/MakeDecisionBasedOnPostProb.R
MakeDecisionBasedOnPostProb.MAVTarget.RdThis function will make the Go/NoGo decision based on one posterior probability, Pr( \(\theta\) > MAV |data ) where \(\theta\) is the parameter of interest. Based on this probability the following decisions are made
| Decision | |
| Pr( \(\theta\) > MAV |data ) > dPUpperCutoff | Go |
| Pr( \(\theta\) > MAV |data ) < dLowerCutoff | No Go |
| Otherwise | Pause |
# S3 method for MAVTarget MakeDecisionBasedOnPostProb(cAnalysis, lCalcs)
| cAnalysis | The analysis object. |
|---|---|
| lCalcs | a list with dPrGrtMAV, dPUpperCutoff, dLowerCutoff |
Return List of ( nGo, nNoGo, nPause ). Only one of the elements should be 1 to reflect the decision.