Hostname: page-component-cd9895bd7-hc48f Total loading time: 0 Render date: 2024-12-22T06:44:53.147Z Has data issue: false hasContentIssue false

Bayesian evidence-driven likelihood selection for sky-averaged 21-cm signal extraction

Published online by Cambridge University Press:  24 March 2023

K. H. Scheutwinkel*
Affiliation:
Astrophysics Group, Cavendish Laboratory, J. J. Thomson Avenue, Cambridge CB3 0HE, UK Kavli Institute for Cosmology, Madingley Road, Cambridge CB3 0HA, UK
W. Handley
Affiliation:
Astrophysics Group, Cavendish Laboratory, J. J. Thomson Avenue, Cambridge CB3 0HE, UK Kavli Institute for Cosmology, Madingley Road, Cambridge CB3 0HA, UK
E. de Lera Acedo
Affiliation:
Astrophysics Group, Cavendish Laboratory, J. J. Thomson Avenue, Cambridge CB3 0HE, UK Kavli Institute for Cosmology, Madingley Road, Cambridge CB3 0HA, UK
*
Corresponding author: K. H. Scheutwinkel, email: khs40@cam.ac.uk.
Rights & Permissions [Opens in a new window]

Abstract

We demonstrate that the Bayesian evidence can be used to find a good approximation of the ground truth likelihood function of a dataset, a goal of the likelihood-free inference (LFI) paradigm. As a concrete example, we use forward modelled sky-averaged 21-cm signal antenna temperature datasets where we artificially inject noise structures of various physically motivated forms. We find that the Gaussian likelihood performs poorly when the noise distribution deviates from the Gaussian case, for example, heteroscedastic radiometric or heavy-tailed noise. For these non-Gaussian noise structures, we show that the generalised normal likelihood is on a similar Bayesian evidence scale with comparable sky-averaged 21-cm signal recovery as the ground truth likelihood function of our injected noise. We therefore propose the generalised normal likelihood function as a good approximation of the true likelihood function if the noise structure is a priori unknown.

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2023. Published by Cambridge University Press on behalf of the Astronomical Society of Australia

1. Introduction

Twenty-one-centimetre cosmology (Furlanetto et al. Reference Furlanetto, Oh and Briggs2006) studies the hydrogen hyperfine transition line with a characteristic free-space wavelength of $\lambda = 21$ cm. When this spin-flip transition is emitted during Cosmic Dawn (CD) and Epoch of Reionisation (EOR), the wavelength is redshifted to lower frequencies, enabling us to probe these epochs through radio observatories. Experimental approaches such as the sky-averaged experiment or also known as the global experiment (Liu et al. Reference Liu, Pritchard, Tegmark and Loeb2013) measure the contrast between integrated absorption and emission of the 21-cm signal and the cosmic microwave background (CMB) across the whole sky. This contrast which is known as the sky-averaged 21-cm signal has a characteristic shape (Pritchard & Loeb Reference Pritchard and Loeb2008) that can be probed to study and constrain the earliest epochs of the universe.

The EDGES collaboration (Bowman et al. Reference Bowman, Rogers, Monsalve, Mozdzen and Mahesh2018a) was the first to report a deep flattened absorption feature at CD with an amplitude of $500^{+500}_{-200}$ mK centred at $78\pm 1$ MHz. However, these results are not compatible, for example, with the astrophysical models of Cohen et al. (Reference Cohen, Fialkov, Barkana and Lotem2017) which predicted a weaker absorption signal with less than a half of the amplitude of what the EDGES collaboration reported. Furthermore, the best-fitting profile reported by EDGES is not a unique solution; however, the most physically justifiable one and an unmodelled sinusoidal systematic structure can be found when changing the foreground model, for example, the number of polynomials (Hills et al. Reference Hills, Kulkarni, Meerburg and Puchwein2018). These discrepancies caused an open scientific debate (Bowman et al. Reference Bowman, Rogers, Monsalve, Mozdzen and Mahesh2018b) that can only be resolved by an independent sky-averaged experiment such as SARAS 2 and 3 (Singh et al. 2018; Reference Singh2021), LEDA (Price et al. Reference Price, Greenhill and Fialkov2018), REACH (de Lera Acedo et al. Reference de Lera Acedo, de Villiers and Razavi-Ghods2022), or many others. Possible candidates to explain the EDGES signal, if of cosmological origin, could involve new physics; an excessive cooling mechanism of the IGM through dark matter particle interaction (Barkana et al. Reference Barkana, Outmezguine, Redigolo and Volansky2018; Barkana Reference Barkana2018; Muñoz & Loeb Reference Muñoz and Loeb2018) or an enhanced radio background apart from the CMB (Jana et al. Reference Jana, Nath and Biermann2019; Fialkov & Barkana Reference Fialkov and Barkana2019; Mirocha & Furlanetto Reference Mirocha and Furlanetto2019) with standard stellar population models incapable to achieve this (Mittal & Kulkarni Reference Mittal and Kulkarni2022). However, some argue that the claim of new physics is not justified as this deep absorption feature could be a result of unmodelled systematic features such as a ground plane artefact (Bradley et al. Reference Bradley, Tauscher, Rapetti and Burns2019), calibration issues (Sims & Pober Reference Sims and Pober2020), or within the data analysis methods, for example, by changing the polynomial foreground model to maximally smooth functions (Bevins et al. Reference Bevins, Handley and Fialkov2021; Singh & Subrahmanyan Reference Singh and Subrahmanyan2019). Additionally, recent data collected by SARAS 3 (Singh et al. Reference Singh2021) reject the best-fitting profile of EDGES with 95.3% confidence.

Adding these various model components into the simulations and comparing them with the observations is the subject of current state-of-the-art sky-averaged 21-cm cosmological research. However, determining the statistical properties of this often hierarchical generative model which potentially consists of many latent hyperparameters poses a challenge for current Bayesian inference tasks. This is due to the necessity of an explicit likelihood expression to recover the parameters of our model, that is, solving the inverse problem of the sky-averaged 21-cm simulations. Oversimplification of the noise structure, for example, through a Gaussian approximation can engender inaccurate posterior inferences.

We investigate this problem of unknown noise structures, by generating antenna temperature datasets with non-Gaussian or heavy-tailed noise and study its influence on the sky-averaged 21-cm signal parameter inference by using likelihood functions of various forms. We use a Bayesian evidence-driven likelihood selection to decide which likelihood is preferred and the best approximation of the (unknown) ground truth likelihood of our dataset. This Bayesian evidence-driven likelihood selection analysis can be embedded into the Likelihood-Free Inference (LFI) paradigm Marin et al. (Reference Marin, Pudlo, Robert and Ryder2011); Papamakarios & Murray (Reference Papamakarios and Murray2016); Cranmer et al. (Reference Cranmer, Brehmer and Louppe2020); Papamakarios et al. (Reference Papamakarios, Nalisnick, Rezende, Mohamed and Lakshminarayanan2021), where the goal is to find a satisfactory approximation of the unknown ground truth likelihood function. Examples of various algorithmic LFI methods applied in 21-cm cosmology can be found in Zhao et al. (Reference Zhao, Mao, Cheng and Wandelt2022a;b) or in the broader cosmological field in Alsing et al. (2018; Reference Alsing, Charnock, Feeney and Wandelt2019); Jeffrey et al. (Reference Jeffrey, Alsing and Lanusse2020).

