{'fraction_non_alphanumeric': 0.01910828025477707, 'fraction_numerical': 0.0, 'mean_word_length': 5.548611111111111, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Nonparametric density estimation: A comparative study

Motivated by finance applications, the objective of this paper is to assess the performance of several important methods for univariate density estimation focusing on the robustness of the methods to heavy tailed target densities. We consider four approaches: a fixed bandwidth kernel estimator, an adaptive bandwidth kernel estimator, the Hermite series (SNP) estimator of Gallant and Nychka, and the logspline estimator of Kooperberg and Stone. We conclude that the logspline and adaptive kernel methods are superior for fitting heavy tailed densities. Evaluation of the convergence rates of the SNP estimator for the family of Student-t densities reveals poor performance, measured by Hellinger error. In contrast, the logspline estimator exhibits good convergence independent of the tail behavior of the target density. These findings are confirmed in a small Monte-Carlo experiment.