{'fraction_non_alphanumeric': 0.025458248472505093, 'fraction_numerical': 0.0, 'mean_word_length': 5.301282051282051, '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}}
A unified framework for calculating aggregate commodity prices from a census dataset

Economic data collection from commodities producers in the United States typically consists of revenues and quantities. While the data collected in some sectors such as fisheries are a census of the population, features of the population such as prices, must be calculated. Unit values are widely used as a price measure to impose a single price in place of dispersed ratios of revenue to quantity from individual producers but alternatives exist. In this paper, different linear aggregation procedures are used to calculate price measures, such as ratio-based calculations (e.g., ratio-of-means, mean-of-ratios), or estimation by ordinary least squares. There are non-trivial differences in the prices calculated depending on the procedure. This paper proposes a unified framework, including Bayesian estimation, for considering the tradeoffs inherent in the different methods commonly employed.