1 Introduction

This paper contributes to the recent literature on the exporter wage premium. This literature has focused on an exporter/non-exporter dichotomy. Instead, this paper provides first evidence that there is a more continuous destination-market effect. Using Spanish data, we estimate wage premia for establishments selling to the national, European Union, and rest of the world markets (with wages in local-market establishments as the reference). Controlling for worker and other establishment characteristics, we find all these output-market wage premia significant and increasing in market remoteness and employee education. We also find that establishments’ human capital is increasing in the remoteness of their main output market. On the theoretical side, we build a model predicting that firms selling to more-remote markets employ higher human capital, pay higher wages to employees within each education group, and produce higher quality. The model provides a potential explanation for our empirical results, which is consistent with the evidence on the relationship between destination-market remoteness and quality of exports put forward by recent trade literature.

The literature on the exporter wage premium was initiated by Bernard and Jensen (1995). Using plant level data from US manufacturing, they showed that exporters pay higher wages. Their approach was to regress average wage in a plant on plant characteristics (size, sector, etc.) and on a dummy for export status. This approach has been repeated for many different countries (see Schank et al. (2007) for a review). However, almost all these studies use plant level data and therefore do not control for worker characteristics. As a result, they cannot really check if similar workers are paid higher wages in exporting firms and how the exporter premium, if any, depends on individuals’ education. Moreover, all of the literature draws a single sharp dichotomy between exporters and non-exporters. However, it is unclear whether such a sharp dichotomy exists, as opposed to a more continuous output-market effect that is increasing in market distance and that may work even within national borders.

Two recent papers are able to estimate the exporter wage premium controlling for worker characteristics. Schank et al. (2007) and Munch and Skaksen (2008) use matched plant-worker data for Germany and Denmark, respectively, and find a significant positive wage effect of firm export intensity, even after controlling for worker education. In this paper we extend this evidence using Spanish matched data for more than 15,000 establishments and 150,000 employees from the Encuesta de Estructura Salarial (Survey on the Wage Structure). Our results confirm the existence of an exporter wage premium after controlling for individual characteristics of workers. However, our quantitative results show important differences from these two papers. Schank et al. (2007) find that the exporting wage premium almost vanishes when worker characteristics are controlled for. Munch and Skaksen (2008) find that the level of firms’ export intensity is not significant when an interaction between this and firm skill intensity is included. They conclude that the export premium only accrues to firms with high human capital. In contrast, we find a significant exporter wage premium that is still larger than 10% after controlling for worker and other firm observable characteristics. When including an interaction term with firm’s human capital, the coefficient on the export status remains almost unchanged whereas the interaction term coefficient is almost zero and insignificant. On the issue of how the exporter premium relates to individual characteristics, Schank et al. (2007) find that the premium is larger for blue-collar than for white-collar employees, whereas Munch and Skaksen (2008) find no monotone relationship between the premium and education.Footnote 1 In this paper we find that all output-market wage premia in Spain are monotonically increasing in education (as well as the establishment’s human capital wage premium). As we discuss in the corresponding section, disparities between our results and those in these papers may be due to differences in the type of data, estimation techniques, and differences between the Spanish economy and the German and Danish economies.

Still, the most novel empirical contribution of this paper is to show that instead of a single exporter/non-exporter dichotomy with respect to wages and human capital, there is a more continuous destination-market effect. We find that employees in national-market establishments obtain wages 10.5% higher than employees with the same observable characteristics in local-market establishments. This wage premium rises to 17.0% if the establishment’s main market is the European Union, and to 21.9% if the main market is the rest of the world (always using as reference wages in firms whose main market is a local one). With respect to human capital, we find that the proportion of college graduates in national-market establishments is 5.6% points higher than in local-market establishments. This proportion is 9 points higher in establishments whose main market is the European Union, and 12.9 points higher in establishments whose main market is the rest of the world.Footnote 2

We also jointly estimate firm size and coworkers’ average education effects on wages.Footnote 3 Overall, estimated firm-characteristics wage effects are substantial and provide important patterns of wage inequality within education groups. For example, the estimated wage of a college graduate working in an establishment with favorable characteristics (i.e., a large exporter with average employee education in the forth quintile of the distribution) almost doubles the wage of an individual with the same observable personal attributes who works in an establishment with unfavorable characteristics (i.e., a small local-market establishment with coworkers’ education in the first quintile of the distribution). Our results also suggest that increasing globalization may play a significant role in raising wage inequality across education groups. Note in this respect that firm output-market wage effects for college graduates triple those for individuals that did not complete secondary studies.

Previous papers on the exporter wage premium provide some informal possible explanations for this effect. In the second part of this paper, we build a partial equilibrium model that provides a potential joint explanation for all our empirical results. The model has the important virtue of being consistent with some notable facts recently documented by the international trade literature. This literature makes clear the importance of introducing firm heterogeneity and quality differentiation in models of exports. In our model, efficiency-heterogeneous firms in terms of their efficiency optimally choose output quantity and quality, destination markets, and employees’ composition in terms of education and unmeasured skills. In equilibrium, more-efficient firms are larger, produce higher quality, sell in more-remote markets and employ a larger share of workers with high education and skills. As a result, the model predicts a positive link at the firm level between size, remoteness of output markets, human capital, and average wages paid within each education group.Footnote 4

