{'fraction_non_alphanumeric': 0.01853997682502897, 'fraction_numerical': 0.0, 'mean_word_length': 5.084507042253521, '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}}
Normality Test Based on a Truncated Mean Characterization

This article generalizes a characterization based on a truncated mean to include higher truncated moments, and introduces a new normality goodness-of-fit test based on the truncated mean. The test is a weighted integral of the squared distance between the empirical truncated mean and its expectation. A closed form for the test statistic is derived. Assuming known parameters, the mean and the variance of the test are derived under the normality assumption. Moreover, a limiting distribution for the proposed test as well as an approximation are obtained. Also, based on Monte Carlo simulations, the power of the test is evaluated against stable, symmetric, and skewed classes of distributions. The test proves compatibility with prominent tests and shows higher power for a wide range of alternatives.