Home  >>  Archives  >>  Volume 13 Number 1  >>  st0286

The Stata Journal
Volume 13 Number 1: pp. 114-135

Subscribe to the Stata Journal

A menu-driven facility for sample-size calculations in cluster randomized controlled trials

Karla Hemming
University of Birmingham
Birmingham, UK
[email protected]
Jen Marsh
University of Birmingham
Birmingham, UK
[email protected]
Abstract.  We introduce the Stata menu-driven command clustersampsi, which calculates sample sizes, detectable differences, and power for cluster randomized controlled trials. The command permits continuous, binary, and rate outcomes (with normal approximations) for comparisons of two-sided tests in two equal-sized arms. The command allows for specification of the number of clusters available, or the cluster size, or the average cluster size along with an estimate of the variation of cluster sizes. When the number of clusters available is insufficient to detect the required difference at the prespecified power, clustersampsi will return the minimum number of clusters required under the prespecified design along with the minimum detectable difference and maximum achievable power (both for the prespecified number of clusters). Cluster heterogeneity can be parameterized by using either the intracluster correlation or the coefficient of variation. The command is illustrated via examples.
Terms of use     View this article (PDF)

View all articles by these authors: Karla Hemming, Jen Marsh

View all articles with these keywords: clustersampsi, sample size, cluster randomized controlled trials, minimum detectable difference, maximum achievable power

Download citation: BibTeX  RIS

Download citation and abstract: BibTeX  RIS