The Impact of Immigrant Diversity on Wages . The Spanish Experience

The massive waves of migration that have emerged as part of the recent globalization process have attracted increasing attention in the field of economic geography. Traditionally, empirical research on this issue has focused on the possible substitution effect between native and foreign workers in the labour market. However, this evaluation omits the potential positive spillovers derived from a greater cultural diversity related to immigration. The aim of this work is to fill this gap by analysing the impact that immigrant diversity has on wages in Spain. To do so, we built three different indexes that measure cultural diversity across the Spanish regions. We control for the problem of potential simultaneity between migration and wages using instrumental variable techniques. We also consider the role of the increasing entry of foreigners coming from developed economies and other local factors. The results confirm that a greater diversity of immigrants’ birthplaces is associated with higher wages for both natives and the total population. Moreover, our findings reveal the importance of skilled labour (national or foreign), to encourage workers’ productivity and to ensure sustainable economic development.


Introduction
During the last few decades, international migration has experienced great changes.According to Arango [1], migration has become more global and diverse in terms of origin and destination countries.For this author, Asia, Africa and Latin America have replaced Europe as the leading regions of origin of migrants.In this sense, the case of Spain is especially outstanding.From the end of the twentieth century to the early years of the twenty-first century, this country has gone from being a net source of migrants to a net recipient, becoming one of the main target countries for immigrants in Europe.In 2017, Spain represented the fourth European country in number of immigrants (after Germany, the United Kingdom and France), with a total population of immigrants of nearly six million and the percentage of immigrants in the total population exceeding 12% [2].
Coinciding with the Spanish economic "boom", the entry of migrants into the country was remarkable.Spain went from having a total foreign population of 2% in the year 2000 to approximately 12% in 2011 [3].The economic expansion and the creation of new jobs attracted a massive number of immigrants seeking employment opportunities [4].For nearly a decade, Spain's GDP grew yearly by an average 3.9%, which meant a drop in the unemployment rate from 20.6% in 1997 to 8.2% in 2007.However, the economic crisis that started in 2008 and manifested in Spain primarily as an employment crisis led to a radical change in the Spanish migration model [5].The proportion of immigrants coming for economic reasons, the so-called "labour immigration", (according to the International Organization for Migration (www.iom.int),international labour migration is defined as the movement of people from one country to another for the purpose of employment.)became less relevant and the weight of immigration from developed countries motivated by socioeconomic reasons increased [1,4].Regional location preferences also varied during this period, with coastal provinces (including Cantabria and Andalusia) playing a more important role in the attraction of immigrants [6].Similarly, the variety of immigrants' countries of birth differs geographically.Regions such as Madrid, Catalonia, the Valencian Community and Andalusia clearly show a higher diversity of immigrants' birthplaces.In the case of Madrid and Catalonia, this was probably due to the large supply of work available in different sectors and with different skill requirements.For the Valencian Community and Andalusia, the relevance of both the tourist sector and an intensive agriculture, together with the good weather, may explain this higher diversity of immigrants in terms of country of origin [7].The aim of this work is precisely to analyse how this migrant diversity affected real wages at a regional level in Spain from 2008 to 2016.
Given the recent concern in the European political debate about the effects that the entry of new residents can have on economic and social aspects, it seems relevant to investigate to what extent greater birthplace diversity may influence real wages.The literature on this topic suggests that there may be a positive correlation between immigrant diversity and productivity or wages [8][9][10].For Lewis and Peri (2014) [11], immigrant diversity may increase worker productivity by enabling the combination of different skills, ideas and perspectives.According to Hong and Page [12], the diversity of human capital increases creativity and helps members to solve problems and generate new ideas.Conversely, other authors argue that the relationship between immigrant diversity and productivity may be ambiguous.For instance, Lee [13], who examined the cultural diversity within the groups of workers of a company, argued that this group-level diversity may lead to lower confidence among workers and poor communication between people, either by discrepancies in the language, misunderstandings or discriminatory attitudes, as some individuals may subconsciously favour members of their own nationality.
Empirically, we go further into this debate in several ways.For the first time, (i) three immigrant diversity indexes, as proposed by Kemeny and Cooke [10] and Alesina et al. [11], have been implemented for the case of Spanish regions to analyse the connections between immigrant diversity and real wages.We did so by focusing on the years after the economic crisis that began at the end of 2007, thus taking into account the changes that occurred in the immigration patterns with the new macroeconomic scenario.The specific case of Spain is of special relevance given the importance of the so-called "permanent tourists" during this period [6].This phenomenon might indeed mitigate the effects on wages of a greater cultural diversity, thus leading to ambiguous results, since it would be reasonable to expect that many of these immigrants never participate in the labour market.Considering this fact, (ii) we analyse, as a novelty, the impact on real wages of a higher percentage of immigrants coming from developed countries.This allows us to evaluate to what extent a greater share of immigrants coming from countries with a higher income or even a greater level of knowledge, on average, leads to increases in real wages even once we discount the potential positive spillovers derived from a higher cultural diversity.(iii) We further control for other local characteristics such as human capital or the proportion of young population in a region.Additionally, (iv) we face the problem of potential endogeneity using Instrumental Variables (IV) regression techniques.As previously mentioned in the literature, regions with higher wages can also be those that attract more immigrants from different backgrounds [9], thus giving rise to a potential endogeneity problem.To deal with this, we based our work on Gagliardi [14] and Ottaviano and Peri [9] and calculated the "predicted" change in the number of immigrants in each region during the period analysed as an instrumental variable.Finally, (v) to enrich our analysis, but also with a comparative purpose, we analyse whether the spillover effects of higher migration diversity are also felt by the foreign population.With this aim, we estimate an additional model to explain wages of the total population, including natives and foreigners, instead of considering only the nationals' wages.To do so, we used a database on the 17 Spanish regions (Autonomous Communities) between 2008 and 2016 from the Spanish National Statistics Institute (INE) and the Ministry of Education, Culture and Sports.
The results obtained are in line with those from previous studies, confirming the positive and significant effect of greater diversity of immigrants' birthplace on real wages.Moreover, this outcome holds in both cases: when we consider the native workers' wages and when we add foreigners' wages.We also verify the beneficial impact on real wages of higher immigration coming from developed countries.This illustrates the limitations of ignoring the relevance of heterogeneity of human capital when analysing the economic effects of migration.Finally, our outcomes confirm the beneficial impact of a higher rate of young population and skilled labour on wages.
The rest of the paper is organized as follows.Section 2 reviews the literature on the economic consequences of immigrant diversity.Section 3 shows the construction and analytical decomposition of our immigrant diversity indexes.Section 4 provides some stylized facts analysing the relation between immigrant diversity and wages for the Spanish case.Section 5 explains the data source and the econometric model, including the description of the variables and the theoretical model used to design and interpret our estimation strategy.Section 6 presents the estimation results.Finally, Section 7 concludes with a policy discussion and Section 8 presents some limitations and suggestions for future research on the topic.

