Scholarly article on topic 'The granularity of Spanish exports'

The granularity of Spanish exports Academic research paper on "Social and economic geography"

CC BY
0
0
Share paper
Academic journal
SERIEs
OECD Field of science
Keywords
{""}

Academic research paper on topic "The granularity of Spanish exports"

CrossMark

SERIEs

DOI 10.1007/s13209-017-0157-x

ORIGINAL ARTICLE

The granularity of Spanish exports

Juan de Lucio1 • Raul Minguez1 • Asier Minondo23 • Francisco Requena4

Received: 21 December 2016 / Accepted: 23 June 2017 © The Author(s) 2017. This article is an open access publication

Abstract Using data for all exporters, we show that it is a small group of firms that dominate exports in Spain. For example, in 2015 the top 200 firms were responsible for half of Spanish exports. This concentration has not changed substantially over the 1997-2015 period. The dominance of a few firms, a phenomenon denoted as granularity, also defines the specialization of Spanish exports. If top exporters disappeared, Spain would lose its revealed comparative advantage in 60% of industries, which

We would like to thank Francisco Olarte for preparing the SABI data used in the empirical analyses and Jordi Paniagua for his valuable suggestions and comments. We would also like to thank the Customs and Excise Department of the Spanish Revenue Agency (AEAT) for providing essential information for this paper. We gratefully acknowledge financial support from the Spanish Ministry of Economy and Competitiveness (MINECO ECO2015-68057-R and ECO2016-79650-P, co-financed with FEDER), the Basque Government Department of Education, Language Policy and Culture (IT885-16), and the Generalitat Valenciana (Prometeo II-2014-053).

B Asier Minondo

aminondo@deusto.es

Juan de Lucio jlucio@nebrija.es

Raúl Mínguez rminguez@nebrija.es

Francisco Requena francisco.requena@uv.es

Universidad Nebrija, Calle de Santa Cruz de Marcenado, 27, 28015 Madrid, Spain

Deusto Business School, University of Deusto, Camino de Mundaiz 50, 20012 Donostia - San Sebastián, Spain

Instituto Complutense de Estudios Internacionales, Madrid, Spain

Department of Economic Structure, University of Valencia, Avda. dels Tarongers s/n, 46022 Valencia, Spain

Published online: 05 July 2017

Springer

account for 45% of all Spanish exports. Finally, granularity explains around one-third of the growth in Spanish exports.

Keywords Exports ■ Granularity ■ Superstars ■ Spain ■ Firm-level data JEL F1 ■ F10 ■ F23

1 Introduction

Exports are dominated by only a few firms. For example, the top 1% of exporters in Spain accounted for 72% of exports in 2015. As stated by Gabaix (2011), these large firms, also known as superstars, are the incompressible grains of economic activity. If only a few firms account for most of the exports, they are likely to play an important role in shaping the countries' export specialization and dynamics. In this paper, we use Spanish firm-level export data to investigate this pivotal role.

We first show that exports are highly concentrated by firm, and this concentration has not changed substantially over the 1997-2015 period. We also document heterogeneity in export concentration across products. Second, superstars contribute substantially to trade specialization in many industries. If we removed the top 10 firms in each industry, Spain would lose its revealed comparative advantage in 60% of industries, which account for 45% of total exports. This result suggests that superstars, along with country-level fundamentals, play a very important role in determining Spain's trade pattern. Finally, we show that superstars can explain around one-third of the variation in aggregate exports in Spain.

This paper is related to the recent empirical literature analyzing the granularity of exports. In particular, it is related to the work by Freund and Pierola (2015), who analyze the export concentration in 32 developing countries, investigating whether the countries' trade patterns are defined by superstars.1 Our research adds to the literature analyzing the weight and role of top exporters in Spain, a major world exporter. Our analysis is relevant, since there are few studies that analyze the concentration of exports with a sample that includes all exporters. In addition to this, our analysis allows us to compare the role of top exporters when defining export specialization in developing countries, along with their role in developed countries. We also add to the literature showing that export concentration is stable over time and documenting that export flows, where a flow is defined as a particular 8-digit product shipped to a particular destination, are also concentrated by firm. We also report heterogeneity in export granularity across products, especially in more disaggregated classifications. Finally, we add to the literature measuring the idiosyncratic contribution of top firms to the variation of exports.

In a broader sense, our research also relates to the literature that has introduced granularity into trade models (Eaton et al. 2012; Bernard et al. 2016), and to the literature that has applied these models to estimate the role of fundamental and granular forces

1 Other papers, such as those by Canals et al. (2007), Mayer and Ottaviano (2008), Bernard et al. (2009) and Marin et al. (2015) also document export concentration by firm.

in shaping the comparative advantage (Gaubert and Itskhoki 2016). Our research provides empirical support for this class of models. Finally, our paper is also related to the literature that has investigated how granularity might affect important economic phenomena, such as aggregate volatility (Gabaix 2011; Giovanni and Levchenko 2012; Giovanni et al. 2014), welfare (Giovanni and Levchenko 2013), and trade balance (Canals et al. 2007). We add to this literature investigating the idiosyncratic contribution of superstars to the variation of exports.

The rest of the paper is split into four different sections. Section 2 describes the concentration of exports by firm. Section 3 analyzes whether superstars define the specialization of Spanish exports. Section 4 investigates the contribution of top firms to the growth in Spanish exports. Section 5 presents the main conclusions of the paper.

2 The concentration of exports

2.1 Database

To calculate the concentration of Spanish exports, we have used the export transactions database, which is elaborated by the Customs and Excise Department of the Spanish Tax Agency. For each transaction, we know the firm's identification code, the product according to the 8-digit Combined Nomenclature (CN) classification2, the destination of the export transaction, the free-on-board (FOB) value in euros of the transaction, and the exported quantity (in weight metric and/or units).3 Every year, new CN8 codes are added to the classification and some CN codes are dropped. Since some sections of the paper compare data for different years, we use the Van Beveren et al. (2012) algorithm to create a consistent product classification over the period of analysis.4 Using this database, we first analyze, how export concentration varies by the number of top firms. Second, we study whether concentration also occurs in export flows, where a flow is defined as a particular 8-digit product shipped to a particular destination. Finally, we analyze how sensitive concentration is to different product classifications.

2.2 Concentration of exports by firm

We begin by analyzing the concentration of exports by firm. Table 1 presents the concentration of exports for the top firm, and the top 5, top 50, top 200 and top 1000 firms over the 1997-2015 period. We use absolute numbers to identify top firms, rather than percentages (e.g. top 1% of exporters), because the number of exporters increases with the GDP (Fernandes et al. 2015).

In 2015, the top Spanish firm accounted for 3% of all exports. This firm exported 3725 times more than the average exporter, and almost 2 million times more than the

2 An example of an 8-digit product is CN 87120030 Bicycles with ball bearings.

3 Due to their special geographical situation and fiscal status, we remove the Spanish firms registered in the two autonomous cities located in Africa (Ceuta and Melilla).

4 We have a consistent classification of 7650 products categories over the 1997-2015 period.