In Section 2, we briefly explain the Bayesian Inference framework and its parameter estimation and model comparison component. In Section 3, we describe how we generate the sky-averaged 21-cm signal antenna temperature datasets using a physically motivated forward model or also known as a simulator. In Section 4, we present various candidates of likelihood functions to statistically model our (unknown) datasets and in Section 5, we present our findings. Finally, we summarise our work in Section 6.

2. Bayesian inference and nested sampling

We use the Bayesian inference framework (Sivia & Skilling Reference Sivia and Skilling2006) to analyse a dataset D, which is a powerful statistical framework based on Bayes Theorem of conditioned probabilities:

(1) \begin{equation} \mathcal{P} = \frac{\mathcal{L} \pi}{\mathcal{Z}},\end{equation}

where $\mathcal{P} \equiv p(\theta|D, M)$ is the posterior distribution of the parameters $\theta$ of model M after the dataset D has been observed. The posterior is recovered by combining the likelihood $\mathcal{L} \equiv p(D|\theta, M)$ of the dataset with the prior $\pi \equiv p(\theta|M)$ of the parameters, a distribution containing prior assumptions before any data has been observed. The product of these two distributions is normalised by $\mathcal{Z}$ the marginalised likelihood or also known as the Bayesian evidence.

With the help of algorithms such as Markov-Chain Monte Carlo (MCMC) methods (MacKay Reference MacKay2003) one is able to address the parameter estimation problem of Bayesian inference to generate posterior samples $\theta^*$ from the prior. However, MCMC methods avoid solving the generally computationally expensive integration of the marginalised likelihood:

(2) \begin{equation} \mathcal{Z} = \int \mathcal{L}(\theta) \pi(\theta) d\theta,\end{equation}

which is an integration over all possible parameter values $\theta$ of the model M. The solution of the integral is the Bayesian evidence $\mathcal{Z}$ , a key component for model comparison in Bayesian inference. As the model comparison is essential for this analysis, we use a nested sampling-based (Skilling Reference Skilling2006) algorithm which numerically computes the Bayesian evidence. We choose PolyChord (Handley et al. Reference Handley, Hobson and Lasenby2015b;a) as our nested sampler, which utilises a slice sampling method to generate new proposal candidates subject to an evolving likelihood constraint. Additionally, PolyChord proves to be a more scalable solution than MultiNest (Feroz & Hobson Reference Feroz and Hobson2008; Feroz et al. Reference Feroz, Hobson and Bridges2009) which is vital for high-dimensional parameter spaces. Moreover, as PolyChord is a sampling-based method, we can acquire posterior samples and, therefore, address the model comparison and parameter estimation part of Bayesian inference simultaneously.

With the Bayesian evidence $Z \equiv p(D|M)$ we recover the model probabilities by applying Bayes Theorem:

(3) \begin{equation} p(M|D) = \frac{p(D|M)p(M)}{p(D)}.\end{equation}

For two competing models $M_1$ and $M_2$ which are assumed a priori equally likely $p(M_1) = p(M_2)$ , we define the Bayes factor:

(4) \begin{equation} \log \mathcal{K} = \log p(M_1|D) - \log p(M_2|D),\end{equation}

which is a Bayesian evidence posterior ratio of both models given our assumption. Hence, a positive Bayes factor indicates the preference of model $M_1$ for the dataset D.

3. Dataset simulation

To generate the dataset D, we use a physically motivated simulator. The simulator splits the dataset into a sum of three components:

(5) \begin{equation} D\equiv T_{\mathrm{data}} = T_{\mathrm{fg}} + T_{21} + T_{\mathrm{noise}},\end{equation}

where $T_{\mathrm{fg}}$ is the foreground component, $T_{21}$ the sky-averaged 21-cm signal, and $T_{\mathrm{noise}}$ the contribution of the noise model. We describe in the subsequent sections how we simulate each component.

3.1. Foreground simulation

To simulate the foreground we use the Bayesian foreground modelling framework of Anstey et al. (Reference Anstey, de Lera Acedo and Handley2021b) or also referred to as the Bayesian data analysis pipeline with its standard settings that are being used in REACH (de Lera Acedo et al. Reference de Lera Acedo, de Villiers and Razavi-Ghods2022) e.g. to quantify the influence of unmodelled systematic structure for sky-averaged 21-cm signal parameter inference (Scheutwinkel et al. 2022). The pipeline uses the Global Sky Model (GSM) map (De Oliveira-Costa et al. Reference De Oliveira-Costa, Tegmark and Gaensler2008) to construct two maps at 408 and 230 MHz frequencies. With these maps, we construct the spatially varying spectral index parameter:

(6) \begin{equation} \beta(\Omega) = \frac{\log \left(\frac{T_{230}(\Omega) - T_{\mathrm {CMB}}}{T_{408}(\Omega) - T_{\mathrm {CMB}}}\right)}{\log \left(\frac{230}{408} \right)},\end{equation}

with $T_{\mathrm{CMB}} = 2.375$ K the CMB. We choose this spatially dependent spectral index as it is physically more realistic than a constant spectral index. Moreover, Anstey et al. (Reference Anstey, de Lera Acedo and Handley2021b) investigated the influence of a uniform spectral index for the resulting sky-averaged 21-cm parameter inference and concluded that a uniform index introduces spectral features which are mimicking a sky-averaged 21-cm signal, hence, making the signal extraction unnecessarily difficult or unsuccessful. We use this spectral index $\beta(\Omega)$ to generate our foreground:

(7) \begin{equation} T_{\mathrm{sim}}(\nu, \Omega) = (T_{230}(\Omega) - T_{\mathrm{CMB}} ) \left(\frac{\nu}{230} \right)^{-\beta(\Omega)} + T_{\mathrm{CMB}},\end{equation}

where we use $T_{230}(\Omega)$ as a base map such that we generate an approximate representation of the sky in the 50-200 MHz frequency band where the sky-averaged 21-cm signal is expected. Furthermore, 230 MHz is “far enough” that there is negligible sky-averaged 21-cm signal contamination to be expected, therefore mitigating potential issues when we add a simulated absorption feature later on. We convolve the foreground map with the conical log-spiral antenna beam pattern $B_{\Omega}$ (Dyson Reference Dyson1965):

(8) \begin{equation} T_{\mathrm{fg}}(\nu) =\frac{1}{4 \pi} \int_{\Omega} B(\Omega,\nu) T_{\mathrm{sim}}(\Omega,\nu) d\Omega,\end{equation}

