Skip to content

Hierarchical Population Likelihoods

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.

A population analysis must combine the full likelihood from every event, not a histogram of posterior medians. Sources are modeled as independent random occurrences, distributed unevenly over their physical parameters; the search retains only some of them. This is an inhomogeneous, selection-thinned Poisson process. Its likelihood retains event uncertainty, divides out the interim priors used for event-level sampling, and accounts for the probability that a source drawn from the proposed population would enter the catalog.

Required background. Probability and Statistical Inference supplies conditional probability, marginalization, and Poisson processes. Helpful background. The Gravitational-Wave Likelihood defines the event likelihood; Selection Functions and Injection Campaigns explains how detection efficiency is measured.

Let θ\theta denote source parameters in a declared measure, Λ\Lambda population-shape hyperparameters, and ν\nu the expected number of sources before detection over a stated observing interval and finite source domain. Hyperparameters describe a distribution rather than one event: a typical mass and its population spread are examples. The expected source count N‾src\overline N_{\rm src} has density

dN‾srcdθ=ν π(θ∣Λ),∫dθ π(θ∣Λ)=1,\frac{d\overline N_{\mathrm{src}}}{d\theta} =\nu\,\pi(\theta\mid\Lambda), \qquad \int d\theta\,\pi(\theta\mid\Lambda)=1,

The normalized density π\pi describes the relative distribution of sources; the dimensionless number ν\nu sets their total abundance. This keeps the statistical derivation separate from the conversion of a physical rate density into a count. The latter requires comoving volume and source-frame time dilation and is derived in Merger Rates and Sensitive Spacetime Volume.

If pdet(θ)p_{\rm det}(\theta) is the probability that the entire search-and-catalog procedure selects a source, then

α(Λ)=∫dθ pdet(θ)π(θ∣Λ)\alpha(\Lambda) =\int d\theta\,p_{\rm det}(\theta)\pi(\theta\mid\Lambda)

is the population-averaged detection efficiency. The expected detected count is μ=να(Λ)\mu=\nu\alpha(\Lambda). For data did_i from NN selected events with negligible terrestrial contamination, the point-process likelihood is

L({di},N∣ν,Λ)∝e−να(Λ)νN∏i=1N∫dθi p(di∣θi)π(θi∣Λ).\mathcal L(\{d_i\},N\mid \nu,\Lambda) \propto e^{-\nu\alpha(\Lambda)}\nu^N \prod_{i=1}^{N} \int d\theta_i\, p(d_i\mid\theta_i)\pi(\theta_i\mid\Lambda).

To see each factor, define Ii(Λ)=∫p(di∣θ)π(θ∣Λ)dθ\mathcal I_i(\Lambda)=\int p(d_i\mid\theta)\pi(\theta\mid\Lambda)d\theta. For data lying inside the detection region, the density of one detected datum is Ii/α\mathcal I_i/\alpha. Multiplying these NN densities by the Poisson count probability gives

e−να(να)NN!∏iIiα=e−νανNN!∏iIi.\frac{e^{-\nu\alpha}(\nu\alpha)^N}{N!} \prod_i\frac{\mathcal I_i}{\alpha} =\frac{e^{-\nu\alpha}\nu^N}{N!}\prod_i\mathcal I_i.

The data-ordering convention changes only the constant N!N!. There is no additional factor of pdet(θi)p_{\rm det}(\theta_i) inside an event integral when did_i contains the data used for selection. Selection has already acted through the allowed data and Poisson normalization. Adding it again double counts detectability. If selection uses extra information omitted from did_i, that information must instead be included or marginalized consistently. This construction follows Mandel, Farr, and Gair 2019, §§2–4.

Conditioning on the observed count directly gives ∏iIi/αN\prod_i\mathcal I_i/\alpha^N. The same dependence follows for N≥1N\ge1 by marginalizing ν\nu with the scale prior p(ν)∝1/νp(\nu)\propto1/\nu, because ∫0∞e−αννN−1dν=Γ(N)α−N\int_0^\infty e^{-\alpha\nu}\nu^{N-1}d\nu=\Gamma(N)\alpha^{-N}:

L({di}∣Λ,N)∝α(Λ)−N∏i∫dθi p(di∣θi)π(θi∣Λ).\mathcal L(\{d_i\}\mid\Lambda,N) \propto \alpha(\Lambda)^{-N} \prod_i \int d\theta_i\, p(d_i\mid\theta_i)\pi(\theta_i\mid\Lambda).

