Take two independent statistical samples from beta distributions with parameters and , of positive sizes . Put , , and . To test the null hypothesis , divide the maximized common-rate likelihood function by the unrestricted maximum to obtain the displayed likelihood ratio. Indeed the unrestricted fitted rates are , and the common fitted rate is ; substitution cancels the exponential factors.
Under the null hypothesis, and have independent gamma distributions with a common rate. Beta-gamma independence gives . The derivative of changes sign at , so the exact critical region of size is or , with . Its cutoffs satisfyHere is the beta distribution cumulative distribution function. Equal likelihood ratios at the cutoffs do not generally mean equal tail probabilities. Increasing the ratio threshold continuously adds positive null distribution mass on both sides, proving uniqueness for .
Null distribution 2026-10-25
A null distribution is the probability distribution of a test statistic under a specified null hypothesis. It calibrates a hypothesis test's test size and p-value. For a simple hypothesis it is one distribution; for a composite null hypothesis it may depend on unknown nuisance parameters.
Let . For the exponential distribution with mean , the likelihood function is on positive observations. Fix any . The alternative-to-null likelihood ratio isSince , this is strictly decreasing in . The Neyman-Pearson lemma says to reject for small . Under the null hypothesis, the given sum rule yields , where the second argument is a rate, and henceLet be the lower quantile of this chi-squared distribution. The required critical region isIts test size is exactly because the null distribution is continuous. Its cutoff is the same for every , so it is simultaneously most powerful against every such value: it is a uniformly most powerful test. Equivalently, reject if is below the lower quantile of the specified gamma distribution.
A likelihood-ratio test rejects for small . The derivative of the natural logarithm of its variable factor isThus increases up to and decreases thereafter, tending to zero at both endpoints. Every nontrivial lower level set of therefore consists of two tails. For a prescribed test size , the exact critical region isWriting for the cumulative distribution function of the beta distribution with parameters , the required two equations areThe first makes both cutoffs have the same likelihood ratio; the second calibrates the null hypothesis rejection probability. Equivalently, the second left-hand side isAs the common likelihood ratio threshold increases from zero to one, this probability increases continuously and strictly from zero to one; hence the equations determine unique cutoffs. The two tail probabilities need not each equal when . Exact calibration holds for every common rate because the given null distribution of is independent of that rate. Boundary equalities have zero probability.
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 .