to compute the resulting antenna temperature $T_{\mathrm{fg}}$ . The log-spiral beam pattern is reported to have the most accurate capabilities to recover the sky-averaged 21-cm signal compared to five other antenna designs (Anstey et al. Reference Anstey, Cumner, de Lera Acedo and Handley2021a). The antenna beam pattern is FEKO simulated (Elsherbeni Reference Elsherbeni2014), assumed to be in ideal conditions using an infinite ground plane to mitigate edge effects. This setup is located at $\lambda = -30.71131$ ° and $\phi = 21.4476236$ ° at the Karoo Radio reserve in South Africa, where REACH is currently being deployed. We choose a snapshot of the sky at ‘2019-10-01 00:00:00’ UTC (LST 23.99 h), where the Milky Way centre is not at the zenith to mitigate brighter foreground contributions.

3.2. Sky-averaged 21-cm signal

To simulate the sky-averaged 21-cm signal, we add a Gaussian absorption profile which is a Gaussian approximation of the standard case of the astrophysical models of Cohen et al. (Reference Cohen, Fialkov, Barkana and Lotem2017):

(9) \begin{equation} T_{\mathrm{21}}(\nu) = - A_{21} \exp \left(- \frac{1}{2} \left(\frac{\nu - f_{0,21}}{\sigma_{21}} \right)^2 \right),\end{equation}

where $A_{21}$ is the amplitude of the absorption signal, $\sigma_{21}$ the standard deviation, $f_{0,21}$ the central frequency and $\nu$ the frequency. For our absorption feature, we set $A_{21} = 155$ mK, $\sigma_{21} = 15$ MHz and $f_{0,21} = 85$ MHz.

3.3. Antenna temperature noise

The Bayesian data analysis pipeline of Anstey et al. (Reference Anstey, de Lera Acedo and Handley2021b) has demonstrated the success of the sky-averaged 21-cm signal recovery through simulating antenna temperature dataset with homoscedastic Gaussian noise. However, this noise structure is not an accurate physically motivated choice, hence, we add varying non-Gaussian noise models onto the antenna temperature $T_{\mathrm{fg}}$ to study its influence on the sky-averaged 21-cm recovery. As non-Gaussian noise can potentially arise through imperfections in a real experimental setup or through complex unknown noise structures within a physical process, we consider one of the following noise models for each dataset which are also visualised in Figure 1.

Figure 1. Top: Comparison of standardised probability density functions. Bottom: Exemplary heteroscedastic radiometric noise realisation that decreases exponentially $\propto \nu^{-2.6}$ over a range $\nu$ .

  1. 1. Gaussian noise:

    (10) \begin{equation} p(x;\ \mu, \sigma) = \frac{1}{\sqrt{2\pi \sigma^2}} \exp \left(-\frac{(x-\mu)^2}{2\sigma^2}\right)\,,\end{equation}
    with mean $\mu$ and standard deviation $\sigma$ .
  2. 2. Generalised normal noise:

    (11) \begin{equation} p(x;\ \mu, \alpha, \beta) = \frac{\beta}{2 \alpha \Gamma (1/ \beta)} \exp \left(- (|x-\mu|/\alpha)^\beta \right)\,,\end{equation}
    with mean $\mu$ , shape parameter $\beta$ and scale parameter $\alpha$ . If $\beta = 2$ , this noise model recovers the Gaussian noise model. Furthermore, the variance of the distribution can be expressed in terms of the shape and scale parameter: $\sigma^2 = \dfrac{\alpha^2 \Gamma(3/\beta)}{\Gamma(1/\beta)}$ .
  3. 3. The Student-t distribution:

    (12) \begin{equation} p(x;\ \nu, \hat{\mu}, \hat{\sigma}) = \frac{\Gamma (\frac{\nu + 1 }{2})}{\sqrt{\nu \pi} \hat{\sigma} \Gamma (\frac{\nu}{2})}\left(1 + \frac{1}{\nu} \left( \frac{x - \hat{\mu}}{\hat{\sigma}} \right)^2 \right)^{- \frac{\nu + 1}{2}}\,,\end{equation}
    with $\nu$ degrees of freedom, the location parameter $\hat{\mu}$ , and the scale parameter $\hat{\sigma}$ . This distribution arises after the antenna temperature has been calibrated in a Bayesian way (Roque et al. Reference Roque, Handley and Razavi-Ghods2021).
  4. 4. The Cauchy distribution:

    (13) \begin{equation} p(x;\ x_0, \gamma) = \frac{1}{\pi \gamma \left[1 + \left( \frac{x-x_0}{\gamma} \right)^2 \right]}\,,\end{equation}
    with the location parameter $x_0$ and the scale parameter $\gamma$ . This distribution has an undefined mean and variance, therefore, it is a heavy-tail distribution simulating frequent outliers i.e. extremely noisy structures.
  5. 5. The radiometric noise (Kraus et al. 1986), a physically motivated radiometer model, which is defined as:

    (14) \begin{equation} \sigma_{\mathrm{radio}}(\nu) = \frac{\eta T_{\mathrm{fg}}(\nu) + (1-\eta) T_0 + T_{\mathrm{rec}}}{\sqrt{\Delta \nu \tau}}\,,\end{equation}
    where $T_{\mathrm{fg}}$ is the antenna temperature, $\eta$ the antenna radiation efficiency, $T_{\mathrm{rec}}$ the antenna receiver temperature, $\tau$ the integration time, and $\Delta \nu$ the channel width. We model the noise through a Gaussian distribution with heteroscedastic frequency-dependent radiometric noise.

For each noise model, we centre the probabilistic distribution at the mean/location parameter $\mu = T_{\mathrm{fg}}$ , set the standard deviation/scale parameter to $\sigma = 0.025$ K and vary the shape parameter if a shape parameter exists, otherwise, we vary the scale parameter. The scale parameter represents values seen in EDGES after removing the foreground and 21-cm models which are also used as default settings in the REACH data analysis pipeline. For the radiometric noise model, we assume a realistic choice of parameters with $\eta = 0.9$ , $T_0 = 293.15$ K, $T_{\mathrm{rec}} = 500$ K, $\Delta \nu = 0.1$ MHz and a variable integration time parameter $\tau$ that stays constant across the frequency band, that is, we assume there is no simulated RFI contamination that requires certain frequency channels to be time-integrated differently.

4. Bayesian modelling of dataset

After dataset creation D with varying noise $T_{\mathrm{noise}}$ , we define two models:

(15) \begin{equation} M_1 \equiv T_{M_1} = T_{\mathrm{fg}} + T_{21},\end{equation}

the signal model with $T_{\mathrm{fg}}$ the foreground component and $T_{21}$ the sky-averaged 21-cm signal component, and

(16) \begin{equation} M_2 \equiv T_{M_2} = T_{\mathrm{fg}},\end{equation}

the no-signal model, where we leave the sky-averaged 21-cm signal unmodelled. In both models, the noise contribution $T_{\mathrm{noise}}$ is modelled through its likelihood function.