Immigration Diversity and Wages: An Overview of the Literature
The economic effects of immigration have been widely analysed in many empirical papers.Motivated by a growing concern in modern economies about a substitution effect from more expensive native workers to cheaper immigrant workers, attention has been paid primarily to the impact of immigration on the labour market of destination regions.Questions such as whether immigrants harm or improve the employment conditions and opportunities of native workers have been analysed in depth in the literature, with evidence yielding a mixed and confusing set of results (see [15]).For some authors, this ambiguity indeed reflects a non-significant effect of migration on the receiving economy [16,17].
After the recent waves of immigrants to the Organization for Economic Cooperation and Development (OECD) countries, migration has become a phenomenon that concerns many countries in the developed world [18].Therefore, it is not surprising to find that a significant number of studies that analyse this phenomenon focus on the macroeconomic effects of this movement using time-series or panel data analysis.For Ortega and Peri [19], for instance, migration in the OECD countries during the period 1980 to 2005 increased employment and capital stock, although the effects on total factor productivity are negligible.Boubtane et al. [20], however, showed a significant relationship between immigration and GDP per capita for 22 OECD countries over the period 1987-2009.Using time-series analysis, Morley [21] found a long-run causality from GDP per capita to immigration but not the other way around.Other authors, such as Zorlu and Hartog [22], Longhi et al. [23] and Ottaviano and Peri [24] have considered that the work offered to natives involves jobs in which they could be replaced by immigrants and so, as a consequence of the arrival of large numbers of immigrants, competitiveness and wages can be reduced.
In recent years, and probably motivated by the greater availability of data, a new perspective, focused on the heterogeneity of immigrants, has been incorporated into this debate, namely, the possibility that greater diversity might have positive effects on workers' productivity and wages in destination markets.In Table 1, we present a detailed list of papers that analyse the impact of immigrant diversity on regional economic performance.Cultural diversity is positively associated with wages, but only when cross-section data are used, while panel data estimations show no impact of diversity.

Lewis and Peri 2014
Effect that immigration has on urban and regional economies focusing on productivity and labor markets.
Depending on the estimation (for USA): 284 Metropolitan, 50 states, 333 occupations or seven schooling groups.

2011
Immigrants' share of employment Immigration is associated with higher wages and with higher productivity as it induces natives to specialization in more complex jobs, which complement immigrants' skills.According to this literature, people born in different countries complement each other in the labour market, and thus immigrant diversity could increase the competitiveness of workers by enabling the combination of different skills, ideas and perspectives.The seminal paper on this matter is Ottaviano and Peri [9].By using panel data from different American Metropolitan Statistical Areas (MSAs) through cultural heterogeneity indexes, these authors confirmed the positive impact of immigration on wages.The Fractionalization Index calculated by Ottaviano and Peri [9] had previously been used by Alesina et al. [8], who built a Herfindahl index of population diversity based on people's birthplaces to determine the relationship between diversity migration and wages.However, this index has some limitations.According to Alesina et al. [25] and Kemeny and Cooke [10], it can be biased by the presence of a larger proportion of immigrants in a region.To overcome these limitations, we used two additional indexes: the Entropy Index, first used by Taagepera and Ray [26], and the Alesina Index, proposed by Alesina et al. [25].
Other authors who highlight the favourable effect of immigrant diversity in terms of economic development and wages are Kemeny and Cooke [10] and Bove and Elia [27].They first found that urban immigrant diversity produces positive and nontrivial spillovers.Similarly, Bove and Elia, after studying the diversity of immigrants through indexes of fractionalization and polarization for different countries in the period between 1960 and 2010, claimed that there is a positive effect between immigrant diversity and greater GDP growth per capita, especially in developing countries.For some authors, such as Wadhwa et al. [28], this positive correlation is further magnified if only skilled immigrants are considered.
Although, as mentioned above, many empirical works emphasize the possibility of a positive relationship between migration diversity and economic development, the evidence on this matter remains quite ambiguous.For instance, Longhi [29] argued that the positive correlation between diversity in English local authority districts and workers' wages found in cross-sections disappears when we consider panel estimations.Other works find a negative influence of diversity on productivity, thus contemplating the relationship between natives and foreigners as more of a substitution than of a complementary nature.According to this literature, cultural diversity at the group level may lead to lower confidence among workers and poor communication between people, due to discrepancies in the language, misunderstandings or discriminatory attitudes, as some individuals may subconsciously favour members of their own nationality [13].Borjas and Doran [30] claimed that researchers whose mathematical research programmes included Soviet researchers underwent a reduction in productivity and significantly reduced their number of publications.
Related to this approach are also those works that analyse the spillovers of immigrant diversity in terms of innovation, ideas generated and economic performance.According to Lewis and Peri [11], the evidence suggests that the entry of foreigners into the labor market induces a greater specialization of national workers, which favors the exchange of ideas and innovation, leading to important productivity gains.Using data from more than 200 British firms, Gagliardi [14] showed how an increase in the stock of human capital due to the arrival of skilled immigrants fosters innovation, giving rise to an increase in the level of knowledge which is accessible to local firms through the labour market.Similarly, for Hong and Page [12], the diversity of human capital increases creativity and helps members to solve problems and generate new ideas.More generally, Akay et al. [31] show how ethnic diversity positively influences the well-being of German natives through greater productivity and social capital.They also find that the beneficial influence of ethnic diversity is stronger for immigrant groups that are culturally and economically closer to Germany.
Finally, an issue that has been underexplored within this literature is whether highly productive workers have a particular preference for diversity [32,33].If that is the case, there might be a problem of reverse causality and endogeneity, since more productive regions can also attract more immigrants from a wider range of nationalities.As an exception, we can mention the following studies that analyse the relationship between diversity migration and labour productivity considering the possibility of a reverse causality: Bakens et al. [34], Trax et al. [35] and Kemeny and Cooke [10].In this paper, we seek to contribute to this strand of the literature by investigating to what extent greater immigrant diversity influences wages in Spain at a regional level, taking the potential reverse causality and other relevant factors into account.

Measuring Immigration Diversity
To measure the diversity of immigrants, we use several indexes based on the Herfindahl diversity index.As Parrotta et al. [36] mentioned, the Herfindahl index allows us to combine two measures within one single index: the "richness", or number of categories within the region, and the "equitability", or evenness of the individual categories.In particular, this work uses three indexes as proposed by Kemeny and Cooke [10] in which the diversity of immigrants is measured according to their place of birth: the Fractionalization Index (FI), Entropy Index (EI), and Alesina Index (AI).Each index captures diversity in a different way, giving more weight to the share of immigrants or to the variety (number of birthplaces).
Most of the empirical studies on immigrant diversity employ the Fractionalization Index [8,9,25,27].This index, based on the Herfindahl Index, measures the probability that two migrants, randomly selected from the population of a specific host region, were born in different countries.Specifically, this index can be written as, where s (0 ≤ s ≤ 1) is the proportion of residents in a region who were born in country r and R represents the maximum number of countries captured in the population.In our case R = 114 including natives.When the index is close to zero, this indicates low diversity, while the closer it is to one, the higher the heterogeneity of the population of the region will be, having as its maximum value As an alternative to the FI, Kemeny and Cooke [10] used the Entropy Index, which has also been used by authors such as Wang [37], Sturgis et al. [38] and Wright et al. [39] (entropy, as a mathematical construct, was first introduced into social sciences by Theil [40,41] to solve political problems involving the distribution of seats and votes among various parties and then by Taagepera and Ray [26] as an index of concentration).Like the Fractionalization Index, it measures the probability that two randomly selected individuals were born in different countries.However, for these authors, this index provides a more accurate measure of diversity when the groups of different nationalities are of different sizes.
The Entropy Index reaches its maximum value, when Entropy j = ln(R), in the case that the population is totally heterogeneous.Conversely, EI reaches its minimum value, when Entropy j = 0, which implies complete homogeneity or no diversity, with all population members in the same group.
Finally, we use the Alesina Index [25], as proposed by Kemeny and Cooke [10].As these authors explained, the FI can be biased by the presence of a large proportion of immigrants in a region even if those immigrants do not come from a wide range of countries of origin.That is, this index gives greater weight to depth than to breadth.To overcome this limitation, Alesina et al. [25] suggest measuring diversity strictly among those born abroad in a given place, instead of capturing heterogeneity among all individuals: natives and immigrants.Namely, it captures all residual diversity from differences between immigrants only.
where s 1 indicates the share of natives.
In contrast to the first two indexes, which are estimated for the entire population, the AI will not be influenced by the large number of natives in each region as it uses a measure of immigrant-only fractionalization.This approach is able to solve the extent to which the effects arise due to the sole presence of foreign-born individuals, instead of its heterogeneity.

