MakeDecisionBasedOnPostProb.MAVTarget: MakeDecisionBasedOnPostProb.MAVTarget

View source: R/MakeDecisionBasedOnPostProb.R

MakeDecisionBasedOnPostProb.MAVTargetR Documentation

MakeDecisionBasedOnPostProb.MAVTarget

Description

This 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

Usage

## S3 method for class 'MAVTarget'
MakeDecisionBasedOnPostProb(cAnalysis, lCalcs)

Arguments

cAnalysis

The analysis object.

lCalcs

a list with dPrGrtMAV, dPUpperCutoff, dLowerCutoff

Value

Return List of ( nGo, nNoGo, nPause ). Only one of the elements should be 1 to reflect the decision.

See Also

View Code on GitHub


kwathen/OCTOPUS documentation built on Oct. 24, 2024, 12:36 p.m.