median exporter. If we remove all the very small export operations (< 6000 euros)5, the top Spanish firm exported 939 times more than the average exporter, and 10,354 times more than the median exporter.

The top 5 firms represented 10% of all exports, the top 50 accounted for almost one-third of all exports, the top 200 performed almost half of all exports, and the top 1000 were responsible for two-thirds of all exports. These figures suggest that the concentration of exports by firm is very high in Spain. If we removed the top 1000 firms, which only represented 0.7% of all exporting firms in 2015, 67% of all exports would vanish. Table 1 also shows that over the 1997-2015 period, there has been a moderate reduction in the concentration of exports by the top 5 firms. In contrast, the concentration of exports is similar for the top firm and the top 50 firms, and increases slightly for the top 200 and top 1000 firms.

Export concentration by firm is higher for goods than for services. Minondo (2013) shows that on average, over the 2001-2007 period, the top 1% of firms account for 49% of service exports, the top 5% of firms for 71% of service exports, and the top 10% of firms for 80% of service exports. For goods, the figures for the same period are 63, 85 and 93% for the top 1, 5 and 10%, respectively.

We want to compare the concentration of exports by firm with the concentration of total sales and employment. For that purpose, we combined the information from two databases: AEAT-Customs, which provides export sales data, and the Bureau Van Dick SABI database, which provides total sales and employment data. The latter database provides detailed financial and accounting records of Spanish firms that deposited their accounts in the Business Register. Unfortunately, we cannot match the AEAT-Customs and SABI databases, because we lack a common firm identifier. Hence, results should be interpreted with caution. Since the AEAT-Customs database only includes goods exports, to maximize comparability, we have selected exporters operating in the goods sectors (agriculture, industry, wholesale and retail) only from SABI. Table 2 presents the data for 2013, the last year available in SABI. Export concentration is similar to sales concentration (which includes sales in domestic and foreign markets), but higher than employment concentration. For example, whereas the top firm exported 3% of all Spanish exports, the firm with the largest number of employees only accounted for 1% of employment. Regarding the top 1000 firms, they made up more than two-thirds of exports, whereas they accounted for less than half of employment.6

Concentration of exports by firm is not a particular characteristic of the Spanish economy. Table 3 compares the concentration of exports by firm in Spain with other countries. Since Spanish data is based on the universe of exporters, we only compared Spain with countries where the export concentration by firm was also calculated using data for all exporters. First, we compared Spain with the sample of 32 developing countries over the 2004-2008 period analyzed in Freund and Pierola (2015). They reported that the top exporter accounted for 14% of total exports, and the top 5 exporters for around 33% of total exports. The figures for Spain are 3 and 10%, respectively. These figures show that export concentration was much larger in developing countries than

5 Up to this value, European Union (EU) exporters do not have to certify that the product meets the EU's rules of origin http://madb.europa.eu/madb/rulesoforigin_preferential.htm.

6 Bernard et al. (2009) also documented a higher granularity in exports than in employment for the US.

Table 1 Share of superstars in Spanish exports, 1997-2015. Source: Own calculations, based on the Customs database

1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015

Top 1 3 4 4 4 3 3 3 3 3 3 3 3 3 2 2 3 3 2 3

Top 5 13 14 13 12 12 11 12 13 11 11 11 10 11 10 9 10 10 10 10

Top50 32 31 31 31 29 28 29 30 31 32 32 30 30 31 32 32 33 33 32

Top 200 45 44 43 44 42 41 42 44 45 46 46 45 45 46 48 48 49 48 48

Top 1000 65 64 64 64 63 62 64 65 65 66 66 66 66 67 68 68 68 68 67

Table 2 Concentration in exports vs. output and employment, 2013 (% of total). Source: Authors' own calculations, based on the SABI and Customs databases. To make the databases comparable, we have selected exporters operating in the goods sectors (agriculture, industry and retail) from SABI

Top firm Top 5 Top 50 Top 200 Top 1000

Exports 3 10 33 49 68

Total sales 3 12 32 47 67

Employment 2 5 16 28 48

Table 3 Concentration of exports by firm in different countries (% of total exports). Source: Spain's data come from authors' own calculations, based on the Customs database and correspond to 2015. The data for developing countries come from Freund and Pierola (2015) and are calculated for the 2004-2008 period. Belgium, France and Norway's data come from Mayer and Ottaviano (2008) and are for 2003. US data is for 2000, and come from Bernard et al. (2009)

Country Top exporter Top 5 exporters

Spain 3 10

Developing countries 14 33

Country Top 1% of exporters Top 5% of exporters Top 10% of exporters

Spain 72 92 97

Belgium 48 73 84

France 68 88 94

Norway 53 81 91

USA 81 93 96

in Spain. The next rows present data for three European countries in 2003: Belgium, France and Norway, as calculated by Mayer and Ottaviano (2008).7 They provide data for the top 1, 5 and 10% of exporters. To facilitate comparisons, we also calculated these percentages for Spain. The top 1% of firms held 72% of all exports in Spain, 48% in Belgium, 68% in France and 53% in Norway. The top 5% of exporters accounted for 92% of total exports in Spain, 73% in Belgium, 88% in France and 81% in Norway. Finally, the top 10% of exporters held 97% of total exports in Spain, 84% in Belgium, 94% in France and 91% in Norway. These figures point to the fact that the concentration of exports in Spain was similar to that found in a large developed country, such as France. This conclusion is confirmed in the last row, which presents US data for 2000, as calculated by Bernard et al. (2009). They reported that the top 1% of firms account for 81% of US exports, the top 5% of firms for 93% of total exports and the top 10% of firms for 96% of total exports. To sum up, the concentration of exports by

7 These authors also present data for other European countries, but based on samples that do not include all exporters.

Fig. 1 The distribution of exports in the top 1000 firms, 2015. Source: Own calculations, based on the Customs database

Arm in Spain is much lower than in developing countries, and similar to that found in other large developed countries.8

Figure 1 presents the distribution of exports from the top 1000 firms in 2015. We rank the top exporting firm as first in the ranking. The figure shows that exports drop dramatically as we descend in the ranking. Using the methodology proposed by Gabaix and Ibragimov (2011), we tested whether a Pareto distribution fits the distribution of exports in the top 1000 Spanish firms. The regression concludes that 99.5% of the differences in the (log) rank of firms is explained by the (log) exports. This result confirms that a Pareto distribution fits the distribution of exports in the top 1000 exporters very well.9

To finish this first set of analyses, we investigated the differences between the top 1000 firms and the rest of exporters. As shown in Table 4, superstars export more products to more destinations than ordinary firms. In particular, the median superstar exports to 30 different destinations, whereas the median ordinary firm only exports to one destination. However, there are superstars that only export to one destination, and there are a few ordinary firms that export to many destinations. Among the superstars, the maximum number of destinations is 141.

Differences between superstars and ordinary exporters are also salient regarding products. Among the superstars, the median firm exported 21 products in 2015, whereas the median ordinary firm exported only one. As before, we observe large differences among firms in each group. Among superstars, there are firms that export up to 1946 products and firms that export only one product. Among ordinary firms, while most firms export only one product, there is a firm that exports up to 1420 different products.