Immigration, Birthplace Diversity and Wages: The Case of Spain
Large-scale migration inflows are a relatively recent phenomenon in Spain.Indeed, until the last two decades of the previous century, this country was eminently a source of emigrants [42].At the beginning of the 20th century, Spain was behind the most developed European countries in terms of industrialization and urban development which led many Spaniards to emigrate to South American countries and North Africa [6,43].Throughout the 1960s and 1970s, and after the Spanish Civil War, when over 500,000 people left the country given the poor economic conditions and political restrictions in Spain, mass emigration to Europe took place [43].
However, this trend changed dramatically from the early 1990s, and most remarkably after 1997, when immigration flows in Spain began to increase significantly [40].For nearly a decade, Spain's GDP grew yearly by an average 3.9%, which meant a drop in the unemployment rate from 20.6% in 1997 to 8.2% in 2007.In just a few decades, fuelled by this economic "boom", Spain shifted from being a sending country to a receiving country in terms of migration, becoming one of the main destinations for international migration [44].As can be seen in Figure 1, in 1998 the foreign population represented only 1.6% of the total population, while by 2018 this percentage remains around 7% [2].The percentage of immigrants in the total population reached a peak of 12.2% during the years 2010 and 2011, even after the beginning of the global crisis in 2008.In contrast to the first two indexes, which are estimated for the entire population, the AI will not be influenced by the large number of natives in each region as it uses a measure of immigrant-only fractionalization.This approach is able to solve the extent to which the effects arise due to the sole presence of foreign-born individuals, instead of its heterogeneity.

Immigration, Birthplace Diversity and Wages: The Case of Spain
Large-scale migration inflows are a relatively recent phenomenon in Spain.Indeed, until the last two decades of the previous century, this country was eminently a source of emigrants [42].At the beginning of the 20th century, Spain was behind the most developed European countries in terms of industrialization and urban development which led many Spaniards to emigrate to South American countries and North Africa [6,43].Throughout the 1960s and 1970s, and after the Spanish Civil War, when over 500,000 people left the country given the poor economic conditions and political restrictions in Spain, mass emigration to Europe took place [43].
However, this trend changed dramatically from the early 1990s, and most remarkably after 1997, when immigration flows in Spain began to increase significantly [40].For nearly a decade, Spain's GDP grew yearly by an average 3.9%, which meant a drop in the unemployment rate from 20.6% in 1997 to 8.2% in 2007.In just a few decades, fuelled by this economic "boom", Spain shifted from being a sending country to a receiving country in terms of migration, becoming one of the main destinations for international migration [44].As can be seen in Figure 1, in 1998 the foreign population represented only 1.6% of the total population, while by 2018 this percentage remains around 7% [2].The percentage of immigrants in the total population reached a peak of 12.2% during the years 2010 and 2011, even after the beginning of the global crisis in 2008.During the expansion, immigrants-mostly Europeans, closely followed by Latin Americans and Africans (Moroccans)-moved to Spain in search of more and better employment opportunities without drawing any kind of distinction between the types of position they could be employed in [6,42].Moreover, despite its low importance until the end of the 20th century, as of 2008, the presence of Asians, especially those from China, increased notably [45].The beginning of the crisis led to a sudden shift in this trend.As shown in [6], in this period immigrants in Spain coming from developing economies (with a medium or low human development index (HDI)) decreased considerably with respect to those from developed economies (with a high human development index), these latter representing an even greater weight in total migration.Connected with this During the expansion, immigrants-mostly Europeans, closely followed by Latin Americans and Africans (Moroccans)-moved to Spain in search of more and better employment opportunities without drawing any kind of distinction between the types of position they could be employed in [6,42].Moreover, despite its low importance until the end of the 20th century, as of 2008, the presence of Asians, especially those from China, increased notably [45].The beginning of the crisis led to a sudden shift in this trend.As shown in [6], in this period immigrants in Spain coming from developing economies (with a medium or low human development index (HDI)) decreased considerably with respect to those from developed economies (with a high human development index), these latter representing an even greater weight in total migration.Connected with this behaviour were also the new locational preferences and the nature and heterogeneity of immigrants across regions.
In the years before the economic crisis, the vast majority of migrants in Spain were young and came from less developed countries, probably motivated by the hope of finding a new or better job.Therefore, they tended to choose regions with greater economic activity as their destination, and thus they were distributed in cities along the Mediterranean coast in the central and northern regions with higher employment rates and immigrant incomes [6].In contrast, after the financial crisis, the number of new residents in Spain rapidly decreased and the decision to relocate to Spanish provinces seemed to be determined more by non-economic factors, such as good weather or a better lifestyle.Consequently, there was a greater presence of immigrants from countries with a high human development index located in the coastal regions [6].Nevertheless, in some regions, such as Andalusia, the migration of non-skilled labourers to work in agricultural areas still predominates.
Concerning the birthplace diversity of immigrants, as can be seen in Figure 2, where we represent the different diversity indexes as computed in the previous section, these significantly vary among regions.We observe a wider range of immigrant in Madrid and Catalonia.According to Otero (2010) [7], this is because their capital cities, Madrid and Barcelona, respectively, are important financial and business centres in Europe.Moreover, due to the large supply of the tertiary sector in these regions, the presence of Ibero-Americans and Africans is also quite significant.If we focus on the Valencian Community and Andalusia, we observe that both regions also have high diversity indexes.There is an important presence of foreigners from the European Union in the two regions.One of the reasons that leads a variety of citizens to migrate to these regions is the good weather and the tourist facilities.In the case of Andalusia, there is also a strong presence of individuals from Africa, especially those with low qualifications, who seek jobs in intensive agriculture.Ibero-Americans are concentrated in Alicante and those from non-EU Europe are more common in Castellón and Valencia (both of them in the Valencian Community).In these regions, the Romanian population is particularly relevant.They mostly arrived before the crisis in search of job opportunities in the construction and tourism sectors.The high diversity of immigrants found in the Balearic and Canary Islands is probably due to the large supply of work found in the services sector, given the great importance that the tourism sector has in both cases.However, in regions such as Extremadura, Asturias or Navarra, there seems to be less diversity in terms of immigrants' birthplace.
behaviour were also the new locational preferences and the nature and heterogeneity of immigrants across regions.
In the years before the economic crisis, the vast majority of migrants in Spain were young and came from less developed countries, probably motivated by the hope of finding a new or better job.Therefore, they tended to choose regions with greater economic activity as their destination, and thus they were distributed in cities along the Mediterranean coast in the central and northern regions with higher employment rates and immigrant incomes [6].In contrast, after the financial crisis, the number of new residents in Spain rapidly decreased and the decision to relocate to Spanish provinces seemed to be determined more by non-economic factors, such as good weather or a better lifestyle.Consequently, there was a greater presence of immigrants from countries with a high human development index located in the coastal regions [6].Nevertheless, in some regions, such as Andalusia, the migration of non-skilled labourers to work in agricultural areas still predominates.
Concerning the birthplace diversity of immigrants, as can be seen in Figure 2, where we represent the different diversity indexes as computed in the previous section, these significantly vary among regions.We observe a wider range of immigrant in Madrid and Catalonia.According to Otero (2010) [7], this is because their capital cities, Madrid and Barcelona, respectively, are important financial and business centres in Europe.Moreover, due to the large supply of the tertiary sector in these regions, the presence of Ibero-Americans and Africans is also quite significant.If we focus on the Valencian Community and Andalusia, we observe that both regions also have high diversity indexes.There is an important presence of foreigners from the European Union in the two regions.One of the reasons that leads a variety of citizens to migrate to these regions is the good weather and the tourist facilities.In the case of Andalusia, there is also a strong presence of individuals from Africa, especially those with low qualifications, who seek jobs in intensive agriculture.Ibero-Americans are concentrated in Alicante and those from non-EU Europe are more common in Castellón and Valencia (both of them in the Valencian Community).In these regions, the Romanian population is particularly relevant.They mostly arrived before the crisis in search of job opportunities in the construction and tourism sectors.The high diversity of immigrants found in the Balearic and Canary Islands is probably due to the large supply of work found in the services sector, given the great importance that the tourism sector has in both cases.However, in regions such as Extremadura, Asturias or Navarra, there seems to be less diversity in terms of immigrants' birthplace.

