Manuscript Offprint
EconomicsEstimating Trade Flows: Trading Partners and Trading Volumes *
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
DASH
DIGITAL ACCESS TO SCHOLARSHIP AT HARVARD DASH.HARVARD.EDU
HARVARD LIBRARY

Estimating Trade Flows: Trading Partners and Trading Volumes
Published version
https://doi.org/10.1162/qjec.2008.123.2.441
Link
http://nrs.harvard.edu/urn-3:HUL.InstRepos:3228230
Terms of use
This article was downloaded from Harvard University's DASH repository, and is made available under the terms and conditions applicable to Open Access Policy Articles (OAP), as set forth at https://harvardwiki.atlassian.net/wiki/external/NGY5NDE4ZjgzNTc5NDQzMGIzZWZhMGFIOWI2M2EwYTg
Accessibility
https://accessibility.huit.harvard.edu/digital-accessibility-policy
Share Your Story
The Harvard community has made this article openly available. Please share how this access benefits you. Submit a story
THE QUARTERLY JOURNAL OF ECONOMICS
Vol. CXXIII
May 2008
Issue 2
ESTIMATING TRADE FLOWS: TRADING PARTNERS AND TRADING VOLUMES*
ELHANAN HELPMAN
MARC MELITZ
YONA RUBINSTEIN
We develop a simple model of international trade with heterogeneous firms that is consistent with a number of stylized features of the data. In particular, the model predicts positive as well as zero trade flows across pairs of countries, and it allows the number of exporting firms to vary across destination countries. As a result, the impact of trade frictions on trade flows can be decomposed into the intensive and extensive margins, where the former refers to the trade volume per exporter and the latter refers to the number of exporters. This model yields a generalized gravity equation that accounts for the self-selection of firms into export markets and their impact on trade volumes. We then develop a two-stage estimation procedure that uses an equation for selection into trade partners in the first stage and a trade flow equation in the second. We implement this procedure parametrically, semiparametrically, and nonparametrically, showing that in all three cases the estimated effects of trade frictions are similar. Importantly, our method provides estimates of the intensive and extensive margins of trade. We show that traditional estimates are biased and that most of the bias is due not to selection but rather due to the omission of the extensive margin. Moreover, the effect of the number of exporting firms varies across country pairs according to their characteristics. This variation is large and particularly so for trade between developed and less developed countries and between pairs of less developed countries.
I. INTRODUCTION
Estimation of international trade flows has a long tradition. Tinbergen (1962) pioneered the use of gravity equations in
- We thank Costas Arkolakis, Robert Barro, Moshe Buchinsky, Zvi Eckstein, Gene Grossman, Bo Honore, Larry Katz, Marcelo Moreira, Ariel Pakes, Jim Powell, Manuel Trajtenberg, Zhihong Yu, and three referees for comments. Dror Brenner and Brent Neiman provided superb research assistance. Helpman thanks the NSF for financial support. Melitz thanks the NSF and the Sloan Foundation for financial support and the International Economics Section at Princeton University for its hospitality.
© 2008 by the President and Fellows of Harvard College and the Massachusetts Institute of Technology.
The Quarterly Journal of Economics, May 2008
QUARTERLY JOURNAL OF ECONOMICS
empirical specifications of bilateral trade flows in which the volume of trade between two countries is proportional to the product of an index of their economic size, and the factor of proportionality depends on measures of "trade resistance" between them. Among the measures of trade resistance, he included geographic distance, a dummy for common borders, and dummies for Commonwealth and Benelux memberships. Tinbergen's specification has been widely used, simply because it provides a good fit to most data sets of regional and international trade flows. And over time, his approach has been supplemented with theoretical underpinnings and better estimation techniques. The gravity equation has dominated empirical research in international trade; it has been used to estimate the impact on trade flows of international borders, preferential trading blocs, currency unions, and membership in the WTO, as well as the size of home-market effects.
All the above-mentioned studies estimate the gravity equation on samples of countries that have only positive trade flows between them. We argue in this paper that, by disregarding countries that do not trade with each other, these studies give up important information contained in the data, and they produce biased estimates as a result. We also argue that standard specifications of the gravity equation impose symmetry that is inconsistent with the data and that this too biases the estimates. To correct these biases, we develop a theory that predicts positive as well as zero trade flows between countries and use the theory to derive estimation procedures that exploit the information contained in data sets of trading and nontrading countries alike.
The next section briefly reviews the evolution of the volume of trade among the 158 countries in our sample and the composition of country pairs according to their trading status. Three features stand out. First, about half of the country pairs do not trade with
-
See, for example, Anderson (1979), Helpman and Krugman (1985), Helpman (1987), Feenstra (2002), and Anderson and van Wincoop (2003).
-
See McCallum (1995) for the study that triggered an extensive debate on the role of international borders, as well as Wei (1996), and Anderson and van Wincoop (2003), and Evans (2003). Feenstra (2003, Chap. 5) provides an overview of this debate. Also, see Frankel (1997) on preferential trading blocs, Rose (2000) and Tenreyro and Barro (2003) on currency unions, Rose (2004) on WTO membership, and Davis and Weinstein (2003) on the size of home-market effects.
-
Evenett and Venables (2002), Anderson and van Wincoop (2004), and Haveman and Hummels (2004) all highlight the prevalence of zero bilateral trade flows and suggest theoretical interpretations for them. We provide a theoretical framework that jointly determines both the set of trading partners and their trade volumes, and we develop estimation procedures for this model.
-
See Appendix I for data sources.
one another.⁵ Second, the rapid growth of world trade from 1970 to 1997 was predominantly due to the growth of the volume of trade among countries that traded with each other in 1970 rather than due to the expansion of trade among new trade partners.⁶ Third, the average volume of trade at the end of the period between pairs of countries that exported to one another in 1970 was much larger than the average volume of trade at the end of the period of country pairs that did not. Nevertheless, we show in Section VI that the volume of trade between pairs of countries that traded with one another was significantly influenced by the fraction of firms that engaged in foreign trade and that this fraction varied systematically with country characteristics. Therefore the intensive margin of trade was substantially driven by variations in the fraction of trading firms but not by new trading partners.⁷
We develop in Section III the theoretical model that motivates our estimation procedures. This is a model of international trade in differentiated products in which firms face fixed and variable costs of exporting, along the lines suggested by Melitz (2003). Firms vary by productivity, and only the more productive firms find it profitable to export. Moreover, the profitability of exports varies by destination; it is higher for exports to countries with higher demand levels, lower variable export costs, and lower fixed export costs. Positive trade flows from country to country thus aggregate exports over varying distributions of firms. Each distribution is bounded by a marginal exporter in who just breaks even by exporting to . Country firms with higher productivity levels generate positive profits from exports to .
This model has a number of implications for trade flows. First, no firm from country may be productive enough to profitably export to country . The model is therefore able to predict zero exports from to for some country pairs. As a result, the model is consistent with zero trade flows in both directions between some countries, as well as zero exports from to but positive exports
-
We say that a country pair and do not trade with one another if does not export to and does not export to .
-
Felbermayr and Kohler (2006) report that prior to 1970 new trade flows contributed substantially to the growth of world trade.
-
The role of the number of exported products, as opposed to exports per product, has been found to be important in a number of studies. To illustrate, Hummels and Klenow (2005) find that 60% of the greater export of larger economies in their sample of 126 exporting countries is due to variation in the number of exported products, and Kehoe and Ruhl (2002) find that during episodes of trade liberalization in 18 countries a large fraction of trade expansion was driven by trade in goods that were not traded before.
QUARTERLY JOURNAL OF ECONOMICS
from to for some country pairs. Both types of trade patterns exist in the data. Second, the model predicts positive—though asymmetric—trade flows in both directions for some country pairs, which are also needed to explain the data. And finally, the model generates a gravity equation.
Our derivation of the gravity equation generalizes the Anderson and van Wincoop (2003) equation in two ways. First, it accounts for firm heterogeneity and fixed trade costs and thus predicts an extensive margin for trade flows. Second, it accounts for asymmetries between the volume of exports from to and the volume of exports from to . Both are important for data analysis. We also develop a set of sufficient conditions under which more general forms of the Anderson–van Wincoop equations aggregate trade flows across heterogeneous firms facing both fixed and variable trade costs.
Section IV develops the empirical framework for estimating the gravity equation derived in Section III. We propose a two-stage estimation procedure. The first stage consists of estimating a Probit equation that specifies the probability that country exports to as a function of observable variables. The specification of this equation is derived from the theoretical model and an explicit introduction of unobservable variations. Predicted components of this equation are then used in the second stage to estimate the gravity equation in log-linear form. We show that this procedure yields consistent estimates of the parameters of the gravity equation, such as the marginal impact of distance between countries on their exports to one another.⁸ It simultaneously corrects for two types of potential biases: a sample selection bias and a bias from potential asymmetries in the trade flows between pairs of countries. The latter bias is due to an omitted variable that measures the impact of the number (fraction) of exporting firms, that is, the extensive margin of trade. Because this procedure is easy to implement, it can be effectively used in many applications.
Our theoretical model has firm heterogeneity, yet we do not need firm-level data to estimate the gravity equation. This property results from the fact that the characteristics of the marginal exporters to different destinations can be identified from the variation in features of the destination countries and of observable bilateral trade costs. As a result, there exist sufficient statistics,
- We also show that consistency requires the use of separate country fixed effects for exporters and importers, as proposed by Feenstra (2002).
which can be computed from aggregate data, that predict the selection of heterogeneous firms into export markets and their associated aggregate trade volumes.⁹ This is an important advantage of our approach, which extracts from country-level data information that would normally require firm-level data. Although more firm-level data sets have become available over time, it is not yet possible to pool them together into a comprehensive data set that can be used for cross-country estimation purposes.
Section V shows that variables that are commonly used in gravity equations also affect the probability that two countries trade with each other. This provides evidence for a potential bias in the standard estimates. The extent of this bias is then studied in Sections VI and VII. In Section VI, we estimate the model on a partial sample of countries for which we have data on regulation of entry costs, which we use as the excluded variables in the two-stage estimation procedure. We argue that these variables satisfy the exclusion restrictions on theoretical grounds. In Section VII, we use this reduced sample to test for the validity of other potential excluded variables, which are available for virtually all country pairs, representing a substantial increase in sample size. We show that an index for common religion (across country pairs) satisfies the exclusion restrictions for this sample. We then reestimate our model on the full sample of countries using this common religion index as the excluded variable. This approximately doubles the number of usable observations. This substantial increase in sample size is the main motivation behind our construction of the religion variable in the first place.
In both Sections VI and VII, we implement three estimation methods, progressively relaxing some parameterization assumptions: nonlinear least squares, semiparametric, and nonparametric. The nonlinear least squares (NLS) version of the two-stage procedure uses functional forms derived from the theoretical model under the assumption that productivity follows a truncated Pareto distribution. We show that the corrections for the selection
- Eaton and Kortum (2002) apply a similar principle to determine an aggregate gravity equation across heterogeneous Ricardian sectors. As in our model, the predicted trade volume reflects an extensive margin (number of sectors/goods traded) and an intensive one (volume of trade per good/sector). However, Eaton and Kortum do not model fixed trade costs and the possibility of zero bilateral trade flows. Unlike our equations, theirs are subject to the criticism raised by Haveman and Hummels (2004). Bernard et al. (2003) use direct information on U.S. plant-level sales, productivity, and export status to calibrate a model that is then used to simulate the extensive and intensive margins of bilateral trade flows.
QUARTERLY JOURNAL OF ECONOMICS
and omitted variable biases have a measurable downward impact on the estimated coefficients. Moreover, the extent of this bias is not sensitive to the use of the alternative excluded variables. The nature and extent of this bias is further confirmed when we estimate the model in the other two alternative ways: first with a semiparametric method, where we replace the truncated Pareto distribution for firm productivity with a general distribution approximated by a polynomial fit, and second with a nonparametric method, which further relaxes the joint normality assumption for the unobserved trade costs. In both cases, we obtain results very similar to our fully parametrized NLS specification. An additional advantage of the latter two methods is that they can be easily implemented using OLS in the second stage.
A number of additional insights from our estimates are discussed in Section VIII. First, we show that most of the bias is due to the omitted correction for the extensive margin of trade and not due to the selection bias. In fact, the selection bias is economically negligible though statistically (strongly) significant. Second, we show that the asymmetric impact of the extensive margin of trade is important in explaining the asymmetries in trade flows observed in the data. Finally, we show that the biases not only are large, but also systematically vary with the characteristics of trade partners. For this purpose we perform a counterfactual exercise in which trade frictions are reduced. A reduction in these frictions induces trade among country pairs that did not trade before and raises trade volumes among country pairs with existing trade relations. When countries are partitioned by income (high versus low), we find that the impact of reduced trade frictions differs substantially across country pairs according to these income levels. The elasticity of trade with respect to such frictions can vary by a factor of three. That is, it can be three times larger for some country pairs than for others. This highlights both the size, and also the large variations in the biases across country pairs. Section IX concludes.
II. A GLANCE AT THE DATA
Figure I depicts the empirical extent of zero trade flows. In this figure, all possible country pairs are partitioned into three categories. The top portion represents the fraction of country pairs that do not trade with one another; the bottom portion represents those that trade in both directions (they export to one another);

