{'fraction_non_alphanumeric': 0.0161892901618929, 'fraction_numerical': 0.0, 'mean_word_length': 5.232558139534884, '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}}
An expectation-based space-time scan statistic for ZIP-distributed data

An expectation-based scan statistic is proposed for the prospective monitoring of spatio-temporal count data with an excess of zeros. The method, which is based on an outbreak model for the zero-inflated Poisson distribution, is shown to be superior to traditional scan statistics based on the Poisson distribution in the presence of structural zeros. The spatial accuracy and detection timeliness of the proposed scan statistic is investigated by means of simulation, and an application on weekly cases of Campylobacteriosis in Germany illustrates how the scan statistic could be used to detect emerging disease outbreaks. An implementation of the method is provided in the open source R package scanstatistics available on CRAN.