8 We do not compare our results with Canals et al. (2007) or Marin et al. (2015), since they use samples that do not include all exporters.

9 The regression yields a Pareto parameter equal to 1.1.

Table 4 Superstar exporters versus ordinary exporters, 2015. Source: Own calculations, based on the Customs database

Firms Median Mean SD Minimum Maximum

Destinations

Superstars 1000 30 38 29 1 141

Ordinary 146,118 1 3 7 1 116

Products

Superstars 1000 21 57 129 1 1946

Ordinary 146,118 1 5 15 1 1420

SD Standard deviation

Fig. 2 Concentration of exports for different levels of aggregation, 2015. Source: Own calculations, based on the Customs database

2.3 Zooming in on concentration

The Customs database provides the export value by firm, product and destination. This allows us to zoom in on the concentration of exports. In particular, we want to analyze how the concentration of exports differs when we zoom in from exports by firm to exports by firm-destination, exports by firm-product and exports by firm-destination-product. We denote these combinations as export flows. Figure 2 presents the results of the zoom-in exercises. As a benchmark, we have represented the accumulated percentage of exports up to the top 1000 firms (solid black line). This line reproduces the figures presented in Table 1 for 2015.

The top firm-product dyad represents 1.1% of all Spanish exports, the top firmdestination dyad includes 1.0% of all exports, and the top firm-destination-product triad accounts for 0.7% of all exports. This compares to the 3% of all Spanish exports made by the top Spanish firm. Although the zoom-in process reduces the concentration

of exports, it is remarkable that the top firm-destination-product triad still represents almost 1% of all Spanish exports.10

As shown in Fig. 2, the absolute difference in concentration between firms and our zoom-in categories widens as we increase the number of firms that are included in the set of top firms. However, the concentration of exports in the firm-product dyads, firmdestination dyads and firm-destination-product triads remains high. For example, the top 1000 firm-product dyads represent more than 51% of Spanish exports, compared to 67% for the top 1000 firms. For the firm-destination dyad, the figure is 43% and for the firm-destination-product triad it is 33%. These results suggest that exports are not only concentrated by firms, but also by destinations and products within each firm. Figure 4 shows the concentration of exports by the different categories using data for 1997. The results do not change.

2.4 Concentration across product classifications

In this subsection, we analyze whether the concentration of exports by firm is homogeneous across products. We have performed the analysis for three different product classifications. First, we used the 8-digit CN classification, consistent throughout time, which includes 7650 products. Second, we aggregated exports at the Harmonized System 2-digit level, which includes 96 products, denoted as chapters.11 Finally, we aggregated exports at the section level, which constitutes the first level of disaggrega-tion of the Harmonized System classification, and includes 21 categories. The latter two classifications are also used in the next section, where we analyze the influence of top firms in Spanish export specialization. To perform these analyses, we use data for the year 2015, and calculate the share of the top five firms in each product's total

exports.12

Figure 3 presents the histograms for the three different product disaggregations. In the CN classification, panel (a), the top five firms account for almost 100% of exports in the majority of products. In particular, in the median product, the share of the top five firms in total exports is 91%. In panel (b), we define products at the chapter level. Since products are much more aggregated in this classification, the share of the top five firms in total exports is reduced significantly. In the median chapter, the share of the top five firms is 38%. We also observe a larger heterogeneity across chapters. For example, the share of chapters where the top five firms account for between 10 and 20% of exports is similar to the share of chapters where the top five firms account for between 40 and 50% of exports. The concentration is even lower for sections (panel (c)), where the top five firms account for 25% of exports in the median section.

10 It is interesting to note that the top firm-destination-product triad in 2015 did not belong to the top exporter.

11 There is no Chapter 77, and we do not have data on Chapters 99 and 98.

12 We also performed the analyses using 1997 data. The results are not altered (Fig. 5 in the "Appendix").

Fig. 3 Concentration of exports in the top 5 firms across products, 2015 a CN 8-digit classification (7560 products) b Export chapters (96 chapters) c Export sections (21 sections). Source: Own calculations, based on the Customs database

3 Do superstars determine the specialization of Spanish exports?

Following the methods of Freund and Pierola (2015), we analyzed how Spain's revealed comparative advantage would change if we removed superstar firms. To do so, we calculated Balassa's revealed comparative advantage index for industry k (RCAbk), where RCA stands for the revealed comparative advantage and the lower case b stands for Balassa, which is defined as follows

RCAbk = Xesp,k/Xesp (1)

xworld ,k / X world

where xesp,k and xworld,k are Spanish and world exports of product k, respectively; and Xesp and Xworld are total Spanish and world exports, respectively.

We calculated the Balassa index for each of the 96 HS 2-digit chapters in 2015. We selected this classification to ensure a large enough number of firms per category.13 To test the robustness of our results, we replicated the analysis using 1997 data. First, we calculated the Balassa index with all Spanish firms. Then, for each chapter, we re-calculated the index, excluding the chapter-specific superstar firms. We used the United Nations' Comtrade database to calculate world export aggregates.14

Table 5 shows the results of the calculations. First, we present the RC Ab index for all chapters. The chapter with the highest RC Ab index is cork and articles made from cork (HS2 code 45). Spain also has high RCAb indexes in the chapters related to food and the food industry, such as edible vegetables, edible fruit, vegetables, fruit and food preparations, and beverages. Spain also shows a high RCAb in the ceramic industry, railways and automobiles, pharmaceutical products, apparel and footwear, and iron and steel products. Note that automobiles is the chapter that accounts for the largest share in exports (18.44%) and pharmaceuticals is the fifth largest (4.19%).

The column RC Ab All includes all exporters and identifies the chapters with a clear RCAb (> 1.1) and with a borderline RCAb (0.9 < RCAb < 1.1). The chapters left in blank have a RCAb < 0.9. There are 40 chapters, out of 96, in which Spain has a clear RCAb; 4 chapters have a borderline RCAb and 52 chapters do not have RC Ab. The next column, RC Ab no Top 1, identifies whether the chapter would lose its RC Ab if the top firm was removed from the market. The number of chapters with a clear RC Ab drops to 29. However, 7 chapters move to a borderline RC Ab, and only 4 chapters clearly lose their RCAb.15 Hence, only 10% of the chapters (4 over 40) clearly lose their RC Ab when we remove the top firm. However, the influence of the top firms on RCAb increases as we widen the set of superstar firms. When we exclude the top 5 firms, the number of chapters where Spain commands a clear RCAb drops from 40 to 17, with five of these industries moving to the bordeline RCAb situation. When we enhance the set of superstars to the top 10 firms, the number of industries with RCAb drops from 40 to 13, with three of these industries moving to the borderline situation. Hence, the top 5 firms determine the RCAb in 35% of the

13 All chapters have at least 48 firms exporting more than 18,000 euros.

15 These are explosives; rubber; articles of apparel and clothing; and zinc.

14 Available at http://comtrade.un.org/db/.

apparel and clothing; and zinc.