The facts and arguments in the recent trade literature with which our model is consistent can be summarized as follows. Firm heterogeneity is a prominent phenomenon that translates into substantial differences in export participation and number of output-markets across firms (see Eaton et al. (2004, 2008); for a survey of this fast growing literature, see Bernard et al. (2007)). Furthermore, describing the current patterns of trade requires considering quality differentiation. International trade is decreasingly characterized by horizontal specialization across goods and increasingly characterized by quality specialization within goods (see Schott (2004); Hummels and Klenow (2005); Khandelwal (2007); and Fontagne et al. (2008) among others). In this context, Hummels and Skiba (2004) have documented a positive relationship between export quality and transportation costs to destination market, in line with the well-known Alchian–Allen effect. Baldwin and Harrigan (2007) and Johnson (2007) provide evidence in the same direction.Footnote 5 In particular, Baldwin and Harrigan (2007) find that unit prices of exports tend to increase with the remoteness of destination markets. They also show that previous standard firm-heterogeneous trade models without quality differentiation are inconsistent with this evidence. The reason is that more-efficient firms sell at lower (fob) prices in all markets; since only the more-efficient firms sell in the more-distant markets, more-distant markets should have lower average import (fob) prices. They argue that introducing quality differentiation seems to be the most plausible way to rebuild previous models in order to make them consistent with the new evidence. Specifically, the link between firm efficiency and output quality can explain the larger export prices to more-distant markets. This same firm-efficiency/output-quality link is the mechanism used in this paper’s model to explain the relationship between firm wages and human capital, on the one hand, and output-market remoteness on the other hand.

All the models cited above assume homogeneous labor within each country and therefore do not explore the possible links between firm’s human capital, wages, quality, and remoteness of output markets.Footnote 6 The model in this paper introduces heterogeneous labor and explains why firms selling in more-remote markets employ more human capital and pay higher wages in a manner that is consistent with the evidence and analysis in Hummels and Skiba (2004), Baldwin and Harrigan (2007), and Johnson (2007). Manasse and Turrini (2001), Yeaple (2005), and Verhoogen (2008) also provide models considering heterogeneous firms, heterogeneous labor, and exporting decisions. However, the differences between these models and the model in this paper are significant. In Manasse and Turrini (2001) there are heterogeneous skilled workers and homogeneous unskilled workers. Each firm employs only one skilled worker and a variable number of unskilled workers. The skilled worker is then most naturally interpreted as the entrepreneur and her specific skills are what make firms heterogeneous. Moreover, there is not an analysis of the optimal choice of output quality by the firm but an exogenous one-to-one correspondence between entrepreneur’s skill and firm’s output quality. Yeaple (2005) considers an economy with different available technologies leading to endogenously heterogeneous firms. In equilibrium, exporters are larger and employ more-skilled workers. However, he does not consider quality differentiated goods. Therefore, as explained before, it is unlikely that this model could be consistent with the facts documented in Hummels and Skiba (2004), Baldwin and Harrigan (2007), and Johnson (2007). Verhoogen (2008) lays out a model with both labor heterogeneity and quality differentiation, which is closest to ours. A key difference is that in Verhoogen (2008) there is no substitutability between workers with different skills as the firm raises output quality. Instead, producing one unit of output always requires one unit of blue-collar and one unit of white-collar labor. Then, the only way to produce higher quality is by increasing the quality (i.e., effort or skills) of these two units of labor.Footnote 7 The model here provides a more general and plausible technology setting. There are also considerable differences between our model and the usual analysis of firms’ self-selection as exporters to different markets, which will be discussed below.

The paper is organized as follows Sect. 2 explains the details of the data set. Section 3 explores the relationship between establishments’ main market and human capital. Section 4 analyses the relationship between establishments’ characteristics (such as main output market, size, and human capital) and individual wages. Section 5 provides a theoretical model that is consistent with the empirical results here and with important facts and regularities documented by the recent trade literature. Section 6 summarizes and concludes.

2 Data and descriptive statistics

Our empirical analysis is based on data from the Spanish Encuesta de Estructura Salarial for 2002 (Wage Structure Survey, EES-2002). This survey contains matched employer–employee data for more than 15,000 employers and 150,000 employees. It is conducted by the Spanish National Institute of Statistics following a two-stage stratified sampling methodology. In the first stage, establishments with at least ten workers are stratified by economic activity, firm size and region. Agriculture and the public sector are excluded. In the second stage, workers at every establishment are randomly selected. The survey provides information about the region where the establishment is located, industry, size, collective bargaining if any, and main broad destination market for output. The main destination market attribute distinguishes between local, national, European Union and rest of the world markets. In our analysis, we exclude from the sample industries that do not have any exporting establishment (building, production and distribution of electrical energy, gas and water, education, health, social work and other social activities, and personal service activities). This leaves a sample of 11,567 establishments from 36 three-digit industries (main subsections of the National Classification of Economic Activities).

The survey also provides information on the main individual characteristics of workers randomly selected at every establishment, such as education, sex, age, years working in the current establishment, type of contract, full/part-time job, etc. In our analysis on wages, we restrict the sample to male workers with full-time jobs and indefinite contracts.Footnote 8 We also exclude workers who went through transitory labor incapacity or were included in job promotion programs. In this way, we isolate the establishment-characteristic effects on wages from other circumstances such as gender discrimination, positive discrimination policies, underemployment, etc. This depuration brings about a sample of 35,602 workers and 9,120 establishments.