Alesina Index
Fractionalization Index Entropy Index (a) As mentioned previously, the purpose of this paper is to analyse how the degree of immigrant heterogeneity, in terms of birthplace, influences wages across regions.As the economic literature has highlighted, several factors enhance regional productivity and wages.According to Aguayo and Guisán [46], not only physical and human capital determine the level of productivity of a region, but also greater social capital, which includes elements of social trust, political trust and other positive elements that generate a social environment to support productive initiatives and cooperation.In this study, we use real wage per capita as a proxy of worker productivity.In Figure 3, we can observe significant differences in wages between Spaniards and non-nationals.The native population has the highest wages, followed by European citizens, since migrant flows of skilled workers usually predominate among European countries [47].Among non-nationals, those from Latin America seem to be among the lowest paid.However, considering the average wage of the entire population, we observe that it changes significantly across regions and over time (see Figure 4).Throughout the entire sample period, wages are higher in the Basque Country, Navarre, Madrid and Catalonia.These last two regions coincide with those with the highest index of immigrant diversity (see Figure 2).In addition, regions with low As mentioned previously, the purpose of this paper is to analyse how the degree of immigrant heterogeneity, in terms of birthplace, influences wages across regions.As the economic literature has highlighted, several factors enhance regional productivity and wages.According to Aguayo and Guisán [46], not only physical and human capital determine the level of productivity of a region, but also greater social capital, which includes elements of social trust, political trust and other positive elements that generate a social environment to support productive initiatives and cooperation.In this study, we use real wage per capita as a proxy of worker productivity.In Figure 3, we can observe significant differences in wages between Spaniards and non-nationals.The native population has the highest wages, followed by European citizens, since migrant flows of skilled workers usually predominate among European countries [47].Among non-nationals, those from Latin America seem to be among the lowest paid.

Alexina Index
Factionalization Index Entropy Index (b) As mentioned previously, the purpose of this paper is to analyse how the degree of immigrant heterogeneity, in terms of birthplace, influences wages across regions.As the economic literature has highlighted, several factors enhance regional productivity and wages.According to Aguayo and Guisán [46], not only physical and human capital determine the level of productivity of a region, but also greater social capital, which includes elements of social trust, political trust and other positive elements that generate a social environment to support productive initiatives and cooperation.In this study, we use real wage per capita as a proxy of worker productivity.In Figure 3, we can observe significant differences in wages between Spaniards and non-nationals.The native population has the highest wages, followed by European citizens, since migrant flows of skilled workers usually predominate among European countries [47].Among non-nationals, those from Latin America seem to be among the lowest paid.However, considering the average wage of the entire population, we observe that it changes significantly across regions and over time (see Figure 4).Throughout the entire sample period, wages are higher in the Basque Country, Navarre, Madrid and Catalonia.These last two regions coincide with those with the highest index of immigrant diversity (see Figure 2).In addition, regions with low However, considering the average wage of the entire population, we observe that it changes significantly across regions and over time (see Figure 4).Throughout the entire sample period, wages are higher in the Basque Country, Navarre, Madrid and Catalonia.These last two regions coincide with those with the highest index of immigrant diversity (see Figure 2).In addition, regions with low wages are those in which the supply of unskilled labour is higher due to the relevance of agriculture.Accordingly, we find lower wages in Extremadura, Galicia, Castilla and León, Castilla La Mancha and Andalusia, regions with high agricultural and livestock activity.
wages are those in which the supply of unskilled labour is higher due to the relevance of agriculture.Accordingly, we find lower wages in Extremadura, Galicia, Castilla and León, Castilla La Mancha and Andalusia, regions with high agricultural and livestock activity.The foregoing stylized facts reveal that there has not only been a change in the migration inflows of Spain-it has gone from being a sending country to a receiving country-but also a qualitative change in terms of the diversity of the new residents.In general, as the descriptive evidence shows, those regions where we find higher wages or per capita income are also those with a greater presence of different nationalities.However, this is not always so, as in the case of Andalusia or the Valencian Community, with high rates of cultural diversity but levels of income per capita below the average.This is probably the reason why, although we find a positive correlation, on average, as shown by the upward slopes shown in Figure 5, where the log of wage is represented with respect to the different diversity indexes, this relationship is not too pronounced.In fact, the correlation coefficients obtained between the diversity indexes and wages do not exceed 0.2 in any case.The foregoing stylized facts reveal that there has not only been a change in the migration inflows of Spain-it has gone from being a sending country to a receiving country-but also a qualitative change in terms of the diversity of the new residents.In general, as the descriptive evidence shows, those regions where we find higher wages or per capita income are also those with a greater presence of different nationalities.However, this is not always so, as in the case of Andalusia or the Valencian Community, with high rates of cultural diversity but levels of income per capita below the average.This is probably the reason why, although we find a positive correlation, on average, as shown by the upward slopes shown in Figure 5, where the log of wage is represented with respect to the different diversity indexes, this relationship is not too pronounced.In fact, the correlation coefficients obtained between the diversity indexes and wages do not exceed 0.2 in any case.wages are those in which the supply of unskilled labour is higher due to the relevance of agriculture.Accordingly, we find lower wages in Extremadura, Galicia, Castilla and León, Castilla La Mancha and Andalusia, regions with high agricultural and livestock activity.The foregoing stylized facts reveal that there has not only been a change in the migration inflows of Spain-it has gone from being a sending country to a receiving country-but also a qualitative change in terms of the diversity of the new residents.In general, as the descriptive evidence shows, those regions where we find higher wages or per capita income are also those with a greater presence of different nationalities.However, this is not always so, as in the case of Andalusia or the Valencian Community, with high rates of cultural diversity but levels of income per capita below the average.This is probably the reason why, although we find a positive correlation, on average, as shown by the upward slopes shown in Figure 5, where the log of wage is represented with respect to the different diversity indexes, this relationship is not too pronounced.In fact, the correlation coefficients obtained between the diversity indexes and wages do not exceed 0.2 in any case.

