{'fraction_non_alphanumeric': 0.016923076923076923, 'fraction_numerical': 0.0, 'mean_word_length': 5.259615384615385, '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}}
The General Validity of the Law of Comparative Advantage

It is well known that the law of comparative advantage breaks down when applied to individual commodities or pairs of commodities in a many-commodity world. This paper shows that the law is nonetheless valid if restated in terms of averages across all commodities. Specifically, a theorem and several corollaries are derived which establish correlations between vectors of trade and vectors containing relative-autarky-price measures of comparative advantage. These results are proven in a general many-commodity model that allows for tariffs, transport costs, and other impediments to trade.