ReturnMeansAgent {Phase123}R Documentation

Gives true mean survival times for doses considered of the experimental agent.

Description

Returns the dose specific mean survival times for given efficacy and toxicity dose probability vector, distribution family and linear relationship between dose, effiacy, toxicity and survival.

Usage

ReturnMeansAgent(PE, PT, beta, Dose, Family, alpha)

Arguments

PE

True efficacy dose-toxicity vector.

PT

True toxicity dose-toxicity vector.

beta

True linear term for the rate or mean parameter

Dose

Vector of standardized doses considered in the trial.

Family

Time to event distribution. Options include: Exponential, Gamma, Weibull, Lognormal.

alpha

Shape parameter or standard deviation of a lognormal distribution.

References

[1] Chapple and Thall (2018). A Hybrid Phase 12/3 Clinical Trial Design Allowing Dose Re-Optimization in Phase 3 Biometrics. Under Review.

Examples

##True Efficacy and Toxicity Probabilities
PT = c(.1,.15,.25,.35,.5)
PE=c(.2,.4,.6,.65,.7)
##Dose Levels considered
Dose = c(1,2,3,3.5,5)
Dose=(Dose-mean(Dose))/sd(Dose)
###Family of Distributions
Family="Gamma"
###Shape parameter ## Doesn't matter for exponential distribution
alpha=2
###True Beta vector
beta = c(.75,-.5, .3, -.25,2.143)
ReturnMeansAgent(PE,PT,beta,Dose,Family,alpha)

[Package Phase123 version 2.1 Index]