Table 5 The contribution of superstars to RCAb, 2015. Balassa Index. Source: Own calculations, based on the Comtrade and the Customs databases

HS2 code Description % of exports RCAb index RCAb All RCAb No Top 1 RCAb no Top 5 RCAb no Top 10

1 Live animals 0.24 1.85 Yes Yes Bordeline

2 Meat and edible meat 1.89 2.61 Yes Yes Yes Yes

3 Fish 1.05 1.71 Yes Yes Yes Yes

4 Dairy products 0.51 1.06 Bordeline Bordeline

5 Products of animal origin 0.09 1.66 Yes Yes Bordeline

6 Live trees and other plants 0.12 0.98 Bordeline Bordeline

7 Edible vegetables 2.22 5.46 Yes Yes Yes Yes

8 9 Edible fruit Coffee and tea 3.35 0.20 5.27 0.69 Yes Yes Yes Yes

10 Cereals 0.17 0.26

11 Milling products 0.10 0.89

12 Oil seed 0.23 0.41

13 Lac. gums and resins 0.12 2.80 Yes Yes Bordeline

14 Vegetable products 0.00 0.47

15 Animal and vegetable fats and oils 1.49 2.74 Yes Yes Yes Yes

16 Preparations of meat and fish 0.51 1.82 Yes Yes Yes Bordeline

17 Sugars and sugar confectionery 0.22 0.88

18 Cocoa and cocoa preparations 0.25 0.89

19 Preparations of cereal 0.59 1.46 Yes Yes Bordeline

20 Vegetable, fruit, and food preparations 1.11 3.03 Yes Yes Yes Yes

21 Miscellaneous edible preparations 0.58 1.45 Yes Yes

HS2 code Description

% of exports RCAb index RCAb All RCAb No Topi RCAb no Top 5 RCAb no Top 10

Beverages 1.62

Residues and waste from the food 0.39 industry

Tobacco 0.11

Salt, sulphur, earth, stone, plaster. 0.49 lime and cement

Ores and slag 0.67

Mineral fuels 5.15

Inorganic chemicals 0.49

Organic chemicals 1.67

Pharmaceutical products 4.19

Fertilizers 0.31

Tanning/dyeing extracts 0.97

Essential oils and resinoids; 1.42 perfumery and cosmetics

Soap 0.48

Albuminoidal substitutes. 0.08 starches, glues and enzymes

Explosives 0.03

Photographic or cinematographic 0.03 goods

Miscellaneous chemical products 1.21

Plastics 4.05

Rubber 1.39

2.46 0.85

0.42 1.90

0.70 0.49 0.72 0.70 1.33 0.79 2.08 2.02

1.41 0.45

1.13 1.15 1.31

Yes Yes

Yes Yes Yes

Yes Yes

Yes Yes

Bordeline

Bordeline

Bordeline Bordeline

HS2 code Description % of exports RCAb index RCAb All RCAb No Top 1 RCAb no Top 5 RCAb no Top 10

41 Raw hides and skins 0.28 1.48 Yes Yes Yes Bordeline

42 Leather articles 0.45 0.94 Bordeline

43 Furskins and artificial fur 0.04 0.50

44 Wood and articles of wood 0.54 0.69

45 Cork and cork items 0.09 9.25 Yes Yes Yes Yes

46 Manufactures of straw 0.00 0.31

47 Wood pulp and fibrous cellulosic material 0.21 0.78

48 Paper and paperboard 1.36 1.36 Yes Yes Bordeline

49 Printed books, newspapers and pictures 0.30 1.24 Yes Yes Bordeline

50 Silk 0.00 0.11

51 Wool 0.05 0.56

52 Cotton 0.24 0.70

53 Other vegetable textile libers 0.01 0.51

54 Man-made filaments 0.24 0.81

55 Man-made staple libers 0.19 0.78

56 Wadding, felt and nonwoven; yarns; twine, cordage 0.17 1.09 Bordeline

57 Carpets and other textile floor coverings 0.04 0.38

58 Special woven fabrics 0.07 0.81

59 Impregnated, coated, cover/laminated textile fabric 0.12 0.81

60 Knitted or crocheted fabrics 0.12 0.56

HS2 code Description

% of exports

RCAb index RCAb All RCAb No Topi RCAb no Top 5 RCAb no Top 10

Articles of apparel and clothing, 1.69 knitted or crocheted

Articles of apparel and clothing, 2.48

not knit or crochet

Other made up textile articles 0.24

Footwear 1.27

Headgear 0.04

Umbrellas 0.01

Feathers, artificial flowers, and 0.00

human hair articles

Articles made of stone, plaster, 0.64

and cement

Ceramic products 1.18

Glass and glassware 0.50

Pearls, precious stones, and 0.75 metals

Iron and steel 2.59

Iron or steel articles 2.62

Copper 1.03

Nickel 0.01

Aluminium 1.28

Lead 0.01

Zinc 0.31

Tin 0.01

0.67 1.50 0.70 0.45 0.09

1.15 0.19

1.26 1.48 1.33 0.09 1.24 0.35 3.45 0.34

Yes Yes

Yes Yes

Yes Yes Yes

Bordeline

Bordeline

Bordeline

Bordeline

Yes Yes

Yes Yes

Bordeline

HS2 code Description % of exports RCAb index RCAb All RCAb No Top 1 RCAb no Top 5 RCAb no Top 10

81 Other base metals 0.02 0.25

82 Tools, implements and cutlery 0.30 0.77

83 Miscellaneous articles of base metal 0.48 1.18 Yes Bordeline

84 Nuclear reactors, boilers, machinery 8.33 0.67

85 Electrical and electronic equipment 5.76 0.40

86 Railways 0.46 1.87 Yes Bordeline

87 Vehicles other than railways 18.44 2.18 Yes Yes Yes

88 89 90 Air crafts Ships Optical, photo, technical, medical, etc apparatus 1.74 0.28 1.11 0.82 0.34 0.33

91 Clocks and watches 0.18 0.52

92 Musical instruments 0.01 0.34

93 Arms and ammunition 0.08 0.75

94 Furniture; bedding, mattress, material support and cushion 1.12 0.74

95 Toys, games and sports requisites 0.40 0.68

HS2 code Description % of exports RCAb index RCAb All RCAb No Top I RCAb no Top 5 RCAb no Top 10

96 Miscellaneous manufactured 0.26 0.85

articles

97 Works of art. collectors' pieces 0.04 0.22

and antiques

Industries with RCAb > 1.1 40 29 17 13

Industries with 0.9 <RCAb< 1.1 4 9 9 3

Industries with RCAb < 0.9 52 58 70 80

RCAb index is calculated when all firms are included. "Yes" denotes that the HS2 chapter has a RCAb >1.1. "Bordeline" denotes that the HS2 chapter has a RCAb between 0.9 and 1.1. If blank, the HS2 chapter has a RCAb < 0.9. RCAb no Top 1. RCAb no Top 5. RCAb no Top 10 are calculated removing the top. top 5 and top 10 firms from the chapter respectively