Table 1 reports the main descriptive statistics on establishment characteristics. As in other countries, establishments whose main market is exports are only a small fraction of the total (about 6.5%). Most establishments have less than 50 workers (71.3%) and only 11% employ 200 or more workers. Although the percentage of workers with a college degree is 10.5, only 27.6% of the establishments in the sample include at least one worker with a college degree among their surveyed employees. The percentage of workers with a college degree in this last subset of establishments is 34.2. This suggests that the data on the fraction of college graduates should be treated as censored data. The relationship between establishment size and main output-destination market shows a very strong pattern: the fraction of establishments with the smallest size is decreasing in market remoteness (e.g., the fraction of smallest firms is 0.85 for the local market while it is 0.29 for the rest of the world). The opposite occurs with the other two size groups. Establishments selling most of their production in non-local markets employ more-educated labor and a larger fraction of workers with a college degree. In particular, the fraction of college graduates in establishments exporting most of their output to countries outside the EU is almost three times higher than in firms selling in local markets.

Table 1 Establishment characteristics: descriptive statistics

3 Establishment characteristics and employees’ education

In this Section, we consider the relationship between main output market and human capital at the establishment level. Previous studies do not use data on firms’ average education of employees. They analyze differences between exporters and non-exporters in terms of the composition of occupations and the ratios of blue-collar to white-collar workers (see Bernard and Jensen (1997, 1999), Maurin et al. (2002), Biscourp and Kramarz (2007), and Bernard et al. (2007)). The novelties here are two. We are able to analyze differences in average education across establishments and to go beyond the exporters versus non-exporters distinction by classifying establishments across four main markets: local, national, EU and rest of the world. Our benchmark equation is the following:

$$ e_{j} = \alpha_{0} + \alpha_{1} S2_{j} + \alpha_{2} S3_{j} + \alpha_{3} M_{Nj} + \alpha_{4} M_{Ej} + \alpha_{5} M_{Wj} + \alpha_{6} Z_{j} + v_{j} ; $$
(1)

where e j is either employees’ average years of schooling in establishment j or, alternatively, the fraction of college-educated employees. The covariates of interest are dummies for size and destination market. S2 corresponds to establishments employing between 50 and 199 workers, and S3 corresponds to establishments with more than 199 workers. M N , M E and M W are dummies for establishments whose main output market is, respectively, the national market, the European Union market, and the rest of the world market. The reference group in estimations using all these covariates is establishments that sell most of their production in a local market and have between 10 and 49 employees. Additionally, we always include a vector Zj of dummies for establishment location (17 regions) and industry (36 industries). v j is the error term. To compare results with previous literature, we also run regressions merging local- and national-market establishments into a single group of domestic-market establishments, and merging EU- and rest of the world-market establishments into a single group of exporters.

Table 2 shows the results. Columns (1)–(3) report results using employees’ average years of schooling as the left-hand-side variable and estimating the equation by weighted least squares. Column (1) corresponds to the usual specification in the literature, which only distinguishes between exporting firms and domestic-market firms (which is the reference group in this estimation). Still, there is a difference with the previous literature in that we use data on employees’ average education instead of the ratio between white and blue-collar workers. Our result confirms the positive and significant effect of exporting on firm’s human capital. In column (2) and (3) we use the classification of establishments across all the four main destination markets. The reference group in these two columns is local-market establishments. All destination market dummies in column (2) are positive, significant at the 1% level, and quantitatively important. National- and European-market destination coefficients are not statistically different. Meanwhile, the difference between local- and national-market firms is as large as the difference between domestic-market firms and exporters found in the previous estimation.Footnote 9

Table 2 Establishment characteristics and employees’ education

In the case of the size effects, the two dummies become negative though not statistically significant in column (2). This suggests that there may be other reasons—different from higher efficiency—which may also give rise to a large size. In such a case, larger establishment size per se may not imply greater demand for more educated workers unless combined with other characteristics such as non-local destination market. We test this hypothesis in column (3) by introducing an interaction term between size and non-local destination market. The coefficients for large size conditional on selling most of their output in non-local markets are now positive and significant. Large firms employ workers with higher average schooling, only as long as they orient their production to the national or international markets. Conversely, large establishments oriented towards the local markets employ significantly less-educated workers. Coefficients for destination markets in column (3) show the same pattern as in column (2).

In columns (4)–(6) of Table 2 we repeat the same specifications now using the fraction of college graduates in the establishment as the left-hand-side variable. Since about 70% of establishments in the sample do not include interviews to college-educated workers, least squares estimates may be inconsistent due to censured data problems. We therefore estimate a Tobit model by maximum likelihood. The qualitative results are similar to those reported in columns (1)–(3). All destination market effects are positive and significant. Interestingly, the coefficients are now strictly increasing in the remoteness of the market. Marginal effects implied by the estimated Tobit-model coefficients in column (5) are very large. The proportion of college graduates in national-market firms is 5.6% points higher than in local-market firms. In EU-market firms, the proportion is 9% points higher.Footnote 10 Moreover, in firms oriented towards the rest of the world markets, the proportion is 12.9% points higher than in local-market firms. To asses the importance of these effects, note from Table 1 that the proportion of college graduates in the whole sample is 10.5%.

Summarizing, our empirical results in this section give support to the hypothesis that firms selling to more-distant markets employ more-educated workers. They also show that the conventional dichotomy between exporters and non-exporters may be misleading. In fact, the largest differences across firms do not lie between exporters and non-exporters but between local- and national-market firms, and between exporters to the EU and exporters to the rest of the world.

4 Establishment characteristics and wages

We now turn to wages. Our benchmark wage equation is based on the usual Mincerian equation where the log of employee i’s hourly wage in establishment j, w ij , is a function of his individual characteristics. We include worker’s schooling years, Y ij ; potential experience, PE ij (level and squared), defined as the difference between employee’s age and the expected age to complete his studies according to their official length; and tenure T ij (level and squared), defined as the number of years working for the current employer. To this equation we add establishment j’s characteristics: the two dummies for size already used, employee’s average years of schooling, e j , the three dummies for main destination market, and a vector Z j of other controls (dummies for 36 three-digit industries and 17 regions). Thus, the benchmark equation is:

$$ \begin{aligned} \ln w_{ij} &= \beta_{0} + \beta_{1} Y_{ij} + \beta_{2} PE_{ij} + \beta_{3} (PE_{ij} )^{2} + \beta_{4} T_{ij} + \beta_{5} (T_{ij} )^{2} \\ &\quad+ \beta_{6} S2_{j} + \beta_{7} S3_{j} + \beta_{8} e_{j} + \beta_{9} M_{Nj} + \beta_{10} M_{Ej} + \beta_{11} M_{Wj} + \varsigma 'Z_{j} + u_{ij} ; \\ \end{aligned} $$
(2)

where u ij is the residual.

4.1 Main results

We estimate several variants of Eq. 1 using weighted least squares and the sub-sample of men with full-time job and indefinite contracts as described in Sect. 2. Table 3 reports the results. Robust standard errors corrected for the clustered sampling scheme are in parenthesis. All estimations include dummies for 36 three-digit industries and the 17 Spanish regions. Specification in column (1) is different from all the others in this table since it only uses variables at the establishment level. Thus, the left-hand-side variable is (the log of) establishment’s average hourly wage (instead of employee’s hourly wage, which is the left-hand-side variable in the other columns). As pointed out in the Introduction, this type of regression at the establishment level is the one carried out in most of the literature due to the absence of data at the worker level. The exports market destination in this specification includes all establishments whose main market is either the European Union or the rest of world. The reference group for the effect in this column is establishments whose main output market is the domestic market (i.e., either a local market or the national market). Consistent with most of the literature, we find a positive and significant wage effect of the exports market.

Table 3 Establishment characteristics and wages (I)

Column (2) reports the results when we use (the log of) employee’s hourly wage as the left-hand-side variable and add individual worker characteristics as covariates. The exporting wage premium is reduced but still sizeable and significant at the 1%. This is consistent with the results for Germany in Schank et al. (2007). However, in contrast to their small effects we find that the exporting wage premium is above 10-percent. This large quantitative discrepancy may be due to the differences in estimation techniques, type of data,Footnote 11 and differences between the German and Spanish economies.Footnote 12

There is an empirical literature pointing at a positive effect of average coworkers’ education upon individual wages (see Bayard and Troske (1999), Troske (1999), Battu et al. (2003), and Alcalá and Hernández (2006)). Thus, in column (3) we add employees’ average years of schooling to the equation. This effect turns out to be significant and quantitatively important (a 1-year increase in coworkers’ schooling increases individual wages by 2.6%). Still, the exporter wage premium remains unchanged. Using data for Denmark, Munch and Skaksen (2008) have argued that the export premium is only significant for firms with high skill intensity. They show this by including an interaction term between average education in the firm and export intensity. When they do this, they find the interaction term to be significant whereas the level of export intensity becomes insignificant. To check this hypothesis, we include in column (4) a similar interaction term between the exporter dummy and employees’ average years of schooling. We find that the coefficient for the interaction term is almost zero and completely insignificant, whereas the coefficient on the exporter dummy is almost the same as in column (3) (although the coefficient is now estimated with much less precision). Thus, the interaction term has a null explanatory power in our sample.

Column (5) shows the results for our preferred specification. In this specification, we split the groups of non-exporting and exporting establishments. Non-exporting establishments are split into local- and national-market establishments. Exporting firms are split into exporters to the EU and exporters to the rest of the world. When comparing results with those in column (3), note that the reference group is now local-market firms instead of domestic-market firms. All the coefficients have the expected signs, are jointly significant at the 1% level, and have an important quantitative positive impact on wages. Wages are significantly increasing in the remoteness of the firm’s main market. Employees in national-market establishments obtain wages 10.5% higher than employees with the same observable characteristics in local-market establishments. This wage premium rises to 17.0% and to 21.9%, respectively, if the main market is the EU and the rest of the world.Footnote 13 Note that the wage premium paid by national-market firms with respect to local-market firms is as important as the premium paid by exporters with respect to national-market firms. This may be somewhat surprising since the export wage premium has given rise to a large literature whereas this is the first paper documenting a national-market wage premium with respect to local firms. Taken together, these estimates suggest a new and important fact: instead of an exporter versus non-exporter dichotomy, there appears to be a continuous positive relationship between wages and the remoteness of firms’ output markets, which works even within national borders.

The remaining establishment-characteristic wage premia also have an important quantitative impact. Increasing coworkers’ average education by one standard deviation brings about a wage increase of 7.3%; and moving from an establishment in the 10th percentile of the establishment distribution across employees’ average education (5 schooling years), to an establishment in the 90th percentile (13.2 schooling years), increases worker’s wage by 21.8%. Establishment-size wage premia are also large. The combined effect of all establishment effects can have a very important impact on wage inequality across individuals with the same observable characteristics. For example, according to estimates in column (5), working in a large establishment whose main market is the EU and whose employees’ average education is one standard deviation above education in the reference group involves a 47.3% premium over the wage of a worker with the same individual characteristics but in a small local establishment.

4.2 Robustness

Table 4 reports a series of robustness tests. In the specification in column (1) we estimate Eq. 2 using dummies for broad categories of education instead of years of schooling. We use a dummy for workers with completed secondary studies and another dummy for college graduates. As the measure of human capital in the establishment, we use the fraction of employees with a college degree instead of employees’ average years of schooling. Results are qualitatively very similar to those in Table 3. All coefficients reveal large quantitative effects, have the expected signs, and are significant at the 1% level.

