Skip to main content
Sandbox Physics
Gravitational-wave populations: mass gap, pairing and selection

Hierarchical inference with selection effects on public GWTC-3 samples

Sandbox Physics ·

The population likelihood is a product over events of each event's evidence under the population model, divided by the detectable fraction once per event. Each evidence is estimated by reweighting that event's posterior samples by the population density over the prior used to make them; the detectable fraction is estimated by reweighting simulated signals that the searches found. Applied to 23 public O3b binary black holes with a power law from 5 solar masses to a sharp maximum, this gives a slope α=2.56\alpha=2.56 (90% interval 1.84 to 3.17). Leaving out the selection term gives α=0.26\alpha=0.26.

This chapter assumes Bayes' theorem, the Poisson distribution and Monte Carlo integration. It builds on the observation model of the previous chapter. All numbers come from the frozen analysis described in the method tutorial.

Why event posteriors cannot simply be multiplied

Parameter estimation for event ii returns samples from its posterior

p(θi∣di)=p(di∣θi) πPE(θi)p(di),p(\theta_i\mid d_i)=\frac{p(d_i\mid\theta_i)\,\pi_{\mathrm{PE}}(\theta_i)}{p(d_i)},

where πPE\pi_{\mathrm{PE}} is the prior the analysts chose, broad and uninformative about the population. Two shortcuts are tempting and both are wrong.

The first multiplies the event posteriors by the population density, p(θi∣di) p(θi∣Λ)p(\theta_i\mid d_i)\,p(\theta_i\mid\Lambda). That counts a prior twice: πPE\pi_{\mathrm{PE}} is still inside the posterior. The population must replace the parameter-estimation prior, not sit on top of it, so each sample is weighted by p(θ∣Λ)/πPE(θ)p(\theta\mid\Lambda)/\pi_{\mathrm{PE}}(\theta). Mandel, Farr and Gair, 2019, Eqs. 8 and 9

The second treats the catalog histogram, or the stack of event posteriors, as the source distribution. It is the selected distribution p(θ∣det,Λ)p(\theta\mid\mathrm{det},\Lambda) from the first chapter, smeared by measurement errors. Mandel, Farr and Gair also show that inserting PdetP_{\mathrm{det}} into the numerator, or dropping the normalization, biases the result. Mandel, Farr and Gair, 2019, Section 5

Deriving the likelihood

Model mergers as an inhomogeneous Poisson process with expected number density N p(θ∣Λ)N\,p(\theta\mid\Lambda). A merger is detected with probability Pdet(θ)P_{\mathrm{det}}(\theta), so the expected number of detections is N ξ(Λ)N\,\xi(\Lambda). The probability of the observed data sets {di}\{d_i\}, with NobsN_{\mathrm{obs}} detections and none elsewhere, is

p({di}∣N,Λ)∝e−Nξ(Λ)∏i=1NobsN∫p(di∣θ) p(θ∣Λ) dθ.p(\{d_i\}\mid N,\Lambda)\propto e^{-N\xi(\Lambda)}\prod_{i=1}^{N_{\mathrm{obs}}}N\int p(d_i\mid\theta)\,p(\theta\mid\Lambda)\,\mathrm d\theta .

Take the scale-invariant prior π(N)∝1/N\pi(N)\propto1/N and integrate over NN. Since ∫0∞NNobs−1e−Nξ dN=Γ(Nobs) ξ−Nobs\int_0^\infty N^{N_{\mathrm{obs}}-1}e^{-N\xi}\,\mathrm dN=\Gamma(N_{\mathrm{obs}})\,\xi^{-N_{\mathrm{obs}}},

p({di}∣Λ)∝∏i=1Nobs∫p(di∣θ) p(θ∣Λ) dθξ(Λ).p(\{d_i\}\mid\Lambda)\propto\prod_{i=1}^{N_{\mathrm{obs}}}\frac{\int p(d_i\mid\theta)\,p(\theta\mid\Lambda)\,\mathrm d\theta}{\xi(\Lambda)} .

