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.
Marginal likelihoods, Bayes factors, and empirical Bayes
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Areas of Elementary Plane Figures
- Bayesian models, priors, and posterior laws
- Binary Operations, Monoids, Groups and Subgroups
- Brownian Motion Construction and Continuity
- Compactness
- Compactness in Metric Spaces
- Complete Metrizability, Čech-Completeness, and Baire Category
- Completeness, Completion, and Uniform Continuity
- Conditional Distributions and Regular Conditional Probability
- Conditional Expectation
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Countability Axioms and Cardinal Functions
- Detection and quantification limits
- Determinants of Matrices over a Commutative Ring
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Domination and Likelihood Ratios
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Probability and the Probabilistic Method
- Finite Probability Spaces and Random Variables
- Foundations of the Real Numbers for Analysis
- Fubini and Change of Variables
- Fundamental Trigonometric Identities
- Gaussian Elimination, Elementary Matrices and Reduced Row Echelon Form
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Hierarchical Bayes and partial pooling
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Improper and Parameter-Dependent Multiple Integrals
- Improper Integrals
- Independence Borel Cantelli and Zero One Laws
- Infinite Product Measures and Kolmogorov Extension
- Lebesgue Measure on Euclidean Space
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Loss, Risk and Decision Theory
- Markov Kernels and Markov Chains
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Outer Measure and the Caratheodory Extension Theorem
- Pointwise Extended-Real Function Products
- Polynomial Rings, the Division Algorithm and Roots
- Posterior propriety and dominated Bayes formula
- Power Series and Real-Analytic Functions
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- Properties of the Integral and the Working FTC
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- SCM, DAGs, adjustment
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Signed and Complex Measures Hahn and Jordan
- Simple Field Extensions and the Construction of the Complex Numbers
- Sine, Cosine, and the Definition of Pi
- Statistical Experiments, Models and Identifiability
- Subspaces, Products, and Quotients
- Suprema and Infima
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Inverse and Implicit Function Theorems
- The Lebesgue and Riemann Integrals Compared
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Lᵖ Spaces Holder Minkowski and Riesz Fischer
- The Radon Nikodym Theorem and Lebesgue Decomposition
- The Riemann Integral in Rᵐ and Jordan Content
- The Riemann Integral: Definition and Integrability
- The Topology of Euclidean Space
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Vector Spaces, Linear Subspaces, Span and Direct Sums
- Weak Convergence Tightness and Representation
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 and , so its raw moment estimate of can be negative.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Expected mean squares in the balanced one-way normal random-effects model
Statement
Let , let , , and . For , let the group blocks be independent random elements on one probability space, where . Within each block, and are independent and the coordinates of are mutually independent. Assume and . Put , , and . Define Then Equating these two population moments to the observed mean squares gives the raw method-of-moments estimates The second estimate is not constrained to be nonnegative.
Facts & Assumptions
Given: A balanced one-way model with , a fixed mean , independent group blocks, independent random effects and errors within each block, and the stated normal laws and variances.
AC is assumed because the library's standard normal law and the cited normal-moment result require it. The Axiom of Choice
For with , and . Location-scale normal laws have their stated mean and variance
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
Applying measurable functions separately to independent random elements preserves their independence. Measurable coordinatewise functions preserve independence
Variance is for square-integrable . Moments, variance, and covariance on a probability space
Expectation is integration on the underlying probability space. Expectation of a nonnegative or integrable random variable
Expectation is linear for finite sums of integrable random variables. Linearity, monotonicity, and the modulus bound for expectation
Random elements are independent when their generated sigma-algebras are independent. Independent random elements
Proof
Given: The hypotheses in the Statement.
Put . By [F1], every error has mean zero and variance ; [F6] gives . By [F2], the variance of is , and the variance definition [F4] gives . Since is independent of the error vector, [F3] makes independent of . Thus [F2] gives , and [F6] gives . Applying [F3] to the independent group blocks shows that the group means are independent by [F7].
For any numbers with mean , expansion gives . Apply this with . By [F2], ; [F4], [F5], and [F6] therefore give . Multiplying by yields .
Since , expansion gives . By [F1], [F4], and [F5], and ; hence each group contributes expected within sum of squares . Summing over groups and dividing by proves .
Solving and for the two variance components gives and . The algebra imposes no nonnegativity constraint on the second expression.
Marginal likelihoods, proper model evidence, and Bayes factors
Definition
Let with be a finite model index set. For each , let be a measurable parameter space, let be a probability measure (Probability measures and probability spaces) on it, and let be a sampling kernel for a statistical experiment (Statistical experiments) on one common data space . Assume the experiments are dominated (Dominated statistical experiments) by the same supplied sigma-finite measure . Fix a specified likelihood density (Likelihood densities) such that Require that each is jointly measurable in parameter and data; separate likelihood versions do not imply this joint measurability. Assign prior model weights with . The marginal likelihood, or model evidence, at is the possibly extended value 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 whose evidences at are both finite and positive, the Bayes factor for against is The corresponding prior model odds are . 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.
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 such that for every . A version of the posterior model probabilities at this fiber is For any two models , the posterior odds satisfy 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.
Each is the evidence integral against the proper within-model prior, and is defined when both evidence values are finite positive. Marginal likelihoods, proper model evidence, and Bayes factors
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
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
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
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.
Form the measurable disjoint union and put , where . This is a probability measure because each is a probability measure and the finite weights sum to one. On use the observation kernel with density . 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 . The given finite-positive hypotheses make finite and positive, so [F2] confirms its likelihood-weighted prior has a probability normalization.
Apply [F3] to and this dominated observation kernel. Define its global posterior kernel by the normalized likelihood-weighted prior on and by the fixed prior on , exactly as in [F3]. The set is measurable, and [F3] states that has predictive probability zero. At the specified fiber, where every model evidence is finite and positive, this posterior kernel assigns the tagged slice mass . The model-index map is measurable, so the image of this regular conditional law is the stated posterior model probability.
For any measurable data event with positive predictive probability, the global kernel in step 2.1 has the event identity by [F3]. The integral on the left means integration against the predictive measure , 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 and ; [F1] gives .
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 , group parameters , conditional probability kernel (Measure kernel and probability kernel) on the group-parameter space, and specified jointly measurable likelihood density against the common product data measure. For fixed , define its marginal likelihood Where the function is finite-valued and attains a positive finite maximum, a Type-II maximum marginal likelihood choice is any This definition does not assert that a maximum exists. A data-indexed choice requires a selected measurable maximizer on its domain.
Only when define the corresponding empirical-Bayes plug-in posterior on a measurable by The finite-positive condition makes this a probability update by Fiberwise posterior propriety is equivalent to finite positive evidence.
Under a proper hyperprior , at a data fiber with finite positive joint evidence , 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
- Andrew Gelman et al., Bayesian Data Analysis, 3rd ed., §5.4
- NIST/SEMATECH e-Handbook of Statistical Methods, §7.4.4, What are variance components?
- Andrew Gelman et al., Bayesian Data Analysis, 3rd ed., §7.4
- Alicia A. Johnson, Miles Q. Ott, and Mine Dogucu, Bayes Rules!, Chapter 8, §§8.2.1–8.2.2
- Alicia A. Johnson, Miles Q. Ott, and Mine Dogucu, Bayes Rules!, Chapter 8, §8.2.1
- Andrew Gelman et al., Bayesian Data Analysis, 3rd ed., §§5.1, 5.3–5.4
- Alicia A. Johnson, Miles Q. Ott, and Mine Dogucu, Bayes Rules!, Chapter 16, §§16.3–16.4