Statistical hypothesis test Created 2026-10-14 Updated 2026-11-05
A statistical hypothesis test is a decision rule calibrated to distinguish a null hypothesis from a specified alternative hypothesis. A randomized statistical test gives a rejection probability for possible data . Its power function of a statistical test is , and a level- test satisfies
The supremum is the size of a statistical test. Controlling it limits type I error; a useful test also has high statistical power against scientifically relevant alternatives.
For ten independent Bernoulli trials with success probability , test against by rejecting for at least nine successes. The upper-tail probability increases with , so the largest null rejection probability occurs at and equals
It is therefore a conservative level-0.05 test. Rejecting at eight successes would have size . This illustrates why discrete calibration need not attain the advertised level exactly. A p-value is a null-tail probability for the observation, not a probability that the null hypothesis is true. The decision also does not measure the size or practical importance of an effect.
Statistical power Created 2026-09-24 Updated 2026-11-05
The statistical power of a test at an alternative parameter value is the probability that the test rejects its Null hypothesis at that value.
Statistical test Created 2026-10-05 Updated 2026-11-05
A statistical test is a measurable rule for deciding whether to reject a null hypothesis. Allowing randomisation, it is represented by a function giving the conditional rejection probability after observing . A deterministic test takes only values zero and one. Under a simple null, is its size of a statistical test; under an alternative, is its statistical power. Randomisation on a likelihood ratio equality set allows a Neyman-Pearson lemma threshold test to attain a prescribed size even for discrete data.
Wasserstein distance Created 2026-09-24 Updated 2026-11-05
The first Wasserstein distance measures the least expected separation achievable when two random variables are coupled with specified marginal probability measures. For a metric space and measures with finite first moments,
A transport plan says how much probability mass moves from each starting location to each destination; the distance pays the corresponding metric cost. For point masses on the real line, , because there is only one coupling. In contrast, their Total variation distance is one whenever . Wasserstein distance therefore records that nearby displacements are small even when the two laws give mass to disjoint sets.
Every coupling gives an upper bound by its expected separation. Conversely, the Kantorovich–Rubinstein theorem gives lower bounds from differences of expectations of Lipschitz functions. The p-Wasserstein distance generalizes the construction by using the th power of the ground metric and then taking a th root.