Bayesian Evidence and Model Comparison
Scrollable formula. Use Left and Right arrow keys to reveal hidden content.
Scrollable table. Use Left and Right arrow keys to reveal additional columns.
Scrollable figure. Use Left and Right arrow keys to inspect hidden content.
Bayesian evidence is the probability density of the observed data after averaging a model’s likelihood over its normalized prior measure. Evidence rewards fit but also accounts for how much prior parameter space predicted the data poorly. This page derives that tradeoff in a solvable Gaussian problem, distinguishes Bayes factors from likelihood ratios and posterior model probabilities, and states the prior, selection, numerical, and data records needed for a defensible gravitational-wave model comparison.
Required background. Probability and Statistical Inference supplies marginalization, Bayes’ theorem, normalized densities, and odds.
Helpful background. Gravitational Radiation and Waveforms supplies the competing waveform and polarization hypotheses used in applications.
Marginal likelihood and model odds
Section titled “Marginal likelihood and model odds”For model with parameters ,
The evidence normalizes the parameter posterior. For two models,
is the Bayes factor, and model posterior odds are
A Bayes factor is not a posterior model probability until model prior odds and the model set over which probabilities are normalized are specified. It is also not the maximum likelihood ratio: evidence averages over parameters rather than choosing their best-fitting values. The role of evidence and model priors in gravitational-wave inference is developed in Thrane and Talbot 2019, §3, Eqs. (10)–(21), PDF.
A Gaussian model-comparison calculation
Section titled “A Gaussian model-comparison calculation”Observe one scalar with known noise scale . Compare
with . Under the null,
Under , convolution of the Gaussian likelihood and prior gives
Therefore
The exponential rewards improvement in fit. The square-root prefactor penalizes spreading prior mass over values of not supported by the datum. At , widening monotonically lowers even though the maximum likelihood under remains at the null value. This is a concrete prior-volume effect, not an arbitrary correction added after fitting.
The result provides two independent checks. As , collapses to and . At fixed nonzero , sufficiently large makes the fit improvement dominate. Any numerical evidence calculation for this model should reproduce the closed form over both regimes.
What evidence depends on
Section titled “What evidence depends on”Evidence changes when a model-specific prior range changes because the model itself has changed. It also depends on:
- the normalized likelihood, including covariance-dependent determinants;
- parameter coordinates and Jacobians;
- waveform domain, frequency band, calibration, and PSD treatment;
- nuisance parameters shared or not shared between models;
- data and event selection; and
- model prior odds when reporting posterior odds.
An improper prior has no fixed normalization, so its ordinary evidence is undefined. A very broad but proper prior can make a flexible model predict the observed data diffusely and lower its evidence. Choosing bounds after seeing the event uses the data twice unless the selection is included in the model.
For nested models, identities such as the Savage–Dickey density ratio apply only under specific compatibility conditions on the priors and parameterization. They are not shortcuts around checking nuisance-prior matching or boundary behavior.
Gravitational-wave comparisons
Section titled “Gravitational-wave comparisons”Examples include signal versus noise, alternative waveform families, tensor versus enlarged polarization models, eccentric versus quasicircular binaries, or hypotheses with and without a beyond-general-relativity deviation. The interpretation is restricted to the declared model pair. A large between two inadequate waveform families does not establish that the favored family is absolutely adequate, and a null-favoring result cannot exclude deviations outside the parameterized alternative.
Selection must be conditioned consistently. For a single event, suppose the detection label is determined by the same data used in the likelihood. Let be each model’s prior-predictive detection probability. Among selected data,
Their product gives the original posterior odds , even when the two detection probabilities differ. Dividing the evidence by efficiency while keeping unselected model prior odds would be inconsistent. The same cancellation for single-event parameter inference is explained in Thrane and Talbot 2019, Appendix F, item 1, corrected PDF.
Population and rate inference retain selection terms because they model which and how many events enter the sample. Selection based on additional data omitted from also requires that information in the generative model. These cases are developed in Prior Measures and Reparameterization and Source Populations and Hierarchical Inference. The sample definition must be fixed before inspecting favorable Bayes factors.
Numerical evaluation and checks
Section titled “Numerical evaluation and checks”Evidence is challenging because posterior samplers concentrate where the integrand is large while depends on its normalization over the entire prior. Nested sampling estimates prior-volume compression; thermodynamic integration connects prior and posterior through a temperature path; bridge and importance methods use overlapping reference distributions. A posterior Markov chain alone does not supply evidence without an additional normalization method.
Every reported value should include the algorithm, software and commit, parameterization and normalized priors, live-point or temperature settings, stopping rule, random seeds, likelihood implementation, precision, repeated-run scatter, and controls on missed modes. Compare at least two settings or independent runs. The analytic Gaussian calculation above and an exactly enumerable low-dimensional case are useful unit tests. The LALInference paper describes nested-sampling and MCMC evidence validation in Veitch et al. 2015, §§III–V, PDF.
Observational boundary and reproduction
Section titled “Observational boundary and reproduction”For an event analysis, pin the GWOSC or controlled data release, event version, detectors and GPS interval, calibration and PSD products, data-quality selections and gates, sample rate, frequency band, waveform versions, likelihood code, prior files, sampler configuration, and all excluded models or events. Report uncertainty and covariance when Bayes factors reuse runs. Calibration, PSD, waveform, and prior-bound alternatives should be propagated rather than represented by one favored number.
At the 2026-08-18 evidence cutoff, the O4b characterization choices and model-comparison settings are documented in LVK Collaboration 2026, §§4–5, PDF. They are dated analysis products. No catalog Bayes factor is recomputed or quoted here.
Common pitfalls
Section titled “Common pitfalls”Maximum likelihood is not evidence. The best fit ignores the volume of parameter space that fits badly. Two models with the same maximum likelihood can have different evidences.
Bayes-factor thresholds are not universal laws. Interpretation depends on model completeness, prior odds, prior measure, data selection, and numerical uncertainty.
A missed mode biases normalization. Posterior summaries may appear stable while an isolated mode carrying appreciable prior-weighted likelihood is absent. Evidence needs mode-search and repeat-run checks.
Check your understanding
Section titled “Check your understanding”Set and in the Gaussian comparison. Compute for (a) and (b) . If the model prior odds are , find the posterior odds for case (b).
Solution
Here , so
For ,
which favors the point null because the broad alternative spreads prior mass away from zero. For ,
The posterior odds are approximately in favor of . Despite the Bayes factor near 18, the posterior model probability is only because the prior odds favored .
References
Section titled “References”- LIGO Scientific Collaboration, Virgo Collaboration, and KAGRA Collaboration. “GWTC-5.0: Methods for Identifying and Characterizing Gravitational-Wave Transients.” arXiv:2605.27224 [gr-qc] (2026). Open PDF.
- Thrane, Eric, and Colm Talbot. “An Introduction to Bayesian Inference in Gravitational-Wave Astronomy: Parameter Estimation, Model Selection, and Hierarchical Models.” Publications of the Astronomical Society of Australia 36 (2019): e010. DOI. Open PDF, corrected arXiv v9.
- Veitch, John, et al. “Parameter Estimation for Compact Binaries with Ground-Based Gravitational-Wave Observations Using the LALInference Software Library.” Physical Review D 91 (2015): 042003. DOI. Open PDF.