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

crm_codified_dose_logistic

Calculate codified CRM doses.


Description

Calculate the codified CRM doses that map to probability of toxicity prob_tox in a logistic model with expected values for intercept and gradient. I.e. find x[i] such that logit(p[i]) = α + β x[i], were p is prob_tox.

Usage

crm_codified_dose_logistic(prob_tox, alpha_mean, beta_mean)

Arguments

prob_tox

Numeric vector, seek codified doses that yield these probabilities of toxicity.

alpha_mean

Numeric, expected value of intercept.

beta_mean

Numeric, expected value of gradient with respect to dose.

Value

Numeric vector of codified doses.

Examples

skeleton <- c(0.05, 0.1, 0.2, 0.5)
crm_codified_dose_logistic(skeleton, 1, 0)
crm_codified_dose_logistic(skeleton, 3, 0.5)

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.