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.

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

Marginal likelihoods, Bayes factors, and empirical Bayes

1 · Prerequisites

2 · Summary

For a finite set of dominated models with proper parameter priors and specified jointly measurable likelihood densities against a common sigma-finite data measure, each marginal likelihood is the prior-predictive density. With positive model weights and all model evidences finite and positive, the model posterior is obtained by normalizing prior model weight times evidence, and posterior odds equal prior odds times the Bayes factor. At a finite positive evidence fiber, a point null can have positive posterior mass only if it has positive prior mass. Improper priors with arbitrary normalization constants do not define generic model evidence. Within a finite-group hierarchy, Type-II maximum marginal likelihood selects a hyperparameter only when the conditional evidence is finite-valued and attains a positive finite maximum; a data-indexed rule requires a measurable maximizing selection. Its plug-in posterior fixes the selected hyperparameter. Under a proper hyperprior and finite positive joint evidence, full Bayes retains a posterior distribution on hyperparameters. The plug-in procedure comes with no generic risk or coverage guarantee. The balanced one-way normal random-effects model has expected between and within mean squares σ2+rτ2 and σ2, so its raw moment estimate of τ2 can be negative.

3 · Logical flowchart

4 · Definitions, theorems and proofs

TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

Expected mean squares in the balanced one-way normal random-effects model

Statement

Let k,r≥2, let μ∈R, τ2≥0, and σ2>0. For i=1,…,k, let the group blocks Ui=(ai,ϵi) be independent random elements on one probability space, where ϵi=(ϵi1,…,ϵir). Within each block, ai and ϵi are independent and the coordinates of ϵi are mutually independent. Assume ai∼N(0,τ2) and ϵij∼N(0,σ2). Put Yij=μ+ai+ϵij, Yˉi⋅=r−1∑j=1rYij, and Yˉ⋅⋅=k−1∑i=1kYˉi⋅. Define MSB=rk−1∑i=1k(Yˉi⋅−Yˉ⋅⋅)2,MSW=1k(r−1)∑i=1k∑j=1r(Yij−Yˉi⋅)2. Then E[MSB]=σ2+rτ2,E[MSW]=σ2. Equating these two population moments to the observed mean squares gives the raw method-of-moments estimates σ2^MOM=MSW,τ2^MOM=MSB−MSWr. The second estimate is not constrained to be nonnegative.

Facts & Assumptions

Given: A balanced one-way model with k,r≥2, a fixed mean μ, independent group blocks, independent random effects and errors within each block, and the stated normal laws and variances.

[A1]

AC is assumed because the library's standard normal law and the cited normal-moment result require it. The Axiom of Choice

[F1]

For X∼N(m,v) with v≥0, E[X]=m and Var⁡(X)=v. Location-scale normal laws have their stated mean and variance

[F2]

For a finite pairwise-independent family of square-integrable random variables, the variance of its sum is the sum of its variances. Variance adds for every finite pairwise-independent family

[F3]

Applying measurable functions separately to independent random elements preserves their independence. Measurable coordinatewise functions preserve independence

[F4]

Variance is E[(X−EX)2] for square-integrable X. Moments, variance, and covariance on a probability space

[F5]

Expectation is integration on the underlying probability space. Expectation of a nonnegative or integrable random variable

[F6]

Expectation is linear for finite sums of integrable random variables. Linearity, monotonicity, and the modulus bound for expectation

[F7]

Random elements are independent when their generated sigma-algebras are independent. Independent random elements

Proof

technique · compute the centered group-mean and within-group sums of squares from their first two moments

Given: The hypotheses in the Statement.

1.1A1F1F2F3F4F5F6F7given

Put ϵˉi=r−1∑jϵij. By [F1], every error has mean zero and variance σ2; [F6] gives E[ϵˉi]=0. By [F2], the variance of ∑jϵij is rσ2, and the variance definition [F4] gives Var⁡(ϵˉi)=r−2rσ2=σ2/r. Since ai is independent of the error vector, [F3] makes ai independent of ϵˉi. Thus [F2] gives Var⁡(Yˉi⋅)=τ2+σ2/r, and [F6] gives E[Yˉi⋅]=μ. Applying [F3] to the independent group blocks shows that the group means are independent by [F7].

2.1F2F4F5F6step 1.1algebra

