Bayesian sample size determination under hypothesis tests
Related Experiment Video
Updated: Jun 5, 2026

Modeling the Size Spectrum for Macroinvertebrates and Fishes in Stream Ecosystems
Published on: July 30, 2019
Xiao Zhang1, Gary Cutter, Thomas Belin
1Department of Biostatistics, School of Public Health, University of Alabama at Birmingham, Birmingham, AL 35294, USA. xzhang@ms.soph.uab.edu
Abstract:
We develop a Bayesian approach for calculating sample sizes for clinical trials under the framework of hypothesis tests. We extend the work of Weiss (The Statistician 1997; 46: 185-191) to include composite distributions for the treatment effect and the variance of the data within the null and alternative hypotheses. We select sample sizes using the Bayes factor and the averaged type I error and type II error defined by Weiss (The Statistician 1997; 46: 185-191). Our approach allows the uncertainty inherent in eliciting prior information for both the treatment effect and the variance and permits informative prior information for unknown quantities through the hypothesis specification. We illustrate our method through a real data example from a clinical trial for treatment of multiple sclerosis and from the cerclage trial for preterm birth prevention in high-risk women.
Related Concept Videos
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...
Statistical Hypothesis Testing
Statistical significance measures the probability that an observed result occurred by chance. If this probability, known as...
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...
Decision Making: Traditional Method
First, a specific claim about the population parameter is decided based on the research question and is stated in a simple form. Further, an opposing statement to this claim is also stated. These statements can act as null and alternative hypotheses, out of which a null hypothesis would be a...
Accuracy and Errors in Hypothesis Testing
In hypothesis testing, the probability of making a Type I error, denoted as α, is commonly set at 0.05. This significance level indicates a 5% chance...
Types of Hypothesis Testing
When the null and alternative hypotheses are stated, it is observed that the null hypothesis is a neutral statement against which the alternative hypothesis is tested. The alternative hypothesis is a claim that instead has a certain direction. If the null hypothesis claims that p = 0.5, the alternative hypothesis would be an opposing statement to this and can be put either p > 0.5, p < 0.5, or p ≠ 0.5.
