{'fraction_non_alphanumeric': 0.010526315789473684, 'fraction_numerical': 0.002631578947368421, 'mean_word_length': 5.504273504273504, '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}}
Structural Gravity and the Gains from Trade Under Imperfect Competition

We extend structural gravity models of bilateral trade flows to oligopolistic competition. We show that conventional gravity estimates do not only reflect trade costs but also market power. Our simple estimation procedure generalizes the standard gravity model and disentangles exogenous trade frictions and endogenous market power distortions. We use our estimated model to counterfactually increase trade costs by abolishing the European Single Market. We find that domestic firms’ markups in EU member countries increase by 2 to 6 percent. Importantly, welfare effects of trade liberalization are much more pronounced due to the change in competition among domestic and foreign firms.