{'fraction_non_alphanumeric': 0.014038876889848811, 'fraction_numerical': 0.0, 'mean_word_length': 5.18, '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}}
On a projective ensemble approach to two sample test for equality of distributions

In this work, we propose a robust test for the multivariate two-sample problem through projective ensemble, which is a generalization of the Cramérvon Mises statistic. The proposed test statistic has a simple closed-form expression without any tuning parameters involved, it is easy to implement and can be computed in quadratic time. Moreover, our test is insensitive to the dimension and consistent against all fixed alternatives, it does not require the moment assumption and is robust to the presence of outliers. We study the asymptotic behaviors of the test statistic under the null and two kinds of alternative hypotheses. We also suggest a permutation procedure to approximate critical values and establish its consistency. We demonstrate the effectiveness of our test through extensive simulation studies and a real data application.