Data and Variables
In order to analyse the effect that the diversity of immigration has on wages in Spain, we used information from the 17 Spanish regions (Autonomous Communities) covering the period from 2008 to 2016.The sample period was selected with the purpose of evaluating the connections between immigrants' diversity and wages both during the crisis and afterwards.
Generally, the analysis of the existence of spillovers from immigrant diversity is not an easy task, given the restrictions in terms of data availability.In our case, we built a database using data from both INE and the EDUCAbase (from the Ministry of Education, Culture and Sports), which has allowed us to carry out the study at a NUTS 2 level.Table 2 contains a detailed explanation and the source of the variables used.

Data and Variables
In order to analyse the effect that the diversity of immigration has on wages in Spain, we used information from the 17 Spanish regions (Autonomous Communities) covering the period from 2008 to 2016.The sample period was selected with the purpose of evaluating the connections between immigrants' diversity and wages both during the crisis and afterwards.
Generally, the analysis of the existence of spillovers from immigrant diversity is not an easy task, given the restrictions in terms of data availability.In our case, we built a database using data from both INE and the EDUCAbase (from the Ministry of Education, Culture and Sports), which has allowed us to carry out the study at a NUTS 2 level.Table 2 contains a detailed explanation and the source of the variables used.Following previous literature, we employ national real wages as our dependent variable.This variable can also be interpreted in terms of productivity, as in other works that analyse the economic impact of immigrant diversity [9,10].Particularly, on the one hand, we employ the average annual gross wages per Autonomous Community.On the other hand, in order to see if the spillover effects of a greater cultural variability extend also to non-national workers, we define the real wages of the total population, that is, considering both immigrants and nationals.
As our main regressor, the diversity of migration has been computed here by three different indexes: Fractionalization Index, Entropy Index and Alesina Index, which have been calculated as explained earlier in Section 3. Consistent with previous literature, several characteristics of the region were considered as additional control variables.In line with Ottaviano and Peri [9], we include total population to capture the scale of the region.Moreover, following Gagliardi [14], the proportion of young population has been included as an additional regressor.According to the United Nations [2], young people are a positive force for productivity when they are provided with the knowledge and opportunities necessary to thrive, because they have skills acquired during their education that allow them to contribute to economic productivity.Furthermore, we introduce the unemployment rate of the natives to capture the employment opportunities offered by each region as in Gagliardi [14].The weight of this variable is especially relevant for the so-called labour immigrants.
Finally, given the relevance that human capital has on productivity and wages, as initially highlighted in the seminal paper by Lucas [48], in this work, we consider both national human capital and imported human capital.The first is proxied by the share of population that has reached high educational levels (for the coding of the variable "high education" in the Labour Force Survey of the National Institute of Statistics, until 2013, the National Classification of Education 2000 (CNED-2000) was applied, which is compatible with the International Standard Classification of Education 1997 (ISCED-97).As of 2014, the new National Classification of Education 2014 has been applied (CNED-2014), compatible with the International Standard Classification of Education 2011 (ISCED-2011; source: Ministry of Education, Culture and Sports).The information is found in EDUCAbase, a database provided by the Spanish Ministry of Education, Culture and Sports that collects the data from the exploitation of the educational variables of the Labour Force Survey offered by the INE.This survey represents a synthesis of information based on the educational variables of the Labour Force Survey and the Community Labour Force Survey).This variable has also been used by Bove and Elia [27] and Alesina et al. [25].Similarly, Saks et al. [49] found a robust positive relation between higher education and an increase in productivity and wages.Nonetheless, as mentioned by Nathan [50], this higher human capital may also be due to the entrance of skilled migration.According to this author, the arrival of skilled people has a significant and positive impact on the labour market of the destination countries.In our work, this variable is proxied by the percentage of immigrants that arrived from countries with high or very high levels of HDI as a proxy of skilled immigrants.In Tables A1 and A2 in the Appendix A, we present the main statistics and correlation matrix of these variables.As can be appreciated, we obtain a high positive correlation between higher education and the share of immigrants coming from countries with a high HDI, indicating that those regions with more national skilled workers also attract immigrants from more developed countries.

Estimation Methodology
For the estimation of the wage variations derived by a higher birthplace diversity, we employed a panel data methodology.This allowed us to account for both time effects and unobserved individual heterogeneity.As previously mentioned, to do so, we used data from the 17 Spanish Autonomous Communities (NUTS 2) during the period between 2008 and 2016.
Following the recent literature, we analyse how birthplace diversity affects wages, after controlling for other regional factors such as total population, young population, share of population with higher education, natives' unemployment and the share of immigrants arriving in each region from countries with a high or very high level of human development.More specifically, the estimated equation takes the following form: All of these variables are expressed in natural logarithms.Thus, the coefficients that accompany the explanatory variables will indicate the elasticity of the dependent variable with respect to the independent variables.Let ε c represent time-invariant permanent differences across regions, and let ε t be the time effects that affect the regions identically in each period.Finally, ε c,t is the random error term with a mean of zero, which is assumed to be independent across countries and over time.
The decision as to whether to consider unobserved region-specific effects as fixed or random is made based on the Hausman test.Fixed effects allow for unobservable factors, i.e., omitted variables that can be correlated with the explanatory variables, which vary between the individual entities and do not change over time, whereas random effects indicate that the exact value at the origin that each individual may have is not sure, but it is considered that it will probably gravitate around a central value.Hausman illustrated that the difference between the coefficients of fixed and random effects β f e − β re might be used to prove the null hypothesis that the random error term and the explanatory variables are not correlated (from modern econometrics, it is known that if the individual effects are not correlated with the other regressors in the model, as established under the null hypothesis in the Hausman test, both random and fixed effects are consistent and random effects are efficient.However, when individual effects and the explanatory variables are correlated, the fixed effect model is consistent, but not the random effects model.See Greene [51] for more details.).Moreover, an autocorrelation test proposed by Wooldridge [52] (for a more extensive discussion of this test, see Wooldridge [52]) was used to test autocorrelation problems in the models.The null hypothesis of this test is that there is no autocorrelation; if it is rejected, it can be concluded that it exists.
Given that our estimations may also be affected by an endogeneity problem and reverse causality, we also estimated the model using IV regression techniques.The plausibility of both the potential positive impact of an increase in the migration diversity on productivity and the possibility of regions with a higher productivity attracting immigrants from a greater number of countries has been documented in the literature [9].As authors such as Kemeny and Cooke [10] have explained, more productive regions can also attract a wider range of immigrants of different nationalities.That is, regions may experience an increase in the average wage due to a positive economic shock, which attracts immigrants disproportionately and, therefore, leads to an increase in diversity.If these two bidirectional causalities occur, the measured impact of diversity on wages and incomes would be biased upwards [9].A similar explanation is given by Gagliardi [14] for the study of the causal relationship between skilled migration and innovation.However, it is also possible that a positive effect of migration on wages may be reduced by the fact that inflows of immigrants occurred in regions where these potential positive effects are offset by their initial poor economic conditions (as shown in some regions of Spain), leading to a downward bias.In any case, the potential interconnection between migration and wages, whatever the sign, makes it necessary to consider the likelihood of a reverse causality in our analysis.To overcome this problem we employ instrumental variables estimation.This is a method widely used among economists that requires finding an exogenous variable (the instrument) whose exogenous changes affect diversity in a regions but not wages.That is, the IV technique aims to isolate changes in salary that are exclusively due to greater cultural diversity.

