A flexible method for estimating luminosity functions via Kernel Density Estimation -- II. Generalization and Python implementation

Abstract

We propose a generalization of our previous KDE (kernel density estimation) method for estimating luminosity functions (LFs). This new upgrade further extend the application scope of our KDE method, making it a very flexible approach which is suitable to deal with most of 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 at http://github.com/yuanzunli/kdeLF with extensive documentation available at http://kdelf.readthedocs.org/en/latest~.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…