The foreground component $T_{\mathrm{fg}}$ utilises the Bayesian foreground modelling framework of Anstey et al. (Reference Anstey, de Lera Acedo and Handley2021b), where the sky is split into $N_{\mathrm{reg}} = 14$ regions with each region having its own uniform index to model the spatially dependent spectral index of the whole sky to construct chromaticity functions. Hence, the foreground parameterises through their spectral indices $\theta_{\mathrm{fg}} = (\beta_{\mathrm{fg},1:N_{\mathrm{reg}}})$ . Additionally, we assume that the simulated experiment is located on an infinite ground plane. Hence, we use the same antenna beam pattern for the inference that has been used for simulating the dataset to facilitate computation. Adding a physically realistic ground plane or soil into the simulations can be studied in subsequent research. We expect that a finite ground plane will introduce systematic effects that are handled separately from the noise modelling within REACH Scheutwinkel et al. (2022) while introducing soil will be seen as a smooth loss profile of the radiation efficiency (Acedo et al. Reference Acedo, Razavi-Ghods, Troop, Drought and Faulkner2015) that can be modelled through the likelihood function.

The precise number of sky regions $N_{\mathrm{reg}}$ is arbitrarily chosen, however, there is a tendency that the simulated datasets with Gaussian noise prefer more than ten regions and the Bayesian evidence plateaus with some fluctuations for higher number of regions (Anstey et al. Reference Anstey, de Lera Acedo and Handley2021b). One can treat this parameter as an extra dimension to “tune” the Bayesian evidence to find the optimum sky region number, however, this would increase the number of parameter dimensions of the cosmological model one has to track. Therefore, we do not progress with this extra dimension as the inference is computationally expensive, and it has no significant effect on the sky-averaged 21-cm parameter inference as the posterior distributions are seen to be uncorrelated later on. We note that for the analysis of a real experimental dataset, this extra dimension has to be taken into account.

For the sky-averaged 21-cm signal component, we parameterise the Gaussian signal model of equation (9) with $\theta_{21} = (f_{0,21}, \sigma_{21}, A_{21})$ . For the noise contribution, we have varying parameterisation $\theta_{\mathrm{noise}}$ depending on the likelihood functions used. Therefore, we have the following parameterisation for each model: $\theta_{M_1} = (\theta_{\mathrm{fg}}, \theta_{21}, \theta_{\mathrm{noise}})$ and $\theta_{M_2} = (\theta_{\mathrm{fg}}, \theta_{\mathrm{noise}})$ .

4.1. Likelihood functions

For each cosmological model M, we construct the likelihood functions with:

(17) \begin{equation} \log \mathcal{L} = \log p(T_{\mathrm{data}}|\theta_M, M) =\sum_{\nu} \log p(T_{\nu}| \theta_M, M),\end{equation}

which is a sum of the noise model components $p(T_{\nu}| \theta_M, M)$ over the frequencies $\nu$ with $\theta_M$ the parameters of the model M and $T_{\nu}$ the observed antenna temperature. Depending on the choice of the likelihood function, we parameterise the likelihood in the following ways:

  • Gaussian: $ \theta_{\mathrm{noise}} = \sigma_{\mathrm{L}}$

  • Generalised normal: $\theta_{\mathrm{noise}} = (\beta_{\mathrm{L}}, \sigma_{\mathrm{L}})$

  • Cauchy: $\theta_{\mathrm{noise}} = \gamma_{\mathrm{L}}$

  • Radiometric: $\theta_{\mathrm{noise}} = (T_{\mathrm{rec}}, \eta, \sigma_{\mathrm{radio}})$

For the radiometric likelihood, we define $\sigma_{\mathrm{radio}} = 1 / \sqrt{\tau \Delta \nu}$ as the radiometric noise level. Analogous to the radiometric noise, we model its likelihood function through a Gaussian likelihood with the radiometric noise of equation (14) inserted. Moreover, we model the Student-t noise through the generalised normal likelihood as they are similar in nature.

4.2. Priors

We list the priors and their ranges in Table 1. We note that for a Bayesian analysis-focused paper, the resulting analysis and result are prior dependent. We choose (log)-uniform priors for all the model parameters as this choice maximises the entropy and puts equal weight across all possible posterior models. One could argue that other prior distributions are more suitable if one understands the underlying system well enough, however, as we do not know what could be a reasonable prior for this problem, we continue our analysis with uniform priors as an enforcement of the principle of maximum entropy. The prior ranges are then set to values that seem the most physically realistic for our experimental setup e.g. setting the foreground region parameters $\beta_{1:N_{\mathrm{reg}}}$ to minimum and maximum values that were explicitly calculated in equation (6).

Table 1. Prior choices for the foreground spectral indices $\beta_{1:N_{\mathrm{reg}}}$ , sky-averaged 21-cm signal shape $f_{0,21}$ , $\sigma_{21}$ , $A_{21}$ and the varying noise parameters.

4.3. PolyChord initialisation

As $\texttt{PolyChord}$ uses slice sampling within the nested sampling algorithm to draw proposal candidates, $\texttt{PolyChord}$ has sampling initialisations that we list in Table 2. Additionally, we run PolyChord twice for each model M and dataset D. In the second run, we use the posterior sample mean and sample variance for the foreground region parameters $\beta_{1:N_{\mathrm{reg}}}$ of the first iteration to construct narrower prior ranges $\bar \theta^* \pm 5\sigma^*$ where we keep the same prior shape as our initial prior distributions. This ensures proper posterior exploration around high posterior mass regions found in the first run when encountering a potential multimodal problem. An evidence correction has been applied afterwards. This method is adapted from and described in more detail in Anstey et al. (Reference Anstey, de Lera Acedo and Handley2021b) and Petrosyan & Handley (Reference Petrosyan and Handley2022).

Table 2. PolyChord initialisations with $n_{\mathrm{live}}$ the number of live points, $n_{\mathrm{prior}}$ the number of randomly drawn prior samples before execution, $n_{\mathrm{fail}}$ the failed spawn criterion, and $n_{\mathrm{repeats}}$ the number of slice sampling repeats which is proportional to the model dimension $N_{\mathrm{dim}}$ . The precision_criterion is the termination criterion and do_clustering activates the clustering algorithm within a nested sampling run.

5. Results

For each dataset D, we use PolyChord to numerically compute the Bayesian evidence $\log \mathcal{Z}$ for the sky-averaged 21-cm signal model $M_1$ and the no-signal model $M_2$ . In Figures 2 and 3, we show the corresponding Bayesian evidences and the Bayes factors of the competing signal models for all considered datasets with various injected noise structures. Additionally, for each model M, we also vary its likelihood function and present the Bayes factor likelihood comparison. We also provide a Table 4 that lists the computed Bayesian evidences of this study. In Figure 4, we show exemplary sky-averaged 21-cm signal recoveries when using varying likelihood functions for different noise structures and their implications on the signal parameter inferences.