This is Mandel, Farr and Gair's Eq. 7; they note that the correspondence with the rate-marginalized form holds for the 1/N1/N prior. The GWTC-3 population analysis uses the same likelihood. Abbott and colleagues, 2023, Appendix A

Monte Carlo estimates and their effective sizes

With SS posterior samples θij\theta_{ij} for event ii and NfoundN_{\mathrm{found}} found injections θk\theta_k drawn from a known density pdrawp_{\mathrm{draw}} out of NdrawN_{\mathrm{draw}} generated,

L^i(Λ)=1S∑j=1Sp(θij∣Λ)πPE(θij),ξ^(Λ)=1Ndraw∑k=1Nfoundp(θk∣Λ)pdraw(θk),\hat L_i(\Lambda)=\frac1S\sum_{j=1}^{S}\frac{p(\theta_{ij}\mid\Lambda)}{\pi_{\mathrm{PE}}(\theta_{ij})},\qquad \hat\xi(\Lambda)=\frac{1}{N_{\mathrm{draw}}}\sum_{k=1}^{N_{\mathrm{found}}}\frac{p(\theta_k\mid\Lambda)}{p_{\mathrm{draw}}(\theta_k)},
ln⁡L^(Λ)=∑i=1Nobsln⁡L^i(Λ)−Nobsln⁡ξ^(Λ).\ln\hat{\mathcal L}(\Lambda)=\sum_{i=1}^{N_{\mathrm{obs}}}\ln\hat L_i(\Lambda)-N_{\mathrm{obs}}\ln\hat\xi(\Lambda) .

Both are importance-sampling averages, so both can fail when a few weights dominate. For weights ww, the effective sample size (∑w)2/∑w2(\sum w)^2/\sum w^2 counts how many samples effectively contribute. Farr defines the selection version as Neff=ξ^2/σ2N_{\mathrm{eff}}=\hat\xi^2/\sigma^2, with σ2\sigma^2 the Monte Carlo variance of ξ^\hat\xi, and shows that the likelihood can only be trusted when Neff>4NobsN_{\mathrm{eff}}>4N_{\mathrm{obs}}. Farr, 2019, Eqs. 9 to 11 GWTC-3 adopts this condition and also requires every event term to have at least NobsN_{\mathrm{obs}} effective samples, setting the likelihood to zero elsewhere. Abbott and colleagues, 2023, Appendices A and B

The model and the frozen data

The restricted model has two free parameters:

p(m1∣α,mmax⁡)∝m1−α  (5≤m1≤mmax⁡),p(m2∣m1)∝m21.1  (5≤m2≤m1),p(z)∝dVcdz(1+z)1.7  (z≤1.9).p(m_1\mid\alpha,m_{\max})\propto m_1^{-\alpha}\ \ (5\le m_1\le m_{\max}),\qquad p(m_2\mid m_1)\propto m_2^{1.1}\ \ (5\le m_2\le m_1),\qquad p(z)\propto\frac{\mathrm dV_c}{\mathrm dz}(1+z)^{1.7}\ \ (z\le1.9).

The redshift exponent is κ−1\kappa-1 with κ=2.7\kappa=2.7 fixed. The grid runs over α\alpha from 0 to 7 in steps of 0.05 and mmax⁡m_{\max} from 40 to 100 solar masses in steps of 0.5, with flat priors.

The data are real public products of the LIGO, Virgo and KAGRA collaborations. The events are the 23 O3b candidates in the GWOSC GWTC-3 list with false-alarm rate below one per year and median secondary mass above 3 solar masses, each with 1500 samples of the mixed cosmological posterior. GWTC-3 parameter-estimation release, Zenodo 5546663 The selection term uses 20 000 of the 39 069 injections found with false-alarm rate below one per year in the O3b binary black hole sensitivity release; the number generated is scaled to 1.705×1071.705\times10^7. O3 search sensitivity release, Zenodo 5546676

The cosmological samples were reweighted to a prior uniform in detector-frame masses and in comoving volume and source time. Changing variables to source-frame masses gives

