EconPapers    
Economics at your fingertips  
 

Erratum: Power and sample-size calculations for trials that compare slopes over time: Introducing the slopepower command

Stephen Nash (), Katy E. Morgan (), Chris Frost () and Amy Mulick ()
Additional contact information
Stephen Nash: London School of Hygiene and Tropical Medicine
Katy E. Morgan: London School of Hygiene and Tropical Medicine
Chris Frost: London School of Hygiene and Tropical Medicine
Amy Mulick: London School of Hygiene and Tropical Medicine

Stata Journal, 2024, vol. 24, issue 4, 784-787

Abstract: Trials of interventions that aim to slow disease progression may analyze a continuous outcome by comparing its change over time—its slope—between the treated and the untreated group using a linear mixed model. To perform a sample-size calculation for such a trial, one must have estimates of the parameters that govern the between- and within-subject variability in the outcome, which are often unknown. The algebra needed for the sample-size calculation can also be complex for such trial designs. We have written a new user-friendly command, slopepower, that performs sample-size or power calculations for trials that com- pare slope outcomes. The package is based on linear mixed-model methodology, described for this setting by Frost, Kenward, and Fox (2008, Statistics in Medicine 27: 3717–3731). In the first stage of this approach, slopepower obtains estimates of mean slopes together with variances and covariances from a linear mixed model fit to previously collected user-supplied data. In the second stage, these estimates are combined with user input about the target effectiveness of the treatment and design of the future trial to give an estimate of either a sample size or a statistical power. In this article, we present the slopepower command, briefly explain the methodology behind it, and demonstrate how it can be used to help plan a trial and compare the sample sizes needed for different trial designs.

Keywords: slopepower; power; sample-size calculations; slopes; parallel-arm trial (search for similar items in EconPapers)
Date: 2024
Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj21-3/st0647_1/
References: Add references at CitEc
Citations:

Downloads: (external link)
http://www.stata-journal.com/article.html?article=st0647_1 link to article purchase

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:tsj:stataj:v:24:y:2024:i:4:p:784-787

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

DOI: 10.1177/1536867X241297951

Access Statistics for this article

Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins

More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().

 
Page updated 2025-03-20
Handle: RePEc:tsj:stataj:v:24:y:2024:i:4:p:784-787