Fixed Effects Estimation
Table 3 presents the estimates of Equation ( 4) using the fixed effects (FE) estimation methodology.As can be seen at the bottom of this table, the Hausman test statistic suggests that in all cases the fixed effects model is preferred to the random effects model.In addition, from the Wooldridge test for autocorrelation, we can conclude that the data do not have first-order autocorrelation.The coefficients in Table 3 are shown sequentially for the three alternative measures of migration diversity (FI, EI and AI, respectively).The most outstanding result of these regressions refers to the significance of the indexes of cultural diversity in the three regressions.This result is consistent with our main hypothesis of the existence of positive spillovers in terms of higher wages from greater heterogeneity of immigrants.Specifically, the estimated coefficients imply that, on average, an increase in the Fractionalization Index of 10% leads to a rise in the wage of nationals of 1.49%, keeping other regional factors constant.A higher impact is seen with the Entropy Index, as an increase by 10% will predict a growth in the wages of nationals of 1.96%, ceteris paribus.However, this effect is significantly smaller when we consider the Alesina Index.In this case, a higher index, around 10%, implies an increase of 0.8% in wages.The smaller value of this last index may be explained by the very nature of the Alesina Index.As shown previously, this index calculates the diversity strictly among those born abroad in a given place, instead of capturing heterogeneity among all individuals.
Coefficients on other control variables show the expected signs.We find that, except for population and unemployment, all of them have a significant effect on productivity.The lack of significance of the population may be due to the inclusion of other variables, such as a young population, that may capture, in some way, the scale of the region.As can be seen in Table 3, the results from all the regressions suggest a positive and significant influence of a greater proportion of young population on real wages.Specifically, an increase of 10% in the rate of young population in each region increases the average wage for nationals above 8%.Similarly, our estimates verify the beneficial impact of skilled labour on wages.In particular, an increase of 10% in the share of the population with higher education will result in a rise in wages by 3%.The presence of migrants arriving from countries with a high or very high HDI also appears to be positively correlated with wages of native-born workers.According to our estimates, with a share of 10 higher, real wages will increase by approximately 4%.In contrast, the unemployment rate for natives seems to have a non-significant influence on wages of nationals.Following the recommendations of an anonymous referee, to avoid an omitted variables problem, we have also estimated the model including GDP per capita, as a determinant of real wage.However, probably due to the high correlation of this variable with unemployment (with a correlation coefficient of −0.7034), the GDP per capita is not significant in our regression.Nonetheless, the sign and the statistical significance of the rest of the control variables remains unchanged.The results are available upon request.
Next, we estimate whether these productivity spillovers, and hence the salary improvements for national workers derived from a greater cultural variety, extend to non-national workers too.To do so, we re-estimated the previous model using the total wage of the population as a dependent variable, considering the earnings from both immigrants and nationals.Accordingly, the estimated equation now takes the following form: where wagetot c,t represents the real wage of the total population and the subscripts and the rest of the variables have the same definition as previously in Equation ( 4).According to the results of the Hausman test, the coefficients have been estimated once again through the FE methodology.The estimates are presented in Table 4.
In general, the estimates obtained in these regressions confirm our previous outcomes, although now only two of the three diversity indexes (EI and AI) are significant.The lack of significance of the FI might be justified by the fact that, as pointed out in the literature, the Fractionalization Index might be overrated due to the presence of a large proportion of immigrants in a region, even when these immigrants do not come from a wide range of countries of origin.Thus, we can conclude that the salary benefits from a greater diversity of immigrants in terms of their birthplace are not limited to the national population, but also affect non-native workers.
Note, however, that although the sign of the coefficient on indexes is similar to those previously estimated, the estimated values are now slightly lower and somewhat less significant, revealing a lesser forcefulness of this effect in the case of non-national workers.Increases in the Fractionalization Index and in the Entropy Index of 10% are associated with an increase in the average wage of the total population of 1.34% and 1.82% respectively, whereas the same increase in the Alesina Index will imply a rise in wages of 0.73%.
The estimates for the other control variables confirm the beneficial influence that a greater young and skilled population has on real wages; as well as the positive productivity spillovers of an increase in immigration from countries with a high or very high HDI.Regarding the unemployment rate of natives, we found an expected significant influence.The estimated coefficients indicate a decrease of approximately 0.8% in total wages due to a rise of 10% in the unemployment rate.Finally, as can be seen at the bottom of the table, in all cases, the Wooldridge test for autocorrelation shows us that data do not have first-order autocorrelation.