For any numbers x1,…,xk with mean xˉ, expansion gives ∑i(xi−xˉ)2=∑i(xi−μ)2−k(xˉ−μ)2. Apply this with xi=Yˉi⋅. By [F2], Var⁡(Yˉ⋅⋅)=(τ2+σ2/r)/k; [F4], [F5], and [F6] therefore give E∑i(Yˉi⋅−Yˉ⋅⋅)2=(k−1)(τ2+σ2/r). Multiplying by r/(k−1) yields E[MSB]=rτ2+σ2.

2.2F1F4F5step 1.1algebra

Since Yij−Yˉi⋅=ϵij−ϵˉi, expansion gives ∑j(ϵij−ϵˉi)2=∑jϵij2−rϵˉi2. By [F1], [F4], and [F5], E[∑jϵij2]=rσ2 and E[ϵˉi2]=Var⁡(ϵˉi)=σ2/r; hence each group contributes expected within sum of squares (r−1)σ2. Summing over k groups and dividing by k(r−1) proves E[MSW]=σ2.

3.1step 2.1step 2.2algebra∎

Solving E[MSW]=σ2 and E[MSB]=σ2+rτ2 for the two variance components gives σ2^MOM=MSW and τ2^MOM=(MSB−MSW)/r. The algebra imposes no nonnegativity constraint on the second expression.

DefinitionDefinition: Literature-sourcedProof: Not applicableOpen item page →

Marginal likelihoods, proper model evidence, and Bayes factors

Definition

Let I={1,…,N} with N≥2 be a finite model index set. For each i∈I, let (Θi,Ti) be a measurable parameter space, let Πi be a probability measure (Probability measures and probability spaces) on it, and let Qi be a sampling kernel for a statistical experiment (Statistical experiments) on one common data space (Y,A). Assume the experiments are dominated (Dominated statistical experiments) by the same supplied sigma-finite measure μ. Fix a specified likelihood density (Likelihood densities) fi:Θi×Y→[0,∞] such that Qi(θ,B)=∫Bfi(θ,y) μ(dy)(B∈A). Require that each fi is jointly measurable in parameter and data; separate likelihood versions do not imply this joint measurability. Assign prior model weights wi>0 with ∑iwi=1. The marginal likelihood, or model evidence, at y is the possibly extended value mi(y):=∫Θifi(θ,y) Πi(dθ)∈[0,∞]. This is the BCS-02 evidence normalizer (Evidence normalizer and fiberwise posterior update) specialized to a proper model prior, and is the prior-predictive density relative to the specified common data measure. For models i,j whose evidences at y are both finite and positive, the Bayes factor for j against i is BFji(y):=mj(y)mi(y). The corresponding prior model odds are wj/wi. No Bayes factor is defined here using an arbitrarily scaled improper parameter prior.

Remarks

A Bayes factor is an odds multiplier. This page supplies no universal cutoff that converts its numerical magnitude into a binary decision about which model is true.

TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

Finite-model posterior probabilities and Bayes-factor odds

Statement

Assume the finite dominated model setup of Marginal likelihoods, proper model evidence, and Bayes factors. Fix a data value y such that 0<mi(y)<∞ for every i∈I. A version of the posterior model probabilities at this fiber is Pr⁡(M=i∣y)=wimi(y)∑ℓ∈Iwℓmℓ(y). For any two models i,j∈I, the posterior odds satisfy Pr⁡(M=j∣y)Pr⁡(M=i∣y)=wjwi BFji(y). The displayed version uses the specified jointly measurable density representatives; no quotient is formed if an evidence is zero or infinite.

Facts & Assumptions

Given: The finite collection of proper model priors, the common sigma-finite data measure, specified jointly measurable likelihood densities, positive model weights, and a data fiber where every model evidence is finite and positive.

[F1]

Each mi(y) is the evidence integral against the proper within-model prior, and BFji=mj/mi is defined when both evidence values are finite positive. Marginal likelihoods, proper model evidence, and Bayes factors

[F2]

A likelihood-weighted measure has a finite positive normalization exactly when its evidence is finite and positive. Fiberwise posterior propriety is equivalent to finite positive evidence

[F3]

For a proper parameter prior and a probability kernel with a specified jointly measurable density, the quotient by the prior-predictive density on finite positive fibers is a regular conditional law. Bayes formula for dominated kernels

[F4]

For a finite partition and a positive-probability data event, Bayes' formula gives posterior cell probability as prior cell probability times conditional event probability divided by the total event probability. Bayes' theorem over a finite partition

[F5]

