{'fraction_non_alphanumeric': 0.027983539094650206, 'fraction_numerical': 0.01316872427983539, 'mean_word_length': 5.718232044198895, '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}}
A new distribution‐free k‐sample test: Analysis of kernel density functionals

A novel distribution‐free k‐sample test of differences in location shifts based on the analysis of kernel density functional estimation is introduced and studied. The proposed test parallels one‐way analysis of variance and the Kruskal–Wallis (KW) test aiming at testing locations of unknown distributions. In contrast to the rank (score)‐transformed non‐parametric approach, such as the KW test, the proposed F‐test uses the measurement responses along with well‐known kernel density estimation (KDE) to estimate the locations and construct the test statistic. A practical optimal bandwidth selection procedure is also provided. Our simulation studies and real data example indicate that the proposed analysis of kernel density functional estimate (ANDFE) test is superior to existing competitors for fat‐tailed or heavy‐tailed distributions when the k groups differ mainly in location rather than shape, especially with unbalanced data. ANDFE is also highly recommended when it is unclear whether test groups differ mainly in shape or location. The Canadian Journal of Statistics 48: 167–186; 2020 © 2019 Statistical Society of Canada