Endogeneity and Instrumental Variable (IV) Approach
As mentioned above, the FE estimation takes into account unobserved heterogeneity among regions; however, it does not consider a potential simultaneity problem or reverse causality.Nonetheless, as pointed out by Cadena and Kovak [53] and Lewis and Peri [11], among others, the location of immigrants is not a random selection.In contrast, this may depend on the local economic outcomes.Consequently, whenever the amount of diversity of immigrants in a region and its economic performance are interrelated, we need to be cautious in our estimations in order to avoid biased estimates.To solve this, we employ two-stage regression techniques by using an instrumental variable (IV) whose exogenous variation affects migration diversity in a region, but not total worker productivity.Doing this, we try to capture the source of correlation between cultural diversity and wages that is due exclusively to the influence of diversity on wages [9].Although the endogeneity of immigrant diversity is clear from a theoretical point of view, we check this fact empirically through the Wu-Hausman endogeneity test (to compute this test, we add the residuals from the reduced form of the endogenous variables as an additional regressor in the structural equations).The results of this test are shown in Table A3 from the Appendix A (under the null hypothesis of no endogeneity, ordinary least squared (OLS) estimation is consistent and efficient, while two-stage regression is also consistent, but inefficient.However, if endogeneity exists, an IV estimation methodology is required to guarantee consistent estimations.)As can be seen, the outcomes obtained confirm that the diversity indexes are endogenous in the three regressions.Accordingly, to deal with the problem of endogeneity, we next estimate our model using two-stage fixed effects (2SFE) methodology with an instrumental variable.
Traditionally, two kinds of instruments have been used to address the concern of endogeneity of migration.The first based on accessibility measures as ports or land borders (see, Ottaviano and Peri [9], among others).This, however, does not seem appropriate for the Spanish case currently given the great advances and cost lowering of national transport, which allows people to move easily across the country.The second type of instruments is built according the procedure often referred to as "shift-share methodology" (Card [54]).The intuition behind this instrument relies on the fact that the initial share of immigrants by country of origin can be considered a good predictor of subsequent migration inflows, as migrants tend to be attracted to regions where other immigrants from the same country locate (Gagliardi,[14]).As shown by Alamá et al. [6], network or agglomeration effects play an important role in the attraction of immigrants in Spain.Accordingly, we can "predict" the immigrant composition of an Autonomous Community based on the current total immigration rate and the shares of immigrants from each region at the beginning of the period.In this line, the instrument used in our regressions is a type of diversity index constructed as the "predicted" change in the number of immigrants from each country in each region during the period 2008-2016.This instrument was initially proposed by Ottaviano and Peri (2006) [9], which later became a standard instrument in literature, as in the case of Gagliardi [14].As mentioned by Ottaviano and Peri [6], by definition, this index does not depend on any regional economic shock in the current period.
First, the growth rate of immigration is calculated for each group of immigrants according to their birthplace (this has been calculated year by year since 2009; it does not have information for 2007).Thus, using the same notation as in Section 3, we have: where g r is the growth rate of immigrants born in country r, y t−1 represents the previous period t, and y t represents the current period.Second, from the above equation, we calculate the "attributed" share of people born in country r and residing in an Autonomous Community c in year t: As a final stage, we obtain a diversity index, div, through the attributed share of foreign-born individuals: As Ottaviano and Peri (2006) [9] explained, the variable div is independent of any specific shock in a region during the period, since the attributed diversity for each Autonomous Community in year t is built using the participation of the Autonomous Community in year t − 1 and the national growth rates of y t − y t−1 of each group of immigrants (consequently, 17 observations corresponding to the year 2008 have been lost).Thus, this variable would meet the exogeneity requirements needed for a good instrument.However, an additional criterion is necessary for an instrument: to be relevant.To confirm the relevance of this instrument, Table 5 presents the estimates of the first stage regression and the results of tests of both underidentification and weak identification.To test whether the equation is identified, i.e., that the excluded instruments are relevant, we display the Kleibergen-Paap [55] rk statistic.The Stock-Wright [56] S statistic is employed to test weak identification.As can be seen at the bottom of the table, the results obtained confirm that the instrumental variable, div, is relevant and does not suffer from weak identification problems given that both tests are rejected at the 5% level in all cases.The explanatory power of the instrument in the diversity regressions is also confirmed through the F tests of excluded instruments.In conclusion, we can say that the connection between predicted diversity and the different diversity indexes are significant.Accordingly, our instrument should plausibly increase (decrease) when the cultural diversity goes up (down) or vice versa.Therefore, to the extent that the predicted diversity does not depend on regional wages in the current period (by definition), div can be considered a reasonably acceptable instrument for cultural diversity in the estimation of wages.Subsequently, Table 6 illustrates the estimations of the second stage.As in the fixed effects regressions, the three diversity indexes (FI, EI and AI) are now positive and statistically significant in the explanation of the average wage, suggesting that an increase in the diversity of immigrants is associated with higher real wages.In particular, similarly to the FE estimates, we find that when the Fractionalization Index rises by 10%, wages of nationals go up 8.36%.In the regression of the Entropy Index, outcomes are similar with a coefficient of 7.86%.The effect that an increase in the Alesina Index has on wages is lower than those obtained with the previous indexes, but higher than that achieved through the regression with fixed effects.Additionally, the results of the 2SFE regressions confirm the expected benefits derived by a higher rate of young and educated population as well as the benefits for national workers of a higher proportion of skilled immigrants.Next, for the purpose of comparison, and to obtain a broader view of the impact of a greater cultural diversity on the labour market, we perform a similar analysis considering the wages of total workers (including non-native ones) as a dependent variable.Similarly, the problem of a non-random selection in the location of immigrants is analysed through the Wu-Hausman endogeneity test.The results in Table A4 from the Appendix A confirm the endogenous nature of the three diversity indexes in the explanation of the total wages.Accordingly, we estimate the model by 2SFE using the predicted change in the number of immigrants coming from each country as the instrumental variable.The validity of this instrument has been previously confirmed by the Kleibergen-Paap [55] rk, the Stock-Wright [56] S and the F statistic tests of underidentification, weak identification and excluded instruments (see Table 5).The estimates in Table 7 support our suspicions that the beneficial effect of greater diversity in the workers' compensations also affects non-native workers.As before, the three diversity indexes are positive and statistically significant (although these coefficients are not directly comparable due to differences in the number of observations in both regressions.).Furthermore, the roles of the other control variables in the explanation of total wages are similar to those obtained previously.
To sum up, our estimates consistently confirm that immigrant diversity is positively associated with wages (for natives and non-natives) in Spain.These outcomes are robust to the unobserved regional heterogeneity.In addition, in this work, the risk of a potential reverse causality bias between the economic conditions of a region and its cultural diversity is taken into consideration through instrumental techniques which provide us reasonably robust results in this matter.Finally, we prove the important role of an increase in a young and skilled workforce, whether native or foreign, to encourage productivity and regional development.

A Robustness Analysis: The Extended Model
In this section, we present an alternative model that includes the following as potential factors of real wages: proportion of total immigrants and its interactions with cultural diversity (instead of considering only the immigrants from countries with a high or very high HDI).The estimates of the covariates of these extended regressions for national and total wages are shown in Tables 8 and 9, respectively.The results obtained confirm that cultural diversity is positively and significantly related with wages (for natives and for the total population).Moreover, the estimates on the other explanatory variables are in line with our previous findings.We obtain similar outcomes when we drop share of HDI from the regressions, as suggested by an anonymous referee (See Tables A5 and A6 from the Appendix A) (according to this anonymous referee, given that the share of immigration from countries with a high or very high HDI potentially relies on some of the characteristics on which cultural diversity depends, its inclusion might bias the regression coefficients).However, now, in this extended model, the coefficient on the share of total immigrants suggests that a higher proportion of total immigrants in a region negatively influences wages.Nevertheless, this negative connection between the share of immigrants and wages is partially mitigated by the higher cultural diversity linked with the greater representation of non-natives.The positive coefficient on the interaction terms implies that in regions where immigration is relatively overrepresented, the associated greater cultural variety compensates for the harmful effect of total migration.