Figure 2. Bayesian evidence $\log \mathcal{Z}$ (first row), signal model comparison ( $\Delta M = M_1 - M_2$ ) (second row) and likelihood comparison Bayes factor (third row) for the Gaussian and generalised normal noise datasets. The errors are in the order of $\sigma_{\log \mathcal{Z}} \approx 0.3$ .

Figure 3. Bayesian evidence $\log \mathcal{Z}$ (first row), signal model comparison ( $\Delta M = M_1 - M_2$ ) (second row) and likelihood comparison Bayes factor (third row) for the Cauchy and radiometric noise datasets. The errors are in the order of $\sigma_{\log \mathcal{Z}} \approx 0.3$ .

Figure 4. Foreground subtracted residuals (beige) and sky-averaged 21-cm signal recovery (blue) for the Cauchy noise case ( $\gamma = 0.025$ ) (top) and radiometric noise case ( $\tau = 10^4$ s) (bottom) when using varying likelihood functions for inference. The upper case shows signs of biased signal mean estimates and the lower case show signs of higher parameter variance.

5.1. Generalised normal noise

For the generalised normal noise datasets, we note that the signal model $M_1$ has a higher Bayesian evidence than the no-signal model $M_2$ irrespective of the noise shape parameter $\beta_D$ and their likelihood functions. This indicates that the sky-averaged 21-cm signal model, the ground truth model of the dataset, is always preferred over the no-signal model with Bayes factors $\log K_{\Delta M} > 34$ . However, we see a change in likelihood preference once we change the shape parameter $\beta_D$ of the dataset.

For the case $\beta_{\mathrm{D}}=2$ , we observe that the Gaussian likelihood has a higher Bayesian evidence than the generalised normal likelihood for the signal model $M_1$ with a Bayes factor of $\log K_{M_1, \Delta \mathcal{L}} = 1.53 \pm 0.39$ . This is due to the Occams razor penalising the generalised normal likelihood for having an extra shape parameter $\beta_\mathrm{L}$ in its likelihood function that is not necessarily needed to model the Gaussian noise distribution of the dataset, hence, preferring the Gaussian likelihood function. When we decrease the shape parameter $\beta_{\mathrm{D}} < 2$ , the noise distribution turns to a heavy-tailed distribution, therefore, allowing more extreme noise realisations. For these cases e.g. $\beta_D \leq 1.2$ , there is a clear preference ( $\log K_{M_1, \Delta \mathcal{L}} < -3.50 \pm 0.41$ ) for the generalised normal likelihood over the Gaussian likelihood with the signal model having the highest Bayesian evidence of all models considered. This is due to the added flexibility of the generalised normal likelihood through its shape parameter $\beta_\mathrm{L}$ . Similar behaviour can be seen when increasing the shape parameter i.e. concentrating most of the probability mass around the mean of the noise distribution. This likelihood preference has an impact on the sky-averaged 21-cm signal recovery which tends to be biased when using the Gaussian likelihood i.e. the posterior sky-averaged 21-cm signal amplitude is larger than expected. For example in the $\beta_\mathrm{D} =1$ case shown in Figure 5, the posterior estimates of the amplitude (ground truth: $A_{21} = 155$ mK) using a Gaussian likelihood are $\bar A^*_{21} \approx 185 \pm 18$ mK whereas the generalised normal likelihood recovers the signal more accurately (here: $\bar A^*_{21} \approx 170 \pm 14$ mK).

For the no-signal model $M_2$ , there is a tendency that the Gaussian likelihood is slightly more preferred than the generalised normal distribution for heavy-tailed noise ( $\log K_{M_2, \Delta \mathcal{L}} \approx 1.90 \pm 0.40)$ . This is due to the relatively weak sky-averaged 21-cm signal within the dataset. The no-signal model can use the foreground model to “fit away” the sky-averaged 21-cm signal and some of the extremer noise structures, hence, not requiring the additional flexibility of the generalised normal likelihood.

We confirm this by regenerating the dataset with a larger sky-averaged 21-cm signal $A_{21} = 500$ mK. For these datasets and for the no-signal model $M_2$ , the generalised normal likelihood is preferred over the Gaussian likelihood, as seen in Table 3. For these cases, the foreground and Gaussian likelihood function alone can not account for this larger structure, hence, requiring the additional flexibility of the generalised normal likelihood. We can see similar behaviour when we regenerate datasets where we increase the scale of the non-Gaussian noise to higher values $\sigma_{\mathrm{noise}}= 50$ mK. Here, the apparent preference of the Gaussian likelihood for the no-signal model vanishes, as the Bayes Factor is around zero.

Table 3. The Bayes factor for the no-signal model $M_2$ when using the Gaussian and generalised normal likelihood functions applied on a slightly modified dataset i.e. stronger sky-averaged 21-cm signal or larger noise. The noise parameter refers to the generalised normal noise distribution of the dataset.

Figure 5. Marginalised posterior estimates of the sky-averaged 21-cm signal parameters when using a Gaussian likelihood (red) versus a generalised normal likelihood function (blue) for an antenna temperature dataset containing generalised normal noise with $\beta_D=1$ . The black dashed lines represent the ground truth values of the parameters.

Table 4. Bayesian evidences $\log \mathcal{Z}$ of all models and likelihoods considered for a simulated antenna temperature dataset with varying degrees and types of noise.

5.2. Student-t noise

For the Student-t noise datasets, we see a tendency in favour of the Gaussian likelihood for the true signal model $M_1$ when the degree of freedom parameter $\nu$ is increasing (e.g. for $\nu = 30$ $\log K_{M_1, \Delta \mathcal{L}} = 1.59 \pm 0.40$ ). This is due to the Student-t distributions property to converge (in distribution) to a Gaussian distribution the more underlying samples one has. Therefore, Occam’s razor penalises the generalised normal likelihood for its shape parameter and selects the Gaussian likelihood with the true signal model as the datasets best-fitting choice. Moreover, the signal recovery is for both likelihoods almost identical with no signs of bias in the sky-averaged 21-cm signal posterior parameters as these Student-t noise distributions are similar to the Gaussian distribution, therefore modelled well with the likelihoods considered.

Consequently, when we decrease the degree of freedom parameter $\nu$ , the generalised normal distribution will be preferred over the Gaussian likelihood model with Bayes factors of $\log K_{M_1, \Delta \mathcal{L}} < -1.57 \pm 0.40$ . However, we note for these heavy-tailed noise cases $\nu \leq 5$ , the no-signal model $M_2$ has a higher Bayesian evidence than the signal model $M_1$ with Bayes factors $\log K_{\Delta M } < -6$ . This indicates that the signal-to-noise ratio is too low to confidently detect a sky-averaged 21-cm signal, therefore, preferring the simpler no-signal model. In terms of likelihood preference, the no-signal model has a tendency to prefer the simpler Gaussian likelihood function similar to the generalised normal noise case ( $\log K_{M_2, \Delta \mathcal{L}} \approx 1.00 \pm 0.40$ ). Hence, the foreground model is used to “fit away” the sky-averaged 21-cm signal features and absorbing the structure into the noise, therefore, not needing the extra flexibility offered by the shape parameter of the generalised normal likelihood function.

