MakeDecisionBasedOnPostProb.default: MakeDecisionBasedOnPostProb.default

View source: R/MakeDecisionBasedOnPostProb.R

MakeDecisionBasedOnPostProb.defaultR Documentation

MakeDecisionBasedOnPostProb.default

Description

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

Usage

## Default S3 method:
MakeDecisionBasedOnPostProb(cAnalysis, lCalcs)

Arguments

cAnalysis

The analysis object.

lCalcs

a list with dPrGrtTV, dPrGrtMAV, dMAVCutoff, dTVCutoff

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.