FIGURE I
Distribution of Country Pairs Based on Direction of Trade
Note. Constructed from 158 countries.
and the middle portion represents those that trade in one direction only (one country imports from, but does not export to, the other country). As is evident from the figure, by disregarding countries that do not trade with each other or trade only in one direction, one disregards close to half of the observations. We show below that these observations contain useful information for estimating international trade flows.¹⁰
Figure II shows the evolution of the aggregate real volume of exports of all 158 countries in our sample and of the aggregate real volume of exports of the subset of country pairs that exported to one another in 1970. The difference between the two curves represents the volume of trade of country pairs that either did not trade or traded in one direction only in 1970. It is clear from this figure that the rapid growth of trade, at an annual rate of 7.5% on average, was mostly driven by the growth of trade between countries that traded with each other in both directions at the beginning of the period. In other words, the contribution to the
- Silva and Tenreyro (2006) also argue that zero trade flows can be used in the estimation of the gravity equation, but they emphasize a heteroscedasticity bias that emanates from the log-linearization of the equation rather than the selection and asymmetry biases that we emphasize. Moreover, the Poisson method that they propose to use yields similar estimates on the sample of countries that have positive trade flows in both directions and the sample of countries that have positive and zero trade flows. This finding is consistent with our finding that the selection bias is rather small.
QUARTERLY JOURNAL OF ECONOMICS

