A flexible method for estimating luminosity functions via kernel density Estimation. II. Generalization and python implementation

Zunli Yuan, Xibin Zhang, Jiancheng Wang, Xiangming Cheng, Wenjie Wang

Research output: Contribution to journalArticleResearchpeer-review

2 Citations (Scopus)

Abstract

We propose a generalization of our previous kernel density estimation (KDE) method for estimating luminosity functions (LFs). This new upgrade further extends the application scope of our KDE method, making it a very flexible approach that is suitable to deal with most bivariate LF calculation problems. From the mathematical point of view, usually the LF calculation can be abstracted as a density estimation problem in the bounded domain of {Z1<z<Z2,L>flim(z)} . We use the transformation-reflection KDE method ( φ) to solve the problem, and introduce an approximate method ( φ1) based on one-dimensional KDE to deal with the small sample size case. In practical applications, the different versions of LF estimators can be flexibly chosen according to the Kolmogorov-Smirnov test criterion. Based on 200 simulated samples, we find that for both cases of dividing or not dividing redshift bins, especially for the latter, our method performs significantly better than the traditional binning method φbin . Moreover, with the increase of sample size n, our LF estimator converges to the true LF remarkably faster than φbin . To implement our method, we have developed a public, open-source Python toolkit, called kdeLF. With the support of kdeLF, our KDE method is expected to be a competitive alternative to existing nonparametric estimators, due to its high accuracy and excellent stability. kdeLF is available online at GitHub with further extensive documentation available.

Original languageEnglish
Article number10
Number of pages15
JournalThe Astrophysical Journal Supplement Series
Volume260
DOIs
Publication statusPublished - 2022

Keywords

  • Luminosity function
  • Astrostatistics techniques
  • Markov chain Monte Carlo
  • Smoothing

Cite this