R/MakeDecisionBasedOnPostProb.R
MakeDecisionBasedOnPostProb.default.Rd
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 |
# S3 method for default 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.