πPE(m1,m2,z)∝(1+z)2×11+zdVcdz=(1+z)dVcdz.\pi_{\mathrm{PE}}(m_1,m_2,z)\propto(1+z)^2\times\frac{1}{1+z}\frac{\mathrm dV_c}{\mathrm dz}=(1+z)\frac{\mathrm dV_c}{\mathrm dz} .

Results

Table 3.1 Restricted inference on 23 O3b events. Medians with 90% intervals; masses in solar masses.
AnalysisSlope α\alphaMaximum mmax⁡m_{\max}
With selection (reported)2.562.56 (1.841.84 to 3.173.17)5454 (4646 to 7575)
Without selection0.260.26 (00 to 0.760.76)5757 (4848 to 7171)
Cells with an event below 20 effective samples removed2.682.68 (2.062.06 to 3.243.24)5858 (5252 to 7979)
Power law fitted to detected median masses0.750.75fixed at 100100

The selection term changes the slope by more than two. Without it, the likelihood is maximized by populations whose heavy end is common, because that is what the catalog shows. The naive fit to the detected medians repeats the same mistake in another way.

The checks behave as follows. At the posterior peak (α=2.45\alpha=2.45, mmax⁡=50.5m_{\max}=50.5) the detectable fraction is 1.0×10−31.0\times10^{-3} and the selection effective size is about 9800, far above 4Nobs=924N_{\mathrm{obs}}=92; its smallest value on the whole grid is 142, at α=7\alpha=7 and mmax⁡=40m_{\max}=40. Two independent halves of the injections give detectable fractions that agree within 0.6 standard errors at five test points.

The event terms are the weak point. GW191109_010717 has a primary near 65 solar masses. When mmax⁡m_{\max} cuts into its posterior, few of its 1500 samples survive: at the peak it has only 12.5 effective samples. 36% of the reported posterior mass lies in cells where some event has fewer than 20. Removing those cells, as GWTC-3's data-dependent cut would, moves the median mmax⁡m_{\max} from 54 to 58. We report the uncut result and show the cut beside it, because a cut that depends on the data also changes the posterior. Three events have samples above 100 solar masses, where the injections stop and the model gives zero weight; the largest share is 5.4%, for GW191127_050227.

Does the method recover a known answer?

An independent test uses synthetic catalogs with a known truth. Even-indexed found injections are resampled to a population with α=3.5\alpha=3.5 and mmax⁡=70m_{\max}=70 and become synthetic detections. Each gets a mock posterior, Gaussian in the logarithms of detector-frame chirp mass, mass ratio and redshift; odd-indexed injections estimate the selection term, so the two halves never share a signal.

Table 3.2 Coverage over 100 synthetic catalogs per row. The binomial standard error of a 90% coverage is 0.03.
Events per catalogSelection termα\alpha: 68% / 90% coveragemmax⁡m_{\max}: 68% / 90% coverage
2323yes0.610.61 / 0.910.910.790.79 / 0.950.95
2323no0.000.00 / 0.000.000.730.73 / 0.930.93
9292yes0.510.51 / 0.830.830.520.52 / 0.820.82
9292no0.000.00 / 0.000.000.470.47 / 0.740.74

Without the selection term the true slope is never inside the interval. With it, 23-event catalogs cover close to nominal, although a test of the truth percentiles still finds a small shift. At 92 events the coverage falls: the Monte Carlo error of the event terms grows with the number of events, and synthetic binaries close to the sharp 5 solar-mass edge have few effective samples. Larger catalogs need more samples per event or a smooth lower edge.

How this compares with GWTC-3

The full GWTC-3 analysis fits a power law plus a Gaussian peak to all confident events from three observing runs and finds α=3.5−0.56+0.6\alpha=3.5^{+0.6}_{-0.56}, a peak at 34−4.0+2.634^{+2.6}_{-4.0} solar masses holding a fraction λ=0.038−0.026+0.058\lambda=0.038^{+0.058}_{-0.026} of mergers, and 99% of primaries below 44−5.1+9.244^{+9.2}_{-5.1} solar masses. Abbott and colleagues, 2023, Section VI A Our single power law has no peak. To cover the excess between 30 and 40 solar masses it must fall more slowly, so a flatter slope is the expected consequence of the simpler model, not a contradiction. Our sharp support edge mmax⁡m_{\max} marks where this model's probability drops to zero. The published 99th percentile marks where its remaining tail carries one percent.