chapters (14 chapters clearly losing their RCAb out of 40 chapters), and the top 10 Arms in 60% of the chapters (24 chapters losing their RCAb out of 40 chapters). The chapters in which Spain loses RCAb when the top 10 firms are removed account for 45% of all Spanish exports, and 67% of exports in the chapters in which Spain has a clear RCAb.16

Table 8 in the "Appendix" presents the results based on the 1997 data. Spain had 36 chapters with a clear revealed comparative advantage, 8 industries with a borderline revealed comparative advantage and 52 industries without a revealed comparative advantage. When we remove the top exporter, the top 5 exporters and the top 10 exporters, Spain loses a clear revealed comparative advantage in 4,10 and 20 industries, respectively. Hence, the top exporter determines revealed comparative advantage in 11% of industries, the top 5 exporters in 31% of industries and the 10 exporters in 55% of industries. These results are similar to those found for 2015.

The results presented in Table 5 suggest that superstars have a large influence on export specialization. However, we should qualify this statement, since we do not know how the remaining firms would behave if the superstars disappeared. Using a different methodology, Gaubert and Itskhoki (2016) analyze the contribution of granular (superstars-based) comparative advantage and fundamental (country-based) comparative advantage to differences in the share of exports across French industries. They find that granular comparative advantage explains 30% of the differences, and fundamental comparative advantage explains 70% of the differences. The contribution of granular comparative advantage is similar to the contribution of the top 5 firms to the RCAb in Spain.17

As a robustness exercise, we calculated the regression-based revealed comparative advantage index (RCAr) proposed by Costinot et al. (2012), where the lower case r stands for regression-based. There are two main differences between the comparative advantage index proposed by Costinot et al. (2012) and Balassa's revealed comparative advantage index. First, the comparative advantage measured proposed by Costinot et al. (2012) is derived from a Ricardian model of trade, which allows for heterogeneity across firms. In contrast, Balassa's revealed comparative advantage index is not grounded on theory. Second, Costinot et al. (2012) estimate pairwise comparisons of productivity across countries and industries, which capture the essence of Ricardian comparative advantage. Moreover, they are able to control for the effect that trade costs might have on exports. In contrast, Balassa's revealed comparative advantage index compares the share of an industry in a country's exports relative to the share of that industry in world exports, and does not control for trade costs.

We have estimated the following regression equation

ln Xijk = Sij + Sik + 8 jk + etjk (2)

16 As a robustness check, we also transformed the RCAb variable into a revealed symmetric comparative advantage (RSCA) variable (Laursen 2015). The RSCA is defined as (RCAb-1)/(RCAb+1) and has a [-1, 1] range. Using a RSCA > 0.1 threshold to determine a clear RCAb, we obtain very similar results.

17 The methodology used by Gaubert and Itskhoki (2016) methodology relies on the distribution of sales per firm in the domestic and foreign markets. We cannot apply their methodology, since we do not have information about domestic sales per firm.

where Xijk is industry k exports from country i to country j; and 8ij, 8ik and 8jk are exporter-importer, exporter-product and importer-product fixed effects.

As explained by Costinot et al. (2012), the estimated exporter-product fixed effects are theoretically consistent estimates of the productivity of exporter i in product k. It is important to note that, due to the properties of the linear regression, all the estimated exporter-product productivities are defined relative to a numeraire good and a numeraire exporter. Hence, exporter-product fixed effects capture the productivity of exporter i in product k relative to the productivity of a numeraire exporter i' in a numeraire product k'.18 It is important to note that 8ik are estimates of revealed measures of relative productivity, because it is only possible to estimate the relative productivity of exporter i in product k if exporter i exports product k.19

The limitation of the regression procedure is that computational capacity runs into difficulties if the number of fixed effects is high. To reduce this number, we group HS 2-digit chapters into the 21 HS sections. Next, we restrict the sample to the top 40 exporter countries in the world, which account for 77% of world exports. Once we have estimated country-industry fixed effects, following the method used by Freund and Pierola (2015), we estimated RCAr using

_ XeSp,k/mean(XeSp,k) RCArk —-——--——— (3)

mean( Xj,k/mean( Xj,k))

where XesPkk is the exponent of the fixed effect of Spain in industry k (XesPkk — e8ik). This variable captures Spanish exports in industry k relative to the numeraire country and product; mean(Xesp,kk) is the average relative export across industries in Spain. In the denominator, for each country, we divided relative exports in industry k by the average relative exports in the rest of industries and, then we took the average of this ratio over all countries.

Table 6 presents the results of the analysis with the RC Ar index for 2015. For comparison, we also present the results obtained with the RCAb index. As before, we consider that Spain has a clear RCA in industry k if RCAr is > 1.1, a bordeline RCAr if 0.9 < RCA < 1.1, and clearly no RCA if RCAr< 0.9. According to the regression-based methodology, Spain has a clear comparative advantage in 8 sections out of 20.20 In line with Table 5, Spain has a RCAr in vegetables, fats and oils, foodstuff and beverages, leather, textile and garments, footwear, stone and cement (which includes ceramics), and transport equipment. When we remove the top firm, the number of sections with a clear RCAr drops to 3. When we remove the top 5 firms the number of sections with a clear RC Ar drops to 2; and when we remove the top 10 firms the number of sections with a clear RC Ar remains at 2. The sections

18 Following the methodology used by Freund and Pierola (2015), we selected a section with a low granularity level, and where Spain does not have RCAb, as the numeraire industry: machinery. We selected the USA as the numeraire country.

