Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

efftox_utility

Get the utility of efficacy & toxicity probability pairs


Description

Get the utility of efficacy & toxicity probability pairs

Usage

efftox_utility(p, eff0, tox1, prob_eff, prob_tox)

Arguments

p

p-index of EffTox utility contours. Use efftox_solve_p

eff0

Efficacy probability required when toxicity is impossible; a number between 0 and 1

tox1

Toxicity probability permitted when efficacy is guaranteed; a number between 0 and 1

prob_eff

Probability of efficacy; number between 0 and 1

prob_tox

Probability of toxicity; number between 0 and 1

Value

Utility value(s)

See Also

Examples

p <- efftox_solve_p(0.5, 0.65, 0.7, 0.25)

u <- efftox_utility(p, 0.5, 0.65, prob_eff = 0.7, prob_tox = 0.25)
round(u, 4) == 0

u <- efftox_utility(p, 0.5, 0.65, prob_eff = c(0.6, 0.7, 0.8),
                    prob_tox = c(0.1, 0.2, 0.3))
round(u, 2) == c(0.04, 0.08, 0.12)

trialr

Clinical Trial Designs in 'rstan'

v0.1.5
GPL (>= 3)
Authors
Kristian Brock [aut, cre] (<https://orcid.org/0000-0002-3921-0166>), Trustees of Columbia University [cph]
Initial release
2020-10-14

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.