/artbin

Primary LanguageStataGNU General Public License v3.0GPL-3.0

Sample size for trials with binary outcomes

artbin: A unified Stata package for calculating sample sizes for trials with binary outcomes

This repository contains the Stata package, helpfiles plus code for testing and examples.

Directories

  • package: artbin program, associated programs and dialog box and helpfiles.
  • testing: testing programs and output.
  • examples: code and output for the examples in the accompanying Stata Journal paper (see citation below).

Installation within Stata

You should be able to install this package from SSC, by typing ssc install art.

To install it from github, use one of these:

  • github install UCL/artbin, path(package)
  • net from https://raw.githubusercontent.com/UCL/artbin/main/package/

Paper

If you find this command useful, please cite it as below:

Ella Marley-Zagar, Ian R. White, Patrick Royston, Friederike M.-S. Barthel, Mahesh K B Parmar, Abdel G. Babiker. artbin: Extended sample size for randomised trials with binary outcomes. Stata J 2023:1;24-52. https://journals.sagepub.com/doi/pdf/10.1177/1536867X231161971