Related Experiment Video
Updated: Jul 22, 2025

A Method of Trigonometric Modelling of Seasonal Variation Demonstrated with Multiple Sclerosis Relapse Data
Published on: December 9, 2015
Power and sample-size calculations for trials that compare slopes over time: Introducing the slopepower command
Stephen Nash1, Katy E Morgan2, Chris Frost2
1Department of Infectious Disease Epidemiology London School of Hygiene and Tropical Medicine London, UK.
Planning clinical trials to slow disease progression is simplified with the new slopepower command. This tool calculates sample sizes and statistical power for trials analyzing changes in outcomes over time, using linear mixed models.
Area of Science:
- Biostatistics
- Clinical Trial Design
- Longitudinal Data Analysis
Background:
- Clinical trials aiming to slow disease progression often analyze continuous outcomes by comparing changes over time (slopes) between treatment groups.
- Accurate sample-size calculations for these trials require estimates of between- and within-subject variability, which are frequently unknown.
- The algebraic complexity of sample-size calculations for slope outcome trials can be a barrier to effective trial planning.
Purpose of the Study:
- To introduce slopepower, a user-friendly command for sample-size and power calculations in trials comparing slope outcomes.
- To provide a practical tool based on linear mixed-model methodology for planning clinical trials with longitudinal data.
- To demonstrate the utility of slopepower in determining necessary sample sizes for various trial designs.
Main Methods:
- The slopepower command utilizes linear mixed-model methodology, building upon established statistical approaches for longitudinal data.
- It operates in two stages: first, estimating mean slopes, variances, and covariances from user-supplied data using a linear mixed model.
- Second, it combines these estimates with user-defined parameters for treatment effectiveness and future trial design to compute sample size or power.
Main Results:
- The slopepower command offers a streamlined approach to sample-size and power calculations for trials analyzing slope outcomes.
- It simplifies the complex algebra previously required for such designs, making trial planning more accessible.
- The tool facilitates the comparison of sample sizes needed across different potential trial designs.
Conclusions:
- The slopepower command is a valuable tool for researchers designing clinical trials that evaluate disease progression over time.
- It enhances the efficiency and accuracy of sample-size determination, crucial for resource allocation and study validity.
- This command aids in optimizing trial design by enabling informed comparisons of different planning scenarios.
More Related Videos
Related Concept Videos
Testing a Claim about Population Proportion
There are two methods of testing a claim about a population proportion: (1) Using the sample proportion from the data where a binomial distribution is approximated to the normal distribution and (2) Using the binomial probabilities calculated from the data.
The first method uses normal distribution as an approximation to the binomial distribution. The requirements are as follows: sample size is large...
Sample Size Calculation
The sample size for the given experiment or sampling effort is fundamental to any study design. Sample size decides the number of...
One-Way ANOVA: Equal Sample Sizes
Different sample means can result in different values for the variance estimate: variance between samples. This is because the variance between samples is calculated as the product of the sample size and the variance between the...
One-Way ANOVA: Unequal Sample Sizes
Parametric Survival Analysis: Weibull and Exponential Methods
Weibull Distribution
The Weibull distribution is a flexible model used in parametric survival analysis. It can handle both increasing and decreasing hazard rates, depending on its shape parameter...
Comparing the Survival Analysis of Two or More Groups

