Selection Functions from Injections
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 selection function is the probability that the complete search-and-reporting procedure includes a source with specified parameters and data-state conditions. It is not merely a signal-to-noise threshold. Injection campaigns estimate this probability by placing known signals into representative data, running the declared pipeline, and counting recoveries with importance weights that match the target source distribution.
Helpful background. Search-level injection design begins in Injection Campaigns and Search Sensitivity. The threshold whose efficiency is measured must be the one defined in Detection Thresholds and False-Alarm Accounting.
Detection probability and population efficiency
Section titled “Detection probability and population efficiency”Let denote source parameters and the detector state, calibration, observing epoch, and other conditions entering the search. For catalog rule , define
Here denotes the data, is one when the selection rule is satisfied and zero otherwise, and integrates over all possible data realizations. This probability averages over noise under the declared data model. For a normalized population density , with shape parameters , and a normalized distribution of observing states, the selection fraction is
Thus is the fraction of sources expected to be selected, averaged over source properties and observing conditions. The product assumes their distributions are independent; use their joint density if the source population changes with observing state. The same source can be detectable in one detector epoch and missed in another. The detector/source-frame transformation, redshift measure, observing time, duty cycle, calibration, waveform content, and pipeline threshold must therefore match the population likelihood in which is used.
Importance sampling with recovered injections
Section titled “Importance sampling with recovered injections”A two-class example
Section titled “A two-class example”First consider exact class labels with no measurement error. Let the intrinsic fractions be and the detection probabilities be , . Of 1000 sources, the expected detected counts are 100 in A and 400 in B. Thus , while the fractions within the detected sample are , :
The figure separates the three quantities. In particular, the middle panel contains detection probabilities conditional on each class; those probabilities need not sum to one, even though they happen to do so in this example.
Selection alone can create an apparent population imbalance. Equal intrinsic fractions with detection probabilities 0.2 and 0.8 yield detected fractions 0.2 and 0.8. These are exact illustrative probabilities for two known classes without measurement error or contamination, not observational data.
Here inverse-efficiency counting works: , recovering equal intrinsic counts. It fails for a class with zero efficiency, whose abundance is unconstrained by detections alone, and it is not a substitute for marginalizing uncertain event parameters in a real catalog.
The injection estimator
Section titled “The injection estimator”Suppose injections are drawn from proposal density and passed through the search. Let if injection is recovered under the catalog rule and otherwise. Then
This estimator is valid only where the injection proposal has support wherever the target integrand is nonzero. A campaign concentrated on nearly equal-mass, nonspinning binaries cannot estimate selection for extreme mass ratios or precessing systems by reweighting alone.
Define recovered weights . A warning diagnostic is
Large does not rescue a tiny . For independent draws from the stated proposal, an unbiased estimate of the variance of the sample mean is
Unrecovered injections still count: their values belong in the denominator and variance. Dividing by the number recovered instead of the number drawn would estimate the wrong quantity. Correlated or stratified injection designs require the corresponding variance calculation.
This accuracy matters increasingly as the catalog grows. A shape likelihood contains , so a small numerical error gives . A selection estimate adequate for ten events may be inadequate for a thousand. Selection uncertainty must be propagated or shown negligible across the hyperparameter region being compared.
What the injections must reproduce
Section titled “What the injections must reproduce”An injection campaign is faithful only if its recovery process matches the catalog construction in consequential respects:
| Ingredient | Required match | Typical bias if omitted |
|---|---|---|
| Detector time | Duty cycle, sensitivity, PSD, glitches, data-quality masks | Wrong sensitive spacetime volume |
| Calibration | Epoch response and uncertainty treatment | Amplitude- and phase-dependent efficiency error |
| Waveform | Modes, spins, eccentricity, tides over target support | Missing or misranked source subpopulations |
| Search | Pipeline version, bank, ranking, coincidence, vetoes | Efficiency for the wrong decision rule |
| Threshold | Same FAR, rank, and de-duplication rule as catalog | Normalization inconsistent with included events |
| Injection proposal | Known density and full target support | Unstable or impossible reweighting |
Software injections added to recorded strain test much of the analysis path but not the physical detector response before calibrated strain. Hardware injections test more of that chain but are sparse and are not a population Monte Carlo. The two serve different validation roles.
Selection in the catalog and population likelihoods
Section titled “Selection in the catalog and population likelihoods”Conditioning on detection changes the distribution of observed sources:
For shape-only inference conditioned on detections, factors of appear. In a Poisson rate model, the expected detected count contains the rate and selection exposure. Mixing these conventions can double-count or omit selection. The distinction and the correction to single-event conditioning are given in Thrane and Talbot 2019, § 5 and Appendices E–F, corrected PDF v9.
Selection generally does not become a per-event correction factor inserted into each already-detected event likelihood. It normalizes the detected ensemble under the same generative model. Applying “ weights” directly to noisy event estimates is not equivalent to the hierarchical likelihood and can be severely biased near threshold.
Convergence and failure diagnostics
Section titled “Convergence and failure diagnostics”A reproducible calculation records the injection table and proposal density, source/detector-frame conventions, waveform version, detector times, strain/calibration/data-quality release, pipeline and threshold version, random seed, and software environment. It then varies injection count and proposal design and reports , Monte Carlo uncertainty, and over the full hyperparameter domain.
Useful stress tests include:
- split by observing epoch, detector network, and pipeline;
- compare direct binomial estimates in well-populated cells with importance sampling;
- inject from a second proposal targeted at high-weight corners;
- perturb calibration, PSD, waveform family, and threshold;
- recover a mock population with known ; and
- deliberately choose an unsupported target to verify that the diagnostic fails loudly.
At the evidence cutoff 2026-08-18, an observational use must bind the official GWTC-5.0 release, the search and sensitivity specification in GWTC-5.0 Methods, §§ 2–3, and any release-specific selection products used by the population analysis LVK 2026, GWTC-5.0 Population, §§ 2–6 and appendices. This page reports no newly executed injection estimate and supplies no unverified rerun command.
Exercise
Section titled “Exercise”Sources are uniform in Euclidean volume within . A noiseless toy search detects every source with and none beyond, where .
- Find the population selection fraction.
- If injections are instead drawn uniformly in , what importance factor, up to normalization, represents the volume population?
Solution
Uniform volume gives . Therefore
For a proposal uniform in distance, . The importance ratio is
so distant injections receive larger weights. If too few recovered injections lie near , the weighted estimate can have low effective sample size even when the raw injection count is large.
References
Section titled “References”- LIGO Scientific Collaboration, Virgo Collaboration, and KAGRA Collaboration (2026). “GWTC-5.0: Methods for Identifying and Characterizing Gravitational-Wave Transients.” arXiv:2605.27224. Open PDF.
- LIGO Scientific Collaboration, Virgo Collaboration, and KAGRA Collaboration (2026). “GWTC-5.0: Population Properties of Merging Compact Binaries.” arXiv:2605.27226. Open PDF.
- LIGO Scientific Collaboration, Virgo Collaboration, and KAGRA Collaboration (2026). GWTC-5.0 Data Release. DOI 10.7935/bk00-6a89. Official release.
- Thrane, E., and Talbot, C. (2019). “An Introduction to Bayesian Inference in Gravitational-Wave Astronomy: Parameter Estimation, Model Selection, and Hierarchical Models.” Publications of the Astronomical Society of Australia 36, e010. DOI. Open PDF v9, including the selection erratum.