setup_cpp: Setup Calibrated Power Prior Design Object
Description
Setup Calibrated Power Prior Design Object
Usage
setup_cpp(k, p0, shape1 = 1, shape2 = 1)
Value
An S3 object of class cpp
Arguments
k
The number of baskets.
p0
A common probability under the null hypothesis.
shape1
First common shape parameter of the beta prior.
shape2
Second common shape parameter of the beta prior.
Details
The class cpp implements a version of the power prior design,
in which the amount of information that is shared between baskets is
determined by the Kolmogorov-Smirnov test statistic between baskets (which
is equivalent to the absolut difference in response rates).
References
Baumann, L., Sauer, L., & Kieser, M. (2024). A basket trial
design based on power priors. arXiv:2309.06988.