Skip to main content

📊 Prior Specification

This page documents the prior distributions used in the ξ Dark Energy inference pipeline. It exists because the posterior constraints, model comparison metrics, and physical interpretation are not reproducible unless the prior volume is explicitly stated.

Where the bounds come from

Every bound on this page is read from the sampling code, not from a results file: log_prior in src/xi_protocol1b_bao_run.py of the xi-dark-energy-bao-mcmc repository, commit 25ed86e (the code used for the final Protocol 1b run). All priors are top-hat (uniform) on an open interval; a sample outside the interval has zero probability.


Why priors matter​

The ξ Dark Energy project compares standard and exploratory cosmological models using Type Ia supernovae and BAO measurements. In this setting, priors affect:

  • posterior parameter constraints,
  • convergence behavior,
  • Bayes-factor-like interpretations,
  • AIC / BIC comparisons indirectly through fit stability,
  • whether oscillatory extensions are physically meaningful or merely prior-volume artifacts.

The prior specification is therefore part of the scientific result, not a technical detail.


Model hierarchy​

The baseline model is used as the reference cosmology.

ParameterMeaningPrior (uniform, from code)Notes
H0Hubble constant in km s⁻¹ Mpc⁻¹50 < x < 100Brackets SH0ES-like and Planck-like values
Omega_mMatter density fraction0.1 < x < 0.5Restricted to physical positive values

The code has no supernova nuisance parameter (no absolute magnitude M, no offset): the SH0ES-calibrated distance moduli are used directly in the likelihood.

The baseline model should remain intentionally conservative. It should not be given overly restrictive priors that make the extended models appear better by comparison.


Prior table (from the code)​

Each parameter appears once, at the first model that uses it; H₀ and Ωₘ are shared by the three models.

ParameterFirst used inPrior (uniform, open interval)Unit
H₀ΛCDM50 < x < 100km/s/Mpc
ΩₘΛCDM0.1 < x < 0.5—
w₀CPL−2 < x < 0—
wₐCPL−3 < x < 2—
w₀,meanΞosc−1.5 < x < −0.5—
εΞosc0 < x < 0.3—
TΞosc1 < x < 10Gyr
φ₀Ξosc−π < x < πrad

Prior implementation contract​

A sample is valid only if all parameters fall inside their prior support and all derived quantities required by the likelihood are finite. Schematically:

def log_prior(theta):
if not within_bounds(theta):
return -np.inf
if not derived_quantities_are_finite(theta):
return -np.inf
return 0.0

This corresponds to uniform priors over the allowed region and zero probability outside it.


Physical constraints​

The prior should enforce basic physical sanity checks.

ConstraintReason
H0 > 0Expansion rate must be positive
0 < Omega_m < 1Matter density fraction must remain physical in the explored model (the sampled prior is tighter: see the table above)
Finite luminosity distanceRequired for supernova likelihood
Finite BAO distancesRequired for DESI BAO likelihood
Full phase coverage for phi0Avoid phase selection bias
Explicit amplitude conventionAvoid ambiguity in the sign of epsilon

1. Oscillation amplitude convention​

If epsilon is restricted to positive values, the model must explain whether the sign is absorbed by the phase or whether negative amplitudes represent distinct physical behavior.

2. Period prior sensitivity​

The parameter T can be especially sensitive to prior choices. A broad linear prior and a broad log prior do not encode the same scientific assumption.

3. Boundary effects​

If posterior mass accumulates near a prior boundary, the result should be treated as prior-limited rather than data-constrained. This is the case here: the marginals of ε and T reach the upper edge of their priors (ε: upper 1σ edge 0.262 against a bound of 0.3; T: multi-featured posterior up to 10 Gyr). See Oscillation Amplitude and Known Limitations.

4. Model comparison caution​

AIC and BIC do not fully account for prior volume in the same way Bayesian evidence does. If model comparison is discussed, priors should still be documented to avoid overinterpreting small differences.


Prior sensitivity checks​

Before interpreting ξ as a physically meaningful oscillatory signal, run at least the following checks:

  • Repeat the ξ fit with a symmetric amplitude prior.
  • Repeat with a wider period prior.
  • Repeat with a log-period prior if physically appropriate.
  • Check whether phi0 remains broad or becomes constrained.
  • Check whether epsilon is away from zero or prior-boundary dominated.
  • Compare posterior predictive curves, not only parameter medians.
  • Document how AIC/BIC changes under prior variations.

Reporting template​

Use this short block in result pages:

**Priors.** All models were sampled with broad uniform priors over physically allowed ranges. The ΛCDM, CPL, and ξ models share the same priors on common parameters (`H0`, `Omega_m`); no nuisance parameter is sampled. The ξ-specific parameters use broad priors on the mean equation-of-state level, oscillation amplitude, period, and phase. Prior sensitivity tests are planned for v0.2, especially for the amplitude and period parameters.

PageRole
LikelihoodDefines the data likelihood
MCMC SetupDefines sampler configuration
ConvergenceDiagnoses chain quality
Model ComparisonInterprets AIC/BIC and model hierarchy
Known LimitationsExplains v0.1 caveats and v0.2 fixes
RoadmapTracks planned prior sensitivity tests