FIGURE II
Aggregate Volume of Exports of All Country Pairs and of Country Pairs That Traded in Both Directions in 1970
growth of trade of countries that started to trade after 1970 in either one or both directions was relatively small.
Combining this evidence with the evidence from Figure I, which shows a relatively slow growth of the fraction of trading country pairs, suggests that bilateral trading volumes of country pairs that traded with one another in both directions at the beginning of the period must have been much larger than the bilateral trading volumes of country pairs that either did not trade with each other or traded in one direction only at the beginning of the period. Indeed, at the end of the period the average bilateral trade volume of country pairs of the former type was about 35 times larger than the average bilateral trade volume of country pairs of the latter type. This suggests that the enlargement of the set of trading countries did not contribute in a major way to the growth of world trade.¹¹
- This contrasts with the sector-level evidence presented by Evenett and Venables (2002). They find a substantial increase in the number of trading partners at the three-digit sector level for a selected group of 23 developing countries. We conjecture that their country sample is not representative and that most of their new trading pairs were originally trading in other sectors. And this also contrasts
III. THEORY
Consider a world with countries, indexed by . Every country consumes and produces a continuum of products. Country 's utility function is
where is its consumption of product and is the set of products available for consumption in country . The parameter determines the elasticity of substitution across products, which is . This elasticity is the same in every country.
Let be the income of country , which equals its expenditure level. Then country 's demand for product is
(1)
where is the price of product in country and is the country's ideal price index, given by
(2)
This specification implies that every product has a constant demand elasticity .
Some of the products consumed in country are domestically produced while others are imported. Country has a measure of firms, each one producing a distinct product. The products produced by country- firms are also distinct from the products produced by country- firms for . As a result, there are products in the world economy.
A country- firm produces one unit of output with a cost-minimizing combination of inputs that cost , where measures the number of bundles of the country's inputs used by the firm per unit output and measures the cost of this bundle. The cost is country-specific, reflecting differences across countries in factor prices, whereas is firm-specific, reflecting productivity
with the finding that changes in the number of trading products has a measurable impact on trade flows (see Kehoe and Ruhl [2002] and Hummels and Klenow [2005]).
QUARTERLY JOURNAL OF ECONOMICS
differences across firms in the same country. The inverse of , , represents the firm's productivity level.¹² We assume that a cumulative distribution function with support describes the distribution of across firms, where . This distribution function is the same in all countries.¹³
We assume that a producer bears only production costs when selling in the home market. That is, if a country- producer with coefficient sells in country , the delivery cost of its product is . If, however, this same producer seeks to sell its product in country , there are two additional costs it has to bear: a fixed cost of serving country , which equals , and a transport cost. As is customary, we adopt the “melting iceberg” specification and assume that units of a product have to be shipped from country to for one unit to arrive. We assume that for every and for , and for every and for . Note that the fixed cost coefficients and the transport cost coefficients depend on the identity of the importing and exporting countries, but not on the identity of the exporting producer. In particular, they do not depend on the producer's productivity level.
There is monopolistic competition in final products. Because every producer of a distinct product is of measure zero, the demand function (1) implies that a country- producer with an input coefficient maximizes profits by charging the mill price . This is a standard markup pricing equation, with a smaller markup associated with a larger elasticity of demand. If this country- producer of a product sells to consumers in country , it then sets a delivered price (in country ) equal to
As a result, the associated operating profits from these sales to country are
-
See Melitz (2003) for a discussion of a general equilibrium model of trading countries in which firms are heterogeneous in productivity. We follow his specification.
-
The 's only capture relative productivity differences across firms in a country. Aggregate productivity differences across countries are subsumed in the 's.
Evidently, these operating profits are positive for sales in the domestic market because . Therefore all producers sell in country . But sales in country are profitable only if , where is defined by , or
(4)
It follows that only a fraction of country 's firms export to country . For this reason the set of products available in country is smaller than the total set of products produced in the world economy. In addition, it is possible for to be zero: no firm from country finds it profitable to export to country . This happens whenever : the least productive firm that can profitably export to country has a coefficient below the support of . We explicitly consider these cases that explain zero bilateral trade volumes. If were larger than , then all firms from country would export to . However, given the pervasive firm-level evidence on the coexistence of exporting and nonexporting firms, even within narrowly defined sectors, we disregard this possibility.
We next characterize bilateral trade volumes. Let
(5)
The demand function (1) and pricing equation (3) then imply that the value of country i's imports from j is
(6)
This bilateral trade volume equals zero when , because under these circumstances. Using the definition of and (2), we also obtain
(7)
- Note that as .
QUARTERLY JOURNAL OF ECONOMICS
Equations (4)–(7) provide a mapping from the income levels , the numbers of firms , the unit costs , the fixed costs , and the transport costs to the bilateral trade flows .
We show in Appendix II that, together with equality of income and expenditure, equations (4)–(7) can be used to derive a generalized version of Anderson and van Wincoop's (2003) gravity equation with third-country effects. This generalization applies when transport costs are symmetric () and can be multiplicatively decomposed into three components: one that depends only on importer characteristics, a second that depends only on exporter characteristics, and a third that depends on the country pair characteristics but is symmetric for that country pair. This decomposability holds in Anderson and van Wincoop's model. Importantly, however, there are other cases of interest with positive fixed export costs and an extensive margin of trade that also satisfy the generalized gravity equation. Yet even this more generalized version of the gravity equation cannot explain the documented pattern of zero trade flows and the bilateral trade asymmetries (see Appendix II for details). Thus, in order to gain as much flexibility as possible in the empirical application, we develop in the next section an estimation procedure that builds directly on equations (4)–(7), which allow for asymmetric bilateral trade flows, including zeros.
IV. EMPIRICAL FRAMEWORK
We begin by formulating a fully parametrized estimation procedure for this model, which delivers our benchmark results. We then progressively loosen these parametric restrictions and re-estimate the model. In all cases, we obtain similar results that are consistent with the analysis of the baseline scenario.
In the baseline specification, we assume that firm productivity is Pareto distributed, truncated to the support . Thus, we assume , . As previously highlighted, we allow for for some pairs, inducing zero exports from to (i.e., and ). This framework also allows for asymmetric trade flows, , which may also be unidirectional, with and , or and . Such unidirectional trading relationships are empirically common and can be predicted using our empirical method. Moreover, asymmetric trade frictions are not necessary to induce such asymmetric trade flows when productivity is drawn from a truncated Pareto distribution.
Our assumptions imply that can be expressed as (see (5))
where
(8)
and is determined by the zero profit condition (4). Note that both and are monotonic functions of the proportion of exporters from to , . The export volume from to , given by (6), can now be expressed in log-linear form as
where lowercase variables represent the natural logarithms of their respective uppercase variables. captures variable trade costs: costs that affect the volume of firm-level exports. We assume that these costs are stochastic due to i.i.d. unmeasured trade frictions , which are country-pair specific. In particular, let , where represents the (symmetric) distance between and , and .¹⁵ Then the equation of the bilateral trade flows yields the estimating equation
(9)
where is a fixed effect of the importing country and is a fixed effect of the exporting country.¹⁶
Equation (9) highlights several important differences with the gravity equation, as derived, for example, by Anderson and van Wincoop (2003). The most important difference is the addition in our formulation of the new variable , which controls for the fraction of firms (possibly zero) that export from to . This
-
In the following derivations, we use distance as the only source of observable variable trade costs. It should nevertheless be clear how this approach generalizes to a matrix of observable bilateral trade frictions paired with a vector of elasticities .
-
We replace with , and therefore now also contains the log of the constant multiplier in . If tariffs are not directly controlled for, then the importer's fixed effect will subsume an average tariff level. Similarly, average export taxes will show up in the exporter's fixed effect.
QUARTERLY JOURNAL OF ECONOMICS
variable is a function of the cutoff , which is determined by other explanatory variables (see (4)). When is not included on the right-hand side, the coefficient on distance (or any other coefficient on a potential trade barrier) can no longer be interpreted as the elasticity of a firm's trade with respect to distance (or other trade barriers), which is the way in which such trade barriers are almost always modeled in the literature that follows the "new" trade theory. Instead, the estimation of the standard gravity equation confounds the effects of trade barriers on firm-level trade with their effects on the proportion of exporting firms, which induces an upward bias in the estimated coefficient .
Another bias is introduced into the estimation of equation (9) when country pairs with zero trade flows are excluded. This selection effect induces a positive correlation between the unobserved 's and the trade barrier, 's; country pairs with large observed trade barriers (high ) that trade with each other are likely to have low unobserved trade barriers (high ). Although this induces a downward bias in the trade barrier coefficient, our empirical results show that this effect is dominated by the upward bias generated by the endogenous number of exporters.
Last, we emphasize again that in our formulation, bilateral trade flows need not be balanced, even when all bilateral trade barriers are symmetric. First and foremost, can be asymmetric. We document later in Section VIII that such asymmetries are empirically important and substantial. Second, the importer fixed effects may differ from the exporter fixed effects for given countries. This substantiates the use of directional trade flows and separate fixed effects for the exporting and the importing countries.
IV.A. Firm Selection into Export Markets
The selection of firms into export markets, represented by the variable , is determined by the cutoff value of , which is implicitly defined by the zero profit condition (4). We define a related latent variable as
(10)
This is the ratio of variable export profits for the most productive firm (with productivity ) to the fixed export costs (common to all exporters) for exports from to . Positive exports are observed if and only if . In this case is a monotonic function of ; that is, (see (4) and (8)). As with the variable trade costs , we assume that the fixed export costs are stochastic due to unmeasured trade frictions that are i.i.d., but may be correlated with the 's. Let , where , is a fixed trade barrier imposed by the importing country on all exporters, is a measure of fixed export costs common across all export destinations, and is an observed measure of any additional country-pair specific fixed trade costs.¹⁷ Using this specification together with , the latent variable can be expressed as
(11)
where is i.i.d. (yet correlated with the error term in the gravity equation), is an exporter fixed effect, and is an importer fixed effect. Although is unobserved, we observe the presence of trade flows. Therefore when exports to , and when it does not. Moreover, the value of affects the export volume.
Define the indicator variable to equal 1 when country exports to and 0 when it does not. Let be the probability that exports to , conditional on the observed variables. Because we do not want to impose , we divide (11) by the standard deviation and specify the Probit equation
where is the cdf of the unit-normal distribution, and every starred coefficient represents the original coefficient divided by .¹⁸ Importantly, this selection equation has been derived from a firm-level decision, and it therefore does not contain the unobserved and endogenous variable that is related to the fraction of exporting firms. Moreover, the Probit equation can be used to derive consistent estimates of .
-
As with variable trade costs, it should be clear how this derivation can be extended to a vector of observable fixed trade costs.
-
By construction, the error term is distributed unit normal. The Probit equation (12) distinguishes between observable trade barriers that affect variable trade costs () and fixed trade costs (). In practice, some variables may affect both. Their coefficients in (12) then capture the combined effect of these barriers.
QUARTERLY JOURNAL OF ECONOMICS
Let be the predicted probability of exports from to , using the estimates from the Probit equation (12), and let be the predicted value of the latent variable . Then a consistent estimate for can be obtained from
(13)
where .
IV.B. Consistent Estimation of the Log-Linear Equation
Consistent estimation of (9) requires controls for both the endogenous number of exporters (via ) and the selection of country pairs into trading partners (which generates a correlation between the unobserved and the independent variables). We thus need estimates for and . Both terms depend on . Moreover, . Since has a unit normal distribution, a consistent estimate is obtained from the inverse Mills ratio, that is, . Therefore is a consistent estimate for and is a consistent estimate for (see (13)). We therefore can estimate (9) using the transformation
where and is an i.i.d. error term satisfying . Because (14) is nonlinear in , we estimate it using nonlinear least squares.
The use of to control for is the standard Heckman (1979) correction for sample selection. This addresses the biases generated by the unobserved country-pair level shocks and . However, this does not correct for the biases generated by the underlying unobserved firm-level heterogeneity. The latter biases are corrected by the additional control (along with the functional form determined by our theoretical assumptions). Used alone, the standard Heckman (1979) correction would only be valid in a world without firm-level heterogeneity, or where such heterogeneity was not correlated with the export decision. Thus, all firms are identically affected by trade barriers and country characteristics and make the same export decisions—or make export decisions that are uncorrelated with trade barriers and country characteristics. This misses the potentially important effect of trade barriers and country characteristics on the share of exporting firms. In a world with firm-level heterogeneity, a larger fraction of firms export to more “attractive” export destinations.¹⁹ Our empirical results highlight the overwhelming contribution of this channel relative to the standard correction for sample selection, which ignores firm-level heterogeneity.
To summarize, our theoretical framework delivers two equations, (11) and (14), which can be estimated in two stages. Although the theoretical model allows for arbitrary variation in bilateral variable and fixed trade costs, for estimation purposes we restrict these variations to and , respectively. These restrictions make it possible to identify and , which are important parameters, but they do not make it possible to infer every parameter of the model. For example, we cannot separately identify the elasticity of demand . Evidently, it is necessary to impose more restrictions in order to gain additional identification.²⁰
Before describing the empirical results, we pause to note that our distributional assumptions on the joint normality of the unobserved trade costs and the Pareto distribution of firm-level productivity affect the functional form of the trade flow equation (14) via the functional form of the two additional controls for firm heterogeneity () and sample selection (). After presenting our main results, we will describe a number of alternative specifications that relax these assumptions, yet generate very similar estimates. They illustrate the robustness of the findings in our baseline specification.
V. TRADITIONAL ESTIMATES
Traditional estimates of the gravity equation use data on country pairs that trade in at least one direction. The first column in Table I provides a representative estimate of this sort for all bilateral trade flows reported in 1986 from a set of 158 countries (the full list is reported in Appendix I). Note that instead of constructing symmetric trade flows by combining exports and imports for each country pair, we use the unidirectional trade value
- Eaton, Kortum, and Kramarz (2004) find that more French firms export to larger foreign markets, and Bernard, Jensen, and Schott (2005) find a similar pattern for U.S. firms. Our model is consistent with these findings.
- See, for example, Eaton and Kortum (2002) and Anderson and van Wincoop (2003) for ways to estimate this elasticity.
QUARTERLY JOURNAL OF ECONOMICS
TABLE I BENCHMARK GRAVITY AND SELECTION INTO TRADING RELATIONSHIPS
| Variables | 1986(Probit) | 1980s | ||||
|---|---|---|---|---|---|---|
| Distance | -1.176**(0.031) | -0.263**(0.012) | -1.201**(0.024) | -0.246**(0.008) | -1.200**(0.024) | -0.246**(0.008) |
| Land border | 0.458**(0.147) | -0.148**(0.047) | 0.366**(0.131) | -0.146**(0.032) | 0.364**(0.131) | -0.146**(0.032) |
| Island | -0.391**(0.121) | -0.136**(0.032) | -0.381**(0.096) | -0.140**(0.022) | -0.378**(0.096) | -0.140**(0.022) |
| Landlock | -0.561**(0.188) | -0.072(0.045) | -0.582**(0.148) | -0.087**(0.028) | -0.581**(0.147) | -0.087**(0.028) |
| Legal | 0.486**(0.050) | 0.038**(0.014) | 0.406**(0.040) | 0.029**(0.009) | 0.407**(0.040) | 0.028**(0.009) |
| Language | 0.176**(0.061) | 0.113**(0.016) | 0.207**(0.047) | 0.109**(0.011) | 0.203**(0.047) | 0.108**(0.011) |
| Colonial ties | 1.299**(0.120) | 0.128(0.117) | 1.321**(0.110) | 0.114(0.082) | 1.326**(0.110) | 0.116(0.082) |
| Currency union | 1.364**(0.255) | 0.190**(0.052) | 1.395**(0.187) | 0.206**(0.026) | 1.409**(0.187) | 0.206**(0.026) |
| FTA | 0.759**(0.222) | 0.494**(0.020) | 0.996**(0.213) | 0.497**(0.018) | 0.976**(0.214) | 0.495**(0.018) |
| Religion | 0.102(0.096) | 0.104**(0.025) | -0.018(0.076) | 0.099**(0.016) | -0.038(0.077) | 0.098**(0.016) |
| WTO (none) | -0.068(0.058) | -0.056**(0.013) | ||||
| WTO (both) | 0.303**(0.042) | 0.093**(0.013) | ||||
| Observations | 11,146 | 24,649 | 110,697 | 248,060 | 110,697 | 248,060 |
| 0.709 | 0.587 | 0.682 | 0.551 | 0.682 | 0.551 | |
Notes. Exporter, importer, and year fixed effects. Marginal effects at sample means and pseudo reported for Probit. Robust standard errors (clustering by country pair).
- Significant at 10%. *Significant at 5%. **Significant at 1%.
and introduce both importing and exporting country fixed effects. With these fixed effects every country pair is represented twice: one time for exports from to and another time for exports from to .²¹ Nevertheless, the results in Table I are similar to those obtained with symmetric trade flows and a unique country fixed effect. They show that country exports more to country when the two countries are closer to each other, they both belong to the
- Among the possible bilateral trading relationships, there are only 11,146 (less than half) positive trade flows.
same regional free trade agreement (FTA), they share a common language, they have a common land border, they are not islands, they share the same legal system, they share the same currency, or one country has colonized the other. The probability that two randomly drawn persons, one from each country, share the same religion raises export volumes.²² Details on the construction of all the variables are provided in Appendix I.
We next estimate a Probit equation for the presence of a trading relationship using the same explanatory variables as the initial gravity specification (the specification follows (12), with exporter and importer fixed effects). The marginal effects, evaluated at the sample means, are reported in column (2).²³ These results clearly show that the very same variables that impact export volumes from to also impact the probability that exports to . In almost all cases, the impact goes in the same direction. The effect of a common border is the only exception: it raises the volume of trade but reduces the probability of trading. We attribute this finding to the effect of territorial border conflicts that suppress trade between neighbors. In the absence of such conflicts, common land borders enhance trade. We also note that a common religion strongly affects the formation of trading relationships (its effect is similar to that of a common language, increasing the probability of trade by 10% for the “typical” country pair). Overall, this evidence strongly suggests that disregarding the selection equation of trading partners biases the estimates of the export equation, as we have argued in Section IV.
These results and their consequences are not specific to 1986. We repeat the same regressions increasing the sample years to cover all of the 1980s, adding year fixed effects. The results in columns (3) and (4) are very similar to those in the first two columns. As expected, the standard errors are reduced (all standard errors are robust to clustering by country pairs). Adding the time variation also allows the identification of the effects of changing country characteristics. We use this additional source of variation to investigate the effects of WTO/GATT membership (hereafter summarized as WTO) on trade volumes as well as the formation of bilateral trade relationships. We thus repeat the
-
The common religion variable is not used in traditional gravity equations. We have constructed it especially for use in our two-stage estimation procedure, as explained in the following sections.
-
The sample size is reduced from to 24,649 because Congo did not export to anyone in 1986, and an exporter fixed effect cannot be estimated.
QUARTERLY JOURNAL OF ECONOMICS
same regressions for the 1980s, adding bilateral controls whenever both countries or neither country is a member of WTO. As emphasized by Subramanian and Wei (2007), the use of unidirectional trade data and separate exporter and importer fixed effects substantially increases the statistically significant positive effect of WTO membership on trade volumes. Our theoretical framework provides a justification for this estimation strategy when bilateral trade flows are asymmetric. Furthermore, we also find that WTO membership has a very strong and significant effect on the formation of bilateral trading relationships. The coefficients in column (6) show that, for any country pair, joint WTO membership has an impact on the probability of trade similar to common language or colonial ties.
In reporting results for the 1980s, we aim to show that our choice of 1986 for the cross-section study does not affect the estimates. In other words, there is nothing special about 1986. And moreover, because this is mostly a methodological paper, we do not think that the choice of year is particularly important. Yet 1986 has the added advantage that it allows us to compare our results with French firm-level export data by destination reported in Eaton, Kortum, and Kramarz (2004) (see below).
VI. TWO-STAGE ESTIMATION
We now turn to the second stage estimation of the trade flow equation (14). As we describe in Section IV, this requires a first-stage Probit selection equation (12) such as that reported in Table I, which yields a predicted probability of export (and thus the additional and controls). Because we do not want the identification of our second stage estimates to rely on the normality assumption for the unobserved trade costs, we also need to select valid excluded variables for that second stage (we will also relax these distributional assumptions through the use of nonparametric methods). Our theoretical model suggests that trade barriers that affect fixed trade costs but do not affect variable (per-unit) trade costs satisfy this exclusion restriction. We now describe the construction of such variables.
-
Rose (2004) reports a significant though smaller effect of WTO membership on trade volumes using symmetric trade flow data and a unique set of country fixed effects.
-
When two countries both join the WTO, their probability of trade increases by 15%.
We start with country-level data on the regulation costs of firm entry, collected and analyzed by Djankov et al. (2002). These entry costs are measured via their effects on the number of days, the number of legal procedures, and the relative cost (as a percentage of GDP per capita) for an entrepreneur to legally start operating a business.²⁶ We surmise (and confirm empirically) that they also affect the costs faced by exporting firms to/from that country, and that these costs are magnified when both exporting and importing countries impose high regulatory hurdles. By their nature, these measures affect firm-level fixed rather than variable costs of trade. We therefore construct an indicator for high fixed-cost trading country pairs, consisting of country pairs in which both the importing and exporting countries have entry regulation measures above the cross-country median. One variable uses the sum of the number of days and procedures above the median (for both countries) whereas the other uses the sum of the relative costs above the median (again for both countries).²⁷ By construction, these bilateral variables reflect regulation costs that should not depend on a firm's volume of exports to a particular country, and therefore satisfy the requisite exclusion restrictions.²⁸
Using these additional variables for our first stage estimation of selection into trading relationships entails a substantial drop in sample size. First, 42 of 158 countries do not have any available regulation cost data.²⁹ Second, among the remaining countries, 8 of them export to everyone, and Japan imports from
-
Unfortunately, historic data were not available. For this reason, we use the data for 1999. See Djankov et al. (2002) for details.
-
Recall that these relative costs are measured as a percentage of GDP per capita, so these cost measures can be compared across countries. We could also have separated the number of days and procedures into separate variables, but we found that the jointly defined indicator variable has substantially more explanatory power.
-
Variable (per-unit) export costs at the country level could potentially be correlated with the fixed regulation costs associated with trade. However, our first stage estimation also includes country fixed effects. These correlated country-level variable costs would then have to interact in the same pattern as the fixed costs across country pairs in order to generate a correlation at the country level that is left uncontrolled by the country fixed effects. This possibility is substantially more remote than the potential correlation at the country level.
-
These 42 countries are Afghanistan, Bahamas, Bahrain, Barbados, Belize, Bermuda, Brunei, Cayman Islands, Comoros, Cuba, Cyprus, Djibouti, Equatorial Guinea, French Guiana, Gabon, Gambia, Greenland, Guadeloupe, Guinea-Bissau, Guyana, Iceland, Iraq, Kiribati, North Korea, Liberia, Libya, Maldives, Malta, Mauritius, Myanmar, New Caledonia, Qatar, Reunion, Seychelles, Somalia, St. Kitts, Sudan, Suriname, Trinidad-Tobago, Turks Caicos, Western Sahara, and Zaire.
QUARTERLY JOURNAL OF ECONOMICS
everyone.³⁰ Fixed exporter (and in the case of Japan, importer) effects can thus not be estimated, and all the observations with that particular exporter (or importer) are dropped. Third, the number of observations decreases with the square of the number of dropped countries. Jointly, these factors account for the halving of the available observations. This substantial decrease has led us to statistically test the validity of the exclusion restriction for additional bilateral trade barriers available for our full sample of countries (see following section). For now, the most relevant issue for our estimation purposes is that the additional cost variables have substantial explanatory power for the formation of trading relationships. This is strongly confirmed by the results in the first column of Table II. We reran the same Probit equation (based on (12)) as previously reported in Table I, adding our two cost measures. The results for all the explanatory variables from Table I are roughly similar, and the two cost variables are economically and statistically significant.
We next estimate our fully parametrized trade flow equation (14) using nonlinear least squares (NLS). We use the estimates of the Probit equation for the reduced sample to construct and for all country pairs with positive trade flows.³¹ The former controls for the sample selection bias whereas the latter controls for unobserved firm heterogeneity, that is, the effect of trade frictions and country characteristics on the proportion of exporters. We first report the results from a benchmark gravity equation without these controls in the second column of Table II and then report our NLS results in the third column. The standard errors are bootstrapped based on sampling (500 times) all available countries with replacement and using all the potential country pairs from that country sample. Both the nonlinear coefficient for and the linear
-
These 8 countries are Japan, Hong Kong, France, Germany, Italy, the Netherlands, the United Kingdom, and Sweden.
-
Recall that . The characteristics of our data induces a complication associated with this transformation: Our sample includes a relatively small number of country pairs whose characteristics are such that their probability of trade is indistinguishable from 1. We therefore cannot infer any differences in the s among this subgroup of country pairs based on their probability of trade (whose binary realization is the only relevant datum we observe). Hence, we assign the same to those country pairs with an estimated , equivalent to an estimated at this cutoff. This censoring affects 4.3% of the 6,602 country pairs with positive trade flows from the Probit estimation on the reduced sample (12,198 country pairs).
TABLE II BASELINE RESULTS
| Variables | (Probit) | 1986 reduced sample | ||||
|---|---|---|---|---|---|---|
| Indicator variables | ||||||
| Benchmark | NLS | Polynomial | 50 bins | 100 bins | ||
| Distance | -0.213**(0.016) | -1.167**(0.040) | -0.813**(0.049) | -0.847**(0.052) | -0.755**(0.070) | -0.789**(0.088) |
| Land border | -0.087(0.072) | 0.627**(0.165) | 0.871**(0.170) | 0.845**(0.166) | 0.892**(0.170) | 0.863**(0.170) |
| Island | -0.173*(0.078) | -0.553*(0.269) | -0.203(0.290) | -0.218(0.258) | -0.161(0.259) | -0.197(0.258) |
| Landlock | -0.053(0.050) | -0.432*(0.189) | -0.347*(0.175) | -0.362+(0.187) | -0.352+(0.187) | -0.353+(0.187) |
| Legal | 0.049**(0.019) | 0.535**(0.064) | 0.431**(0.065) | 0.434**(0.064) | 0.407**(0.065) | 0.418**(0.065) |
| Language | 0.101**(0.021) | 0.147+(0.075) | -0.030(0.087) | -0.017(0.077) | -0.061(0.079) | -0.036(0.083) |
| Colonial ties | -0.009(0.130) | 0.909**(0.158) | 0.847**(0.257) | 0.848**(0.148) | 0.853**(0.152) | 0.838**(0.153) |
| Currency union | 0.216**(0.038) | 1.534**(0.334) | 1.077**(0.360) | 1.150**(0.333) | 1.045**(0.337) | 1.107**(0.346) |
| FTA | 0.343**(0.009) | 0.976**(0.247) | 0.124(0.227) | 0.241(0.197) | -0.141(0.250) | 0.065(0.348) |
| Religion | 0.141**(0.034) | 0.281*(0.120) | 0.120(0.136) | 0.139(0.120) | 0.073(0.124) | 0.100(0.128) |
| Regulationcosts | -0.108**(0.036) | -0.146(0.100) | ||||
| R. costs (days& proc.) | -0.061*(0.031) | -0.216+(0.124) | ||||
| δ (from ) | 0.840**(0.043) | |||||
| 0.240*(0.099) | 0.882**(0.209) | |||||
| 3.261**(0.540) | ||||||
| -0.712**(0.170) | ||||||
| 0.060**(0.017) | ||||||
| Observations | 12,198 | 6,602 | 6,602 | 6,602 | 6,602 | 6,602 |
| 0.573 | 0.693 | 0.701 | 0.704 | 0.706 | ||
Notes. Exporter and importer fixed effects. Marginal effects at sample means and pseudo reported for Probit. Regulation costs are excluded variables in all second stage specifications. Bootstrapped standard errors for NLS; robust standard errors (clustering by country pair) elsewhere.
+Significant at 10%.
*Significant at 5%.
**Significant at 1%.
QUARTERLY JOURNAL OF ECONOMICS
coefficient for are precisely estimated. The remaining results for the linear coefficients clearly demonstrate the importance of an unmeasured heterogeneity bias in the estimated effects of trade barriers: higher trade volumes are not just the direct consequence of lower trade barriers; they also represent a greater proportion of exporters to a particular destination. Consequently, the measures of the effects of trade frictions in the benchmark gravity equation are biased upward, as they confound the true effect of these frictions with their indirect effect on the proportion of exporting firms.³² As highlighted in Table II, these biases are substantial. The coefficient on distance drops roughly by a third, indicating a much smaller effect of distance on firm-level (hence product-level) trade.³³ The effects of a currency union and colonial ties on firm or product level trade are also substantially reduced. The bias for the effect of FTAs is even more severe, as its coefficient drops by almost an order of magnitude and becomes insignificant. The measured effect of a common language is also strongly affected; it becomes insignificant (the benchmark coefficient is significant at the 5.2% level) and is precisely estimated around zero. Similarly for common religion: it becomes insignificant. This suggests that FTAs, a common language, and a common religion predominantly reduce the fixed costs of trade: they have a great influence on a firm's choice of export location, but not on its export volume once the exporting decision has been made.
We now progressively relax the parameterization assumptions that determined our functional forms. First, we relax the assumption governing the distribution of firm heterogeneity, and hence the form of the control function for in the trade flow equation (14). That is, we drop the Pareto assumption for and revert to the general specification for in (5). Using (4) and (10), is now an arbitrary (increasing) function of . We then directly control for using , which we approximate with a polynomial in . This replaces in (14).³⁴ As the nonlinearity induced by is eliminated, we now estimate the second stage using OLS.
-
The effect of a land border is an exception because it negatively affects the probability of trade.
-
Several studies have documented that the effect of distance in gravity models is overstated because distance is correlated with other trade frictions (such as lack of information). The same issue applies here and would even further reduce the directly measured effect of distance.
-
Recall that and differ only by a constant term.
In practice, we have found no noticeable changes from expanding beyond a cubic polynomial. The results from this second stage estimation (the first stage Probit remains unchanged) are reported in the fourth column of Table II. These results are very similar to the NLS estimates.³⁵ In other words, the Pareto distribution does not appear to unduly constrain our baseline specification.
We further relax the joint normality assumption for the unobserved trade costs, and hence the Mills ratio functional form for the selection correction. This naturally precludes the separation of the effects of the latter from the firm heterogeneity effects. However, we can still jointly control for these effects with a flexible nonparametric functional form and thus obtain our key results for the intensive-margin contribution of the various trade barriers. The first stage estimation remains the same except that we now can use any cumulative distribution function instead of the normal distribution. We have experimented with the Logit and -distributions with various low degrees of freedom and found that the resulting predicted probabilities are strikingly similar. For this reason, we no longer use the normality assumption to recover the and . Instead, we work directly with the predicted probabilities .
In order to approximate as flexibly as possible an arbitrary functional form of the s, we use a large set of indicator variables. We partition the obtained s into a number of bins with equal observations and assign an indicator variable to every bin. We then replace the and controls from the NLS estimation or the and controls from the polynomial estimation with this set of indicator variables. We report results with both 50 and 100 bins, to ensure a large degree of flexibility.³⁶ The results are in the last two columns of Table II. Here, we use the predicted probabilities from the baseline Probit, but these results are virtually unchanged when switching to a Logit or a -distribution in the first stage. Evidently, all three estimation methods yield very similar results.
-
Here, we report the robust standard errors controlling for clustering at the country-pair level but do not correct for the generated regressors in the second stage. We experimented with bootstrapping the standard errors, as performed for the NLS specification, but this barely affected any of them. No coefficient significance test (at the 1%, 5%, or 10% level) was affected.
-
As with the polynomial approximation, this specification is now linear, and we thus use OLS.
QUARTERLY JOURNAL OF ECONOMICS
VII. AN ALTERNATIVE EXCLUDED VARIABLE
Although the use of regulation cost variables has advantages, it also has a drawback: it substantially reduces the number of usable observations, as we explained in Section V (from 24,649 to 12,198 for the first stage, and from 11,156 to 6,602 for the second stage). For this reason it is desirable to find at least one other variable that satisfies the exclusion restrictions, which can be used for estimation with the full sample of countries. We argue in this section that our religion variable is suitable for this purpose.³⁷
Once we have reliable excluded variables, such as our regulation cost variables, we can test whether any additional variable satisfies the exclusion restrictions. The key is for this variable to be correlated with the 's but not be correlated with the residual of the second stage equation that has been estimated with the reliable excluded variables (the reliable excluded variables are believed to satisfy the exclusion restrictions on theoretical grounds). In our case this means that the residuals from the trade flow equation should be uncorrelated with this variable. We argue that our common religion variable satisfies these requirements.
That the religion variable satisfies the first requirement is evident from the Probit equation, in which religion has a positive and significant effect on the probability of exporting (see Tables I and II). A simple test of the second requirement is provided in Table II. As is evident from the standard errors, one cannot reject the hypothesis that the coefficient on religion equals zero in each and every case. In other words, religion is not correlated with the second stage residuals.³⁸ To further enhance confidence in common religion as the excluded variable, we rerun all the second stage specifications from Table II, dropping the regulation cost variables and using religion as the excluded variable. The results of this estimation procedure applied to the reduced sample are reported in the left-hand-side panel of Table III. Evidently, they are very similar to the results in Table II.
-
We also experimented using the common language variable as the excluded variable. We obtained results almost identical to those using religion as the excluded variable.
-
We also performed a chi-squared test with one overidentification restriction (see Wooldridge [2002]) using all three excluded variables (the two regulations of entry costs variables and common religion). However, since the second stage residuals are no longer normally distributed after correcting for sample selection, this test is only asymptotically valid. Still, in all specifications, we cannot reject the hypothesis that all three variables are uncorrelated with the second stage residuals.
TABLE III ALTERNATE EXCLUDED VARIABLES
| Variables | 1986 reduced sample | 1986 full sample | ||||||
|---|---|---|---|---|---|---|---|---|
| Indicator variables | Indicator variables | |||||||
| NLS | Polynomial | 50 bins | 100 bins | NLS | Polynomial | 50 bins | 100 bins | |
| Distance | ||||||||
| (0.048) | (0.051) | (0.069) | (0.089) | (0.039) | (0.041) | (0.059) | (0.076) | |
| Land border | ||||||||
| (0.169) | (0.164) | (0.166) | (0.167) | (0.132) | (0.144) | (0.147) | (0.150) | |
| Island | -0.204 | -0.219 | -0.171 | -0.142 | -0.169 | -0.200+ | -0.091 | -0.074 |
| (0.291) | (0.258) | (0.265) | (0.266) | (0.120) | (0.118) | (0.119) | (0.121) | |
| Landlock | ||||||||
| (0.176) | (0.188) | (0.190) | (0.192) | (0.172) | (0.186) | (0.186) | (0.186) | |
| Legal | ||||||||
| (0.066) | (0.064) | (0.065) | (0.066) | (0.048) | (0.049) | (0.050) | (0.050) | |
| Language | -0.018 | -0.005 | -0.060 | -0.068 | 0.023 | 0.045 | -0.044 | -0.062 |
| (0.085) | (0.077) | (0.079) | (0.085) | (0.062) | (0.061) | (0.064) | (0.068) | |
| Colonial ties | ||||||||
| (0.251) | (0.147) | (0.149) | (0.148) | (0.204) | (0.116) | (0.117) | (0.119) | |
| Currency union | ||||||||
| (0.361) | (0.334) | (0.341) | (0.353) | (0.273) | (0.261) | (0.265) | (0.270) | |
QUARTERLY JOURNAL OF ECONOMICS
TABLE III (CONTINUED)
| Variables | 1986 reduced sample | 1986 full sample | ||||||
|---|---|---|---|---|---|---|---|---|
| Indicator variables | Indicator variables | |||||||
| NLS | Polynomial | 50 bins | 100 bins | NLS | Polynomial | 50 bins | 100 bins | |
| FTA | 0.154(0.225) | 0.254(0.199) | -0.161(0.250) | -0.200(0.337) | 0.380*(0.182) | 0.457**(0.162) | 0.050(0.165) | -0.091(0.210) |
| δ (from ) | 0.827**(0.043) | 0.871**(0.028) | ||||||
| 0.198*(0.099) | 0.823**(0.211) | 0.372**(0.069) | 1.131**(0.138) | |||||
| 3.229**(0.538) | 3.602**(0.386) | |||||||
| -0.709**(0.169) | -0.782**(0.123) | |||||||
| s | 0.061**(0.017) | 0.064**(0.013) | ||||||
| Observations | 6,602 | 6,602 | 6,602 | 6,602 | 11,146 | 11,146 | 11,146 | 11,146 |
| 0.700 | 0.702 | 0.705 | 0.705 | 0.721 | 0.722 | 0.723 | ||
Notes. is dependent variable throughout. Exporter and importer fixed effects. Religion is excluded variable in all second stage specifications. Bootstrapped standard errors for NLS; robust standard errors (clustering by country pair) elsewhere.
- Significant at 10%.
** Significant at 5%.
*** Significant at 1%.
Once religion is accepted as a legitimate excluded variable, we can use it to estimate the model on the full sample of countries instead of the smaller sample that has been used so far, thereby roughly doubling the number of usable observations. The results of this estimation are reported in the right-hand-side panel of Table III for all three estimation methods (the benchmark gravity and Probit selection results were already reported in Table I). The magnitudes of these coefficients remain comparable despite the substantial increase in sample size.³⁹ Similar to the reduced sample estimates, we find that heterogeneity matters; higher trade volumes are driven both by direct effects of lower trade barriers and by greater proportions of exporters. As a result, estimated trade frictions in the benchmark gravity equation are biased upward, confounding the true effects with the indirect effects on the fraction of exporting firms.⁴⁰ As is evident from Table III, these biases are substantial; the coefficients on distance, currency union, colonial ties, language, and FTAs drop significantly.⁴¹
The substantial increase in country coverage allows us to study how these biases vary with the characteristics of the country pairs, which we explore in our counterfactual analysis in the following section. For now, we also take advantage of the inclusion of French exports in the full sample to compare our estimates for the extensive margin of French exports to the direct measure of the number of French exporting firms across destinations reported by Eaton, Kortum, and Kramarz (2004) for 1986. In our model, is an increasing function of the fraction of firms exporting from country to country . Our estimates of for should therefore be positively correlated with the number of French exporters to country reported by Eaton, Kortum, and Kramarz (2004). We check this using our estimates for both from the NLS specification and for from the polynomial approximation. These correlations are extremely high in both cases: 77% for and 78% for .⁴²
-
The effects of FTAs are estimated to be significantly higher in the NLS and polynomial approximation specifications, though still substantially lower than in the benchmark estimates.
-
The effect of a land border is again an exception, because it negatively affects the probability of trade.
-
In the working paper version (Helpman, Melitz, and Rubinstein 2007), we also report results for the 1980s. They show that 1986 is not exceptional in terms of the full sample estimates. The coefficient for joint membership in the WTO drops substantially, but remains statistically and economically significant.
-
Because is a logged value, we compute the correlation using the logarithm of the number of exporting firms.
QUARTERLY JOURNAL OF ECONOMICS
VIII. ADDITIONAL INSIGHTS
We now use the full sample estimates from the previous section to examine several aspects of the results in further detail.
VIII.A. Decomposing the Biases
Our second stage estimate addresses two different sources of bias for standard gravity equations: a selection bias that arises from the pairing of countries into exporter-importer relationships, and an unobserved heterogeneity bias that results from the variation in the fraction of firms that export from a source to a destination country. To examine the relative importance of these biases, we now estimate two specifications of the second-stage equation, one controlling for unobserved heterogeneity only, the other controlling for selection only.
The results are reported in Table IV. The first two columns report the benchmark equation and our second stage NLS estimates from the full sample from Tables I and III. The differences in the estimated coefficients of these two equations represent the joint outcome of the two biases. As we discussed, all the coefficients, with the exception of the land border effect, are lower in absolute value in the second column. We then implement a simple linear correction for unobserved heterogeneity by only adding as an additional regressor to the standard gravity specification (here, we do not correct for the sample selection bias via ). The results reported in the third column clearly show that this unobserved heterogeneity (the proportion of exporting firms) addresses almost all the biases in the standard gravity equation. The coefficients and standard errors for all the observed trade barriers are very similar to those obtained in our second stage nonlinear estimation.
In the fourth column, we correct only for the selection bias (the standard two-stage Heckman (1979) selection procedure) by introducing the Mills ratio as an additional regressor to the benchmark specification. Although the estimated coefficient on is positive and significant, the remaining coefficients are very similar to those obtained in the benchmark specification of column (1).
-
In this exercise we want to ensure a simple monotonic transformation of , so we do not add any higher order terms.
-
This is consistent with the finding of Silva and Tenreyro (2006), whose application of a Poisson estimation method on a sample that consists of positive trade flows and a sample that includes zeros as well yields similar results.
TABLE IV BIAS DECOMPOSITION
| Variables | 1986 full sample | |||
|---|---|---|---|---|
| Benchmark | NLS | Firm heterogeneity | Heckman selection | |
| Distance | -1.176**(0.031) | -0.798**(0.039) | -0.769**(0.038) | -1.214**(0.031) |
| Land border | 0.458**(0.147) | 0.834**(0.132) | 0.855**(0.142) | 0.436**(0.149) |
| Island | -0.391**(0.121) | -0.169(0.120) | -0.164(0.118) | -0.425**(0.120) |
| Landlock | -0.561**(0.188) | -0.447**(0.172) | -0.433*(0.187) | -0.565**(0.187) |
| Legal | 0.486**(0.050) | 0.387**(0.048) | 0.381**(0.049) | 0.488**(0.050) |
| Language | 0.176**(0.061) | 0.023(0.062) | 0.023(0.060) | 0.223**(0.061) |
| Colonial ties | 1.299**(0.120) | 1.001**(0.204) | 0.979**(0.119) | 1.311**(0.123) |
| Currency union | 1.364**(0.255) | 1.023**(0.273) | 0.996**(0.260) | 1.391**(0.257) |
| FTA | 0.759**(0.222) | 0.380*(0.182) | 0.314+(0.168) | 0.737**(0.235) |
| Religion | 0.102(0.096) | |||
| δ (from ŷ_ij*) | 0.871**(0.028) | |||
| ŷ_ij* | 0.372**(0.069) | 0.265**(0.070) | ||
| ẑ_ij* | 0.892**(0.051) | |||
| Observations | 11,146 | 11,146 | 11,146 | 11,146 |
| R² | 0.709 | 0.716 | 0.710 | |
Notes. is dependent variable throughout. Exporter and importer fixed effects. Religion is excluded variable in all second stage specifications. Bootstrapped standard errors for NLS; robust standard errors (clustering by country pair) elsewhere.
*Significant at 10%.
**Significant at 5%.
**Significant at 1%.
Thus, the bias corrections implemented in our second stage estimation are dominated by the influence of unobserved firm heterogeneity rather than sample selection. This finding suggests that although aggregate country-pair shocks do have a significant effect on trade patterns, they only negligibly affect the
QUARTERLY JOURNAL OF ECONOMICS
TABLE V ASYMMETRIES
| Variable | 1986 full sample | ||||
|---|---|---|---|---|---|
| NLS | Polynomial | ||||
| 0.999**(0.0169) | |||||
| 1.187**(0.042) | 1.251**(0.266) | ||||
| 1.012**(0.035) | 0.703**(0.143) | ||||
| Country fixed effects | No | No | Yes | No | Yes |
| Observations | 12,246 | 4,517 | 4,517 | 4,517 | 4,517 |
| 0.219 | 0.153 | 0.324 | 0.157 | 0.325 | |
**Significant at 1%.
responsiveness of trade volumes to observed trade barriers.⁴⁵ The results in column (3) clearly show that this is not the case for the effects of unobserved heterogeneity: the latter would affect trade volumes even were all country pairs trading with one another, because it operates independently of the selection effect. Neglecting to control for this unobserved heterogeneity induces most of the biases exhibited in the standard gravity specification.
VIII.B. Evidence on Asymmetric Trade Relationships
As was previously mentioned, our model predicts asymmetric trade flows between countries. These asymmetries can be extreme, with trade predicted in only one direction, as also reflected in the data. More nuanced, trade can be positive in both directions, but with a net trade imbalance. Do these predicted asymmetries have explanatory power for the direction of trade flows and net bilateral trade balances? The answer is an overwhelming yes, as evidenced by the results reported in Table V. The first part of the table shows the results of the OLS regression of on (based on the Probit results for 1986).⁴⁶ Note that the regressand, , takes on the values -1, 0, and 1, depending on the direction of
-
This finding also highlights the important information conveyed by the nontrading country pairs. If such zero trade values were just the outcome of censoring, then a Tobit specification would provide the best fit to the data. This is just a more restrictive version of the selection model, which is rejected by the data in favor of the specification incorporating firm heterogeneity.
-
Recall that is the indicator variable for positive trade from to .
trade between and (it is 0 if trade flows in both directions or if the countries do not trade at all). The magnitude of the regressor measures the model's prediction for an asymmetric trading relationship, while its sign predicts the direction of the asymmetry. Table V shows that the predicted asymmetries have a substantial amount of explanatory power; the regressor coefficient is significant at any conventional level and explains on its own 22% of the variation in the direction of trade.⁴⁷ We emphasize that the regressor is constructed only from the predicted probability of export , which is a function only of country-level variables (the fixed effects) and symmetric bilateral measures.
The second part of Table V focuses on bilateral trade flow asymmetries between country pairs trading in both directions. It shows the results of the OLS regression of net bilateral trade (the percentage difference between exports and imports) on alternatively (for the NLS specification) or (for the polynomial approximation). That regressor captures differences in the proportion of exporting firms. Combined with the country fixed effects, these variables capture differences in the number of exporting firms from one country to the other. Again, we find that this single regressor (using either specification) is a strong predictor of net bilateral trade. On its own, it explains 15%–16% of the variance in net trade, and along with the country fixed effects it explains 32%–33% of that variance.⁴⁸
VIII.C. Counterfactuals
We have just shown how the fitted values for and can explain a large portion of the variation in the direction of trade and in its extensive margin. We next show how to use these fitted values to make predictions about the response of trade to changes in trade costs. For every change in the bilateral trade costs , our model predicts the new pattern of trade, that is, who trades with whom, and in which direction. In addition, for country pairs that trade with each other, the model predicts the resulting changes in the composition of trade flows between the extensive and intensive margins. These counterfactual predictions can be measured, and
-
This understates the variable's explanatory power, because it is continuous and it predicts a discrete variable.
-
Anderson and van Wincoop (2003) account for asymmetric bilateral trade flows with asymmetric variable bilateral trade costs. In a more general model one can have both asymmetric bilateral trade costs and asymmetric extensive margins of trade.
QUARTERLY JOURNAL OF ECONOMICS
we illustrate their quantitative impact for a reduction in trade costs associated with distance.
In response to a drop in distance-related trade costs, some countries start trading with one another. Trade rises for country pairs that traded before the drop in trade costs, and we report how the increase in trade can be decomposed into the intensive and extensive margin. We find that the extensive margin is especially important in shaping the response of trade flows across country pairs because it generates substantial heterogeneity across country pairs. This richness contrasts sharply with the uniform response implied by the baseline gravity model, which does not account for the extensive margin of trade (nor does it account for the creation of new trading relationships).
The computation of these responses involves some technical details that are explained in Appendix III. Here we report the results of a particular counterfactual experiment involving a decrease in the trade costs associated with distance. That is, we investigate the response of trade for any given country pair, assuming that the distance between these two country pairs decreases by a given percentage. We first focus on country pairs observed trading and focus on the elasticity of the overall trade response for each country pair: , where now specifically references the bilateral distance variable.⁴⁹ Since our model predicts different response elasticities with the magnitude of the trade decrease, we report these elasticities for the case of a 10% distance decrease (), although any percentage decrease under 20% would yield virtually identical results.⁵⁰
As was previously mentioned, the elasticities vary widely across different country pairs. In order to highlight how these elasticities vary along one important country pair dimension—country income—we report summary statistics across three groups of country pairs: North–North, North–South, and South–South, sorted by GDP per capita.⁵¹ These statistics appear in Table IV for
-
To avoid any confusion when discussing “larger” versus “smaller” elasticities, we express the elasticities in absolute value. Naturally, for the case of trade costs, these elasticities are all negative.
-
Larger decreases in trade costs would produce larger elasticities but with similar qualitative patterns across country pairs.
-
We use 1986 U.S. $15,000 as the cutoff GDP per capita between North and South. The former group is composed of nineteen countries: Australia, Austria, Belgium-Luxemburg, Canada, Denmark, Finland, France, Germany, Hong Kong, Iceland, Italy, Japan, Netherlands, New Zealand, Norway, Sweden, Switzerland, United Kingdom, and the United States.
TABLE VI SUMMARY STATISTICS OF THE TRADE ELASTICITY RESPONSE ACROSS COUNTRY PAIRS
| Country pairs group | Number of country pairs | Nonlinear least squares | Polynomial approximation | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Mean | S. D. | Min | Max | Mean | S. D. | Min | Max | ||
| NN | 342 | 1.292 | 0.034 | 1.283 | 1.642 | 1.290 | 0.107 | 1.141 | 2.222 |
| NS | 4,626 | 1.404 | 0.152 | 1.283 | 2.949 | 1.526 | 0.386 | 1.141 | 2.895 |
| SS | 6,178 | 1.698 | 0.303 | 1.283 | 3.777 | 2.130 | 0.443 | 1.141 | 2.995 |
| Overall | 11,146 | 1.563 | 0.289 | 1.283 | 3.777 | 1.854 | 0.517 | 1.141 | 2.995 |
both our NLS and polynomial approximation specifications. Importantly, we emphasize that all the heterogeneity in the elasticity response is driven by the extensive margin because the elasticity response at the intensive margin is fixed at 0.799 (NLS) and 0.862 (polynomial approximation). Because this extensive margin response depends fundamentally on the functional forms for or in terms of , we report the elasticities for both cases. Although the shape of the functional form for is in part determined by our theoretical modeling assumptions (see (13)), the shape of the is entirely data-driven. Reassuringly, both functions have very similar shapes over the range of , and the counterfactual distributions of the response elasticity are similar.
The heterogeneous trade responses reported in Table IV show that these elasticities vary between 1.283 and 3.777 for the NLS estimates and between 1.141 and 2.995 for the semiparametric estimates, large variations indeed.⁵² We visually depict these distributions across country pairs group in Figure III. The charts clearly document how the range and distribution of elasticities vary with country income: the elasticities are highest for South–South trade, lower for North–South trade, and lowest for North–North trade. Thus, when trade costs related to distance fall, our estimates predict that the response of the extensive margin of trade is larger for less developed countries.⁵³
-
Of course, departing from the log-linear specification for distance would yield different elasticities for different changes in trade costs related to distance. Our main point is that, given a log-linear specification for distance in both stages, our model still predicts substantial differences in the response elasticity, driven by the characteristics of the country pairs that jointly determine the extensive margin of trade.
-
In Helpman, Melitz, and Rubinstein (2007) we also report how many of the countries that do not trade initially and which pairs start trading when the trade costs fall. These results suggest that large changes in trade-related costs are needed to induce nontrading country pairs, involving at least one Southern
QUARTERLY JOURNAL OF ECONOMICS


