targdose: Calculate dose estimates for a fitted dose-response model... In DoseFinding: Planning and Analyzing Dose Finding Experiments

Description

The TD (target dose) is defined as the dose that achieves a target effect of Delta over placebo (if there are multiple such doses, the smallest is chosen):

TD = min {x|f(x) > f(0)+Delta}

If a decreasing trend is beneficial the definition of the TD is

TD = min {x|f(x) < f(0)-Delta}

When Delta is the clinical relevance threshold, then the TD is similar to the usual definition of the minimum effective dose (MED).

The ED (effective dose) is defined as the dose that achieves a certain percentage p of the full effect size (within the observed dose-range!) over placebo (if there are multiple such doses, the smallest is chosen).

EDp=min {x|f(x) > f(0) + p(f(dmax)-f(0))}

Note that this definition of the EDp is different from traditional definition based on the Emax model, where the EDp is defined relative to the asymptotic maximum effect (rather than the maximum effect in the observed dose-range).

Usage

 1 2 3 4 TD(object, Delta, TDtype = c("continuous", "discrete"), direction = c("increasing", "decreasing"), doses) ED(object, p, EDtype = c("continuous", "discrete"), doses)

Arguments

 object An object of class c(Mods, fullMod), DRMod or bFitMod Delta, p Delta: The target effect size use for the target dose (TD) (Delta should be > 0). p: The percentage of the dose to use for the effective dose. TDtype, EDtype character that determines, whether the dose should be treated as a continuous variable when calculating the TD/ED or whether the TD/ED should be calculated based on a grid of doses specified in doses direction Direction to be used in defining the TD. This depends on whether an increasing or decreasing of the response variable is beneficial. doses Dose levels to be used, this needs to include placebo, TDtype or EDtype are equal to "discrete".

Value

Returns the dose estimate

Bjoern Bornkamp