{'fraction_non_alphanumeric': 0.018867924528301886, 'fraction_numerical': 0.01040988939492518, 'mean_word_length': 5.031372549019608, '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 extensive and intensive margins of Spanish trade

ABSTRACT Recent empirical research highlights that differences in trade flows across countries, products and years are governed by two margins: the intensive margin and the extensive margin. The analysis of the relative contribution of each margin is very important to determine which policies can be more efficient to foster trade at the aggregate, geographic, product or firm level. We use the whole universe of firm level transaction data to analyse the relative contribution of these margins to changes in Spanish trade flows during the 1997–2007 period. We first apply the methodology proposed by Bernard et al. (2009) to decompose trade variation over time into three components: net entry of firms, product-country switching and value growth by regular trading firms. The first two components correspond to the extensive margin and the last one refers to the intensive margin. We find that short-run changes in exports and imports are governed by firms’ intensive margin; however, in the long-run, both the extensive and the intensive margins are equally important to foster trade. We also examine the importance of the trade margins at the cross-sectional level for the year 2007. We find that large differences in the Spanish trade flows across countries and products, especially in the case of exports, are explained by the number of firms that participate in trade, which is consistent with the fact that the number of trading partners decline significantly with distance.