Learn R Programming

dfpk (version 3.3.0)

dtox: Dose finding method DTOX.

Description

The DTOX model enables us to estimate posterior probability of toxicity \(p_T\) versus dose directly. The dose-toxicity model is given by:

$$p_T(d_k,\boldsymbol{\beta}) = \Phi(-\beta_0 + \beta_1 log(d_k))$$

where \(\beta_q \sim U(l_q, u_q)\) \(\forall\) \(q = 0,1\) and $$l_0 = max(0,beta0mean - 10)$$ $$u_0 = beta0mean + 10$$ $$l_1 = max(0,beta1mean - 5)$$ $$u_1 = beta1mean + 5$$ where default choices are beta0mean = 6.71 and beta1mean = 1.43.

Finally, the DTOX model has the following stopping rule in toxicity: if $$P(p_T(dose) > theta) > prob$$ then, no dose are suggested and the trial is stopped.

Usage

dtox(y, doses, x, theta, prob = 0.9, options=list(nchains = 4, niter = 4000, 
     nadapt = 0.8), betapriors = c(6.71, 1.43), thetaL = NULL, 
     auc = NULL, deltaAUC = NULL, p0 = NULL, L = NULL)

Arguments

y

A binary vector of patient's toxicity outcomes; TRUE indicates a toxicity, FALSE otherwise.

doses

A vector with the doses panel.

x

A vector with the dose level assigned to the patients.

theta

The toxicity target.

prob

The probability for the stopping rule.

betapriors

A vector with the value for the prior distribution of the regression parameters in the model; defaults to beta0mean = 6.71 and beta1mean = 1.43.

options

A list with the Stan model's options; the number of chains, how many iterations for each chain and the number of warmup iterations; defaults to options = list(nchains = 4, niter = 4000, nadapt = 0.8).

auc

A vector with the computed AUC values of each patient for pktox, pkcrm, pklogit and pkpop; defaults to NULL.

deltaAUC

The difference between computed individual AUC and the AUC of the population at the same dose level (defined as an average); argument for pkcov; defaults to NULL.

p0

The skeleton of CRM for pkcrm; defaults to NULL (must be defined only in the PKCRM model).

L

The AUC threshold to be set before starting the trial for pklogit, pkcrm and pktox; defaults to NULL (must be defined only in the PKCRM model).

thetaL

A second threshold of AUC; must be defined only in the PKCRM model.

Value

A list is returned, consisting of determination of the next recommended dose and estimations of the model. Objects generated by dtox contain at least the following components:

newDose

The next maximum tolerated dose (MTD); equals to "NA" if the trial has stopped before the end, according to the stopping rules.

pstim

The mean values of estimated probabilities of toxicity.

p_sum

The summary of the estimated probabilities of toxicity.

parameters

The estimated model's parameters.

References

Ursino, M., et al, (2017) Dose-finding methods for Phase I clinical trials using pharmacokinetics in small populations, Biometrical Journal.

See Also

sim.data, nsim, nextDose

Examples

Run this code
doses <- c(12.59972,34.65492,44.69007,60.80685,83.68946,100.37111)
theta <- 0.2
options <- list(nchains = 2, niter = 4000, nadapt = 0.8)
x <- c(1,2,3,4,5,6)
y <- c(FALSE,FALSE,FALSE,FALSE,TRUE,FALSE)

res <- dtox(y, doses, x, theta, options = options)

Run the code above in your browser using DataLab