Setup EXNEX Design Object
setup_exnex(
k,
p0,
basket_mean = NULL,
basket_sd = 100,
mu_mean = NULL,
mu_sd = 100
)
An S3 object of class exnex
The number of baskets.
A common probability under the null hypothesis.
Mean of the normal prior distribution of the individual thetas (NEX part). See details.
Standard deviation of the normal prior distribution of the individual thetas (NEX part).
Mean of the normal prior exchangeability distribution for the mean of the thetas (EX part). See details.
Standard deviation of the normal prior exchangeability distribution for the mean of the thetas (EX part).
The class exnex
implements the EXNEX model proposed by
Neuenschwander et al. (2016). Methods for this class are mostly wrappers
for functions from the package bhmbasket
.
In the EXNEX model the thetas of all baskets are modeled as a mixture
of individual models and a Bayesian Hierarchical Model with a fixed
mixture weight w. If mu_mean
and basket_mean
are NULL
then they are set to logit(p0).
Note that Neuenschwander et al. (2016) use different prior means and
standard deviations. The default values here are used for better comparison
with the BHM model (see setup_bhm
).
Neuenschwander, B., Wandel, S., Roychoudhury, S., & Bailey, S. (2016). Robust exchangeability designs for early phase clinical trials with multiple strata. Pharmaceutical statistics, 15(2), 123-134.
design_exnex <- setup_exnex(k = 3, p0 = 0.2)
Run the code above in your browser using DataLab