English

Fitting covariance matrix models to simulations

Cosmology and Nongalactic Astrophysics 2022-12-21 v2

Abstract

Data analysis in cosmology requires reliable covariance matrices. Covariance matrices derived from numerical simulations often require a very large number of realizations to be accurate. When a theoretical model for the covariance matrix exists, the parameters of the model can often be fit with many fewer simulations. We write a likelihood-based method for performing such a fit. We demonstrate how a model covariance matrix can be tested by examining the appropriate χ2\chi^2 distributions from simulations. We show that if model covariance has amplitude freedom, the expectation value of second moment of χ2\chi^2 distribution with a wrong covariance matrix will always be larger than one using the true covariance matrix. By combining these steps together, we provide a way of producing reliable covariances without ever requiring running a large number of simulations. We demonstrate our method on two examples. First, we measure the two-point correlation function of halos from a large set of 1000010000 mock halo catalogs. We build a model covariance with 22 free parameters, which we fit using our procedure. The resulting best-fit model covariance obtained from just 100100 simulation realizations proves to be as reliable as the numerical covariance matrix built from the full 1000010000 set. We also test our method on a setup where the covariance matrix is large by measuring the halo bispectrum for thousands of triangles for the same set of mocks. We build a block diagonal model covariance with 22 free parameters as an improvement over the diagonal Gaussian covariance. Our model covariance passes the χ2\chi^2 test only partially in this case, signaling that the model is insufficient even using free parameters, but significantly improves over the Gaussian one.

Keywords

Cite

@article{arxiv.2206.05191,
  title  = {Fitting covariance matrix models to simulations},
  author = {Alessandra Fumagalli and Matteo Biagetti and Alexandro Saro and Emiliano Sefusatti and Anže Slosar and Pierluigi Monaco and Alfonso Veropalumbo},
  journal= {arXiv preprint arXiv:2206.05191},
  year   = {2022}
}

Comments

Accepted for publication in JCAP. 24 pages, 8 figures

R2 v1 2026-06-24T11:46:47.914Z