blindrecalc - An R Package for Blinded Sample Size Recalculation

Besides the type 1 and type 2 error rate and the clinically relevant effect size, the sample size of a clinical trial depends on so-called nuisance parameters for which the concrete values are usually unknown when a clinical trial is planned. When the uncertainty about the magnitude of these parameters is high, an internal pilot study design with a blinded sample size recalculation can be used to achieve the target power even when the initially assumed value for the nuisance parameter is wrong. In this paper, we present the R-package blindrecalc that helps with planning a clinical trial with such a design by computing the operating characteristics and the distribution of the total sample size under different true values of the nuisance parameter. We implemented methods for continuous and binary outcomes in the superiority and the non-inferiority setting.

Lukas Baumann (Institute of Medical Biometry) , Maximilian Pilz (Institute of Medical Biometry) , Meinhard Kieser (Institute of Medical Biometry)
2022-06-21

Supplementary materials

Supplementary materials are available in addition to this article. It can be downloaded at RJ-2022-001.zip

References

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

Citation

For attribution, please cite this work as

Baumann, et al., "blindrecalc - An R Package for Blinded Sample Size Recalculation", The R Journal, 2022

BibTeX citation

@article{RJ-2022-001,
  author = {Baumann, Lukas and Pilz, Maximilian and Kieser, Meinhard},
  title = {blindrecalc - An R Package for Blinded Sample Size Recalculation},
  journal = {The R Journal},
  year = {2022},
  note = {https://doi.org/10.32614/RJ-2022-001},
  doi = {10.32614/RJ-2022-001},
  volume = {14},
  issue = {1},
  issn = {2073-4859},
  pages = {137-145}
}