Conclusions
Despite its late incorporation into the massive waves of worldwide immigration, Spain has become one of the biggest recipients of immigrants in Europe.The importance that this phenomenon has had in recent times, particularly in the developed world, has fuelled the debate about immigrants' economic effects.Traditionally, the literature in this regard has paid special attention to the potential substitution effect from more expensive native workers to a cheaper workface made up of immigrants.However, more recently, and probably motivated by the greater availability of data and a broader view of the phenomenon, a new perspective focusing on the diversity of immigrants has been incorporated into this debate.According to this literature, birthplace diversity may increase productivity and hence real wages by enabling the combination of different skills, ideas and perspectives.
The aim of this work is to provide a robust estimation of the impact of immigrant diversity on real wages in Spain at a regional level.Specifically, we try to analyse how birthplace diversity has affected workers' compensation in this economy during the period from 2008 to 2016.The relevance of immigration, in terms of quantity, as well as the particular pattern of migration during this period, with an increasing number of immigrants coming from developed countries, makes the analysis of the connection between cultural diversity and wages in this economy of special interest.
To study this question, we based our analysis on three different diversity indexes: the first, the Fractionalization Index, reflects the likelihood that two randomly selected immigrants from a region were born in two different countries.The second, the Entropy Index, provides a more accurate measure of diversity when the constituent groups are of different sizes.Finally, the third, the Alesina Index, measures diversity strictly among those born abroad in a given place, instead of capturing heterogeneity among all individuals, natives and immigrants.In contrast to most of the previous literature and following the recommendations of Kemeny and Cooke [10], we take into account the potential simultaneity between migration heterogeneity and economic performance by estimating the model through instrumental variable techniques.We instrumentalize the cultural diversity using information on the "predicted" change in the number of immigrants from each country in each Autonomous Community, as proposed by Ottaviano and Peri [9].Finally, we estimate an extended model showing the important role of total immigrants and its linkages with cultural diversity in the determination of wages.
As in previous empirical works for other countries and regions [9][10][11]27,29], our findings suggest a positive and significant correlation between immigrant diversity and real wages in the Spanish regions.Moreover, in our case, this result remains when the wages of the total population (without distinguishing between natives and immigrants) are considered.These outcomes are robust to both the unobserved regional heterogeneity and the presence of a two-way connection between wages and immigrant diversity.Moreover, our findings remain valid for alternative model specifications.Therefore, we can conclude that despite the sui generis nature of recent immigration in Spain, with a high participation of so-called permanent tourists, the cultural variability is also manifested here as something beneficial for native and non-native workers.We further prove that skilled labour and a greater proportion of immigrants coming from countries with a high or very high human development index are positively related with greater real wages.Thus, for a definitive evaluation of the total impact that heterogeneous immigration may have on recipient economies, policy makers should take into account the effect that these international movements have on cultural diversity as well as the implications on the level of skilled labour that emerge from the inflows of new workers.

Limitations and Future Research
Despite the consistency of the results, this research is not free from certain limitations.These limitations lead us to be cautious in the interpretation of our findings, and provide us with a stimulus to strive for stronger overall evidence about the impact that the inflows of heterogeneous immigrants have on productivity and wages.
Concerning the diversity indexes used in this paper, a few considerations must be discussed, as Alesina et al. [25] suggested.First, there is a limitation because illegal immigration is not captured in the statistical data measured.Second, diversity has been defined according to the place of birth of the immigrants and, therefore, according to this definition, a small child who immigrates with his or her parents will be considered an immigrant despite receiving the education and culture of the host country.A third limitation refers to the fact that our diversity indexes do not allow us to account for immigrant heterogeneity in terms of race, ethnicity or religion, among others.Because official data do not collect data by race, ethnicity or religion, we do not have the possibility of obtaining more specific conclusions concerning the linkages between cultural diversity and the diverse groups of immigrants.
A lack of information has also prevented us from a deeper analysis related to the potential positive spillovers resulting from greater knowledge.In a novel way, in this paper, we have proxied foreign skilled labour through the percentage of immigrants coming from countries with a high or very high HDI.However, given the important role of human capital in the determination of wages and the fact that more highly skilled labour may also come from the entry of more trained foreign workers, when data availability allows, more specific research should address this question.

Figure 1 .
Figure 1.Immigrant population in Spain in the total population 1998-2016.Source: authors' own elaboration based on Spanish National Statistics Institute (INE) data.

Figure 1 .
Figure 1.Immigrant population in Spain in the total population 1998-2016.Source: authors' own elaboration based on Spanish National Statistics Institute (INE) data.

Figure 3 .
Figure 3. Average annual wage in Spain by nationalities.Source: authors' own elaboration based on INE data.

Figure 2 .
Figure 2. (a) Maps of the diversity indexes by regions in 2008; (b) maps of the diversity indexes by regions in 2016.Source: authors' own elaboration based on INE data.

Figure 2 .
Figure 2. (a) Maps of the diversity indexes by regions in 2008; (b) maps of the diversity indexes by regions in 2016.Source: authors' own elaboration based on INE data.

Figure 3 .
Figure 3. Average annual wage in Spain by nationalities.Source: authors' own elaboration based on INE data.

Figure 3 .
Figure 3. Average annual wage in Spain by nationalities.Source: authors' own elaboration based on INE data.

Figure 4 .
Figure 4. Monthly wage by regions.Source: Authors' own elaboration based on INE data.

Figure 4 .
Figure 4. Monthly wage by regions.Source: Authors' own elaboration based on INE data.

Figure 4 .
Figure 4. Monthly wage by regions.Source: Authors' own elaboration based on INE data.

Figure 5 .
Figure 5. Relationship between birthplace diversity and real wages.Source: Authors' own elaboration based on INE data.

Figure 5 .
Figure 5. Relationship between birthplace diversity and real wages.Source: Authors' own elaboration based on INE data.

Table 1 .
Overview of studies on the impact of migrant diversity on economic performance.

Table 2 .
Definition and data sources.

Table 2 .
Definition and data sources.
t ) k +β 2 ln(popul c,t ) + β 3 ln(youngpop c,t ) + β 4 ln(higheduc c,t ) +β 5 ln(unemnat c,t ) + β 6 ln(shareHDI c,t) + ε c + ε t + ε c,t(4)where c stands for each Autonomous Community and t denotes time, specifically, each year analysed; wage c,t indicates the average real wage of the national population of each region; birthplace_index c,t represents the different indexes we have used to measure diversity; where k ∈ [1, 3] indicates each of the three indexes calculated; popul c,t and youngpop c,t indicate the population and young population enumerated in each region; higheduc c,t shows us what percentage of the total population has higher education; unemnat c,t constitutes the unemployment rate of the natives; and finally shareHDI c,t allows us to control for what proportion of the foreigners come from countries with a high and very high HDI.
Note: standard errors in parentheses *** p < 0.01, ** p < 0.05, * p < 0.1.For the Hausman test and the Wooldridge test for autocorrelation, we report the p-values in parentheses.

Table 4 .
Estimation results of total wage using fixed effects estimation: 2008-2016.
Note: standard errors in parentheses *** p < 0.01, ** p < 0.05, * p < 0.1.For the Hausman test and the Wooldridge test for autocorrelation, we report the p-values in parentheses.

Table 5 .
Estimation results of first stage regression.

Table 6 .
Estimation results of wage using IV through two-stage fixed effects (2SFE).

Table 7 .
Estimation results of total wage using IV through 2SFE.

Table 8 .
Estimation results of wage using IV through 2SFE.Extended model.

Table 9 .
Estimation results of total wage using IV through 2SFE.Extended model.

Table A4 .
Estimation results of the Wu-Hausman endogeneity test from the reduced form regression of total wages.

Table A5 .
Estimation results of wage using IV through 2SFE.Reduced model.

Table A6 .
Estimation results of total wage using IV through 2SFE.Reduced model.