Lab tasks

Open the population Lab.

  1. Predict, then watch: choose the selection pile-up preset. Before looking, predict the catalog median from the first chapter's Euclidean estimate with α=2.35\alpha=2.35. Compare with the readout.
  2. Change one condition: in that preset, raise the slope from 2.35 to 3.5. Watch the universe curve and the catalog curve. Which one changes shape more?
  3. Compare: read the catalog median for slopes 2.35, 2.6 and 3.5. Explain why an analysis that fits the catalog curve directly, without the detection-probability curve, would return a slope that is too small.
  4. Explain: the Lab's default uses α=3.5\alpha=3.5 plus a peak, while the frozen inference gives 2.562.56 without one. Use the Lab to show how a peak at 34 changes the catalog above 30 solar masses.

Exercises

  1. Show that the prior π(N)∝1/N2\pi(N)\propto1/N^2 does not lead to the form above. What extra power of ξ\xi appears?
  2. In the frozen analysis Nobs=23N_{\mathrm{obs}}=23. With only 500 found injections, the selection effective size at α=2.6\alpha=2.6 is 212, and the Farr condition first fails at α=3.15\alpha=3.15. Is the analysis safe? What would you report?
  3. The three weights of one event are (1,1,1)(1,1,1) for one Λ\Lambda and (10,0.1,0.1)(10,0.1,0.1) for another. Compute the effective sample size for each.
  4. Why is a sharp lower edge at 5 solar masses hard on the event terms, even though every detected primary is well above 5?
Answers
  1. With π(N)∝N−2\pi(N)\propto N^{-2}, ∫NNobs−2e−Nξ dN=Γ(Nobs−1) ξ−(Nobs−1)\int N^{N_{\mathrm{obs}}-2}e^{-N\xi}\,\mathrm dN=\Gamma(N_{\mathrm{obs}}-1)\,\xi^{-(N_{\mathrm{obs}}-1)}. The likelihood then carries ξ−(Nobs−1)\xi^{-(N_{\mathrm{obs}}-1)}, one power of ξ\xi fewer, which shifts the population posterior slightly toward larger detectable fractions.
  2. Not everywhere. At the reported peak it passes, since 212>92212>92, but part of the posterior lies above α=3.15\alpha=3.15 where it fails. Either use more injections or restrict and report the region where the condition holds. With 20 000 injections it holds on the whole grid.
  3. (1+1+1)2/3=3(1+1+1)^2/3=3. (10.2)2/(100+0.01+0.01)≃1.04(10.2)^2/(100+0.01+0.01)\simeq1.04: one sample carries almost all the weight.
  4. The edge also applies to the secondary. In the frozen data six events have between 1.3% and 6.3% of their samples with m2<5m_2<5, the largest share for GW200316_215756. Those samples get zero weight, so the event term rests on fewer samples and its Monte Carlo error grows. Synthetic binaries drawn right at the edge lose a much larger share of their mock samples, which is why the 92-event catalogs suffer most.

Sources

  1. Mandel, Farr and Gair, 2019, Eqs. 8 and 9
  2. Abbott and colleagues, 2023, Appendix A
  3. Farr, 2019, Eqs. 9 to 11
  4. GWTC-3 parameter-estimation release, Zenodo 5546663
  5. O3 search sensitivity release, Zenodo 5546676

Keep reading

What this page links to directly

See this series on the content map →

Gravitational-wave populations · Reading path

From a biased catalog to a corrected mass spectrum

  1. ArticleAre the black holes we detect a fair sample of the universe?
  2. ArticleDetection probability, redshifted mass and the pair-instability gap
  3. ArticleBuild a population model from mass, redshift and detector range
  4. You are hereHierarchical inference with selection effects on public GWTC-3 samples
  5. ArticleRecompute the black-hole mass spectrum from frozen GWTC-3 data
  6. ArticleWhat GW190521 says about the mass gap and repeated mergers
Something broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy