{'fraction_non_alphanumeric': 0.012999071494893221, 'fraction_numerical': 0.003714020427112349, 'mean_word_length': 5.125, '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}}
Adjusting Spatial-Entropy Measures for Scale and Resolution Effects

In this paper we revisit the concept of entropy as it manifests itself in spatial terms. We focus specifically on the question of how entropy measures applied to different urban contexts can be adjusted to allow for meaningful comparisons between cities with differing geographic dimensions. It is well known that entropy is affected by the number of geographic units over which it is computed. As a result, the size and number of census tracts in an urban area constitute an intervening factor in making direct comparisons. Some authors advocate addressing this problem by normalizing entropy to its maximum value to derive a ‘relative entropy’ measure. We prove that this conventional normalization procedure does not suffice, and we show further that Theil's decomposition method does provide the proper solution. We then demonstrate how to apply this technique through the use of census data for US cities in 2000, with the empirical results clearly underlying the importance of making these adjustments.