Alphabeta Math
Pipeline-generated
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

✓ 1 result · all verified · 1 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full by a delegated reviewing agent on the owner's instruction; the judge is an additional, independent cross-model AI review of the proofs; all 1 also cleared it.

Tests, Neyman–Pearson and Valid P-values

1 · Prerequisites

2 · Summary

This page defines randomized tests, size, power, level, and validity of p-values. It proves the binary zero-one testing-risk identities and the measurability and exact size of the likelihood-ratio rule, then derives the pointwise null rejection bound for valid p-values, its level-test consequence whenever a nonempty disjoint alternative is specified, and the Neyman–Pearson comparison for two simple hypotheses with a common sigma-finite dominator. The likelihood-ratio test randomizes at a boundary when needed and rejects alternative mass on a null-probability set without spending size. The argument makes the density-selection assumption explicit and keeps the simple-hypothesis result separate from composite-hypothesis optimality claims.

3 · Logical flowchart

4 · Definitions, theorems and proofs

LemmaStatement: AI-adaptedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Bounded signed integrals obey the density formula

Statement

Let μ be a positive measure, let p:X→[0,∞) be finite-valued and measurable, and suppose P(A)=∫Ap dμ is a probability measure. If f:X→R is measurable and ∣f∣≤M for some finite M≥0, then f is integrable under P, fp is integrable under μ, and ∫Xf dP=∫Xfp dμ.

Facts & Assumptions

Given: A positive measure μ, a finite nonnegative measurable density p, the probability measure P=p dμ, and a measurable real function f with ∣f∣≤M<∞.

[F1]

The measure with density f relative to μ: P(A)=∫Ap dμ for every measurable A.

[F2]

Integrating against a density agrees with integrating the product: for nonnegative measurable g, ∫g dP=∫gp dμ.

[F3]

Closure properties of measurable functions used by the integral: the positive and negative parts f+,f− of a real measurable f are measurable.

[F4]

Arithmetic and lattice operations preserve measurability whenever they are defined: the product of finite real measurable functions is measurable.

[F5]

Monotonicity and nonnegative homogeneity of the nonnegative integral: the nonnegative integral is monotone and homogeneous for nonnegative scalars, with the integral of the zero function equal to zero.

[F6]

Integrable real and complex functions, and their integrals: f is integrable when ∫∣f∣ is finite, and its integral is ∫f+−∫f−.

[F7]

The Lebesgue integral is linear on L1(μ): integrable functions have finite linear integrals.

Proof

technique · direct
1.1F1F3F4F8given

By [F1] and [F8], ∫p dμ=P(X)=1. The functions f+,f− are measurable by [F3] and satisfy 0≤f+,f−≤M. Products f+p and f−p are measurable by [F4].

2.1F1F5F6F8step 1.1

Monotonicity [F5], [F1], and [F8] give ∫f± dP≤MP(X)=M and ∫f±p dμ≤M∫p dμ=M. Hence f+,f− are integrable under P and f+p,f−p are integrable under μ by [F6].

2.2F2step 1.1

Apply [F2] separately to the nonnegative measurable functions f+ and f−. It gives ∫f+ dP=∫f+p dμ and ∫f− dP=∫f−p dμ.

3.1F6F7step 2.1step 2.2algebra∎

Subtract the second equality in step 2.2 from the first. By [F6] and [F7], both sides are the integrals of the corresponding signed functions, so ∫f dP=∫fp dμ.

LemmaStatement: AI-adaptedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

A likelihood-ratio threshold with boundary randomization exists

Statement

Let Q be a probability measure on (X,A), and let T:X→[0,∞) be a finite-valued measurable function. For every α∈(0,1], there exist c∈[0,∞) and γ∈[0,1] such that Q(T>c)+γQ(T=c)=α.

Facts & Assumptions

Given: A probability measure Q, a finite-valued measurable T:X→[0,∞), and 0<α≤1.

[F1]

Probability measures and probability spaces: Q is a measure with Q(X)=1.

[F2]

A measurable function between measurable spaces: T is measurable when the preimage of each Borel subset of [0,∞) belongs to A.

[F3]

Measures are monotone: inclusion of measurable sets implies the same order between their measures.

[F4]

Continuity from above when one set has finite measure: for decreasing measurable sets whose first set has finite measure, the measure of the intersection is the infimum of their measures.