5.3. Cauchy noise

For the Cauchy noise datasets, we conduct the inference with three different likelihoods. We use the Gaussian, generalised normal and Cauchy likelihood which is the ground truth likelihood function of the dataset. Here, the Gaussian likelihood has the lowest Bayesian evidence, irrespective of the scale $\gamma$ and model we consider. Only when decreasing the scale parameter $\gamma$ significantly, the Gaussian likelihoods perform gradually better, however still significantly unfavoured with $\log K_{M_1, \Delta \mathcal{L}} < -140$ .

In the signal model comparison, the true signal model $M_1$ is always preferred with $\log K_{\Delta M, \mathrm{Gauss}} > 2.7$ , $\log K_{\Delta M, \mathrm{Gen. norm}} > 17$ and $\log K_{\Delta M, \mathrm{Cauchy}} > 15$ . Furthermore, as expected, the Bayesian evidence is the highest for the Cauchy likelihood signal model, as it is the true noise model of the dataset. However, we note that the generalised normal likelihood performs almost equally well on the absolute log-evidence scale i.e. in the likelihood comparison, the Bayes factor is on a similar scale for the Cauchy and generalised normal likelihood function (e.g. for $\gamma = 0.025$ we have $\log K_{M_1, \mathrm{Gauss - Gen. norm}} =-340.35 \pm 0.39$ and $\log K_{M_1, \mathrm{Gauss - Cauchy}} = -356.00 \pm 0.37$ ) when compared to the Gaussian likelihood model. We note that these Bayes factors show a clear preference for the Cauchy likelihood when directly comparing it with the generalised normal likelihood function, however this Bayes factor difference is significantly smaller than the Gaussian likelihood comparison.

This Bayesian evidence difference between the likelihoods is noticed in the sky-averaged 21-cm signal recovery which is shown in Figure 4. The generalised normal and Cauchy likelihood (ground truth) recovers the sky-averaged 21-cm signal well, however when using the Gaussian likelihood the sky-averaged 21-cm signal tends to have a noticeably larger amplitude i.e. the Gaussian likelihood fails to recover the true signal parameters. Thus, the generalised normal likelihood function can be considered as a good approximation of the true Cauchy likelihood function for sky-averaged 21-cm signal antenna temperature datasets containing Cauchy noise i.e. extreme noisy features.

5.4. Radiometric noise

For the radiometric noise datasets, we see a similar behaviour as the Cauchy noise case. The Gaussian likelihood always has the lowest Bayesian evidence for varying integration times $\tau$ . For these datasets, the true radiometric likelihood has the highest Bayesian evidence. Similarly, as in the Cauchy noise datasets, the generalised normal likelihood performs reasonably well, hence, accounting for heteroscedastic noise structures through its shape parameter (e.g. for $\tau = 10^4 s$ we have $\log K_{M_1, \mathrm{Gauss - Gen. norm}} =-41.69 \pm 0.38$ and $\log K_{M_1, \mathrm{Gauss - Radiometric}} = -79.89 \pm 0.39$ ). This Bayes factor difference is more prominent for lower integration times. Moreover, this difference can be seen in the sky-averaged 21-cm signal recovery of Figure 4 where the generalised normal and radiometric likelihood function recovers more tightly constrained posterior parameters in contrast to the homoscedastic Gaussian likelihood function that is more uncertain in the signal shape.

In the signal comparison, we see a change in model preference at integration times of $\tau \sim 10^3$ s. For lower integration times, the signal-to-noise ratio is too low to make a confident sky-averaged 21-cm signal detection, therefore, preferring the no-signal model for these integration times e.g. $\log K_{\Delta M, \mathrm{Gen. norm}} \leq 0 \pm 0.42$ and $\log K_{\Delta M, \mathrm{Radiometric}} \leq 0 \pm 0.30$ . Consequently, when we increase the integration time the radiometric noise got sufficiently suppressed such that the signal model will be preferred.

However, with the Gaussian likelihood the signal model $M_1$ is preferred again with Bayes Factors reaching up to $\log K_{\Delta M} = 37.11 \pm 0.39 $ if one keeps lowering the integration time. This is due to the models attempt to fit for a sky-averaged 21-cm signal imitated by the noise, therefore, incorrectly recovering the sky-averaged 21-cm signal parameters. We can mitigate this false sky-averaged 21-cm signal parameter recovery by changing the central frequency $f_{0,21}$ prior range. However, we do not see this behaviour for the generalised normal and radiometric likelihoods, as they correctly determine that these are noise structures, whereas the relatively constrained Gaussian likelihood failed to do so. Hence, we conclude that the generalised normal likelihood is a better approximation of the radiometric likelihood function if radiometric noise is present.

6. Conclusion

For Bayesian inference, the necessity for an explicit likelihood function poses a challenging task for cosmological state-of-the-art data analysis. Usually, it is easier to simulate a dataset for a physical process based on some input parameters than to identify the often latent and hierarchical statistical properties in each model component and solving the inverse problem. Therefore, these complex noise structures can make the likelihood intractable and a more simplified approximation such as a Gaussian likelihood is frequently used. The task of finding an approximation of the ground truth likelihood function is known as likelihood-free inference (LFI) with often complex and involved algorithms executed to achieve this. However, we demonstrated that LFI can also be achieved through a simple Bayesian evidence-driven likelihood analysis in which we show that the Gaussian likelihood function is not always the best choice as an approximation of the ground truth likelihood function of the dataset. Although we note, that in ‘true’ LFI the non-parametric likelihood approximations are much more expressive than those considered here, nonetheless they command much larger Occam penalties given by the virtue of their expressiveness. This forms the subject of ongoing work.

We used a physically motivated simulator to generate antenna temperature datasets where we injected noise of various complexity and scales. For each dataset, we injected one of the following noise structures: Gaussian noise, generalised normal noise, Student-t noise, Cauchy noise or radiometric noise. As each of these noise distributions has a varying amount of free parameters, we varied the shape parameter, if the distribution has a shape parameter, otherwise we varied its scale parameter.

After dataset creation, we defined two models: the true signal model $M_1$ of the dataset containing the foreground, the sky-averaged 21-cm signal and the noise contribution and the no signal model $M_2$ which does not contain any sky-averaged 21-cm signal component.

We modelled the foreground by dividing the sky into $N_{\mathrm{reg}} = 14$ regions of equal spectral index and the sky-averaged 21-cm signal through a Gaussian-shaped absorption feature and the noise contribution through the likelihood function. As we injected noise with various structures, we investigated the following likelihood functions: the Gaussian, generalised normal, Cauchy and the radiometric likelihood.

