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 — Examples
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
- Conjugate families and Gaussian conditioning
- 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
- Marginal likelihoods, Bayes factors, and empirical Bayes
- 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
These worked cases compare point-null mass under atomic and continuous priors, show why a Bayes factor can change with the spread of a proper prior, and why an arbitrarily normalized improper prior cannot give a generic model evidence. They also compute a negative balanced-ANOVA moment estimate and exhibit a finite hierarchy in which full Bayes retains hyperparameter uncertainty and induces group dependence, while a Type-II plug-in posterior conditions on one selected hyperparameter value.
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
A negative balanced-ANOVA moment estimate
Example
In the balanced one-way model take , fix , and observe , , , and . The raw method-of-moments estimate of the between-group variance is negative. This observed estimate does not establish that the true between-group variance is zero.
Facts & Assumptions
Given: The balanced one-way model with , , , and the displayed observations.
AC is assumed for the normal-law convention used here. The Axiom of Choice
For , the raw method-of-moments estimate is under the balanced one-way normal random-effects model. Expected mean squares in the balanced one-way normal random-effects model
For and , has the strictly positive Lebesgue density . A positive-variance normal law has its location-scale density
Independent random elements have independent generated sigma-algebras, so probabilities of finite coordinate rectangles factor. Independent random elements
Verification
Given: The model and observations in the Example.
Both group means and the grand mean are zero, so . Each of the four within-group residuals is either or , hence . By [F1], the raw estimate is .
The map from the four observations to is a polynomial divided by the fixed positive integer , hence continuous. At the displayed table its value is by step 1.1, so some open neighborhood of the table still has negative estimates. The latent vector maps to that table. Since every coordinate has a strictly positive normal density by [F2], an open rectangle around this latent vector has positive probability by independence [F3]; it can be chosen inside the preimage of the negative-estimate neighborhood. Thus negative estimates occur with positive probability even when , so replacing them by zero changes the estimator and does not prove a structural zero.
A diffuse normal prior changes the point-null Bayes factor
Example
Compare with and , where . At the fixed observation , the Bayes factor for the alternative against the point null depends on the spread of the proper alternative prior and tends to zero as that prior becomes diffuse.
Facts & Assumptions
Given: The two-model normal comparison in the Example and the observation .
AC is assumed for the library normal-law convention. The Axiom of Choice
A proper model evidence is the integral of the specified likelihood density against its proper parameter prior; a Bayes factor is the ratio of two finite positive evidences. Marginal likelihoods, proper model evidence, and Bayes factors
For and , has Lebesgue density . A positive-variance normal law has its location-scale density
Verification
Given: The proper priors, normal likelihoods, and observation in the Example.
By [F2], . The alternative evidence is . The exponent coefficient is ; substituting and using the standard normal integral gives . Both evidences are finite and positive.
By [F1], the alternative-to-null Bayes factor is . As with fixed, this tends to zero. Therefore the evidence ratio changes with the proper alternative prior's spread even though the observed datum and point-null model remain fixed.
An improper flat-prior scale makes a formal evidence arbitrary
Example
Consider one observation from the normal location model with known . For any , the measure is an improper flat prior, where is Lebesgue measure (Lebesgue measurable sets, the family , and the restricted set function ). The likelihood integral against it is finite but equals . If two competing models use this same normal-location likelihood, with the same observed and known variance, but use independent arbitrary constants and , their formal evidence ratio is , so it has no value determined by the models.
Facts & Assumptions
Given: A normal location likelihood with , an observation , and the sigma-finite prior measure for .
AC is assumed for the library normal-law convention. The Axiom of Choice
A proper-model evidence in this pair is defined by integrating a specified likelihood density against a probability prior. Marginal likelihoods, proper model evidence, and Bayes factors
The BCS-02 fiberwise normalizer is the likelihood integral against the supplied sigma-finite prior measure; an improper prior has infinite total mass. Evidence normalizer and fiberwise posterior update
AC implies Countable Choice. AC implies DC implies countable choice
Under Countable Choice, Lebesgue measure is sigma-finite and finite on bounded sets. Lebesgue measure is sigma-finite, and every metrically bounded subset of has finite outer measure
Lebesgue measure of a real interval is its length, including a degenerate interval of measure zero. A box in with parameters is Lebesgue measurable of measure , whichever of its faces are included
For , the normal location likelihood density is . A positive-variance normal law has its location-scale density
Verification
Given: The model and prior measure in the Example.
By [A1, F3, F4], is sigma-finite, so is sigma-finite. By [F5], for every positive integer , hence and it is improper in the sense of [F2]. By [F6], its formal likelihood integral is . The substitution has absolute Jacobian , so this equals . This value is positive and finite for every fixed , but , so it is not an evidence under [F1].
For the two copies of the same normal-location likelihood specified above, with model-specific constants , the formal ratio is by step 1.1. Rescaling either improper prior changes this ratio arbitrarily while leaving its unnormalized density proportional to Lebesgue measure; hence no generic Bayes factor is defined by these improper priors.
A shared hyperparameter can couple group parameters
Example
Give their discrete sigma-algebras. Let have prior probability at each value. Given , let be conditionally independent with almost surely. For each group, let the observation space be the singleton with its full sigma-algebra and counting measure . Let the observation kernel be point mass at , with specified jointly measurable density relative to . The data contain no information about .
Facts & Assumptions
Given: The finite two-group hierarchy and singleton observation kernels specified in the Example.
In a finite-group hierarchy, a proper hyperprior and conditional group kernel define the latent prior; the groups are conditionally independent given the shared hyperparameter. Finite-group hierarchical Bayesian model
On a fiber with positive finite evidence, the hierarchical posterior is the normalized joint likelihood times latent prior. Hierarchical posterior normalization on positive finite evidence
Type-II maximum marginal likelihood selects an attained maximizer only where it exists, and its plug-in posterior fixes the chosen hyperparameter. Type-II maximum marginal likelihood and empirical-Bayes plug-in posterior
A measurable space is standard Borel when it is bimeasurably isomorphic to a Polish space. The finite discrete spaces here are Polish. Standard Borel spaces
Verification
Given: The hierarchy and singleton observations in the Example.
The finite discrete spaces are standard Borel by [F4]. The two-point hyperprior is proper, and are probability kernels, and each singleton observation measure is finite, hence sigma-finite. Its observation kernel has the specified density , jointly measurable on the finite product space. Thus the hierarchy in [F1] is well-defined and its joint evidence is . By [F2], the full posterior equals the prior: it assigns probability to and to .
For either fixed , the conditional marginal likelihood is , so both values attain the maximum. The map from the singleton data space to is measurable, hence [F3] permits the plug-in choice ; its posterior is .
Under the full posterior in step 1.1, but . Therefore the group parameters are dependent after the shared hyperparameter is integrated out, and the full posterior differs from the plug-in posterior in step 2.1.
Point-null mass under atomic and continuous priors
Example
Let have parameter space and prior , and let have parameter space and uniform prior . Use the common data space with counting measure , and specify the jointly measurable Bernoulli density on each parameter space by and . Give the models prior weights with . After observing , model has positive posterior probability because it is an explicit model atom with positive prior weight. A single continuous prior on instead assigns probability zero.
Facts & Assumptions
Given: The two-model setup in the Example and observed value .
Countable Choice is assumed for the Lebesgue-volume formula used to compute interval and singleton measures. The Axiom of Countable Choice ()
For finitely many models with positive weights and finite positive evidences, posterior model probabilities are proportional to weight times evidence. Finite-model posterior probabilities and Bayes-factor odds
Evidence under a proper parameter prior is the integral of the specified likelihood density against that prior. Marginal likelihoods, proper model evidence, and Bayes factors
Lebesgue measure of an interval is its length. A box in with parameters is Lebesgue measurable of measure , whichever of its faces are included
On , Lebesgue measure is the restriction of Lebesgue outer measure to the Lebesgue measurable sets. Lebesgue measurable sets, the family , and the restricted set function
Verification
Given: The models, weights, and observation in the Example.
By [A1, F3], , so the uniform prior is proper. Under , . Under , its density is on , so . Both evidences are finite and positive, and [F1] gives .
By [F3], the degenerate closed interval is Lebesgue measurable and has measure zero; [F4] identifies this measure as . Thus the uniform prior assigns the singleton mass . The separate model atom in step 1.1 instead gives prior weight and positive posterior probability.
Sources
- Andrew Gelman et al., Bayesian Data Analysis, 3rd ed., §5.4
- NIST/SEMATECH e-Handbook of Statistical Methods, §7.4.4
- 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.2
- 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