Separate parameter-indexed likelihood-density versions do not by themselves assert joint measurability in parameter and data; this theorem requires the joint measurability separately. Likelihood densities

Proof

Proof technique: form the finite disjoint-union parameter model, apply the dominated-kernel Bayes formula, and take the image on the model index.

Given: The hypotheses in the Statement.

1.1F1F2F5givenconstruct

Form the measurable disjoint union E=⨆i∈I({i}×Θi) and put Π(A)=∑iwiΠi(Ai), where Ai={θ:(i,θ)∈A}. This is a probability measure because each Πi is a probability measure and the finite weights sum to one. On (i,θ) use the observation kernel Qi(θ,⋅) with density ℓ((i,θ),y)=fi(θ,y). Each section is a probability kernel, and finite piecewise measurability plus the stipulated joint measurability makes ℓ a specified jointly measurable density; [F5] warns that separate density versions alone would not suffice. Its prior-predictive density is m(y)=∑iwimi(y). The given finite-positive hypotheses make m(y) finite and positive, so [F2] confirms its likelihood-weighted prior has a probability normalization.

2.1F1F3step 1.1givenalgebra

Apply [F3] to (E,Π) and this dominated observation kernel. Define its global posterior kernel K(y,⋅) by the normalized likelihood-weighted prior on G={y:0<m(y)<∞} and by the fixed prior Π on Gc, exactly as in [F3]. The set G is measurable, and [F3] states that Gc has predictive probability zero. At the specified fiber, where every model evidence is finite and positive, this posterior kernel assigns the tagged slice {i}×Θi mass ∫{i}×Θiℓ((l,θ),y) Π(dl,dθ)/m(y)=wi∫Θifi(θ,y) Πi(dθ)/(∑lwlml(y))=wimi(y)/(∑lwlml(y)). The model-index map (i,θ)↦i is measurable, so the image of this regular conditional law is the stated posterior model probability.

3.1F1F3F4step 1.1step 2.1algebra∎

For any measurable data event B with positive predictive probability, the global kernel in step 2.1 has the event identity ∫BK(y,{i}×Θi)m(y) dμ(y)=wi∫Bmi(y) dμ(y) by [F3]. The integral on the left means integration against the predictive measure m dμ, so no product with an infinite density on an exceptional fiber is evaluated pointwise. Dividing by the event probability agrees with [F4]. This event identity uses the global kernel, whereas the displayed odds claim only concerns the given finite-positive fiber. At that fiber, divide the positive finite probabilities from step 2.1 for j and i; [F1] gives (wj/wi)(mj/mi)=(wj/wi)BFji.

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

Type-II maximum marginal likelihood and empirical-Bayes plug-in posterior

Definition

Assume a finite-group hierarchy as in Finite-group hierarchical Bayesian model, with hyperparameter η∈H, group parameters θ1,…,θm, conditional probability kernel Gη (Measure kernel and probability kernel) on the group-parameter space, and specified jointly measurable likelihood density Ly(θ1:m)=∏j=1mfj(θj,yj) against the common product data measure. For fixed η, define its marginal likelihood m(y∣η):=∫ΘmLy(θ1:m) Gη⊗m(dθ1:m)∈[0,∞]. Where the function η↦m(y∣η) is finite-valued and attains a positive finite maximum, a Type-II maximum marginal likelihood choice is any η^(y)∈arg max⁡η∈Hm(y∣η). This definition does not assert that a maximum exists. A data-indexed choice requires a selected measurable maximizer on its domain.

Only when 0<m(y∣η^(y))<∞ define the corresponding empirical-Bayes plug-in posterior on a measurable A⊆Θm by Πη^(y),y(A):=∫ALy(θ1:m) Gη^(y)⊗m(dθ1:m)m(y∣η^(y)). The finite-positive condition makes this a probability update by Fiberwise posterior propriety is equivalent to finite positive evidence.

Under a proper hyperprior H0, at a data fiber with finite positive joint evidence 0<Z(y):=∫Hm(y∣η)H0(dη)<∞, full Bayes instead retains the posterior law of η jointly with the group parameters, as in Hierarchical posterior normalization on positive finite evidence. Integrating over a shared uncertain hyperparameter can induce dependence between group parameters, while a plug-in update fixes that hyperparameter at one selected value; special cases can leave the groups independent. This definition asserts no generic empirical-Bayes risk, consistency, dominance, or credible-coverage guarantee.

5 · Examples, counterexamples and false statements

None yet.

Sources