Exact power of Fisher's exact test Created 2026-10-07 Updated 2026-11-05
For two independent binomial counts, form the Fisher exact test rejection region from their conditional null hypergeometric distribution. Summing alternative joint binomial probabilities over that region gives its exact power. For equal group sizes, the null allocation is symmetric, so the two-sided probability-ordering test agrees with doubled lower-tail probabilities. Conservative test discreteness can make a normal-approximation sample size underpowered even when both samples are large but event counts are low.
Nested likelihood-ratio rejection regions Created 2026-09-24 Updated 2026-11-05
Likelihood-ratio tests of different null subspaces can have crossing rejection regions; comparing their quadratic-form geometry exhibits observations accepted by one and rejected by another.
For the same normal distribution model, a two-sided test compares the null hypothesis with the alternative hypothesis . Under the null hypothesis, the standardized test statistic has standard normal distribution. Write for the standard normal distribution function. With , , and , the observed test statistic is . Its p-value isThus the p-value is a tail probability computed under the null hypothesis, including departures in both directions. It is not , the posterior probability of the null hypothesis, nor the probability that the observations arose "by chance". The normal distribution test statistic and its calibration appear in NIST's teaching reference for testing a process mean; the tail interpretation is stated in Penn State's hypothesis-testing notes.
Choose the significance level before observing the sample. The rejection region is , whose probability under is exactly 0.05. Here , so reject . This agrees with zero lying outside . More generally, a proposed belongs to the unrounded 95% confidence interval precisely when its two-sided test does not reject under this strict cutoff. The equality boundary has probability zero in this continuous statistical model.
The significance level and statistical power describe different repeated-experiment probabilities. At a specified alternative , put and . ThenThe first is the Type I error probability; the second is the Type II error probability at that alternative. For a planning alternative , keeping , and gives , and statistical power . At , and statistical power rises to . These are model calculations for specified alternatives, not posterior probabilities inferred from a nonsignificant result. They explain why failure to reject cannot establish equality and why choosing sample size before an experiment is useful.
Historically, Ronald Fisher's 1925 book discusses the normal cutoff and tail probability 0.05 as a convenient convention on page 47, rather than a mathematically compulsory threshold: [ref]
https://books.google.com/books/about/Statistical_Methods_for_Research_Workers.html?id=I0NBAAAAIAAJ. Fisher, Statistical Methods for Research Workers, first edition
.For every particular alternative mean , the likelihood ratio is increasing in the same statistic . Its size- threshold is fixed solely by the null distribution, so it is always the same found in part (c), independent of .
The single rejection region is therefore most powerful against every member of the composite alternative. Hence the test is uniformly most powerful for .
The statistical power of a test is , its rejection probability at parameter . Its size is ; for a simple null this is just .
The Neyman-Pearson lemma states that for testing a simple null probability density function against a simple alternative probability density function , a test rejecting where , accepting where it is below , and if needed randomizing on equality to attain the desired size is most powerful among all tests of that size. It follows by integrating and using the size constraint.
The proposed probability density function is nonnegative, andFor an independent sample, cancellation of the factors in the likelihood ratio givesFor this is increasing in . The most powerful test therefore has rejection regionThe sum has a continuous positive probability density function on , so no boundary randomization is required. The threshold depends on the null and chosen size, but not on which was specified. The same test is therefore a uniformly most powerful test for the composite alternative .
True, with the test's rejection rule fixed. If its rejection region in the space of the test statistic is , its statistical power against the specified simple hypothesis isThus the probability distribution of under the alternative hypothesis determines the statistical power of this test. The null distribution is used to choose a rule with the desired test size, but statistical power is evaluated under the alternative hypothesis. Different rejection rules can have different statistical power even for the same probability distribution of .
The full parameter space has dimension two and the null space dimension one. The regular Wilks theorem therefore gives under as . If denotes the cumulative distribution function of the chi-squared distribution with one degree of freedom, the approximate size- rejection region isThe corresponding approximate p-value isThe one degree of freedom here describes the large-sample likelihood-ratio test statistic; it is different from the exact residual degrees of freedom in the next part.
Power function of a statistical test Created 2026-09-24 Updated 2026-11-05
For a test with rejection region , its power function isIts supremum over the null parameter space is the size of the test.
Rejection region Created 2026-10-14 Updated 2026-11-05
A rejection region is the set of sample outcomes on which a hypothesis test rejects its null hypothesis. Its probability under the null determines the type I error rate.
Statistical inference Created 2026-09-24 Updated 2026-10-13
Statistical inference uses observed data and a statistical model to learn about unknown features of the process that generated them. In a parametric statistical model, write : the probability distribution depends on an unknown statistical parameter . An estimand specifies the target, such as a mean or a difference of means. A statistic is a function of the observations; an estimator is a statistic used to estimate the target. Uppercase denotes the random data before observation, while lowercase denotes their realized values.
Three questions lead to different outputs. Statistical estimation asks which target value the observations suggest. A confidence interval asks for a range produced by a procedure with calibrated coverage probability. A hypothesis test asks whether the observations depart sufficiently from a specified null hypothesis to enter its rejection region. These outputs complement one another: an estimated effect size describes magnitude, while a standard error describes the sampling distribution of an estimator. A p-value describes a tail probability under the null hypothesis.
The appeal of statistical inference is that it turns variable observations into reproducible uncertainty statements. In the normal mean confidence interval with known variance below, a sample mean of has standard error : both the estimated shift and its precision matter. The calibration depends on the statistical model, including independence and the specified probability distribution. Increasing sample size improves precision under those assumptions; it does not repair a systematically misleading sampling procedure. Bayesian inference provides another framework, using a prior distribution and a likelihood function to obtain a posterior distribution.
