get_details.bhm: Get Details of a BHM Basket Trial Simulation
Description
Get Details of a BHM Basket Trial Simulation
Usage
# S3 method for bhm
get_details(
design,
n,
p1 = NULL,
lambda,
level = 0.95,
tau_scale,
iter = 1000,
n_mcmc = 10000,
data = NULL,
...
)
Value
A list containing the rejection probabilites, posterior means,
mean squared errors and mean limits of HDI intervals for all baskets as well
as the family-wise error rate.
Arguments
design
An object of class bhm.
n
The sample size per basket.
p1
Probabilities used for the simulation. If NULL
then all probabilities are set to p0.
lambda
The posterior probability threshold.
level
Level of the credibility intervals.
tau_scale
Standard deviation of the half normal prior distribution
for the variance of the thetas.
iter
The number of iterations in the simulation. Is ignored if
data is specified.
n_mcmc
Number of MCMC samples.
data
An object of class scenario_list as returned by the
function bhmbasket::simulateScenarios.