[F5]

Continuity from below for measures: for increasing measurable sets, the measure of their union is the supremum of their measures.

[F6]

Every nonempty set bounded below has an infimum and Greatest lower bound (infimum): a nonempty subset of R bounded below has a greatest lower bound, characterized as a lower bound that is at least every other lower bound.

[F7]

For every ε>0 in a complete ordered field there is a natural n≥1 with 1/n<ε: the positive reciprocals of the natural numbers fall below every positive real number; equivalently, the natural numbers are unbounded in R.

Proof

technique · direct
1.1givenF1F3F4F6F7choose

Put q(t)=Q({x:T(x)>t}) for t≥0 and S={t≥0:q(t)≤α}. The sets {T>n} decrease to the empty set because T is finite-valued and the natural numbers are unbounded by [F7]. Their first member has measure at most one, so [F4] gives q(n)→0. Thus S≠∅. If s∈S and t≥s, then {T>t}⊆{T>s}, so [F3] gives q(t)≤q(s)≤α. Hence S is upward closed, is bounded below by zero, and has a finite infimum c by [F6].

2.1F2F3F5F6F7step 1.1algebra

If t>c, then t∈S: otherwise no member of S lies below t, making t a lower bound larger than c. Therefore q(c+1/n)≤α for every positive integer n. By [F7], for every T(x)>c some n satisfies 1/n<T(x)−c, so the sets {T>c+1/n} increase to {T>c}. Thus [F5] gives Q(T>c)≤α.

2.2F1F2F4F7step 1.1algebra

If c>0, set sn=c(1−1/(n+1)) for n≥1. Then sn<c, and [F7] gives sn↑c; also sn∉S, so q(sn)>α. The sets {T>sn} decrease to {T≥c}, since every T(x)<c is eventually below some sn by [F7]. Their first member has finite measure since Q(X)=1. Thus [F4] gives Q(T≥c)≥α. If c=0, the same lower bound follows from Q(T≥0)=1.

3.1F1step 2.1step 2.2algebraconstruct∎

Since {T≥c} is the disjoint union of {T>c} and {T=c}, finite additivity gives Q(T=c)=Q(T≥c)−Q(T>c). If this mass is positive, define γ=(α−Q(T>c))/Q(T=c); the bounds in steps 2.1 and 2.2 give 0≤γ≤1 and the required equality. If the mass is zero, those same bounds force Q(T>c)=α, and γ=0 works.

LemmaStatement: AI-adaptedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

The common-support likelihood ratio is measurable

Statement

