Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 9.46 KB

File metadata and controls

52 lines (32 loc) · 9.46 KB

DOI

A review of Bayesian perspectives on sample size derivation for confirmatory trials

This repository contains the code and TeX sources for the manuscript

`A review of Bayesian perspectives on sample size calculation for confirmatory trials'.

The R code to reproduce the figures is contained in the Jupyter notebook notebooks/figures-for-manuscript.ipynb. The TeX source files are contained in the latex subfolder. All software dependencies are documented in the .binder subfolder. The repository is compatible with the python tool repo2docker. This means that the repository can be turned into a docker container that contains all required software using repo2docker. Using this container to execute the code then ensures a maximum level of reproducibility.

We also use the (free) service mybinder.org to provide and interactive version of the repository online that can be explored without installing any software on your local system. The most recent development version can be accessed by clocking on the badge below.

badge

Older releases of the repository are available via the badges listed below.

A Snakefile is provided to run all steps required to produce the final manuscript PDF file. To execute the workflow, simply open a shell (locally or via the mybinder.org link), and run the command

snakemake --cores 1  manuscript

in the project root directory (requires snakemake, ore-installed in the binder container).

Older releases:

  • badge

Shiny app badge

Simply click on the badge to launch a simple shiny app and explore the sample size calculation rules interactively.