Alternative hypothesis 2026-10-14
The alternative hypothesis specifies the parameter values or distributions against which a null hypothesis is tested. If the null is , the alternative is with . For example an upper one-sided comparison uses , while a two-sided comparison uses . The alternative determines the relevant rejection tail. A p-value is computed under the null; it is not the probability that the alternative is false.
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 is
Thus 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.
Figure 1.
The chosen 5% rejection tails and the observed two-sided p-value
. Details.
The significance level and statistical power describe different repeated-experiment probabilities. At a specified alternative , put and . Then
The 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].
For a specified change, use the log-likelihood-ratio score. A log-likelihood ratio accumulates comparable evidence for the alternative hypothesis against the null hypothesis, includes the changing expected number of deaths, and yields the standard CUSUM designed to detect that alternative. Under the null its expected increment is negative; under the target increase it is positive.
By contrast, raw has zero null drift and does not specify which increase is being sought. Its noise scale changes with expected exposure, since a Poisson count with mean has variance . A reset-at-zero chart with this zero-drift score can wander upwards through chance variation, and its threshold has no direct likelihood-evidence interpretation. An chart can be redesigned with an allowance and appropriately calibrated limits, but unadjusted is not the same as the Poisson likelihood-ratio CUSUM.
For a CUSUM threshold , define the first signalling time
The average run length is under a specified distribution of the observations and specified initial state, here . The in-control value is computed under the null hypothesis; a large value means false signals occur infrequently. The out-of-control value is computed under a specified alternative hypothesis; a small value means rapid detection when that alternative holds from monitoring's start. If a change occurs later, its detection delay depends also on the chart state at change time, so the zero-state alternative average run length is not every possible delay.
A fixed-horizon statistical hypothesis test is characterized by Type I error probability under its null and Type II error probability under a specified alternative. Continuous monitoring repeatedly offers opportunities to signal: over an indefinitely long run its probability of eventually signalling can be one even under the null. The average run length quantifies waiting time rather than that eventual probability. It replaces the single-test emphasis on a false-rejection probability with a false-signal timescale, and compares detection speed rather than only a fixed-horizon miss probability. However, a mean run length alone does not determine either finite-horizon error probability; those require the run-length distribution.
Statistical hypothesis 2026-10-14
A statistical hypothesis is a specified set of possible data-generating probability distributions, usually expressed as a restriction on model parameters. A simple statistical hypothesis specifies one distribution; a composite statistical hypothesis permits several. A hypothesis test compares a null hypothesis with an alternative hypothesis using a statistic calibrated under the null.