FIGURE III
The Distribution of the Distance Elasticity across Country Pairs
IX. CONCLUDING COMMENTS
Empirical explanations of international trade flows have a long tradition. The gravity equation with various measures of trade resistance plays a key role in this literature. Indeed, estimates of the impact of trade resistance measures provide important information about the roles played by common currencies, free trade areas, membership in the WTO, and other features of trading countries. For this reason, it is important to obtain reliable estimates of the effects of those trade barriers/enhancers on international trade flows.
We develop in this paper an estimation procedure that corrects certain biases embodied in the standard gravity estimation of trade flows. Our approach is driven by theoretical as well as econometric considerations. On the theoretical side, we develop a simple model that is capable of explaining empirical phenomena, such as zero trade flows between certain pairs of countries and larger numbers of exporters to larger destination markets. We then derive from this theory a two-equation system that can be estimated with standard data sets. Importantly, this system
country, to trade. Moreover, they are in line with the evidence presented in Figures I and II that almost all of the increase in world trade flows in the last thirty years has occurred among countries with trading relationships in 1970.
enables one to decompose the impact on trade volumes of all trade resistance measures into their intensive (trade volume per firm) and extensive (number of exporting firms) margin components. We show how to obtain estimates of this decomposition without having firm-level data, but rather country-level data that are normally used to estimate trade flows. The ability to obtain such a decomposition is important because, in practice, a substantial proportion of trade adjustment takes place at the extensive margin, and it is not possible to obtain consistent firm-level data with export destinations for a large number of countries (which would be needed for a direct estimation of the extensive margin component).
Our empirical analysis has been confined to country-level trade flows, where about half of the observations are zeros. Naturally, the problem of zeros is even more severe at the industry level. That is, in data sets of sectoral trade flows the fraction of zeros is much larger. Importantly, our estimation method can be implemented on such data sets as well. Manova (2006) is an example of this, highlighting the important contribution of the extensive margin of trade in explaining the impact of financial frictions on sectoral trade flows.
A variety of robustness checks show that the resulting estimates are not sensitive to the estimation method (parametric, semiparametric, or nonparametric) nor to the excluded variables from the first stage of our two-stage estimation procedure. Moreover, these estimates suggest that the biases embodied in the commonly used approach are substantial and that they are mostly due to the omitted control for the extensive margin of trade. Especially important is our finding that the bias not only is large, but also substantially varies across country pairs with different characteristics. In particular, the response of the trade flow between one pair of countries to a given reduction in distance-related trade frictions (such as transport costs) can be as much as three times larger than the response of the trade flow between another pair of countries. We show how these large variations across country pairs in the response to a given trade friction reduction are driven by variation in the extensive margin responses.
Finally, we note that our estimation procedure is easy to implement. In addition, it is flexible, because it allows the use of parametric, semiparametric, and nonparametric specifications. In other words, the procedure provides the researcher with flexibility and convenience in individual applications.
QUARTERLY JOURNAL OF ECONOMICS
APPENDIX I
We describe in this Appendix our data sources.
Trade data: The bilateral trade flows are from Feenstra's "World Trade Flows, 1970–1992" and "World Trade Flows, 1980–1997." These data include 183 "country titles" over the period 1970 to 1997. In some cases Feenstra grouped several countries into a single title. We excluded twelve such country titles and three proper countries for which data other than trade flows were missing. This left usable data for bilateral trade flows among 158 countries. The list of these countries is provided in Table A.1.
For the 158 countries we constructed a matrix of trade flows, measured in constant 2000 U.S. dollars, using the U.S. CPI. This matrix represents observations, consisting of exports from country to country . Many of these export flows are zeros.
Country-level data: Population and real GDP per capita have been obtained from two standard sources: the Penn World Tables 6.1 and the World Bank's World Development Indicators.
We used the CIA's World Factbook to construct a number of variables, which can be classified as follows:
-
Geography: Latitude, longitude, and whether a country is landlocked or an island.
-
Institutions: Legal origin, colonial origin, GATT/WTO membership.
-
Culture: Primary language and religion.
We also used data from Rose (2000) and Glick and Rose (2002), as presented on Andrew Rose's Web site, to identify whether a country pair belongs to the same currency union or the same FTA. And we used data from Rose (2004) to identify whether a country is a member of the GATT/WTO.
Using these data, we constructed country-pair specific variables, such as the distance between countries and , whether they share a border, the same legal system, the same colonial origin, or membership in the GATT/WTO (see below).
The construction of the regulation costs of firm entry are described in the main text. As previously mentioned, cost data on the number of days, number of legal procedures, and relative cost (as percent of GDP per capita) are reported in Djankov et al. (2002).
TABLE A.1 LIST OF COUNTRIES
| Afghanistan | Ecuador | Korea DPR | Romania |
|---|---|---|---|
| Albania | Egypt | Korea Rep. | Rwanda |
| Algeria | El Salvador | Kuwait | Saudi Arabia |
| Angola | Eq. Guinea | Laos | Senegal |
| Argentina | Ethiopia | Lebanon | Seychelles |
| Australia | Fiji | Liberia | Sierra Leone |
| Austria | Finland | Libya | Singapore |
| Bahamas | Fm. Czechoslovakia | Madagascar | Solomon Islds. |
| Bahrain | Fm. USSR | Malawi | Somalia |
| Bangladesh | Fm. Yugoslavia | Malaysia | South Africa |
| Barbados | France | Maldives | Spain |
| Belgium-Lux. | French Guiana | Mali | Sri Lanka |
| Belize | Gabon | Malta | St Kitts Nevis |
| Benin | Gambia | Mauritania | Sudan |
| Bermuda | Germany | Mauritius | Surinam |
| Bhutan | Ghana | Mexico | Sweden |
| Bolivia | Greece | Mongolia | Switzerland |
| Brazil | Greenland | Morocco | Syria |
| Brunei | Guadeloupe | Mozambique | Taiwan |
| Bulgaria | Guatemala | Myanmar | Thailand |
| Burkina Faso | Guinea | Nepal | Togo |
| Burundi | Guinea-Bissau | Netherlands | Trinidad-Tobago |
| Cambodia | Guyana | Neth. Antilles | Tunisia |
| Cameroon | Haiti | New Caledonia | Turkey |
| Canada | Honduras | New Zealand | Turks and Caicos |
| Cayman Islds | Hong Kong | Nicaragua | Uganda |
| Central Africa | Hungary | Niger | United Kingdom |
| Chad | Iceland | Nigeria | United Arab Em. |
| Chile | India | Norway | United Rep. |
| China | Indonesia | Oman | Tanzania |
| Colombia | Iran | Pakistan | United States |
| Comoros Islds. | Iraq | Panama | Uruguay |
| Congo | Ireland | Papua N.Guinea | Venezuela |
| Costa Rica | Israel | Paraguay | Vietnam |
| Cote D'Ivoire | Italy | Peru | Western Sahara |
| Cuba | Jamaica | Philippines | Yemen |
| Cyprus | Japan | Poland | Zaire |
| Denmark | Jordan | Portugal | Zambia |
| Djibouti | Kenya | Qatar | Zimbabwe |
| Dominican Rep. | Kiribati | Reunion |
Main Variables:
- Distance: the distance (in km) between importer's i and exporter's j capitals (in logs).
QUARTERLY JOURNAL OF ECONOMICS
-
Common border: a binary variable that equals one if importer and exporter are neighbors that meet a common physical boundary, and zero otherwise.
-
Island: a binary variable that equals one if both importer and exporter are islands, and zero otherwise.
-
Landlocked: a binary variable that equals one if both exporting country and importing country have no coastline or direct access to sea, and zero otherwise.
-
Colonial ties: a binary variable that equals one if importing country ever colonized exporting country or vice versa, and zero otherwise.
-
Currency union: a binary variable that equals one if importing country and exporting country use the same currency or if within the country pair money was interchangeable at a 1:1 exchange rate for an extended period of time (see Rose [2000, 2004] and Glick and Rose [2002]), and zero otherwise.
-
Legal system: a binary variable that equals one if the importing country and exporting country share the same legal origin, and zero otherwise.
-
Religion: (% Protestants in country · % Protestants in country ) + (% Catholics in country · % Catholics in country ) + (% Muslims in country · % Muslims in country ).
-
FTA: a binary variable that equals one if exporting country and importing country belong to a common regional trade agreement, and zero otherwise.
-
WTO: a vector of two dummy variables: the first binary variable equals one if both exporting country and importing country do not belong to the GATT/WTO, and zero otherwise; the second binary variable equals one if both countries belong to the GATT/WTO, and zero otherwise.
-
Entry costs: a binary indicator that equals one if the sum of the number of days and procedures to form a business is above the median for both the importing country and exporting country , or if the relative cost (as percent of GDP per capita) of forming a business is above the median in the exporting country and the importing country , and zero otherwise.
APPENDIX II
We derive in this Appendix a gravity equation with third-country effects, which generalizes Anderson and van Wincoop's
(2003) equation, and we show that their equation applies whenever for every country pair and can be decomposed in a particular way. We then discuss some limitations of their formulation.
Equality of income and expenditure implies . That is, the value of country 's exports to all countries, including sales to home residents , equals the value of country 's output. Equation (6) then implies
(15)
Using this expression we can rewrite the bilateral trade volume (6) as
(16)
where is world income and is the share of country h in world income.
We next show that if is decomposable in a particular way, and transport costs are symmetric (i.e., for all i and j), then (16) yields the generalized gravity equation that has been derived by Anderson and van Wincoop (2003). Their specification satisfies these conditions. Importantly, however, there are other cases of interest, less restrictive than the Anderson and van Wincoop specification, that satisfy them too. Therefore, our derivation of the gravity equation shows that it applies under wider circumstances and, in particular, when there is productivity heterogeneity across firms and firms bear fixed costs of exporting. Under these circumstances only a fraction of the firms export: those with the highest productivity. Finally, note that our general formulation—without decomposability—is more relevant for empirical analysis because, unlike previous formulations, it enables bilateral trade flows to equal zero. This flexibility is important because, as we have explained in the Introduction, there are many zero bilateral trade flows in the data.
Consider the following:
DECOMPOSABILITY ASSUMPTION. is decomposable as follows:
QUARTERLY JOURNAL OF ECONOMICS
where depends only on the parameters of the importing country, depends only on the parameters of the exporting country, and for all .
In this decomposition, only the symmetric terms depend on the joint identity of the importing and exporting countries; all other parameters do not.
To illustrate circumstances in which the decomposability assumption is satisfied, first consider a situation where the fixed costs are very small, so that for all . That is, the lowest productivity level that makes exporting profitable, , is lower than the lowest productivity level in the support of , . Under these circumstances all firms export and is the same for every country pair .^{55} Alternatively, suppose that productivity has a Pareto distribution with shape and . That is, for . Moreover, let either depend only on the identity of the exporter, so that , or let the fixed costs be symmetric, so that . Then satisfies the decomposability assumption and in every country only a fraction of firms export to country .^{56}
Using the decomposability property and symmetry requirements and , we obtain
(17)
where the values of are solved from
(18)
This is essentially the Anderson and van Wincoop (2003) system. Evidently, the solution of the s depends only on income shares
-
More precisely, .
-
Under these conditions and either , so that becomes part of , whereas becomes part of , or , so that and become part of .
-
Decomposability allows us to rewrite (16) as
(20)
and transport costs and possibly on a constant in that is embodied in the s. However, an upward shift of this constant raises the product proportionately and therefore has no effect on . Therefore, imports of country from as a share of world income, which equal imports of country from as a share of world income, depend only on the structure of trade costs and the size distribution of countries. Bilateral imports as a fraction of world income are proportional to the product of the two countries' shares in world income, with the factor of proportionality depending on the structure of trading costs and the worldwide distribution of relative country size.
The decomposability assumption is too restrictive, however. It implies that if imports of country from equal zero, that is, , then one of the (, , or ) must be infinite, because . In other words, some trade costs, either at the country or bilateral level, must be infinite in order to explain zero trade flows. Our framework, which does not rely on this decomposability assumption, is much more general, as it can explain the prevalent zero trade flows based on finite trade costs (which can then be estimated). Furthermore, the gravity specification (17) based on the decomposability assumption cannot explain the asymmetries in bilateral trade flows (which must then stem from country fixed effects). In the case of zero bilateral trade in only one direction, this would impose either that the importer does not import from any other country or that the exporter does not export to any other
where and
(21)
In addition, (7) and (15) imply
Therefore,
(22)
Equations (21) and (22) together with symmetry conditions and then imply that for every . As a result, (20) and (21) yield the equations in the text.
QUARTERLY JOURNAL OF ECONOMICS
country. This is clearly inconsistent with the data. As we have explained in the introduction, most countries trade only with a fraction of the countries in the world economy: neither with all of them nor with none of them. In the case of positive trade flows in both directions, (17) imposes that all bilateral trade asymmetries stem from the country fixed-effects. This is also inconsistent with the observed pattern of trade, as documented in the second panel of Table V. Furthermore, that table documents that those asymmetries are highly correlated with the asymmetric pattern of zero trade flows (which would be inconsistent with (17)). Indeed, this is the main logic behind our more general theoretical model and empirical implementation: the decision to export to a foreign country is not independent of the volume of exports, and thus that the pattern of trading partners and trading volumes must jointly be analyzed. For these reasons we use the less restrictive equations (4)–(7) for estimation purposes.
APPENDIX III
We explain in this Appendix the computation of the counterfactuals in Section VIII. To this end, consider an observed change in the bilateral trade costs from to .⁵⁸ The new predicted estimates of the probability of trade and are obtained in a straightforward way from the first stage estimated Probit equation by replacing with . We next need to obtain a consistent estimate of conditional on the observed trade status of and (trade or no trade) when trade costs are , given that we do not observe the trade status under the new trade costs . This will replace in our equations. Originally we were only concerned with computing for country pairs with active trade, that is, with . But now we also need to consider country pairs that do not trade under costs but might trade under costs . For this reason we need to examine two cases.
III. A. Country Pairs Observed Trading
First, we note that the unobserved trade costs are not affected by the change in trade costs .⁵⁹ If we knew whether a
-
As in our previous derivations, can represent any given observable variable trade cost.
-
That is, we seek a ceteris paribus counterfactual prediction for a direct change in .
country pair traded under , say , then we could construct a new estimate for , say , conditional on both and . Absent this additional information, our best estimate for is conditional on and is still given by . Thus, when , our best estimate for is given by
Again, note that the new distance cost is used to compute the new but not the bias correction for . If , then we predict that j no longer exports to i. Because , this can only happen when (a scenario we will not explicitly consider). If , then we predict that the country pair continues to trade (this must be the case when ). This new value of can then be used in conjunction with the second stage estimates to predict the response of trade flows at the extensive margin. In the case of the NLS estimation, this is (and for the polynomial approximation). The overall predicted trade response is given by the fitted value from the estimated second stage equation (14) using the new values for and :
(19)
In the case of the polynomial approximation, is replaced by .
III. B. Country Pairs Not Observed Trading
We now show how our model can be used to determine which nontrading country pairs are predicted to start trading under costs , and the associated new predicted trade flow. The first stage yields a predicted and for all country pairs under , including the nontrading country pairs. We now need to obtain a consistent estimate for for these country pairs, conditional on . We start by expanding the definition for to include the country pairs that do not trade: . (This was previously defined only when .) When , this is given by
QUARTERLY JOURNAL OF ECONOMICS
because is distributed standard normal. Hence, , our consistent estimate for , is constructed as
Using this new expanded definition for , our previous definition for now provides a consistent estimate for , which now includes the case for country pairs with . Note that, by construction, must be negative whenever (recall that whenever ).
When trade costs change to , we obtain a new for country pairs with in a way similar to that for : , where we do not adjust for the new value of the trade costs. Whenever , our model predicts that j exports to i under the trade costs . For these country pairs, the new predicted trade flow can be predicted in a similar way to that for all the other trading country pairs using (19) along with the newly constructed .
HARVARD UNIVERSITY AND CIFAR
PRINCETON UNIVERSITY, CENTRE FOR ECONOMIC POLICY RESEARCH, AND NATIONAL BUREAU OF ECONOMIC RESEARCH
BROWN UNIVERSITY
REFERENCES
Anderson, James A., “A Theoretical Foundation for the Gravity Equation,” American Economic Review, 69 (1979), 106–116.
Anderson, James E., and Eric van Wincoop, "Gravity with Gravitas: A Solution to the Border Puzzle," American Economic Review, 93 (2003), 170–192.
——, “Trade Costs,” Journal of Economic Literature, 42 (2004), 691–751.
Bernard, Andrew B., Jonathan Eaton, J. Bradford Jensen, and Samuel Kortum, "Plants and Productivity in International Trade," American Economic Review, 93 (2003), 1268–1290.
Bernard, Andrew B., J. Bradford Jensen, and Peter K. Schott, "Importers, Exporters, and Multinationals: A Portrait of Firms in the U.S. that Trade Goods," NBER Working Paper 11404, 2005.
Davis, Donald R., and David E. Weinstein, "Market Access, Economic Geography and Comparative Advantage: An Empirical Test," Journal of International Economics, 59 (2003), 1–23.
- As before, we do not observe a new under .
Djankov, Simeon, Rafael La Porta, Florencio Lopez-de-Silanes, and Andrei Shleifer, "The Regulation of Entry," Quarterly Journal of Economics, 117 (2002), 1–37.
Eaton, Jonathan, and Samuel S. Kortum, "Technology, Geography, and Trade," Econometrica, 70 (2002), 1741–1779.
Eaton, Jonathan, Samuel Kortum, and Francis Kramarz, "Dissecting Trade: Firms, Industries, and Export Destination," American Economic Review (Papers and Proceedings), 94 (2004), 150–154.
Evans, Carolyn L., "The Economic Significance of National Border Effects," American Economic Review, 93 (2003), 1291–1312.
Evenett, Simon J., and Anthony J. Venables, "Export Growth in Developing Countries: Market Entry and Bilateral Trade Flows," mimeo, London School of Economics, 2002.
Feenstra, Robert C., "Border Effects and the Gravity Equation: Consistent Methods for Estimation," Scottish Journal of Political Economy, 49 (2002), 491–506. —., Advanced International Trade (Princeton, NJ: Princeton University Press, 2003).
Felbermayr, Gabriel J., and Wilhelm Kohler, "Exploring the Intensive and Extensive Margins of World Trade," Review of World Economics, 142 (2006), 642–674.
Frankel, Jeffrey A., Regional Trading Blocks in the World Economic System (Washington, DC: Institute of International Economics, 1997).
Glick, Reuven, and Andrew K. Rose, "Does a Currency Union Affect Trade? The Time Series Evidence," European Economic Review, 46 (2002), 1125–1151.
Haveman, Jon, and David Hummels, "Alternative Hypotheses and the Volume of Trade: The Gravity Equation and the Extent of Specialization," Canadian Journal of Economics, 37 (2004), 199–218.
Heckman, James J., "Sample Selection Bias as a Specification Error," Econometrica, 47 (1979), 153–161.
Helpman, Elhanan, "Imperfect Competition and International Trade: Evidence from Fourteen Industrial Countries," Journal of the Japanese and International Economics, 1 (1987), 62–81.
Helpman, Elhanan, and Paul R. Krugman, Market Structure and Foreign Trade (Cambridge, MA: The MIT Press, 1985).
Helpman, Elhanan, Marc Melitz, and Yona Rubinstein, "Estimating Trade Flows: Trading Partners and Trading Volumes," NBER Working Paper No. 12927, 2007.
Hummels, David, and Peter J. Klenow, "The Variety and Quality of a Nation's Exports," American Economic Review, 95 (2005), 704–719.
Kehoe, Timothy J., and Kim J. Ruhl, "How Important Is the New Goods Margin in International Trade?" mimeo, University of Minnesota, 2002.
Manova, Kalina, "Credit Constraints, Heterogeneous Firms and International Trade," mimeo, Harvard University, 2006.
McCallum, John, "National Borders Matter: Canada–U.S. Regional Trade Patterns," American Economic Review, 85 (1995), 615–623.
Melitz, Marc J., "The Impact of Trade on Intra-industry Reallocations and Aggregate Industry Productivity," Econometrica, 71 (2003), 1695–1725.
Rose, Andrew K., "One Money One Market: Estimating the Effect of Common Currencies on Trade," Economic Policy, 15 (2000), 7–46.
—., "Do We Really Know that the WTO Increases Trade?" American Economic Review, 94 (2004), 98–114.
Silva, J. M. C. Santos, and Silvana Tenreyro, "The Log of Gravity," Review of Economics and Statistics, 88 (2006), 641–658.
Subramanian, Arvind, and Shang-Jin Wei, "The WTO Promotes Trade, Strongly But Unevenly," Journal of International Economics, 72 (2007), 151–175.
Tenreyro, Silvana, and Robert Barro, "Economic Effects of Currency Unions," National Bureau of Economic Research, Working Paper 9435, 2003.
Tinbergen, Jan, Shaping the World Economy (New York: The Twentieth Century Fund, 1962).
Wei, Shang-Jin, "Intranational Versus International Trade: How Stubborn are Nations in Global Integration?" NBER, Working Paper No. 5531, 1996.
Wooldridge, Jeffrey M., Econometric Analysis of Cross Section and Panel Data (Cambridge, MA: The MIT Press, 2002).