setup_mmlglobal {basksim} | R Documentation |
Setup mmlglobal Design Object
Description
Creates an object of class mmlglobal
.
Usage
setup_mmlglobal(k, p0, shape1 = 1, shape2 = 1)
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 mmlglobal
implements an empirical Bayes method
by Gravestock & Held (2019) which was proposed for borrowing strength
from multiple external studies.
Value
An S3 object of class mmlglobal
References
Gravestock, I., & Held, L. (2019). Power priors based on multiple historical studies for binary outcomes. Biometrical Journal, 61(5), 1201-1218.
Baumann, L., Sauer, L., & Kieser, M. (2024). A basket trial design based on power priors. arXiv:2309.06988.
Examples
design_mmlglobal <- setup_mmlglobal(k = 3, p0 = 0.2)
[Package basksim version 1.0.0 Index]