ReturnMeanControl: Gives true mean survival times for the control therapy.

Description Usage Arguments References Examples

View source: R/ReturnMeanControl.R

Description

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

Usage

1
ReturnMeanControl(ProbC, betaC, Family, alpha)

Arguments

ProbC

Probability of efficacy and toxicity for the control therapy.

betaC

Linear term for efficacy, toxicity and beta_0 for the control groupar term for efficacy, toxicity and beta_0 for the control group.

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 I-II/III Clinical Trial Design Allowing Dose Re-Optimization in Phase III. Biometrics. In Press,

Examples

1
2
3
4
5
6
7
8
9
###Family of Distributions
Family="Gamma"
###Shape parameter
alpha=2
##True beta vector for efficacy, toxicity and intercept of the control treatment
betaC=c(.3,-.25,2.389)
##True efficacy and toxicity probability for control group
ProbC = c(.4,.15)
ReturnMeanControl(ProbC,betaC,Family,alpha)

Phase123 documentation built on May 2, 2019, 9:56 a.m.