Uses elicited efficacy and toxicity dose-specific parameters along with latent prior variance, dose-specific mean hypervariance and frailty variance to determine dose-specific prior means for efficacy and toxicity and prints the prior effective sample size associated with the specified prior parameters.
Usage
GetPriors(PROBST, PROBSE, Var, HypVar, tau, B)
Arguments
PROBST
Elicited prior toxicity probability at each dose.
PROBSE
Elicted prior efficacy probability at each dose.
Var
Latent parameter variance for normal probability of efficacy and toxicity.
HypVar
Hypervariance on dose specific mean efficacy and toxicity parameters.
tau
Frailty variance parameter.
B
Number of prior samples to draw for calculating ESS. Suggested values of ten thousand.
Value
A list contianing the vector of dose-specific efficacy probability prior mean parameters and the vector of dose-specific toxicity probability prior mean parameters.
# NOT RUN {library(mvtnorm)
PROBST=c(.05,.10,.15,.20,.30)
PROBSE=c(.2,.4,.6,.65,.7)
Var=1HypVar=36tau=1B=100Z=GetPriors(PROBST,PROBSE,Var,HypVar,tau,B)
# }