{'fraction_non_alphanumeric': 0.020202020202020204, 'fraction_numerical': 0.022727272727272728, 'mean_word_length': 5.147286821705427, '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}}
Discounting older data

This article describes two general methods for discounting older data in the real‐time analysis of a data stream. In the first method, the distribution of a data stream is estimated by a series of orthogonal basis functions, and the coefficients of this estimate are updated as new data arrive by combining windowing and exponential smoothing techniques. The second method involves sequential hypothesis testing. When new data arrive, test significance level is adjusted by alpha‐investing, which raises or reduces the significance level of subsequent hypothesis tests on the basis of whether the previous hypothesis test rejects or fails to reject the null hypothesis. Both these methods are nonparametric in nature. WIREs Comp Stat 2011 3 30–33 DOI: 10.1002/wics.134