SimTrial1 {SubTite}R Documentation

Simulates a Sub-TITE trial design

Description

Simulates replicates from a Sub-TITE trial with user specified true toxicity time distributions for different doses and subgroups and returns average summary statistics of the trial.

Usage

SimTrial1(
  nSims,
  Nmax,
  T1,
  Target,
  Dose,
  DoseStart,
  Upper,
  Accrue,
  groupprob,
  Family,
  Param1,
  Param2,
  meanmu,
  meanslope,
  MeanInts,
  MeanSlopes,
  varint,
  varbeta,
  phetero,
  NSep,
  NBorrow,
  cohort,
  FULLY
)

Arguments

nSims

Number of Trials to Simulate.

Nmax

Maximum Number of Patients to enroll in the trial.

T1

Reference time for toxicity.

Target

Target cumulative toxicity probability (or subgroup specific vector) at time T1.

Dose

Standardized vector of doses to try.

DoseStart

Dose (or vector of Doses) to enroll the first patient in each subgroup at.

Upper

Cutoff values used to determine if accrual in a subgroup should be suspended.

Accrue

Expected montly patient accrual rate.

groupprob

Probability vector of subgroup assignment.

Family

What distribution Family to simulate from. Options include: Exponential,Gamma, Lognormal, Uniform, Weibull.

Param1

nGroups X nDose matrix of first parameter values.

Param2

NGroups X nDose matrix of second parameter values.

meanmu

Prior mean of the baseline intercept parameter.

meanslope

Prior mean of the baseline slope parameter.

MeanInts

G-1 length vector of subgroup specific prior intercept means.

MeanSlopes

G-1 length vector of subgroup specific prior slope means.

varint

Prior Variance of Intercept Parameters.

varbeta

Prior Variance of Slope Parameters.

phetero

Prior prob of heterogeneity.

NSep

Number of patients to assign based on no borrowing.

NBorrow

Number of patients to assign based on no clustering

cohort

Number of patients to enroll before escalating.

FULLY

Do we have to fully evaluate a cohort before escalating?

Value

A list of simulation outputs to be processed in R.


[Package SubTite version 4.0.5 Index]