Astroinformatics / Statistics Fundamentals

Bayesian Evidence: Is That Spectral Line Real?

A flexible model can fit well while making a poor prediction before seeing the data.

Read the lecture →
The principleBayesian evidence averages likelihood over a proper prior; it is not the maximum likelihood.
Measured amplitude  ± SE—
log₁₀ Bayes factor, H₁ / H₀—
P(H₁ | data), equal prior odds—
log₁₀ maximum likelihood ratio—

The same spectrum, two hypotheses

● Observed flux– – H₀: continuum only— H₁: maximum-likelihood fit

The purple line is the best fit, not the evidence or a posterior predictive mean. Its amplitude is unconstrained in sign.

Evidence scores predictions before seeing the data

— H₀: Normal(0, s²)— H₁: Normal(0, s² + w²)– – Measured Â

Each predictive density has total area one over the real line; curves are not rescaled to their peaks or the visible window. They predict an estimator, not the unknown parameter.

Normalised evidence and amplitude posterior
QuantityValue

Full-spectrum evidence densities use the stated flux units. Their ratio is dimensionless. Orthogonal residual factors cancel in the Bayes factor, so the predictive-density ratio at  gives exactly the same answer.