By providing priors for our model parameters, we used PolyChord, a nested sampling-based algorithm, to numerically compute the Bayesian evidence of the model and likelihood. Afterwards, we selected the preferred likelihood through the Bayesian evidence for each model and dataset.

We found that if the dataset contains Gaussian or Gaussian-like noise (e.g. Student-t with high $\nu$ ), the Gaussian likelihood function has the highest Bayesian evidence for the true signal model $M_1$ of the dataset. However, if the noise is non-Gaussian/heavy-tailed e.g. Cauchy or radiometric noise, the Gaussian likelihood has always a lower Bayesian evidence with a tendency for biased signal parameter recovery than the generalised normal and ground truth likelihood functions for the datasets studied. Consequently, for these noise structures, the respective ground truth likelihoods e.g. Cauchy likelihood for Cauchy noise or the radiometric likelihood for radiometric noise has the highest Bayesian evidence. However, the generalised normal likelihood is only marginally worse on Bayesian evidence scale with comparable sky-averaged 21-cm signal recovery than the ground truth likelihood functions. This is due to the flexibility added by the shape parameter of the generalised normal distribution to account for extremely noisy features.

To summarise, this analysis demonstrated the influence of varying likelihoods on sky-averaged 21-cm signal recovery, and it showed that one can get biased posterior parameter results such as amplitude enhancement or more uncertain shape parameters by using the oversimplified Gaussian likelihood function for inference. Hence, only if one is certain that the noise structure of the antenna temperature dataset is Gaussian one should use the Gaussian likelihood function for inference. Moreover, in the general case, if one is certain about the precise noise structure, one should always use its ground truth likelihood function. However, when one is uncertain about the noise structure, which in principle holds true for every complex physical process such as the challenging task of sky-averaged 21-cm signal recovery, one should use the generalised normal likelihood as a preferred first approximation for the true unknown likelihood function and expand on it with further analysis. The generalised normal likelihood offers the flexibility to account for more complex unknown noise structure, and it generalises the Gaussian distribution by including it as a special case. Hence, this form of preference of the generalised normal likelihood selected by the Bayesian evidence is a simple way of finding a good approximation of the ground truth likelihood with wider applications in the likelihood-free inference paradigm by quantifying how well the likelihood estimate found through an algorithmic method is.

Acknowledgement

This work was performed using resources provided by the Cambridge Service for Data Driven Discovery (CSD3) operated by the University of Cambridge Research Computing Service, provided by Dell EMC and Intel using Tier-2 funding from the Engineering and Physical Sciences Research Council (capital grant EP/T022159/1), and DiRAC funding from the Science and Technology Facilities Council. KHS would like to thank Dominic Anstey for providing the core Bayesian data analysis pipeline used in REACH and the Hans Werthén foundation of the Royal Swedish academy of Engineering Sciences. WH is funded by a Gonville & Caius College Research Fellowship and Royal Society University Research Fellowship. EdLA is funded by the Science and Technologies Facilities Council Ernest Rutherford Fellowship.

Data availability

The nested sampling posterior samples are available on Zenodo at: https://doi.org/10.5281/zenodo.6473727

References