This conditional-on-count form is useful for population shape, but it discards count-based rate information by construction. A different abundance prior gives a different marginal factor. For example, a prior uniform in ν\nu gives α−(N+1)\alpha^{-(N+1)}. The improper scale prior is also unsuitable for a zero-event rate analysis; one must not copy α−N\alpha^{-N} without stating the conditioning and measure.

An interim prior is the prior originally used to analyze an event, before fitting the population. Suppose event ii used π0(θ)\pi_0(\theta) and has evidence ZiZ_i, so that

p(θ∣di,π0)=p(di∣θ)π0(θ)Zi.p(\theta\mid d_i,\pi_0) =\frac{p(d_i\mid\theta)\pi_0(\theta)}{Z_i}.

Let θij\theta_{ij} be sample jj among the nin_i posterior samples retained for event ii. Multiplying the posterior density by the target-to-interim prior ratio replaces the event prior with the proposed population:

∫dθ p(di∣θ)π(θ∣Λ)=Zi Ep(θ∣di,π0) ⁣[π(θ∣Λ)π0(θ)]≈Zini∑j=1niπ(θij∣Λ)π0(θij).\int d\theta\,p(d_i\mid\theta)\pi(\theta\mid\Lambda) =Z_i\, \mathbb E_{p(\theta\mid d_i,\pi_0)} \!\left[\frac{\pi(\theta\mid\Lambda)}{\pi_0(\theta)}\right] \approx \frac{Z_i}{n_i}\sum_{j=1}^{n_i} \frac{\pi(\theta_{ij}\mid\Lambda)}{\pi_0(\theta_{ij})}.

Here E\mathbb E denotes an expectation over the event posterior, approximated by the sample average on the right. The ZiZ_i factors cancel in hyperparameter ratios only if the same event likelihood and interim analysis are used throughout. The ratio also requires support: wherever π(θ∣Λ)>0\pi(\theta\mid\Lambda)\gt0, the interim prior must be nonzero. A hypermodel that puts weight outside the event prior cannot be repaired by more posterior samples.

For a concrete two-class example, take an interim prior (0.5,0.5)(0.5,0.5) and an event posterior (0.8,0.2)(0.8,0.2) for classes A and B. A population with fractions (f,1−f)(f,1-f) gives

Ii(f)Zi=0.8f0.5+0.21−f0.5=0.4+1.2f.\frac{\mathcal I_i(f)}{Z_i} =0.8\frac{f}{0.5}+0.2\frac{1-f}{0.5} =0.4+1.2f.

This smoothly averages both possible classes; assigning the event entirely to A would discard its uncertainty. The population analysis must still apply the selection and count treatment derived above.

A useful Monte Carlo warning is the effective sample size

neff,i=(∑jwij)2∑jwij2,wij=π(θij∣Λ)π0(θij).n_{{\rm eff},i} =\frac{\left(\sum_j w_{ij}\right)^2}{\sum_j w_{ij}^2}, \qquad w_{ij}=\frac{\pi(\theta_{ij}\mid\Lambda)}{\pi_0(\theta_{ij})}.

Large nin_i is not enough when a few weights dominate. Hyperposterior features that appear where event or injection neffn_{\rm eff} collapses are numerical warnings, not discoveries. Thrane and Talbot give posterior recycling in §5 and posterior prediction in Appendix D; their Appendix F erratum corrects the original discussion of single-event selection Thrane and Talbot 2019, corrected PDF v9. An ordinary source-parameter posterior does not acquire an extra inverse-detection-efficiency weight.

An injection campaign draws θk∼pinj(θ)\theta_k\sim p_{\rm inj}(\theta), embeds signals in representative data, and records Ik=1I_k=1 when the declared pipeline and threshold recover them. Importance sampling estimates

α(Λ)≈1Ninj∑k=1NinjIkπ(θk∣Λ)pinj(θk).\alpha(\Lambda) \approx \frac{1}{N_{\rm inj}} \sum_{k=1}^{N_{\rm inj}} I_k\frac{\pi(\theta_k\mid\Lambda)}{p_{\rm inj}(\theta_k)}.

The injection distribution must cover the hypermodel, including mass, spin, sky position, inclination, distance or redshift, and observing-state dependence. Search pipelines, thresholds, detector segments, waveform families, calibration, and cosmology are part of this estimator. An analytic signal-to-noise cutoff may teach the geometry, but it does not replace a catalog-specific injection campaign.

