Introduction to Power and Sample Size Analysis

Standard Hypothesis Tests

In statistical hypothesis testing, you typically express the belief that some effect exists in a population by specifying an alternative hypothesis upper H 1. You state a null hypothesis upper H 0 as the assertion that the effect does not exist and attempt to gather evidence to reject upper H 0 in favor of upper H 1. Evidence is gathered in the form of sample data, and a statistical test is used to assess upper H 0. If upper H 0 is rejected but there really is no effect, this is called a Type I error. The probability of a Type I error is usually designated "alpha" or alpha, and statistical tests are designed to ensure that alpha is suitably small (for example, less than 0.05).

If there is an effect in the population but upper H 0 is not rejected in the statistical test, then a Type II error has been committed. The probability of a Type II error is usually designated "beta" or beta. The probability 1 – beta of avoiding a Type II error (that is, correctly rejecting upper H 0 and achieving statistical significance) is called the power of the test.

Most, but not all, of the power analyses in the GLMPOWER and POWER procedures are based on such standard hypothesis tests.

Last updated: December 09, 2022