Acedo, E. d. L., Razavi-Ghods, N., Troop, N., Drought, N., & Faulkner, A. J. 2015, ExA, 39, 567, arXiv:1512.01453 [astro-ph]Google Scholar
Alsing, J., Charnock, T., Feeney, S., & Wandelt, B. 2019, MNRAS, 488, 4440 CrossRefGoogle Scholar
Alsing, J., Wandelt, B., & Feeney, S. 2018, MNRAS, 477, 2874, arXiv: 1801.01497CrossRefGoogle Scholar
Anstey, D., Cumner, J., de Lera Acedo, E., & Handley, W. 2021a, MNRAS, 509, 4679 Google Scholar
Anstey, D., de Lera Acedo, E., & Handley, W. 2021b, MNRAS, 506, 2041 Google Scholar
Barkana, R. 2018, Nature, 555, 71, number: 7694 Publisher: Nature Publishing GroupCrossRefGoogle Scholar
Barkana, R., Outmezguine, N. J., Redigolo, D., & Volansky, T. 2018, PhRvD, 98, 103005, arXiv: 1803.03091Google Scholar
Bevins, H. T. J., Handley, W. J., Fialkov, A., et al. 2021, MNRAS, 502, 4405 Google Scholar
Bowman, J. D., Rogers, A. E. E., Monsalve, R. A., Mozdzen, T. J., & Mahesh, N. 2018a, Nature, 555, 67, number: 7694 Publisher: Nature Publishing Group Google Scholar
Bowman, J. D., Rogers, A. E. E., Monsalve, R. A., Mozdzen, T. J., & Mahesh, N. 2018b, Nature, 564, E35, number: 7736 Publisher: Nature Publishing Group Google Scholar
Bradley, R. F., Tauscher, K., Rapetti, D., & Burns, J. O. 2019, ApJ, 874, 153, arXiv: 1810.09015CrossRefGoogle Scholar
Cohen, A., Fialkov, A., Barkana, R., & Lotem, M. 2017, MNRAS, 472, 1915, arXiv: 1609.02312Google Scholar
Cranmer, K., Brehmer, J., & Louppe, G. 2020, PNAS, 117, 30055, publisher: National Academy of Sciences Section: Colloquium PaperGoogle Scholar
de Lera Acedo, E., de Villiers, D. I. L., Razavi-Ghods, N., et al. 2022, Nature Astronomy, 1, publisher: Nature Publishing GroupGoogle Scholar
De Oliveira-Costa, A., Tegmark, M., Gaensler, B. M., et al. 2008, MNRAS, 388, 247 Google Scholar
Dyson, J. 1965, IEEE Transactions on Antennas and Propagation, 13, 488, conference Name: IEEE Transactions on Antennas and PropagationGoogle Scholar
Elsherbeni, A. Z. A. 2014, Antenna analysis and design using FEKO electromagnetic simulation software (Edison, NJ : SciTech Publishing, an imprint of the IET, [2014] ©2014)Google Scholar
Feroz, F., & Hobson, M. P. 2008, MNRAS, 384, 449Google Scholar
Feroz, F., Hobson, M. P., & Bridges, M. 2009, MNRAS, 398, 1601 Google Scholar
Fialkov, A., & Barkana, R. 2019, MNRAS, 486, 1763, arXiv: 1902.02438Google Scholar
Furlanetto, S., Oh, S. P., & Briggs, F. 2006, PhR, 433, 181, arXiv: astro-ph/0608032Google Scholar
Handley, W. J., Hobson, M. P., & Lasenby, A. N. 2015a, MNRAS, Letters, 450, L61, arXiv: 1502.01856Google Scholar
Handley, W. J., Hobson, M. P., & Lasenby, A. N. 2015b, MNRAS, 453, 4385, arXiv: 1506.00171Google Scholar
Hills, R., Kulkarni, G., Meerburg, P. D., & Puchwein, E. 2018, Nature, 564, E32, arXiv: 1805.01421Google Scholar
Jana, R., Nath, B. B., & Biermann, P. L. 2019, MNRAS, 483, 5329, arXiv: 1812.07404Google Scholar
Jeffrey, N., Alsing, J., & Lanusse, F. 2020, MNRAS, 501, 954, arXiv: 2009.08459CrossRefGoogle Scholar
Kraus, J. D., Tiuri, M., Räisänen, A. V., & Carr, T. D. 1986, Radio Astronomy (Cygnus-Quasar Books), google-Books-ID: KtVFAQAAIAAJGoogle Scholar
Liu, A., Pritchard, J. R., Tegmark, M., & Loeb, A. 2013, PhRvD, 87, 043002, arXiv: 1211.3743Google Scholar
MacKay, D. J. C. 2003, Information Theory, Inference, and Learning AlgorithmsGoogle Scholar
Marin, J.-M., Pudlo, P., Robert, C. P., & Ryder, R. 2011, Approximate Bayesian Computational methods, Tech. rep., publication Title: arXiv e-prints ADS Bibcode: 2011arXiv1101.0955M Type: articleGoogle Scholar
Mirocha, J., & Furlanetto, S. R. 2019, MNRAS, 483, 1980, arXiv: 1803.03272Google Scholar
Mittal, S., & Kulkarni, G. 2022, arXiv:2203.07733 [astro-ph], arXiv: 2203.07733Google Scholar
Muñoz, J. B., & Loeb, A. 2018, Nature, 557, 684, arXiv: 1802.10094CrossRefGoogle Scholar
Papamakarios, G., & Murray, I. 2016, Fast $\epsilon$ -free Inference of Simulation Models with Bayesian Conditional Density Estimation, Tech. rep., publication Title: arXiv e-prints ADS Bibcode: 2016arXiv160506376P Type: articleGoogle Scholar
Papamakarios, G., Nalisnick, E., Rezende, D. J., Mohamed, S., & Lakshminarayanan, B. 2021, J Mach Learn Res, 22, 1 Google Scholar
Petrosyan, A., & Handley, W. J. 2022, SuperNest: accelerated nested sampling applied to astrophysics and cosmology, arXiv:2212.01760 [astro-ph, physics:physics], doi: 10.48550/arXiv.2212.01760CrossRefGoogle Scholar
Price, D. C., Greenhill, L. J., Fialkov, A., et al. 2018, MNRAS, 478, 4193 Google Scholar
Pritchard, J. R., & Loeb, A. 2008, PhRvD, 78, 103511, arXiv: 0802.2102Google Scholar
Roque, I. L. V., Handley, W. J., & Razavi-Ghods, N. 2021, MNRAS, 505, 2638, arXiv: 2011.14052Google Scholar
Scheutwinkel, K. H., Acedo, E. d. L., & Handley, W. 2022, PASAu, 39, e052, publisher: Cambridge University PressCrossRefGoogle Scholar
Sims, P. H., & Pober, J. C. 2020, MNRAS, 492, 22, arXiv: 1910.03165Google Scholar
Singh, S., & Subrahmanyan, R. 2019, ApJ, 880, 26, arXiv: 1903.04540Google Scholar
Singh, S., Subrahmanyan, R., Shankar, N. U., et al. 2018, ExA, 45, 269 Google Scholar
Singh, S., T., J. N., Subrahmanyan, R., et al. 2021, arXiv:2112.06778 [astro-ph], arXiv: 2112.06778Google Scholar
Sivia, D. S., & Skilling, J. 2006, Data analysis: A Bayesian tutorial, 2nd edn., Oxford science publications (Oxford, England: Oxford University Press)Google Scholar
Skilling, J. 2006, Bayesian Analysis, 1, 833, publisher: International Society for Bayesian AnalysisGoogle Scholar
Zhao, X., Mao, Y., Cheng, C., & Wandelt, B. D. 2022a, ApJ, 926, 151, publisher: American Astronomical SocietyGoogle Scholar
Zhao, X., Mao, Y., & Wandelt, B. D. 2022b, arXiv:2203.15734 [astro-ph], arXiv: 2203.15734Google Scholar
Figure 0

Figure 1. Top: Comparison of standardised probability density functions. Bottom: Exemplary heteroscedastic radiometric noise realisation that decreases exponentially $\propto \nu^{-2.6}$ over a range $\nu$.

Figure 1

Table 1. Prior choices for the foreground spectral indices $\beta_{1:N_{\mathrm{reg}}}$, sky-averaged 21-cm signal shape $f_{0,21}$, $\sigma_{21}$, $A_{21}$ and the varying noise parameters.

Figure 2

Table 2. PolyChord initialisations with $n_{\mathrm{live}}$ the number of live points, $n_{\mathrm{prior}}$ the number of randomly drawn prior samples before execution, $n_{\mathrm{fail}}$ the failed spawn criterion, and $n_{\mathrm{repeats}}$ the number of slice sampling repeats which is proportional to the model dimension $N_{\mathrm{dim}}$. The precision_criterion is the termination criterion and do_clustering activates the clustering algorithm within a nested sampling run.

Figure 3

Figure 2. Bayesian evidence $\log \mathcal{Z}$ (first row), signal model comparison ($\Delta M = M_1 - M_2$) (second row) and likelihood comparison Bayes factor (third row) for the Gaussian and generalised normal noise datasets. The errors are in the order of $\sigma_{\log \mathcal{Z}} \approx 0.3$.

Figure 4

Figure 3. Bayesian evidence $\log \mathcal{Z}$ (first row), signal model comparison ($\Delta M = M_1 - M_2$) (second row) and likelihood comparison Bayes factor (third row) for the Cauchy and radiometric noise datasets. The errors are in the order of $\sigma_{\log \mathcal{Z}} \approx 0.3$.

Figure 5

Figure 4. Foreground subtracted residuals (beige) and sky-averaged 21-cm signal recovery (blue) for the Cauchy noise case ($\gamma = 0.025$) (top) and radiometric noise case ($\tau = 10^4$ s) (bottom) when using varying likelihood functions for inference. The upper case shows signs of biased signal mean estimates and the lower case show signs of higher parameter variance.

Figure 6

Table 3. The Bayes factor for the no-signal model $M_2$ when using the Gaussian and generalised normal likelihood functions applied on a slightly modified dataset i.e. stronger sky-averaged 21-cm signal or larger noise. The noise parameter refers to the generalised normal noise distribution of the dataset.

Figure 7

Figure 5. Marginalised posterior estimates of the sky-averaged 21-cm signal parameters when using a Gaussian likelihood (red) versus a generalised normal likelihood function (blue) for an antenna temperature dataset containing generalised normal noise with $\beta_D=1$. The black dashed lines represent the ground truth values of the parameters.

Figure 8

Table 4. Bayesian evidences $\log \mathcal{Z}$ of all models and likelihoods considered for a simulated antenna temperature dataset with varying degrees and types of noise.