The current worked interface is the official GWTC-5.0 event/posterior products together with its corresponding search-sensitivity and injection products, frozen at the evidence cutoff 2026-08-18. Any numerical population conclusion therefore inherits that release, event-inclusion rule, pastrop_{\rm astro} treatment, calibration and waveform assumptions, and injection support LVK 2026, GWTC-5.0 population analysis, §§2–3 and appendices.

Near threshold, treating every trigger as certainly astrophysical biases both rate and shape. A mixture point process instead gives each candidate an intensity sum,

L∝e−(μs+μn)∏i[μs ℓs,i(Λ)+μn ℓn,i(η)],\mathcal L\propto e^{-(\mu_{\rm s}+\mu_{\rm n})} \prod_i\left[\mu_{\rm s}\,\ell_{{\rm s},i}(\Lambda) +\mu_{\rm n}\,\ell_{{\rm n},i}(\eta)\right],

Here μs\mu_{\rm s} and μn\mu_{\rm n} are expected selected counts, and ℓs,i\ell_{{\rm s},i} and ℓn,i\ell_{{\rm n},i} are data densities normalized over the selected-data domain; in the signal-only model, ℓs,i=Ii/α\ell_{{\rm s},i}=\mathcal I_i/\alpha. The parameter η\eta describes terrestrial-background statistics. Without these normalizations the intensity expression would be ambiguous. A published pastrop_{\rm astro} is not generally a fixed, population-independent weight: it was computed under a particular signal population, noise model, and pipeline. Either model the mixture coherently or state the approximation used to import those probabilities.

  1. Selected mock recovery. Simulate a Poisson population, pass it through the actual selection rule, and verify recovery of abundance ν\nu and shape Λ\Lambda. Omitting α\alpha should visibly reproduce the Malmquist bias.
  2. Interim-prior invariance. Reanalyze or reweight the same controlled events under two sufficiently broad interim priors. The hyperposterior should agree within Monte Carlo error.
  3. Injection support. Map injection neffn_{\rm eff} over the hyperposterior. Truncate claims where the selection integral is extrapolated.
  4. Misspecification stress test. Generate from a distribution outside the fitted family. Posterior predictive discrepancies should reveal, rather than conceal, the failure.
  5. Nuisance propagation. Vary waveform, calibration, cosmology, catalog threshold, and outlier treatment when they are capable of moving the claimed feature.

These tests distinguish a precisely sampled hyperposterior from a trustworthy population statement. A clean sampler cannot cure an incorrect catalog likelihood.

1. Why posterior medians fail. Two events have broad, overlapping likelihoods in a scalar parameter xx. Explain why fitting a population width to their posterior medians is biased.

Solution

Each median collapses measurement uncertainty to a point and retains the interim prior’s influence. The dispersion of medians is therefore neither the intrinsic population dispersion nor the distribution of future measurements. The hierarchical integral convolves the proposed population with each event likelihood and divides out the interim prior; it can attribute observed spread to measurement error rather than forcing all spread into the population.

2. A constant-efficiency limit. If pdet(θ)=p0p_{\rm det}(\theta)=p_0 for all parameters and shape inference is conditioned on NN, show that selection cannot change the inferred shape.

Solution

Normalization gives α(Λ)=p0∫π(θ∣Λ)dθ=p0\alpha(\Lambda)=p_0\int\pi(\theta\mid\Lambda)d\theta=p_0, independent of Λ\Lambda. The factor α−N\alpha^{-N} is then constant and cancels from the normalized hyperposterior. Selection still changes the expected count and hence rate inference, but not the conditional shape in this special limit.

  • LIGO Scientific Collaboration, Virgo Collaboration, and KAGRA Collaboration. “GWTC-5.0: Population Properties of Merging Compact Binaries.” arXiv:2605.27226 (2026). Open PDF.
  • Mandel, Ilya, Will M. Farr, and Jonathan R. Gair. “Extracting Distribution Parameters from Multiple Uncertain Observations with Selection Biases.” Monthly Notices of the Royal Astronomical Society 486 (2019): 1086–1093. DOI. 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.
  • Vitale, Salvatore, Davide Gerosa, Will M. Farr, and Stephen R. Taylor. “Inferring the Properties of a Population of Compact Binaries in Presence of Selection Effects.” In Handbook of Gravitational Wave Astronomy. Singapore: Springer, 2022. DOI. Open PDF.