GetDesire: Returns the desireability value of a dose.
Description
Takes estimated posterior mean efficacy and toxicity values and returns the posterior mean desireability score for a given tradeoff contour.
Usage
GetDesire(PE, PT, Contour)
Arguments
PE
True or estimated probability of efficacy.
PT
True of estimated probability of toxicity.
Contour
Vector containing 4 entries used to make the desireability function. Contour(1) contains a desired toxicity probability given efficacy, Countour(2) contains a desired efficacy probability given toxicity, and (Contour(3),Contour(4)) is an equally desireable pair of efficacy and toxicity probabilities that are non zero or one.