An object of class Basket created by
setupOneStageBasket or setupTwoStageBasket.
...
Further arguments.
p1
Probabilities under the alternative hypothesis. If
length(p1) == 1, then this is a common probability for all
baskets.
n
The sample size per basket.
lambda
The posterior probability threshold. See details for more
information.
weight_fun
Which function should be used to calculate the pairwise
weights.
weight_params
A list of tuning parameters specific to
weight_fun.
globalweight_fun
Which function should be used to calculate the
global weights.
globalweight_params
A list of tuning parameters specific to
globalweight_fun.
n1
The sample size per basket for the interim analysis in case of a
two-stage design.
interim_fun
Which type of interim analysis should be conducted
in case of a two-stage design.
interim_params
A list of tuning parameters specific to
interim_fun.
Methods (by class)
ecd(OneStageBasket): Expected number of correction decisions for a single-stage
basket design.
ecd(TwoStageBasket): Expected number of correction decisions for a two-stage
basket design.
Details
Computes the expected number of correction decisions, i.e. the
expected number of actually active baskets that are declared active and
actually inactive baskets that are declared inactive.