Help Man 2008
Help Man 2008
Help Man 2008
QUARTERLY JOURNAL
OF ECONOMICS
Vol. CXXIII May 2008 Issue 2
ELHANAN HELPMAN
MARC MELITZ
YONA RUBINSTEIN
I. INTRODUCTION
Estimation of international trade flows has a long tradi-
tion. 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.
C 2008 by the President and Fellows of Harvard College and the Massachusetts Institute of
Technology.
The Quarterly Journal of Economics, May 2008
441
442 QUARTERLY JOURNAL OF ECONOMICS
one another.5 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.6 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
5. We say that a country pair i and j do not trade with one another if i does
not export to j and j does not export to i.
6. Felbermayr and Kohler (2006) report that prior to 1970 new trade flows
contributed substantially to the growth of world trade.
7. The role of the number of exported products, as opposed to exports per prod-
uct, 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 liberal-
ization in 18 countries a large fraction of trade expansion was driven by trade in
goods that were not traded before.
444 QUARTERLY JOURNAL OF ECONOMICS
8. We also show that consistency requires the use of separate country fixed
effects for exporters and importers, as proposed by Feenstra (2002).
ESTIMATING TRADE FLOWS 445
which can be computed from aggregate data, that predict the se-
lection of heterogeneous firms into export markets and their asso-
ciated aggregate trade volumes.9 This is an important advantage
of our approach, which extracts from country-level data informa-
tion 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.
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.10
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
10. 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.
448 QUARTERLY JOURNAL OF ECONOMICS
11. 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
ESTIMATING TRADE FLOWS 449
III. THEORY
Consider a world with J countries, indexed by j = 1, 2, . . . , J.
Every country consumes and produces a continuum of products.
Country js utility function is
1/
uj = x j (l) dl , 0<<1,
lB j
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]).
450 QUARTERLY JOURNAL OF ECONOMICS
12. See Melitz (2003) for a discussion of a general equilibrium model of trad-
ing countries in which firms are heterogeneous in productivity. We follow his
specification.
13. The as only capture relative productivity differences across firms in a
country. Aggregate productivity differences across countries are subsumed in the
c j s.
ESTIMATING TRADE FLOWS 451
Evidently, these operating profits are positive for sales in the do-
mestic market because f j j = 0. Therefore all N j producers sell in
country j. But sales in country i = j are profitable only if a ai j ,
where ai j is defined by i j (ai j ) = 0, or14
1
i j c j ai j
(4) (1 ) Yi = c j fi j .
Pi
The demand function (1) and pricing equation (3) then imply that
the value of country is imports from j is
1
c j i j
(6) Mi j = Yi N j Vi j .
Pi
c j i j 1
(7) Pi1 = N j Vi j .
j=1
kaLk+1
Vi j =
Wi j ,
(k + 1) akH aLk
where
k+1
ai j
(8) Wi j = max 1, 0 ,
aL
mi j = ( 1) ln ( 1) ln c j + n j + ( 1) pi + yi
+ (1 ) ln i j + vi j ,
(9) mi j = 0 + j + i di j + wi j + ui j ,
15. In the following derivations, we use distance as the only source of ob-
servable 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 .
16. We replace vi j with wi j , and therefore 0 now also contains the log of
the constant multiplier in Vi j . If tariffs are not directly controlled for, then the
importers fixed effect will subsume an average tariff level. Similarly, average
export taxes will show up in the exporters fixed effect.
454 QUARTERLY JOURNAL OF ECONOMICS
(k+1)/(1)
monotonic function of Zi j ; that is, Wi j = Zi j 1 (see (4)
and (8)). As with the variable trade costs i j , we assume that
the fixed export costs fi j are stochastic due to unmeasured trade
frictions i j that are i.i.d., but may be correlated with the ui j s.
Let fi j exp( EX, j + I M,i + i j i j ), where i j N(0, 2 ), I M,i
is a fixed trade barrier imposed by the importing country on all
exporters, EX, j is a measure of fixed export costs common across
all export destinations, and i j is an observed measure of any ad-
17. As with variable trade costs, it should be clear how this derivation can be
extended to a vector of observable fixed trade costs.
18. By construction, the error term ij i j / is distributed unit normal. The
Probit equation (12) distinguishes between observable trade barriers that affect
variable trade costs (di j ) and fixed trade costs ( fi j ). In practice, some variables
may affect both. Their coefficients in (12) then capture the combined effect of these
barriers.
456 QUARTERLY JOURNAL OF ECONOMICS
V. TRADITIONAL ESTIMATES
Traditional estimates of the gravity equation use data on
country pairs that trade in at least one direction. The first col-
umn in Table I provides a representative estimate of this sort for
all bilateral trade flows reported in 1986 from a set of 158 coun-
tries (the full list is reported in Appendix I). Note that instead of
constructing symmetric trade flows by combining exports and im-
ports for each country pair, we use the unidirectional trade value
19. 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.
20. See, for example, Eaton and Kortum (2002) and Anderson and van
Wincoop (2003) for ways to estimate this elasticity.
458 QUARTERLY JOURNAL OF ECONOMICS
TABLE I
BENCHMARK GRAVITY AND SELECTION INTO TRADING RELATIONSHIPS
1986 1980s
Notes. Exporter, importer, and year fixed effects. Marginal effects at sample means and pseudo R2 reported
for Probit. Robust standard errors (clustering by country pair).
+ Significant at 10%.
Significant at 5%.
Significant at 1%.
21. Among the 158 157 = 24,806 possible bilateral trading relationships,
there are only 11,146 (less than half) positive trade flows.
ESTIMATING TRADE FLOWS 459
22. 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.
23. The sample size is reduced from 158 157 = 24,806 to 24,649 because
Congo did not export to anyone in 1986, and an exporter fixed effect cannot be
estimated.
460 QUARTERLY JOURNAL OF ECONOMICS
24. Rose (2004) reports a significant though smaller effect of WTO member-
ship on trade volumes using symmetric trade flow data and a unique set of country
fixed effects.
25. When two countries both join the WTO, their probability of trade increases
by 15%.
ESTIMATING TRADE FLOWS 461
26. Unfortunately, historic data were not available. For this reason, we use
the data for 1999. See Djankov et al. (2002) for details.
27. 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.
28. 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.
29. 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.
462 QUARTERLY JOURNAL OF ECONOMICS
30. These 8 countries are Japan, Hong Kong, France, Germany, Italy, the
Netherlands, the United Kingdom, and Sweden.
31. Recall that zij = 1 (i j ). The characteristics of our data induces a compli-
cation associated with this transformation: Our sample includes a relatively small
number of country pairs whose characteristics are such that their probability of
trade i j is indistinguishable from 1. We therefore cannot infer any differences in
the zij 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 zij to those country pairs with an estimated i j > .9999999, equivalent
to an estimated i j 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).
ESTIMATING TRADE FLOWS 463
TABLE II
BASELINE RESULTS
mi j
Indicator variables
(Probit)
Variables Ti j Benchmark NLS Polynomial 50 bins 100 bins
0.213 1.167 0.813 0.847 0.755 0.789
Notes. Exporter and importer fixed effects. Marginal effects at sample means and pseudo R2 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%.
464 QUARTERLY JOURNAL OF ECONOMICS
35. 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.
36. As with the polynomial approximation, this specification is now linear,
and we thus use OLS.
466 QUARTERLY JOURNAL OF ECONOMICS
37. We also experimented using the common language variable as the ex-
cluded variable. We obtained results almost identical to those using religion as the
excluded variable.
38. We also performed a chi-squared test with one overidentification restric-
tion (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
Notes. mi j 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%.
39. 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.
40. The effect of a land border is again an exception, because it negatively
affects the probability of trade.
41. 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.
42. Because wi j is a logged value, we compute the correlation using the loga-
rithm of the number of exporting firms.
470 QUARTERLY JOURNAL OF ECONOMICS
TABLE IV
BIAS DECOMPOSITION
Notes. mi j 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%.
TABLE V
ASYMMETRIES
i j ji 0.999
(0.0169)
Significant at 1%.
45. This finding also highlights the important information conveyed by the
nontrading country pairs. If such zero trade values were just the outcome of cen-
soring, 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.
46. Recall that Ti j is the indicator variable for positive trade from j to i.
ESTIMATING TRADE FLOWS 473
VIII.C. Counterfactuals
We have just shown how the fitted values for i j and wij 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 di j , 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
49. To avoid any confusion when discussing larger versus smaller elastic-
ities, we express the elasticities in absolute value. Naturally, for the case of trade
costs, these elasticities are all negative.
50. Larger decreases in trade costs would produce larger elasticities but with
similar qualitative patterns across country pairs.
51. 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.
ESTIMATING TRADE FLOWS 475
TABLE VI
SUMMARY STATISTICS OF THE TRADE ELASTICITY RESPONSE ACROSS COUNTRY PAIRS
52. 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.
53. 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
476 QUARTERLY JOURNAL OF ECONOMICS
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.
ESTIMATING TRADE FLOWS 477
APPENDIX I
We describe in this Appendix our data sources.
Trade data: The bilateral trade flows are from Feenstras
World Trade Flows, 19701992 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
We also used data from Rose (2000) and Glick and Rose (2002),
as presented on Andrew Roses 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 vari-
ables, such as the distance between countries i and j, 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 de-
scribed 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
Main Variables:
where Y = Jj=1 Y j is world income and sh = Yh/Y is the share of
country h in world income.
We next show that if Vi j is decomposable in a particular way,
and transport costs are symmetric (i.e., i j = ji for all i and j),
then (16) yields the generalized gravity equation that has been
derived by Anderson and van Wincoop (2003). Their specifica-
tion 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
formulationwithout decomposabilityis more relevant for em-
pirical analysis because, unlike previous formulations, it enables
bilateral trade flows to equal zero. This flexibility is important be-
cause, as we have explained in the Introduction, there are many
zero bilateral trade flows in the data.
Consider the following:
DECOMPOSABILITY ASSUMPTION. Vi j is decomposable as follows:
1
Vi j = I M,i EX, j i j ,
482 QUARTERLY JOURNAL OF ECONOMICS
1
Mi j i j i j
(17) = si s j ,
Y Qi Q j
where the values of Q j are solved from
jh jh 1
(18) Q1
j = sh.
h
Qh
APPENDIX III
We explain in this Appendix the computation of the counter-
factuals in Section VIII. To this end, consider an observed change
in the bilateral trade costs from di j to di j .58 The new predicted esti-
mates of the probability of trade i j and zij = 1 (i j ) are obtained
in a straightforward way from the first stage estimated Probit
equation by replacing di j with di j . We next need to obtain a con-
sistent estimate of zij conditional on the observed trade status of
j and i (trade or no trade) when trade costs are di j , given that
we do not observe the trade status under the new trade costs di j .
This will replace z ij in our equations. Originally we were only con-
cerned with computing z ij for country pairs with active trade, that
is, with Ti j = 1. But now we also need to consider country pairs
that do not trade under costs di j but might trade under costs di j .
For this reason we need to examine two cases.
(19) mi j = 0 + j + i + di j + w ij + u ij .
(zij )
ij = E ij | ., Ti j = 0 = E ij | ., ij < zij = ,
1 (zij )
486 QUARTERLY JOURNAL OF ECONOMICS
REFERENCES
Anderson, James A., A Theoretical Foundation for the Gravity Equation, Ameri-
can Economic Review, 69 (1979), 106116.
Anderson, James E., and Eric van Wincoop, Gravity with Gravitas: A Solution to
the Border Puzzle, American Economic Review, 93 (2003), 170192.
,Trade Costs, Journal of Economic Literature, 42 (2004), 691751.
Bernard, Andrew B., Jonathan Eaton, J. Bradford Jensen, and Samuel Kortum,
Plants and Productivity in International Trade, American Economic Review,
93 (2003), 12681290.
Bernard, Andrew B., J. Bradford Jensen, and Peter K. Schott, Importers, Ex-
porters, 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), 123.