Table 4 Establishment characteristics and wages (II). Robustness using alternative measures for employee and coworkers’ education, and including additional controls

In columns (2) and (3) we include additional controls and interactions that help assess the potential impact of alternative sources of the wage premia. Internal labor markets have been suggested as a potential cause of higher average wages in larger firms. Large firms may provide better opportunities for internal promotion and more on-the-job training which then needs to be rewarded to reduce turnover. Hence average wages may be larger for the same level of formal education. Notice that these benefits will not be enjoyed as soon as an individual joins the firm but as the individual continues working for the same firm throughout his life. Therefore, this effect should emerge as a larger payoff to tenure in larger firms. We test this hypothesis in column (2) by including interaction terms between tenure and the dummies for firm size. The interaction with the largest size turns out to be positive and statistically significant. Tenure in the largest group of establishments is about 25% more profitable than in small establishments.

It has also been suggested that workers and unions in large firms often have a strong bargaining power that is reflected in higher wages. The common mechanism used by workers and unions to exert their bargaining power in Spain is through firm-level contracting. In column (3), we add a dummy for establishments with firm-level contracting. This effect is highly significant and involves an average wage increase of 7.4%.Footnote 14 However, it does not affect the significance of any of the variables in our original model and, if any, it has a positive effect on the estimated value of the coefficients on output markets.

4.3 Establishment-characteristics effects by education groups

Are establishment-characteristics wage effects significant for all education groups? Do their quantitative effects show any pattern across education groups? We investigate this issue by estimating Eq. 2 for each of the three major education categories: workers without completed secondary education, with completed secondary education, and with a college degree. We include the firm-level contracting dummy and the size-tenure interaction term in the estimating equation since we just checked their potential significance. Table 5 shows the results. Coefficients for all establishment characteristics are significant at the 1% level in all sub-samples and have the expected positive signs (except firm-level contracting and the size-tenure interaction terms, which are not always significant). Differences across education groups in the size of the establishment-characteristic wage effects are sizable and follow a systematic, intuitively appealing pattern. All effects are increasing in the level of education, whenever the difference across education groups is statistically significant.Footnote 15

Table 5 Establishment characteristics and wages by education group

Results are especially sharp for main-market effects. Coefficients are increasing in the remoteness of the main destination market for each education group, whenever the difference between coefficients is statistically significant. Note that the effects for the university education group about triple those for the primary education group. When combined with the other establishment wage effects, they can account for dramatic wage differences across workers with the same observable characteristics, especially within college graduates. As an example, consider the establishment wage premium for a college graduate working in a medium-size firm that exports most of its production to the EU and whose employees’ average education is one standard deviation above the mean. On average, this individual obtains a wage that is 110.4% higher than an individual with the same education and experience who works in a small local-market firm whose employees’ average education is one standard deviation below the mean. The substantial size of destination-market wage effects and their large differences across education groups suggest that expanding globalization may play an important role in increasing inequality within and between education groups.

5 Firms’ human capital, wages, and output markets: a model

In this section, we lay out a partial equilibrium model where firms choose which output quality and quantity to produce, which combination of workers with different characteristics to employ, and which destination markets to serve. The aim is to build a model that: (1) can provide a joint explanation for all the firm-characteristics effects on human capital and wages; and (2) is consistent with the related empirical evidence documented in the recent trade literature. As noted in the Introduction, this literature shows that international trade models need to introduce efficiency heterogeneity at the firm level and quality differentiation in order to be consistent with several prominent, current patterns of international trade.

5.1 Technology and demand

Firm j produces output y j with quality q j using physical capital and different types of labor. The different types of labor are characterized by two attributes: education and skill. Firms can observe both attributes. However, skill is meant to represent worker unmeasured characteristics which cannot be controlled for in the econometric analysis. Workers can be educated (E) or non-educated (N), and skilled (S) or unskilled (U). Hence, there are four types of workers. Let k j be firm j’s capital and l is j the number of type is workers it employs; i = N, E; s = U, S. Producing higher quality comes at the cost of lower output per worker, according to the following production function:

$$ y_{j} = A_{j} \left( {{\frac{{a_{k} }}{{(q_{j} )^{{\gamma_{k} }} }}}(k_{j} )^{\rho } + \sum\limits_{s = U,S} {\sum\limits_{i = N,E} {{\frac{{a_{is} }}{{(q_{j} )^{{\gamma_{is} }} }}}\left( {l_{j}^{is} } \right)^{\rho } } } } \right)^{1/\rho } ;\quad \gamma_{k} ,\gamma_{is} \ge 1;\;\rho < 1; $$
(3)

where A j is a firm-specific efficiency parameter (all other parameters are common to all firms). Note that, for any given choice of output quality q j , this is a standard CES production function. Moreover, technical marginal rates of substitution between different types of labor depend on the quality to be produced:

$$ {\frac{{{\text{d}}l_{j}^{is} }}{{{\text{d}}l_{j}^{i's'} }}} = (q_{j} )^{{\gamma_{is} - \gamma_{i's'} }} {\frac{{a_{i's'} }}{{a_{is} }}}\left( {{\frac{{l_{j}^{is} }}{{l_{j}^{i's'} }}}} \right)^{1 - \rho } . $$

Thus, if \( \gamma_{is} < \gamma_{i's'} \) then \( {\text{d}}l_{j}^{is} /{\text{d}}l_{j}^{i's'} \) decreases as quality increases. We assume:

$$ \gamma_{ES} < \gamma_{NS} < \gamma_{NU} ;\quad \gamma_{ES} < \gamma_{EU} < \gamma_{NU} . $$

