OneStageBasket-class {baskexact} | R Documentation |

## Class OneStageBasket

### Description

OneStageBasket is an S4 class. An object of this class contains the most important design features of a single-stage basket trial.

### Details

This class implements a single-stage basket trial based on the power prior design or the design proposed by Fujikawa et al. In these designs, information is borrowed between baskets by calculating weights that reflect the similarity between the baskets (and optionally the overall heterogeneity). Posterior distributions for each basket are beta distributions where the parameters are found by adding weighted sums of the observed responses and non-responses in each basket to the prior parameters (or in case of Fujikawa's design by calculating weighted sums of the individual posterior distributions).

Currently only common prior distributions and a common null hypothesis are supported.

### Slots

`k`

The number of baskets.

`shape1`

First common shape parameter of the beta prior.

`shape2`

Second common shape parameter of the beta prior.

`p0`

A common probability under the null hypothesis.

### References

Baumann, L., Sauer, L., & Kieser, M. (2024). A basket trial design based on power priors. arXiv:2309.06988.

Fujikawa, K., Teramukai, S., Yokota, I., & Daimon, T. (2020). A Bayesian basket trial design that borrows information across strata based on the similarity between the posterior distributions of the response probability. Biometrical Journal, 62(2), 330-338.

*baskexact*version 1.0.1 Index]