Call STAN to draw posterior samples of the joint distribution of immunogenicity rate and toxicity risk for parametric and parametric+ model
vtStan(obs.y, priors, model = 0, iter = 4000, chains = 4,
warmup = 2000, ...)A rstan object that contains the posterior sampling results
Observed data matrix with \(l\) rows and 4 columns. Row \(k\) in the matrix represents the observed data from dose level \(k\). The columns are
column 1: number of patient with no DLT, no immune response
column 2: number of patient with no DLT, immune response
column 3: number of patient with DLT, no immune response
column 4: number of patient with DLT, immune response
A class VTPRIOR object created by
vtPriorPar for PARA and PARA+ model.
option of the probability models:
parametric model
parametric+ model
See visit for details.
STAN option: number of iterations
STAN option: number of chains
STAN option: number of warmup
additional parameters for package rstan's sampling method. These
options include iter, warmup, thin,
algorithm. See rstan::sampling for details.