GetESS: Determines Prior ESS for fixed values of sigma_alpha^2 and...

Description Usage Arguments Value References Examples

View source: R/GETESS.R

Description

Uses the prior means for the intercept and slope parameters and the number of doses to obtain an approximate prior ESS for the given prior variances. The user should calibrate varint and varbeta with varint>varbeta such that the ESS value is 1.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
GetESS(
  Dose,
  meanmu,
  meanslope,
  MeanInts,
  MeanSlopes,
  VarInt,
  VarSlope,
  phetero
)

Arguments

Dose

Vector containing standardized doses.

meanmu

Prior mean for baseline intercept.

meanslope

Prior mean for baseline slope.

MeanInts

Vector of prior means for the group specific intercept parameters.

MeanSlopes

Vector of prior means for the group specific slope parameters.

VarInt

Prior variance for the intercept parameters.

VarSlope

Prior variance for the slope parameters.

phetero

Prior probability of clustering

Value

Returns the nonlinear regression model whos parameter estimates will be used as prior means for the SubTITE Design.

References

[1] Chapple and Thall (2017), Subgroup-specific dose finding in phase I clinical trials based on time to toxicity allowing adaptive subgroup combination.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
###Specify the prior hypermeans
meanmu=-.5
meanslope=-.05
MeanInts = c(0,-.5,-.1)
MeanSlopes = c(0,.1,0)
Dose=sort(rnorm(5))
VarInt=5
VarSlope=1
phetero=.9
GetESS(Dose,meanmu,meanslope,MeanInts,MeanSlopes,VarInt,VarSlope,phetero)

SubTite documentation built on Sept. 15, 2021, 9:07 a.m.

Related to GetESS in SubTite...