Let p0,p1:X→[0,∞) be finite-valued measurable functions on a measurable space (X,A). Define R(x)={p1(x)/p0(x),p0(x)>0,0,p0(x)=0. Then R is finite-valued, nonnegative, and measurable.

Facts & Assumptions

Given: Finite-valued nonnegative measurable functions p0,p1.

[F1]

Likelihood densities: the selected density representatives are finite-valued, nonnegative, and measurable.

[F2]

A measurable function between measurable spaces: inverse images of Borel sets under a measurable function are measurable.

[F3]

Threshold characterisations of real-valued and extended-real-valued measurability: a real-valued function is measurable if all of its strict superlevel sets are measurable.

[F4]

Arithmetic and lattice operations preserve measurability whenever they are defined: the product of two finite real-valued measurable functions is measurable.

Proof

technique · direct
1.1F1F2F3given

Define h(x)=1/p0(x) when p0(x)>0 and h(x)=0 when p0(x)=0. It is finite and nonnegative. For t<0, {h>t}=X; for t=0, {h>t}={p0>0}; for t>0, {h>t}={0<p0<1/t}. Each set is measurable by [F1] and [F2], so [F3] makes h measurable.

2.1F1F4step 1.1algebra∎

By [F1] and step 1.1, p1h is a finite nonnegative measurable function by [F4]. On {p0>0} it equals p1/p0, and on {p0=0} it is zero. Hence R=p1h and has all the asserted properties.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Valid p-values

Definition

Let E=((X,A),Θ,(Pθ)θ∈Θ) be a statistical experiment (Statistical experiments). A p-value statistic is a statistic p:X→[0,1], where [0,1] carries the trace of the Borel sigma-algebra, meaning {B∩[0,1]:B∈B(R)} (Statistics and estimators, A measurable function between measurable spaces).

For a nonempty null hypothesis Θ0⊆Θ, the statistic is a valid p-value for Θ0 if it is superuniform under every null law: Pθ({x:p(x)≤u})≤ufor every θ∈Θ0 and u∈[0,1]. The variable p(X) is the observed p-value when the data are X. The validity condition is distributional; measurability alone does not imply it.

Remarks

A discrete valid p-value may be conservative, so equality need not hold in the superuniform bound. Validity is required under every parameter in a composite null.

LemmaStatement: AI-adaptedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Every measurable rejection function defines a randomized test

Statement

Let E=((X,A),Θ,(Pθ)θ∈Θ) be a statistical experiment (Statistical experiments) and let φ:X→[0,1] be measurable, where [0,1] has its Borel sigma-algebra. On the binary action space {0,1} with its full sigma-algebra, define K(x,B)=φ(x)1B(1)+(1−φ(x))1B(0)(B⊆{0,1}). Then K is a probability kernel and hence a randomized procedure; its randomized-test function under the convention 1=reject is φ.

Facts & Assumptions

Given: A statistical experiment E and a measurable function φ:X→[0,1] on its data space.

[F0]

Statistical experiments: an experiment supplies a data measurable space and its parameter-indexed probability laws.

[F1]

A measurable function between measurable spaces: measurability means the preimage of every Borel subset of [0,1] belongs to A.

[F2]

Closure properties of measurable functions used by the integral: sums and real scalar multiples of measurable real functions are measurable.

[F3]

Measure kernel and probability kernel: a probability kernel has probability-measure sections and measurable event evaluations.

[F4]

Sigma-algebras: the full collection of subsets of {0,1} is a sigma-algebra.

[F5]

Randomized procedures as probability kernels: for the supplied experiment, a probability kernel from the data space to the action space is a randomized procedure.

[F6]

Randomized tests: a binary randomized procedure has test function x↦K(x,{1}).

Proof

technique · direct
1.1givenF0F3F4algebra

Fix x∈X. The two weights φ(x) and 1−φ(x) are nonnegative and sum to one. Thus K(x,∅)=0 and K(x,{0,1})=1. If (Bj)j≥0 are pairwise disjoint subsets of {0,1}, each action belongs to at most one Bj, so 1∪jBj(a)=∑j1Bj(a) for a=0,1. Substitution into the formula for K gives K(x,∪jBj)=∑jK(x,Bj); hence K(x,⋅) is a probability measure on the binary action sigma-algebra.

2.1F1F2F3F5F6step 1.1∎

For the four action events, the evaluation functions are K(x,∅)=0, K(x,{0})=1−φ(x), K(x,{1})=φ(x), and K(x,{0,1})=1. They are measurable by [F1] and [F2]. Therefore [F3] makes K a probability kernel; [F5] makes it a randomized procedure, and [F6] identifies its test function as K(x,{1})=φ(x).

LemmaStatement: AI-adaptedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Binary zero-one loss risks are the testing error probabilities

Statement

Let Θ0,Θ1 be disjoint subsets of a parameter set Θ in a statistical experiment. Let K be a randomized test on the binary action space {0,1}, with 1 meaning reject, and write φ(x)=K(x,{1}). Define the zero-one error loss by L(θ,a)=1Θ0(θ)a+1Θ1(θ)(1−a), so L is zero when θ∉Θ0∪Θ1. For βφ(θ)=Eθ[φ(X)] and the risk R(θ,K) of Loss functions and risk, R(θ,K)=βφ(θ)(θ∈Θ0),R(θ,K)=1−βφ(θ)(θ∈Θ1).

Facts & Assumptions

Given: A statistical experiment, disjoint hypotheses Θ0,Θ1, and a binary randomized test K with test function φ.

[F1]

Randomized tests: the action space is {0,1} with its full sigma-algebra, each K(x,⋅) is a probability measure, and φ(x)=K(x,{1}).

[F2]

Loss functions and risk: if each action section of L is measurable and nonnegative, then R(θ,K)=∫[∫L(θ,a)K(x,da)]Pθ(dx).

[F3]

Nonnegative simple measurable functions, The integral of a nonnegative simple function, and The nonnegative integral agrees with the simple integral on simple functions: the integral of an indicator of a measurable singleton under K(x,⋅) is the K(x,⋅)-measure of that singleton.

[F4]

Expectation of a nonnegative or integrable random variable: expectation under Pθ is integration with respect to Pθ.

[F5]

Monotonicity and nonnegative homogeneity of the nonnegative integral: if 0≤f≤g, then ∫f dPθ≤∫g dPθ.

[F6]

Integrable real and complex functions, and their integrals: a real measurable function is integrable when the integral of its absolute value is finite.

[F7]

The Lebesgue integral is linear on L1(μ): the integral is linear on integrable functions.

[F8]

Statistical experiments and Probability measures and probability spaces: each Pθ is a probability measure with Pθ(X)=1.

Proof

technique · direct
1.1givenF1F2

For fixed θ, the action section a↦L(θ,a) is one of a, 1−a, or 0. Each is nonnegative and measurable on the full sigma-algebra of {0,1}, so [F2] defines its risk.

2.1F1F3step 1.1algebra

On Θ0, the section is a=1{1}(a), whose integral under K(x,⋅) is K(x,{1})=φ(x) by [F1] and [F3]. On Θ1, the section is 1−a=1{0}(a), whose integral is K(x,{0})=1−φ(x) because K(x,⋅) is a probability measure.

3.1F2F4step 2.1

Substituting these inner integrals into [F2] and using [F4] gives R(θ,K)=Eθφ(X) on Θ0 and R(θ,K)=Eθ[1−φ(X)] on Θ1.

4.1F1F5F6F7F8step 3.1algebra∎

Since 0≤φ≤1 and 0≤1−φ≤1, [F5] and [F8] show that each has integral at most 1. Thus their absolute-value integrals are finite, so they are integrable by [F6]. Linearity [F7] and [F8] give Eθ[1−φ]=1−Eθ[φ]. The two risk identities now have the asserted form.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Test size and power

Definition

Let E=((X,A),Θ,(Pθ)θ∈Θ) be a statistical experiment (Statistical experiments). Let Θ0,Θ1 be nonempty disjoint subsets of Θ, called the null and alternative hypotheses. A hypothesis is simple when it is a singleton and composite when it has at least two elements.

For a randomized test with test function φ:X→[0,1] (Randomized tests), its power function is β(θ):=Eθ[φ(X)](θ∈Θ). Its size is sup⁡θ∈Θ0β(θ), and it has level α when this supremum is at most α∈[0,1]. The expectations exist and lie in [0,1] because 0≤φ≤1 and each Pθ is a probability measure (Probability measures and probability spaces, Expectation of a nonnegative or integrable random variable). The supremum exists because Θ0 is nonempty, the values lie in [0,1]. Here The real numbers identifies R with the Cauchy-sequence reals, The reals form a totally ordered field gives their ordered-field structure, and The Cauchy-sequence reals have the least-upper-bound property establishes their least-upper-bound property (Complete ordered field (least-upper-bound property)).

For the binary action a∈{0,1}, where 1 means reject, the zero-one error loss is 1 when a=1 and θ∈Θ0, or when a=0 and θ∈Θ1, and is 0 otherwise. The decision-rule risk from Loss functions and risk integrates this loss against the action kernel and data law. For each fixed θ, its section on the binary action space is measurable. The risk identities proved in Binary zero-one loss risks are the testing error probabilities show that risk equals β(θ) on Θ0 and 1−β(θ) on Θ1. Thus size is the worst null error risk, and power is the rejection probability under each alternative parameter.

Remarks

The supremum need not be attained. No measurability structure on Θ or on the subsets Θ0,Θ1 is required; the definition uses only the individual laws Pθ and the pointwise supremum.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Likelihood-ratio tests with boundary randomization

Definition

Let E=((X,A),{0,1},(P0,P1)) be the two-law statistical experiment (Statistical experiments). Assume P0,P1 are both absolutely continuous with respect to a supplied sigma-finite measure μ on (X,A) (Dominated statistical experiments) and specify finite-valued, nonnegative measurable RN density representatives p0=dP0/dμ and p1=dP1/dμ (Likelihood densities). Under the Axiom of Choice (The Axiom of Choice), Likelihood densities supplies such representatives for arbitrary dominated laws. If the representatives are given as part of the setup, the construction below requires no choice.

Define the common-support likelihood ratio R(x)={p1(x)/p0(x),p0(x)>0,0,p0(x)=0. The result The common-support likelihood ratio is measurable shows that R is finite-valued, nonnegative, and measurable. The set {p0=0<p1} is kept separate from the ratio region.

For α=0, define the rejection function φ0∗(x)=1{p0=0<p1}(x). For 0<α≤1, choose c≥0 and γ∈[0,1] satisfying P0(R>c)+γP0(R=c)=α, whose existence follows from A likelihood-ratio threshold with boundary randomization exists applied to Q=P0 and T=R. Define

φα∗(x)={1,p0(x)=0<p1(x),1,p0(x)>0 and R(x)>c,γ,p0(x)>0 and R(x)=c,0,otherwise.

This specifies the candidate likelihood-ratio rejection function.

Remarks

The common dominating measure and the specified density representatives are part of the setup. The general density-selection branch uses the Axiom of Choice through Likelihood densities; with explicit representatives, the cutoff existence result and displayed construction are choice-free.

TheoremStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)verified 2026-10-14 (gpt-6.1-sol)Open item page →

Valid p-values yield level tests for nonempty disjoint alternatives

Statement

Let p be a valid p-value for a nonempty null hypothesis Θ0 in a statistical experiment. For every α∈[0,1], the deterministic test with rejection function φα(x)=1{p(x)≤α} satisfies Pθ(p(X)≤α)=Eθ[φα(X)]≤α(θ∈Θ0). Consequently, whenever a nonempty alternative hypothesis Θ1⊆Θ∖Θ0 is specified, this test has size at most α and hence level α in the sense of Test size and power.

Facts & Assumptions

Given: An experiment, a valid p-value statistic p:X→[0,1] for Θ0≠∅, and α∈[0,1]. The pointwise bound does not require an alternative hypothesis.

[F1]

Valid p-values: validity means Pθ({x:p(x)≤u})≤u for every θ∈Θ0 and u∈[0,1].

[F2]

A measurable function between measurable spaces: a statistic is measurable when inverse images of Borel sets are measurable.

[F3]

Every measurable rejection function defines a randomized test: every measurable φ:X→[0,1] defines a binary randomized test with rejection function φ.

[F4]

The expectation of an indicator is the probability of the event: the expectation of an event indicator under Pθ equals the probability of that event.

[F5]

Test size and power: when a nonempty alternative disjoint from Θ0 is specified, size is sup⁡θ∈Θ0Eθ[φ(X)] and level α means size at most α.

Proof

technique · direct
1.1givenF2F3construct

Let Aα={x:p(x)≤α}. This event is measurable because p is a statistic and [0,α] is Borel in [0,1]. Thus φα=1Aα is a measurable map into [0,1], and [F3] supplies a randomized test with this rejection function. Since φα takes only the values 0 and 1, that kernel assigns probability one to the corresponding action, so the test is deterministic.

2.1F1F4F5step 1.1algebra∎

For every θ∈Θ0, [F4] and validity [F1] give Eθ[φα(X)]=Pθ(Aα)≤α, proving the pointwise bound. If a nonempty Θ1⊆Θ∖Θ0 is specified, taking the supremum over the nonempty set Θ0 gives size at most α by [F5], and therefore level α.

LemmaStatement: AI-adaptedProof: AI-adaptedOpen item page →

The likelihood-ratio rule is a measurable test of exact size

Statement

In the setup of Likelihood-ratio tests with boundary randomization, for every α∈[0,1] the candidate rejection function φα∗ is measurable into [0,1], defines a randomized test, and has size exactly α for the simple null P0.

Facts & Assumptions

Given: The common-dominator two-law experiment, specified density representatives p0,p1, and α∈[0,1]. The proof uses only these fixed representatives.

[F1]

Likelihood-ratio tests with boundary randomization and Likelihood densities: p0,p1 are finite, nonnegative measurable densities; the candidate is 1U at α=0 and 1U+1A+γ1B at α>0, where U={p0=0<p1}, A={p0>0,R>c}, and B={p0>0,R=c}; in the latter case c≥0, 0≤γ≤1, and P0(R>c)+γP0(R=c)=α.

[F2]

The common-support likelihood ratio is measurable: R is finite, nonnegative, and measurable.

[F3]

A measurable function between measurable spaces: preimages of Borel sets under p0,p1,R are measurable.

[F4]

Closure properties of measurable functions used by the integral: finite sums and real scalar multiples of measurable functions are measurable.

[F5]

Every measurable rejection function defines a randomized test: every measurable [0,1]-valued rejection function defines a binary randomized test.

[F7]

Nonnegative simple measurable functions, The integral of a nonnegative simple function, and The nonnegative integral agrees with the simple integral on simple functions: the integral of a finite-valued nonnegative simple function is the sum of its values times the measures of their disjoint level sets.

[F8]

Measures are monotone: a measurable subset of a measurable P0-null set is P0-null.

[F9]

Expectation of a nonnegative or integrable random variable and Probability measures and probability spaces: EP0 is integration under the probability measure P0.

[F10]

Test size and power: for the simple null {0}, size is the expectation of the rejection function under P0.

Proof

technique · direct
1.1F1F2F3F4

The sets U,A,B in [F1] are measurable by [F2] and [F3]. For α>0 they are pairwise disjoint, so [F4] makes φα∗=1U+1A+γ1B measurable; for α=0, [F4] makes 1U measurable.

1.2F1F6F7F8algebra

Let N={p0=0}. By [F1], [F6], and the zero-function case of [F7], P0(N)=∫Np0 dμ=0, since p0 vanishes on N. Thus P0(U)=0 by [F8].

2.1F1F5step 1.1algebra

The disjointness and 0≤γ≤1 show that every value of φα∗ lies in [0,1]. Hence [F5] makes it a randomized test.

2.2F1F7F9F10step 1.2

If α=0, [F1] gives φ0∗=1U. The simple integral identity [F7] and [F9] give EP0[φ0∗]=P0(U)=0, so [F10] makes its size 0=α.

3.1F1F7F9F10step 1.2algebra∎

Suppose α>0. Since R=0 on N and c≥0, A={R>c}. Also B={R=c} when c>0; when c=0, the two sets differ only by N. Step 1.2 makes that difference P0-null. The three disjoint indicator terms in [F1] therefore have expectation P0(R>c)+γP0(R=c)=α by [F7], [F9], and the threshold equation in [F1]. By [F10], the test has size α.

TheoremStatement: AI-adaptedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Neyman–Pearson lemma with singular alternative mass

Statement

Let E=((X,A),{0,1},(P0,P1)) be the two-law experiment with simple null P0 and simple alternative P1. Assume both laws are dominated by a common sigma-finite measure μ and assume the Axiom of Choice, so finite nonnegative density representatives p0,p1 are supplied by Likelihood densities. For every α∈[0,1], let φα∗ be the likelihood-ratio test with boundary randomization from Likelihood-ratio tests with boundary randomization. Then every randomized test φ satisfying EP0[φ(X)]≤α also satisfies EP1[φ(X)]≤EP1[φα∗(X)]. No absolute-continuity assumption P1≪P0 is imposed; the test rejects on {p0=0<p1}.

Facts & Assumptions

Given: The two-law experiment, a common sigma-finite dominator μ, the Axiom of Choice, α∈[0,1], and a randomized test φ of size at most α under P0.

[A1]

The Axiom of Choice: AC is assumed only for selecting the finite nonnegative density representatives in [F2].

[F1]

Dominated statistical experiments: μ is sigma-finite and Pi≪μ for i=0,1.

[F2]

Likelihood densities: under AC, Pi has a finite-valued nonnegative measurable density representative pi with Pi(A)=∫Api dμ.

[F3]

Randomized tests: a randomized-test function is measurable and takes values in [0,1]; its value is the conditional rejection probability.

[F4]

Test size and power: the competitor has EP0φ≤α and its power under P1 is EP1φ.

[F5]

Likelihood-ratio tests with boundary randomization and The likelihood-ratio rule is a measurable test of exact size: the candidate is a measurable randomized test with exact size α; for α>0 it rejects on {p0=0<p1} and above the cutoff c, and uses probability γ at R=c; for α=0 it rejects on {p0=0<p1}.

[F6]

The measure with density f relative to μ and Integrating against a density agrees with integrating the product: for nonnegative measurable g, EPig=∫gpi dμ.

[F7]

Monotonicity and nonnegative homogeneity of the nonnegative integral: the nonnegative integral is monotone and homogeneous for nonnegative scalars.

[F9]

Measures on sigma-algebras: countable unions of pairwise disjoint measurable sets have measure equal to the sum of their measures.

[F12]

Measures are monotone: a measurable subset of a null set has measure zero.

[F13]

Sigma-algebras: measurable sets are closed under complements and countable unions, hence under finite set differences.

[F14]

The well-ordering principle: every nonempty subset of the natural numbers has a least member.

[F15]

Bounded signed integrals obey the density formula: for a bounded measurable real D, EPiD=∫Dpi dμ.

[F16]

For every ε>0 in a complete ordered field there is a natural n≥1 with 1/n<ε: for each positive real a, there is a positive integer n with 1/n<a.

Proof

technique · direct
1.1A1F1F2F3F5F6F8F10given

First suppose α>0, so the cutoff c in [F5] is finite. Put D=φα∗−φ. Then D is measurable and ∣D∣≤1. By [F2] and [F6], ∫pi dμ=Pi(X)=1, so ∣Dpi∣≤pi makes Dpi integrable for i=0,1. Since c is finite, D(p1−cp0) is also integrable.

2.1F2F3F5F10step 1.1

On {p0=0}, if p1>0 then [F5] gives φα∗=1, so D(p1−cp0)≥0; if p1=0, the product is zero. On {p0>0}, write R=p1/p0. If R>c, then φα∗=1 and both D and p1−cp0 are nonnegative. If R<c, then φα∗=0 and both are nonpositive. If R=c, the second factor is zero. Thus D(p1−cp0)≥0 everywhere.

2.2F8F15step 1.1algebra

The signed density identity [F15] and linearity [F8] give ∫D(p1−cp0) dμ=(EP1φα∗−EP1φ)−c(EP0φα∗−EP0φ).

3.1F4F5F7step 2.2step 2.1algebra

By monotonicity of the nonnegative integral, the integral in step 2.2 is nonnegative. Hence EP1φα∗−EP1φ≥c(EP0φα∗−EP0φ). The candidate has null rejection probability α by [F5], while the competitor has null rejection probability at most α by [F4]. Since c≥0, the right-hand side is nonnegative, proving the desired power inequality for α>0.

4.1F1F2F3F5F6F7F9F10F11F12F13F14F16givenconstructalgebra∎

Now suppose α=0. Then EP0φ=0, so [F6] gives ∫φp0 dμ=0. For positive integers n,m, set Bn,m={φ≥1/n}∩{p0≥1/m}. On this set, φp0≥1/(nm); [F7] and [F11] therefore give 0≥∫Bn,mφp0 dμ≥μ(Bn,m)/(nm). Thus μ(Bn,m)=0, and absolute continuity [F1] gives P1(Bn,m)=0. For each positive-integer pair (n,m) put Cn,m={φ≥1/n}∩{p0≥1/m}, enumerate these pairs by increasing n+m and then by increasing n, and write the resulting sequence of sets as (Ck)k≥0. If φ(x)>0 and p0(x)>0, [F16] supplies positive integers n,m with 1/n<φ(x) and 1/m<p0(x), so x∈⋃kCk. Conversely every Ck is contained in {φ>0, p0>0}; hence this union is exactly that set. Put D0=C0 and Dk=Ck∖⋃j<kCj for k≥1. The Dk are measurable by [F13], pairwise disjoint, and each Dk⊆Ck, so the preceding null-set calculation and [F12] give P1(Dk)=0. Their union equals ⋃kCk: if x lies in that union, the nonempty set of indices k with x∈Ck has a least member by [F14], which puts x in the corresponding Dk. Countable additivity [F9] makes the union P1-null. On its complement, φ=0 wherever p0>0; where p0=0<p1, [F5] gives φ0∗=1, and the remaining set {p0=p1=0} has P1 measure zero because p1=0 there and [F2], [F6] give P1(A)=∫Ap1 dμ. Therefore φ≤φ0∗ P1-almost everywhere, and monotonicity of expectation proves the power inequality at α=0.

5 · Examples, counterexamples and false statements

None yet.

Sources