19 We could use the exporter-importer fixed effects to calculate (8ik — &ik) — (8i^ — 8ik'). This expression captures the Ricardian comparative advantage, since it compares the productivity of exporter i in product k relative to product k' with the same ratio for exporter i'.

20 Note that we cannot calculate the RCAr in machinery, since it is the numeraire section.

Table 6 Robustness. Superstars and regression-based revealed comparative advantage in Spanish industries. 2015. Source: Own calculations, based on the Comtrade and the Customs databases

Section code Name % exports (a) RCAr RCAr All RC Ar no Top 1 RC Arno Top 5 RC Ar no Top 10 (b) RCAb RCAb All RCAb no Top 1 RCAb no Top 5 RCAb no Top 10

I Animals 3.59 Bordeline Yes Yes Yes Yes

II Vegetables 7.21 Yes Bordeline Bordeline Bordeline Yes Yes Yes Yes

III Fats and oils 1.60 Yes Yes Yes Yes Yes Yes Yes Yes

IV V Foodstuff and beverages Minerals 5.03 4.92 Yes Bordeline Bordeline Bordeline Yes Yes Yes Yes

VI Chemicals 11.83 Bordeline Yes Yes Bordeline

VII Plastic and rubber 5.72 Bordeline Yes Bordeline

VIII Leather 0.85 Yes Bordeline Bordeline Bordeline Bordeline

IX Wood 0.47

X Paper 1.70 Bordeline Bordeline

XI XII Textiles and garments Footwear 5.39 1.45 Yes Yes Yes Bordeline Bordeline Yes Yes Yes Bordeline

XIII Stone and cement 1.98 Yes Yes Yes Yes Yes Yes Yes Yes

XIV Precious metals 0.67

Section code Name % exports (a) RCAr (b) RCAb

RCAr All RCAr RCAr RCAr RCAb All RCAb RCAb RCAb

no Top 1 no Top 5 no Top 10 no Top 1 no Top 5 no Top 10

XV Base metals 8.27 Yes Yes Bordeline Bordeline

XVI Machinery 13.37 NA NA NA NA

XVII Transport equipment 23.20 Yes Yes Yes Yes

XVIII Optical instruments 1.35

XIX Arms 0.07 Bordeline

XX Other manufactures 1.61

XXI Works of art 0.04

Industries with RCA >1.1 8 3 2 2 11 9 6 5

Industries with 0.9 < RCA < 1.1 3 3 4 3 3 3 3 1

Industries with RCA < 0.9 9 14 14 15 7 9 12 15

NA (Not Available). "Yes" denotes that the HS2 section has a RCA >1.1. "Bordeline" denotes that the HS2 section has a RCA between 0.9 and 1.1. If blank, the HS2 section has a RCA < 0.9. RCA no Top 1. RCA no Top 5. RCA no Top 10 are calculated removing the top. top 5 and top 10 firms from the section respectively

that keep their RCAr once the top 10 Arms are removed are fats and oils, and stone and cement. When we remove the top 10 firms, three sections shift from a clear RCAr to a bordeline situation: vegetables, foodstuffs and beverages, and footwear; and three sections clearly lose their RCAr: leather, textiles and garments, and transport equipment. According to these figures, when we remove the top 10 firms, Spain loses a clear RCAr in 38% (3 out of 8) of sections. These sections represent 29% of all Spanish exports, and 63% of exports in which Spain has a clear RCAr.

The last four columns present the results when RCA is computed with the Balassa index. When all firms are included, Spain has a RCAb in 11 sections over 21. When we remove the top 10 firms, Spain keeps a clear RCAb in 5 of these 11 sections; one moves to the bordeline range, and 5 clearly lose their RCAb. According to the Balassa index, Spain would lose a clear RCAb in 45% of the sections (5 out of 11). This figure is higher than the one obtained with the regression-based calculations. However, it is lower than the percentage we obtained when the analysis was performed at the chapter level (Table 5). Since there are more exporters per industry at the section level than at the chapter level, the removal of the top 10 firms has a lower impact on the former than on the later. The sections losing RC Ab when the top 10 firms are removed represent 48% of all Spanish exports, and 76% of exports in sections where Spain has a clear RCAb.21

Freund and Pierola (2015) analyze how countries' revealed comparative advantage would change if top firms disappeared, using a sample of 32 developing countries. They find that developing countries would lose their revealed comparative advantage in 6% of industries if the top exporter disappeared and in 16% of industries if the top 5 exporters disappeared. The figures for Spain are 9 and 18%, respectively. Despite the lower concentration of exports in the top firms in Spain than in developing countries, the effect of granularity on the revealed comparative advantage is greater in the former than in the latter.

4 Granularity and the dynamics of exports

In this section, we analyze whether superstars shape the dynamics of Spanish exports. To do this, we follow the methodology proposed by Gabaix (2011).22 The change in exports of firm f selling product k in market d can be separated into three components: a firm-specific, or idiosyncratic, component; a product component; and a destination component. It is the first component which captures the contribution of superstars to the variation in aggregate exports. To separate the idiosyncratic component, first we calculated the growth in exports for a specific firm, product and destination

gf,k,d,t = log(Xf,k,d,t) - log(Xf,k,d,t-i) (4)

21 Table 9 in the "Appendix" presents the results using 1997 data. Results for the regression-based analysis are very similar to those reported in Table 6.

22 Canals et al. (2007) and Giovanni et al. (2014) also developed methodologies to measure the impact of firm-specific shocks to variations in exports.

where xf,k,d,t are exports by Arm f of product k in destination d at time t. Note that (4) can only compute export transactions at the firm, product and destination level that happen in year t -1 and year t. Hence, it only captures the intensive margin of trade. This is a reasonable compromise, given that the intensive margin explains around 77% of the year-by-year variation in exports in Spain (de Lucio et al. 2011). Then, we calculated the average of the growth rates of all firms for product k and market d

Hfgf,k,d,t

gk,d,t = —- (5)

Nk,d ,t-1

where Nk,d,t-1 is the total number of exporters of k to destination d at year t-1. Note that gk,d,t aggregates the product-level and destination-level growth components.

Then we identified the idiosyncratic component, ic f,k,d,t, as the difference between the firm growth rate and the average growth rate

icf,k,d,t = gf,k,d,t - gk,d,t (6)

Finally, we calculated the granular residual as the sum of the idiosyncratic components of top firms, weighted by the share of each superstar in the total exports of product k in market d at time t - 1

rk,d ,t = ic f,k,d,ts f,k,d ,t-1 (7)

f SSk,d,t-1

where sf,k,d,t -1 is the share of firm f in total exports of product k to destination d at year t - 1, and Sk^d^t-1 is the set of superstar firms in product k and market d at time t-1 .

To measure the contribution of superstar firms to the changes in aggregate exports, we regressed the change in aggregate exports by product and destination on the granular residual. Following the technique used by Gabaix (2011), in addition to the contemporary granular residual, we added granular residual 1-year and 2-years lagged values to control for dynamic interdependencies. The regression equation is defined as follows

gk,d,t = a + ¡¡1rk,d ,t + farkd ,t-1 + ¡3rk,d,t-2 + ek,d,t (8)

where a is a constant and rk,d,t-1 and rk,d,t-2 are granular residual 1 and 2 year lags, respectively. We defined products at the HS 2-digit disaggregation and restricted the sample to those product and destination combinations that have at least 10 exporters operating in year t -1 and year t .23 We analyzed the contribution of the top firm and the contribution of the top 5 firms to the variation of exports.

Table 7 presents the results of the regression analyses. The granular residual coefficients for the top firm and the top 5 firms are positive and highly statistically significant. These coefficients indicate that superstars influence the variation in exports. In particular, according to the adjusted R-square statistic in column (1), the top firm explains

23 To minimize the impact of outliers, we winsorized growth rates to the 5% and 95% percentiles.

Table 7 Contribution of superstars to variations in Spanish exports, 1997-2015. Data source: Customs database

(1) (2) (3) (4)

Granular residual 0.633*** 0.659*** 0.577*** 0.608***

(0.007) (0.008) (0.006) (0.006)

Granular residual 1 year lag -0.103*** -0.125***

(0.006) (0.005)

Granular residual 2 years lag -0.064*** -0.088***

(0.006) (0.005)

Constant 0.063*** 0.041*** 0.111*** 0.068***

(0.001) (0.001) (0.001) (0.002)

Superstars Top firm Top firm Top 5 firms Top 5 firms

Observations 62,589 50,353 62,589 50,353

Adjusted R square 0.287 0.309 0.328 0.369

Robust standard errors in parentheses. ***, **, * statistically significant at 1%. 5% and 10% respectively

29% of the variation in exports; according to column (4), the top 5 firms explain 33% of the variation. The coefficient for the contemporary granular residual remains positive and statistically significant, once we control for lagged values.

For output growth, Gabaix (2011) found that the top 100 firms in the US explained around one-third of the variations over the 1951-2008 period. Wagner (2012) found that the top 10 firms explained between 36 and 45% of the variation of manufacturing sales in Germany between 2007 and 2008. These results are in the range of the contribution we have estimated for Spain.24

5 Conclusion

There is a great heterogeneity among firms in relation to exports. In Spain, the top 200 firms accounted for half, and the top 1000 firms for two-thirds, of Spanish merchandise exports in 2015. The granular nature of exports is remarkable, even when we zoom in to analyze export operations at the firm, destination and product level.

Granularity contributes substantially to export specialization in many industries. If the top 10 firms were removed, Spain would lose its revealed comparative advantage in 60% of 2-digit HS chapters, which account for 45% of all Spanish exports in 2015. This suggests that superstars, along with country-level fundamentals, play a very important role in determining countries' trade patterns. Finally, we show that superstars can explain around one-third of the growth in Spanish exports.

24 Giovanni et al. (2014) analyzed the contribution of the firm-specific component to the volatility of exports for all firms, not only superstars. They found that the contribution of this component is much larger than the contribution of the sector and destination component. In contrast, Canals et al. (2007) found that idiosyncratic shocks only explain 15% of total variation in aggregate exports in Japan.

These results suggest that large differences across exporters should be a key ingredient considered in international trade models. The dominance of a few firms might also qualify previous predictions concerning the effects of trade liberalization on firms entry and exit, aggregate productivity and welfare. In particular, as pointed out by Freund and Pierola (2015), small policy changes might have large effects if they alter the behavior of superstar firms.

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

Appendix

See the Figs. 4, 5 and Tables 8, 9.

Fig. 4 Concentration of exports for different levels of aggregation, 1997. Source: Own calculations, based on the Customs database

Fig. 5 Concentration of exports in the top 5 firms across products, 1997 a CN 8-digit classification (7145 products) b Export chapters (96 chapters) c Export sections (21 sections). Source: Own calculations, based on the Customs database

Table 8 The contribution of superstars to RCAb, 1997. Balassa Index. Source: Own calculations, based on the Comtrade and the Customs databases

HS2 code Description % of exports RCAb index RCAb All RCAb No Topi RCAb no Top 5 RCAb no Top 10

1 Live animals 0.25 1.41 Yes Yes Bordeline

2 Meat and edible meat 0.98 1.35 Yes Yes Bordeline Bordeline

3 Fish 1.17 1.74 Yes Yes Yes Yes

4 Dairy products 0.36 0.67

5 Products of animal origin 0.06 0.83

6 Live trees and other plants 0.19 1.29 Yes Bordeline Bordeline

7 Edible vegetables 2.47 6.49 Yes Yes Yes Yes

8 9 Edible fruit Coffee and tea 3.77 0.16 6.82 0.46 Yes Yes Yes Yes

10 Cereals 0.30 0.39

11 Milling products 0.21 1.62 Yes Bordeline

12 Oil seed 0.10 0.25

13 Lac. gums and resins 0.11 2.74 Yes Yes Yes

14 Vegetable products 0.00 0.65

15 Animal and vegetable fats and oils 1.51 2.89 Yes Yes Yes Yes

16 Preparations of meat and fish 0.46 1.62 Yes Yes Bordeline

17 Sugars and sugar confectionery 0.44 1.32 Yes Bordeline

18 Cocoa and cocoa preparations 0.19 0.76

19 Preparations of cereal 0.32 1.05 Bordeline Bordeline

20 Vegetable, fruit, and food preparations 1.13 3.02 Yes Yes Yes Yes

21 Miscellaneous edible preparations 0.42 1.30 Yes

22 Beverages 1.65 2.42 Yes Yes Yes Yes

HS2 code Description

% of exports

RCAb index RCAb All RCAb No Topi RCAb no Top 5 RCAb no Top 10

Residues and waste from the food 0.19 industry

Tobacco 0.13

Salt, sulphur, earth, stone, plaster. 0.69

lime and cement

Ores and slag 0.24

Mineral fuels 2.55

Inorganic chemicals 0.47

Organic chemicals 1.90

Pharmaceutical products 1.04

Fertilizers 0.20

Tanning/dyeing extracts 0.85

Essential oils and resinoids; 0.63 perfumery and cosmetics

Soap 0.44

Albuminoidal substitutes. 0.07 starches, glues and enzymes

Explosives 0.02

Photographic or cinematographic 0.15 goods

Miscellaneous chemical products 0.55

Plastics 3.03

Rubber 1.76

Raw hides and skins 0.48

Leather articles 0.20

0.26 2.07

0.49 0.40 0.62 0.78 0.78 0.66 1.28 1.15

1.45 0.42

0.76 0.39

0.56 0.93 1.65 1.14 0.48

Yes Yes

Bordeline

Yes Yes

Bordeline

Bordeline

Bordeline

Bordeline Bordeline

HS2 code Description

% of exports

RCAb index RCAb All RCAb No Topi RCAb no Top 5 RCAb no Top 10

Furskins and artificial fur 0.28

Wood and articles of wood 0.60

Cork and cork items 0.18

Manufactures of straw 0.01

Wood pulp and fibrous cellulosic 0.33 material

Paper and paperboard 1.48

Printed books, newspapers and 0.96 pictures

Silk 0.00

Wool 0.20

Cotton 0.68

Other vegetable textile libers 0.01

Man-made filaments 0.57

Manmade staple fibres 0.65

Wadding, felt and nonwoven; 0.15 yarns; twine, cordage

Carpets and other textile floor 0.06 coverings

Special woven fabrics 0.08

Impregnated, coated. 0.21 cover/laminated textile fabric

Knitted or crocheted fabrics 0.25

Articles of apparel and clothing. 0.51 knitted or crocheted

3.40 0.47 7.89 0.40 0.96

0.82 2.09

0.08 .68 1.03 0.22 0.87 1.22 0.76

0.53 0.83

0.92 0.35

Bordeline

Bordeline Bordeline

Bordeline

HS2 code Description

% of exports

RCAb index RCAb All RCAb No Topi RCAb no Top 5 RCAb no Top 10

80 81 82

Articles of apparel and clothing, 0.77 not knit or crochet

Other made up textile articles 0.30

Footwear 2.13

Headgear 0.02

Umbrellas 0.01

Feathers, artificial flowers, and 0.01 human hair articles

Articles made of stone, plaster, 0.74

and cement

Ceramic products 1.83

Glass and glassware 0.67

Pearls, precious stones, and 0.43 metals

Iron and steel 2.8

Iron or steel articles 2.81

Copper 0.78

Nickel 0.02

Aluminium 0.96

Lead 0.00

Zinc 0.25

Tin 0.00

Other base metals 0.01

Tools, implements and cutlery 0.41

1.03 2.28 0.50 0.33 0.13

4.65 1.29 0.22

Bordeline

Yes Yes

Bordeline

Yes Yes

Yes Yes

Bordeline

Yes Yes

Yes Yes

Bordeline

HS2 code Description

% of exports RCAb index RCAb All RCAb No Topi RCAb no Top 5 RCAb no Top 10

Miscellaneous articles of base 0.56 metal

Nuclear reactors, boilers. 9.63 machinery

Electrical and electronic 6.80 equipment

Railways 0.46

Vehicles other than railways 22.71

Aircrafts 1.06

Ships 1.03

Optical, photo, technical. 1.00

medical, etc apparatus

Clocks and watches 0.11

Musical instruments 0.03

Arms and ammunition 0.07

Furniture; bedding, mattress. 1.75

material support and cushion

Toys, games and sports requisites 0.54

2.30 2.37 0.59

1.46 0.33

0.25 0.34 0.71 1.45

Bordeline

Yes Yes

HS2 code Description % of exports RCAb index RCAb All RCAb No Topi RCAb no Top 5 RCAb no Top 10

96 Miscellaneous manufactured 0.20 0.72

articles

97 Works of art. collectors' pieces 0.05 0.34

and antiques

Industries with RCAb > 1.1 36 26 17 14

Industries with 0.9 <RCAb< 1.1 8 9 9 2

Industries with RCAb < 0.9 52 61 70 80

RCAb index is calculated when all firms are included. "Yes" denotes that the HS2 chapter has a RCAb >1.1. "Bordeline" denotes that the HS2 chapter has a RCAb between 0.9 and 1.1. If blank, the HS2 chapter has a RCAb < 0.9. RCAb no Top 1. RCAb no Top 5. RCAb no Top 10 are calculated removing the top. top 5 and top 10 firms from the chapter, respectively

Table 9 Robustness. Superstars and regression-based revealed comparative advantage in Spanish industries. 1997. Source: Own calculations, based on the Comtrade and the Customs databases

Section code Name % exports (a) RCAr RCAr All RC Ar no Top 1 RC Arno Top 5 RC Ar no Top 10 (b) RCAb RCAb All RCAb no Top 1 RCAb no Top 5 RCAb no Top 10

I Animals 2.72 Bordeline Yes Yes Yes Yes

II Vegetables 8.29 Yes Bordeline Bordeline Bordeline Yes Yes Yes Yes

III Fats and oils 1.55 Yes Yes Yes Yes Yes Yes Yes Yes

IV V Foodstuff and beverages Minerals 4.60 2.34 Bordeline Bordeline Bordeline Bordeline Yes Yes Yes Yes

VI Chemicals 6.05 Bordeline

VII Plastic and rubber 4.83 Bordeline Bordeline

VIII Leather 1.12 Yes Bordeline Bordeline Bordeline Bordeline

IX Wood 0.63

X Paper 2.24 Bordeline

XI XII Textiles and garments Footwear 3.93 2.45 Yes Yes Bordeline Bordeline Bordeline Yes Yes Yes Yes

XIII Stone and cement 3.15 Yes Yes Yes Yes Yes Yes Yes Yes

XIV Precious metals 0.31

l£> v> ■-o

Section code

% exports

(a) RCAr RCAr All

RCAr no Top 1

RCAr no Top 5

RCAr no Top 10

(b) RCAb RCAb All

RCAb no Top 1

RCAb no Top 5

RCAb no Top 10

Base metals

Machinery

Transport equipment

Optical instruments

Arms Other

manufactures Works of art

7.96 16.31 28.08

0.07 2.35

Yes Yes

Bordeline

Yes Yes

Yes Yes

Yes Yes

Industries with RCA> 1.1 8 3 2 2 11 9 9 8

Industries with 0.9 < RCA < 1.1 4 2 4 3 3 2 3 2

Industries with RCA < 0.9 8 15 14 15 7 10 12 14

NA (Not Available). "Yes" denotes that the HS2 section has a RCA >1.1. "Bordeline" denotes that the HS2 section has a RCA between 0.9 and 1.1. If blank, the HS2 section has a RCA < 0.9. RCA no Top 1. RCA no Top 5. RCA no Top 10 are calculated removing the top. top 5 and top 10 firms from the section, respectively

References

Bernard AB, Jensen JB, Redding SJ, Schott PK (2016) Global firms. NBER Working Paper No. 22727,

National Bureau of Economic Research Bernard AB, Jensen JB, Schott PK (2009) Importers, exporters and multinationals: a portrait of firms in the US that trade goods. In: Dunne T, Jense J, Roberts M (eds) Producer dynamics: new evidence from micro data. University of Chicago Press, Chicago, pp 513-552 Canals C, Gabaix X, Vilarrubia JM, Weinstein DE (2007) Trade patterns, trade balances and idiosyncratic

shocks. Banco de España Research Paper No. WP-0721 Costinot A, Donaldson D, Komunjer I (2012) What goods do countries trade? A quantitative exploration

of Ricardo's ideas. Rev Econ Stud 79(2):581-608 de Lucio J, Mínguez R, Minondo A, Requena F (2011) The extensive and intensive margins of Spanish

trade. Int Rev Appl Econ 25(5):615-631 Di Giovanni J, Levchenko AA (2012) Country size, international trade, and aggregate fluctuations in granular

economies. J Polit Econ 120(6):1083-1132 Di Giovanni J, Levchenko AA (2013) Firm entry, trade, and welfare in Zipf's world. J Int Econ 89(2):283-296

Di Giovanni J, Levchenko AA, Mejean I (2014) Firms, destinations, and aggregate fluctuations. Economet-rica 82(4):1303-1340

Eaton J, Kortum SS, Sotelo S (2012) International trade: Linking micro and macro. NBER Working Paper

No. 17864, National Bureau of Economic Research Fernandes AM, Freund C, Pierola D, Cebeci T (2015) Exporter behavior, country size and stage of development. Policy Research Working Paper WPS7452. The World Bank Freund C, Pierola MD (2015) Export superstars. Rev Econ Stat 97(5):1023-1032 Gabaix X (2011) The granular origins of aggregate fluctuations. Econometrica 79(3):733-772 Gabaix X, Ibragimov R (2011) Rank- 1/2: a simple way to improve the OLS estimation of tail exponents.

J Bus Econ Stat 29(1):24-39 Gaubert C, Itskhoki O (2016) Granular comparative advantage. Available at http://www.princeton.edu/

~itskhoki/papers/GranularCA.pdf Laursen K (2015) Revealed comparative advantage and the alternatives as measures of international specialization. Eurasian Bus Rev 5(1):99-115 Marin D, Schymic J, Tscheke J (2015) Europe's export superstars - it's the organisation. Bruegel Working Paper 2015/05

Mayer T, Ottaviano GI (2008) The happy few: the internationalisation of European firms. Intereconomics 43(3):135-148

Minondo A (2013) Trading firms in the Spanish service sector. Revista de Economía Aplicada 21(63):5-28 Van Beveren I, Bernard AB, Vandenbussche H (2012) Concording EU trade and production data over time.

NBER Working Paper No. 18604, National Bureau of Economic Research Wagner J (2012) The German manufacturing sector is a granular economy. Appl Econ Lett 19(17):1663-1665