GetPriors {UtilityFrailtyPH12}R Documentation

Returns prior dose-specific means.

Description

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.

Examples

library(mvtnorm)
PROBST=c(.05,.10,.15,.20,.30)
PROBSE=c(.2,.4,.6,.65,.7)
Var=1
HypVar=36
tau=1
B=100
Z=GetPriors(PROBST,PROBSE,Var,HypVar,tau,B)

[Package UtilityFrailtyPH12 version 1.0 Index]