Hence unskilled (resp., non-educated) labor becomes a worse substitute for skilled (resp., educated) labor as quality increases. Or, in other words, skilled (respectively, educated) labor has a comparative advantage with respect to unskilled (resp., non-educated) labor in producing higher quality.Footnote 16

On the demand side, we assume identical consumers across markets, though markets may differ in size (i.e., the number of consumers). Superscript n indicates the market. Demand for firm j’s output in market n, y n j , is homogeneous of degree one in market n’s size, Mn, decreasing in the firm’s price, p n j , and increasing in the firm’s output quality, q n j , according to the following inverse demand function:

$$ p_{j}^{n} = \theta \left( {q_{j}^{n} } \right) + \sigma \left( {y_{j}^{n} /M^{n} } \right). $$
(4)

Thus, quality is just a shifter of the demand function.Footnote 17 It is assumedFootnote 18

$$ \begin{aligned} {\frac{\partial \theta }{{\partial q_{j}^{n} }}} & \equiv \theta ' > 0,\quad {\frac{{\partial^{2} \theta }}{{\partial \left( {q_{j}^{n} } \right)^{2} }}} \equiv \theta '' \le 0, \\ {\frac{\partial \sigma }{{\partial \left( {y_{j}^{n} /M^{n} } \right)}}} & \equiv \sigma ' < 0;\quad - \left( {y_{j}^{n} /M^{n} } \right){\frac{\sigma ''}{\sigma '}} < 2; \\ \theta (1) + \sigma \left( 0 \right) & = 0. \\ \end{aligned} $$

The last expression is just a normalization on quality. Quality is normalized such that q = 1 is the minimum quality for the good to be of any use (thus, demand is strictly positive at a zero price if and only if q > 1).

5.2 Production and transportation costs

Labor markets are perfectly competitive. Since education and skills are observable to all agents, workers with the same characteristics earn the same wage no matter their employers. Denote the cost of capital by r and wages by wis, which are exogenous to the firm.Footnote 19 It is natural to assume wES > wEU and wNS > wNU. Minimization of the cost function \( C_{j} (y,q) = rk_{j} + \sum\nolimits_{s} {\sum\nolimits_{i} {l_{j}^{is} w^{is} } } \) for a given pair (y j , q j ) subject to the production function yields the following first order conditions:

$$ {\frac{{a_{k} }}{{(q_{j} )^{{\gamma_{k} }} r}}}(k_{j} )^{\rho - 1} = {\frac{{a_{is} }}{{(q_{j} )^{{\gamma_{is} }} w^{is} }}}(l_{j}^{is} )^{\rho - 1} ;\quad i = N,E;\quad s = U,S. $$
(5)

Hence the cost function for optimal input decisions is:

$$ C_{j} (y_{j} ,q_{j} ) = {\frac{{\phi (q_{j} )}}{{A_{j} }}}y_{j} ;\quad {\text{where}}\;\phi (q_{j} ) \equiv \left( {\left( {{\frac{{(q_{j} )^{{\gamma_{k} }} }}{{a_{k} }}}r} \right)^{{{\frac{\rho }{\rho - 1}}}} + \sum\limits_{s} {\sum\limits_{i} {\left( {{\frac{{(q_{j} )^{{\gamma_{is} }} }}{{a_{is} }}}w^{is} } \right)^{{{\frac{\rho }{\rho - 1}}}} } } } \right)^{{{\frac{\rho - 1}{\rho }}}} . $$
(6)

Note that ϕ′(q j ) > 0 and ϕ″(q j ) > 0. Hence, unit costs ϕ(q j ) > A j are constant with respect to quantity, and increasing and convex with respect to quality.

So far, we have only considered production costs. Selling to each market involves specific transportation and other non-production costs. We assume that selling to market n involves an additional cost τn per unit of output. We may expect this cost to be increasing in the remoteness of the market. Thus, firm j’s constant marginal cost of producing and selling quality q j in market n, denoted c n j (q j ), is:

$$ c_{j}^{n} (q_{j} ) = {\frac{{\phi (q_{j} )}}{{A_{j} }}} + \tau^{n} ;\quad \phi ' > 0,\;\phi '' > 0. $$
(7)

5.3 Equilibrium and output markets

For each market n, firm j’s profit maximization yields the following first order conditions that determine the optimal volume of sales y n* j and quality q n* j in market n:

$$ \theta '\left( {q_{j}^{n^*} } \right) = {\frac{{\phi '\left( {q_{j}^{n^*} } \right)}}{{A_{j} }}}; $$
(8)
$$ y_{j}^{n^*} /M^{n} = {\frac{{\theta (q_{j}^{*} ) + \sigma \left( {y_{j}^{n^*} /M^{n} } \right) - \phi (q_{j}^{*} )/A_{j} - \tau^{n} }}{{ - \sigma '(y_{j}^{n^*} /M^{n} )}}}. $$
(9)

Assuming θ′(1) > ϕ′(1)/A j , Eq. 8 has a unique solution q * j  > 1, which is independent of the market. Since θ″(q) ≤ 0 and ϕ″(q) > 0, Eq. 8 implies that higher-efficiency firms choose higher quality in equilibrium:

$$ {\frac{{{\text{d}}q_{j}^{*} }}{{{\text{d}}A_{j} }}} = {\frac{\theta '}{{\phi '' - A_{j} \theta ''}}} > 0. $$

In turn, sales by more-efficient firms are larger in every market where they are active:Footnote 20

$$ {\frac{{{\text{d}}y_{j}^{n^*} }}{{{\text{d}}A_{j} }}} = -{\frac{{M^{n} }}{\sigma '}}\,{\frac{\phi }{{\left( {A_{j} } \right)^{2} }}}\,{\frac{1}{{2 + \left( {y_{j}^{n^*} /M^{n} } \right)\sigma ''/\sigma '}}} > 0. $$

Clearly, expression (9) only holds conditional on the firm being active in market n; that is, conditional on y n* j  > 0. Let us analyze the decision to be active in a given market. A firm will be active in a given market as long as, for an optimal quality choice, the firm can sell a positive output at a price higher than the corresponding constant marginal cost (unit cost). Consider Fig. 1. The thicker line draws the inverse demand function (4) for y n j  = 0. This line shows the maximum prices that firm j could obtain for each quality level. For y n j  > 0, the price schedule would shift downwards. The thinner line in this figure draws firm’s unit cost as a function of output quality. If there is a non-empty set of possible qualities such that firm unit cost is below the corresponding price (as in Fig. 1), then the firm can profitably sell in market n. In fact, any quality-price pair in the space contained between these two schedules would bring about positive profits.Footnote 21 For lower efficiency A j , the cost schedule would shift upwards.

Fig. 1
figure 1

Unit costs and maximum prices for each quality

Given the cost τn of exporting to market n, there is an efficiency level sufficiently low, denoted \( \bar{A}^{n} , \) such that the two schedules are tangent (see Fig. 2). This efficiency level satisfies:

Fig. 2
figure 2

Efficiency cutoff to be active in market n

$$ \theta \left( {q_{j}^{*} (\bar{A}^{n} )} \right) - \sigma \left( 0 \right) = {\frac{{\phi \left( {q_{j}^{*} (\bar{A}^{n} )} \right)}}{{\bar{A}^{n} }}} + \tau^{n} . $$
(10)

Clearly, \( \bar{A}^{n} \) is the efficiency cutoff for a firm to be active in market n. Firms such that \( A_{j} < \bar{A}^{n} \) cannot make non-zero profits at any positive output and quality levels. The efficiency cutoff \( \bar{A}^{n} \) for market n is increasing in the cost of bringing the product to this market:

$$ {\frac{{\partial \bar{A}^{n} }}{{\partial \tau^{n} }}} = {\frac{{(\bar{A}^{n} )^{2} }}{{\phi \left( {q_{j}^{*} (\bar{A}^{n} )} \right)}}} > 0. $$

This implies that the number and remoteness of markets in which a firm sells is informative about its efficiency: if firm j sells in market n but firm j’ does not, it must be the case that \( A_{j} > \bar{A}^{n} \ge A_{j'} \). Since more-efficient firms produce higher quality, this implies that firms selling in more and more-remote markets produce higher quality. In addition, more-efficient firms are also larger in terms of output because their sales are bigger in every market where they are active [expression (9)] and because they are active in more markets.

It is worth pointing out the main difference between this model and previous models on the link between a firm’s efficiency and the number and remoteness of its destination markets, which follow Melitz (2003). Previous models assume that each firm faces a strictly positive demand for its output, in every market, at any positive price set by the firm. This is, for example, the consequence of assuming CES preferences, which is the usual assumption in the literature. Therefore, in the absence of fixed costs of exporting to each destination, these models would imply that all firms export to all markets. Hence, fixed cost of exporting to each market (together with the fact that more-efficient firms are larger) is the key mechanism in these models for the result that only the more efficient firms sell in the more remote markets. To the contrary, in this model, each individual firm faces a demand with finite choke prices for each quality. Consequently, the reason why the less-efficient firms do not sell in the more-remote markets is their inability to produce at low enough marginal costs. Furthermore, the mechanism for the link between destination-market remoteness and export quality (the Alchian–Allen effect) in this model is also different from the usual one. The mechanism usually considered is that if transport costs are not proportional to shipment’s value but have a per unit component, a higher transport cost to a more remote market reduces the relative price of higher-quality exports with respect to lower-quality exports (see Hummels and Skiba 2004). Then, under usual assumptions on demand, this implies that shipments to more remote markets have a bigger proportion of higher-quality goods. The mechanism in this model is that the higher the trade costs, the stronger the selection effect on exporters. Since more-efficient firms produce higher quality, trade costs result in higher-quality exports to more remote markets. In the next subsection, we turn to the model’s implications on human capital and wage differences across firms.

5.4 Labor sorting and average wages

Consider now the education and skill composition of employees in firm j. We assume an interior solution; i.e., l is j  > 0. From expression (5) we have that, for each education group, the ratio of skilled workers is larger in firms producing higher quality:

$$ {\frac{{{\text{d}}\left( {l_{j}^{iS} /l_{j}^{iU} } \right)}}{{{\text{d}}q_{j} }}} = {\frac{{\gamma_{iU} - \gamma_{iS} }}{1 - \rho }}\left[ {{\frac{{a_{iS} w^{iU} }}{{a_{iU} w^{iS} }}}q_{j}^{{\gamma_{iU} - \gamma_{iS} }} } \right]^{{1/\left( {1 - \rho } \right)}} q_{j}^{ - 1} > 0,\quad i = N,E. $$
(11)

Similarly, for each skill group, the ratio of educated workers is larger in firms producing higher quality:

$$ {\frac{{{\text{d}}\left( {l_{j}^{Es} /l_{j}^{Ns} } \right)}}{{{\text{d}}q_{j} }}} = {\frac{{\gamma_{Ns} - \gamma_{Es} }}{1 - \rho }}\left[ {{\frac{{a_{Es} w^{Ns} }}{{a_{Ns} w^{Es} }}}q_{j}^{{\gamma_{Ns} - \gamma_{Es} }} } \right]^{{1/\left( {1 - \rho } \right)}} q_{j}^{ - 1} > 0,\quad s = U,S. $$

Denote l E j  ≡ l EU j  + l ES j , l N j  ≡ l NU j  + l NS j , l j  ≡ l E j  + l N j . Assuming l ES j /l E j  ≥ l NS j /l N j ,Footnote 22 the last expression yields that the ratio of educated workers e j  = l E j /l j is also larger in firms producing higher quality:

$$ {\frac{{{\text{d}}e_{j} }}{{{\text{d}}q_{j} }}} = \, {\frac{{l_{j}^{N} l_{j}^{E} }}{{\left( {l_{l} } \right)^{2} }}}\left[ {{\frac{1}{{l_{j}^{E} }}}\,{\frac{{{\text{d}}l_{j}^{E} }}{{{\text{d}}q_{j} }}} - {\frac{1}{{l_{j}^{N} }}}\,{\frac{{{\text{d}}l_{j}^{N} }}{{{\text{d}}q_{j} }}}} \right] > {\frac{{l_{j}^{N} l_{j}^{E} }}{{\left( {l_{l} } \right)^{2} }}}\left( {{\frac{{l_{j}^{ES} }}{{l_{j}^{E} }}} - {\frac{{l_{j}^{NS} }}{{l_{j}^{N} }}}} \right)\left[ {{\frac{1}{{l_{j}^{NS} }}}\,{\frac{{{\text{d}}l_{j}^{NS} }}{{{\text{d}}q_{j} }}} - {\frac{1}{{l_{j}^{NU} }}}\,{\frac{{{\text{d}}l_{j}^{NU} }}{{{\text{d}}q_{j} }}}} \right] \ge 0. $$
(12)

Now, since more-efficient firms produce higher quality, Eqs. 11 and 12 imply that more-efficient firms use a larger proportion of skilled workers within each education group and a larger proportion of high-education workers with respect to their total employment:

$$ {\text{d}}\left( {l_{j}^{iS} /l_{j}^{iU} } \right)/{\text{d}}A_{j} > 0;\quad i = N,E; $$
(13)
$$ {\text{d}}e_{j} /{\text{d}}A_{j} > 0. $$
(14)

Let w i j denote the average wage paid by firm j to workers with education level i:

$$ w_{j}^{i} = {\frac{{w^{iU} l_{j}^{iU} + w^{iS} l_{j}^{iS} }}{{l_{j}^{iU} + l_{j}^{iS} }}} = w^{iU} {\frac{{1 + \left( {w^{iS} /w^{iU} } \right)l_{j}^{iS} /l_{j}^{iU} }}{{1 + l_{j}^{iS} /l_{j}^{iU} }}},\quad i = N,E. $$

Since wiS/wiU > 1, i = E, N, expression (13) implies that more efficient firms pay higher average wages to employees in every education level:

$$ {\frac{{{\text{d}}w_{j}^{i} }}{{{\text{d}}A_{j} }}} = {\frac{{{\text{d}}w_{j}^{i} }}{{{\text{d}}\left( {l_{j}^{iS} /l_{j}^{iU} } \right)}}}{\frac{{{\text{d}}\left( {l_{j}^{iS} /l_{j}^{iU} } \right)}}{{{\text{d}}q_{j} }}}\,{\frac{{{\text{d}}q_{j} }}{{{\text{d}}A_{j} }}} > 0,\quad i = N,E. $$
(15)

Note that the positive relationship between efficiency and average wages is the consequence of the (equilibrium) positive relationship between efficiency and quality. If output quality were assumed the same for all firms as in conventional models, firms would choose the same labor composition no matter their efficiency.Footnote 23

In summary, the model shows that, under reasonable assumptions, quality differentiation implies that more-efficient firms employ more-skilled and more-educated workers. Since, in equilibrium, more-efficient firms also sell in more-distant markets, we should observe that: (1) Firms selling in more-remote countries employ workers with higher average education; (2) Firms selling in more-remote countries pay higher average wages to workers within each education group. Additionally, since more-efficient firms also have larger size, we should also observe a positive link (a) between firm’s size and employees’ average education; (b) between firm’s size and average wages paid to each education group; and (c) between employees’ average education and average wages paid to each education group. Thus, the model provides a consistent explanation of all the empirical regularities found in Sects. 3 and 4. Moreover, the model is consistent with the recent trade literature stressing the increasing role in international trade played by quality differentiation and the positive relationship between output-market remoteness and the quality of exports.

6 Concluding comments

This paper contributes to the recent literature on the exporter wage premium using Spanish data. This literature has focused on an exporter/non-exporter dichotomy. Instead, this paper provides first evidence that that there is a more continuous destination-market effect. We find a positive correlation between remoteness of firms’ output-markets and their human capital as well as their wages. In fact, wage premia and human capital differences between local- and national-market firms are as important as wage premia and human capital differences between exporters and non-exporters. Overall, market-remoteness wage premia are quantitatively very important and increase in individual education. One implication of these results is that increasing globalization may tend to raise wage inequality within and across education groups.

The paper also builds a partial equilibrium model predicting a positive correlation at the firm level between firm size, output quality, number and remoteness of output markets, employees’ average education, and wages within each education level. The model provides a potential explanation for all the empirical results in the paper, which is also consistent with an increasingly important strand of international trade literature. This literature emphasizes efficiency heterogeneity at the firm level and quality differentiation in describing the current patterns of international trade. Moreover, it has provided empirical support for a positive relationship between output-market remoteness and the quality of exports (which is an implication of the model that is not explored in the empirical part of this paper). Thus, the theoretical model coherently links the empirical results in the paper to some of the most recent trade literature.