1. Introduction
Cross-country disparities in agricultural labor productivity stand among the starkest empirical regularities in modern development and environmental economics. Foundational macroeconomic studies by Restuccia et al. (2008), Lagakos and Waugh (2013), Adamopoulos and Restuccia (2014), and Gollin et al. (2014) established that productivity gaps between rich and poor economies are disproportionately concentrated in agriculture, where poor countries also allocate the majority of their workforce. Traditional explanations focused predominantly on domestic distortions—small operational farm scales, factor misallocation, and internal labor mobility barriers—while treating international trade primarily through the lens of final food commodities, as analyzed by Tombe (2015) and Costinot et al. (2016).
Farrokhi and Pellegrina (2023) fundamentally broadened this debate by foregrounding international trade in modern agricultural intermediate inputs: chemical fertilizers, agricultural machinery, and pesticides. Because production of these industrial inputs is geographically concentrated in a small set of advanced and resource-endowed economies, developing nations rely heavily on international markets to access modern farming technologies. Across the 2007 benchmark sample of economies, countries import an average of of their total agricultural input expenditure—reaching for fertilizers, for machinery, and for pesticides. Lowering trade barriers on modern agricultural inputs directly compresses the relative price of modern technology across rural frontiers, inducing farmers to shift land out of labor-intensive traditional cultivation into input-intensive modern cultivation. This endogenous technology margin raises crop yields per hectare, releases agricultural labor toward non-agricultural sectors, and generates welfare gains that rival or surpass those from agricultural output trade liberalization.
In quantitative spatial general equilibrium frameworks spanning dozens of countries and heterogeneous agro-climatic zones, counterfactual welfare projections hinge critically on the credibility of structural demand elasticities estimated directly from trade data. Specifically, the lower-tier Armington elasticity across origin varieties of a given crop, , and the middle-tier substitution elasticity across distinct crops, , govern how sharply agricultural terms of trade, factor prices, and land allocation respond to trade-cost shocks. This study delivers an independent tri-runtime replication across StataNow 19.5 MP, R, and Python of both the structural instrumental-variable demand system and the cross-country input-intensity facts in Farrokhi and Pellegrina (2023). Beyond exact numerical verification, we conduct systematic diagnostic stress tests—evaluating cubic instrument expansion, exporter-scale weighting sensitivity, leave-one-crop-out jackknife stability, and crop-specific disaggregation—to establish transparent boundaries for causal inference and quantitative policy design.
2. Theoretical Framework and Empirical Data
2.1. Nested CES Agricultural Demand Structure
Building upon the multi-sector Ricardian trade architecture of Eaton and Kortum (2002) and Caliendo and Parro (2015), together with the agricultural spatial geography models of Costinot et al. (2016) and Sotelo (2020), Farrokhi and Pellegrina (2023) embed an endogenous farm-level choice between traditional and modern production technologies inside a global general equilibrium economy. On the demand side, representative consumers in destination country allocate food expenditure across 10 major crops via a two-tier nested constant-elasticity-of-substitution utility structure. At the lower tier, varieties of crop supplied by origin countries substitute with Armington elasticity . At the middle tier, composite crop bundles aggregate into total agricultural consumption with cross-crop elasticity .
Cost minimization at the lower tier yields a log-linear bilateral expenditure share equation linking destination 's share of crop- spending purchased from origin , defined as , to bilateral unit prices :
Where:
- denotes destination country 's expenditure share on crop imported from origin country relative to total destination spending on crop .
- represents the lower-tier Armington elasticity of substitution across national origin varieties within crop .
- denotes the bilateral trade unit price of crop shipped from origin to destination .
- captures an absorbed destination-by-crop fixed effect controlling for the exact CES composite crop price index and total crop expenditure at destination .
- denotes unobserved bilateral demand shifters, product quality attributes, and taste shocks.
Recovering lower-tier demand shifters from the residuals of the lower-tier equation enables construction of the exact CES composite price index for each destination-crop pair. Expenditure allocation across crops at the middle tier then satisfies:
Where:
- denotes destination country 's expenditure share on crop out of total spending across all 10 major crops .
- represents the middle-tier elasticity of substitution across distinct agricultural crops within destination .
- denotes the composite CES price index for crop in destination derived from origin prices and lower-tier elasticity .
- captures an absorbed destination-country fixed effect holding constant aggregate income, market size, and overall food price levels.
- denotes crop-specific unobserved preference shocks at destination .
2.2. Original Archive Provenance and Descriptive Profile
All empirical outputs in this replication are computed directly from the original CC0 1.0 Harvard Dataverse archive compiled by Farrokhi and Pellegrina (2022), with zero simulated or synthetic observations. The consolidated analytical dataset farrokhi_ag_trade_tech.csv integrates the authors' cleaned 2007 bilateral crop trade and unit-value records, FAO-GAEZ agro-climatic potential yield indexes, agricultural input trade absorption accounts, and value-added-per-worker series across 66 countries covering bananas, cotton, maize, oil palm, potatoes, rice, soybeans, sugarcane, tomatoes, and wheat.
From the complete 43,560 potential origin-destination-crop cells, exactly 9,078 cells contain positive trade flows with observed prices and shares. Merging origin FAO-GAEZ agro-climatic instruments and dropping absorbed fixed-effect singletons yields the flagship lower-tier IV estimation sample of observations across 66 destination clusters, compared with observations in the uninstrumented OLS-HDFE benchmark. Collapsing to unique destination-crop markets yields pairs for middle-tier OLS and pairs with valid destination agro-climatic instruments for middle-tier IV. Country-level input intensity and import dependence accounts span all economies in the global benchmark.
| Empirical Variable | Obs | Mean | Std Dev | P10 | Median | P90 |
|---|---|---|---|---|---|---|
Log bilateral crop expenditure share lbeta_odk | 9,078 | -6.8997 | 3.8554 | -12.0672 | -6.8133 | -1.6510 |
Log bilateral crop export unit price lprice | 9,078 | 5.5979 | 0.9723 | 3.8813 | 5.6747 | 6.6751 |
Log origin FAO-GAEZ potential yield lyield_o | 8,336 | -1.9906 | 2.0984 | -4.9180 | -1.2904 | -0.0268 |
Log destination crop expenditure share lbeta_dk | 659 | -3.2249 | 1.7679 | -5.2272 | -2.9659 | -1.3523 |
Log CES composite crop price index lP_index | 659 | 4.3568 | 0.9411 | 2.9266 | 4.4576 | 5.4301 |
Log destination FAO-GAEZ potential yield lyield_d | 580 | -2.0597 | 2.1388 | -5.0879 | -1.3248 | -0.0850 |
Modern agricultural input cost share share_I_final | 66 | 0.4227 | 0.1450 | 0.2405 | 0.4109 | 0.6070 |
Log GDP per worker relative to USA l_gdp_pc_usa | 66 | -1.5777 | 1.2949 | -3.3836 | -1.5540 | 0.1104 |
Log input expenditure per hectare lnland_C | 66 | -0.9709 | 1.4954 | -3.1053 | -0.9858 | 1.1286 |
Log tractors per hectare lnland_tractors | 66 | -1.3254 | 2.2626 | -4.4340 | -1.0309 | 1.5538 |
Log fertilizer per hectare lnland_GP_con | 66 | -0.5391 | 1.4832 | -2.3942 | -0.2261 | 0.8373 |
Log agricultural labor per hectare lnland_labor_agri | 66 | 3.2295 | 1.3577 | 1.3821 | 3.2131 | 4.7696 |
Import share of all modern inputs imp_share_all | 66 | 0.6464 | 0.2225 | 0.3171 | 0.6978 | 0.9062 |
Import share of fertilizer imp_share_F | 66 | 0.6908 | 0.2300 | 0.3911 | 0.7401 | 0.9636 |
Import share of machinery imp_share_M | 66 | 0.6730 | 0.2475 | 0.2896 | 0.7262 | 0.9198 |
Import share of pesticides imp_share_P | 66 | 0.6867 | 0.2615 | 0.3077 | 0.7193 | 1.0000 |
Table 1 underscores the vast cross-country dispersion in agricultural modernization. Modern intermediate input cost shares span from at the tenth percentile to at the ninetieth percentile around a mean of , while median import penetration exceeds across fertilizers, agricultural machinery, and pesticides alike. Figure 1 maps these stark cross-country gradients against log GDP per worker relative to the United States across all benchmark economies.

3. Econometric Methodology and Identification Strategy
3.1. Agro-Climatic Instrumental Variables and First-Stage Supply Shifting
Estimating the CES demand equations by ordinary least squares produces severe upward attenuation bias toward zero because bilateral prices respond positively to unobserved bilateral demand shocks and suffer classical unit-value measurement noise. Farrokhi and Pellegrina (2023) address this classic simultaneity problem by exploiting exogenous agronomic suitability measures from the FAO-GAEZ database, which predict crop yields strictly from exogenous climate, soil chemistry, elevation, and rainfall parameters. In flagship specification M01, bilateral export prices are instrumented using a quadratic polynomial in origin country agro-climatic potential yield:
Where:
- denotes the endogenous log bilateral unit export price of crop shipped from origin to destination .
- denotes the log exogenous FAO-GAEZ agro-climatic potential yield of crop in origin country .
- captures nonlinear curvature in the marginal cost response to agronomic suitability.
- denotes the absorbed destination-by-crop first-stage fixed effect.
- represents the first-stage error term reflecting non-climatic supply shocks and bilateral trade costs.
At the middle tier in model M02, destination composite crop price indexes are analogously instrumented using destination country quadratic potential yields lyield_d and lyield_sq_d within absorbed destination fixed effects .
3.2. Analytical Weighting, CRV1 Clustering, and Tri-Runtime Alignment
Following the authors' original specification in estimate_demand.do, lower-tier IV regressions weight observations by origin total agricultural exports , while middle-tier regressions weight by destination total agricultural spending . Standard errors are clustered at the destination country level country_iso_d across clusters to permit arbitrary correlation across crop varieties and partner origins within each importing market, consistent with design-based clustering guidance in Abadie et al. (2023). Because absorbed fixed effects destination_crop and destination are strictly nested inside destination clusters country_iso_d, exact small-sample CRV1 variance adjustments match identically across StataNow 19.5 MP ivreghdfe, R fixest::feols with nested fixed-effect degree-of-freedom adjustment, and our vectorized weighted Frisch–Waugh–Lovell 2SLS solver in Python.
Our 12-model verification architecture spans seven structural demand and diagnostic regressions M01–M07 alongside five cross-country agricultural development regressions M08–M12. Specifically, beyond exact reproduction of M01 and M02, we estimate OLS-HDFE benchmarks M03 and M04 to quantify endogeneity bias, inspect the explicit first-stage HDFE supply equation M05, test cubic agro-climatic instrument overidentification M06, evaluate unweighted IV-HDFE sensitivity M07, and execute a 10-crop leave-one-crop-out jackknife audit.
4. Empirical Results and Sensitivity Analysis
4.1. Tri-Runtime Verification Across All Twelve Econometric Specifications
Table 2 reports the complete side-by-side tri-runtime estimates across StataNow 19.5 MP, R, and Python for all 12 specifications M01–M12, demonstrating numerical convergence orders of magnitude tighter than the quantitative replication threshold.
| Model ID | Econometric Specification | Focal Variable | Stata | R | Python | Max Diff | Observations | |
|---|---|---|---|---|---|---|---|---|
| M01 | Flagship lower-tier IV-HDFE | lprice | -4.7620*** (0.3173) | -4.7620*** (0.3173) | -4.7620*** (0.3173) | 0.000001% | 8,320 | -0.3516 |
| M02 | Middle-tier cross-crop IV-HDFE | lP_index | -3.1580*** (0.4949) | -3.1580*** (0.4949) | -3.1580*** (0.4949) | 0.000006% | 580 | -3.7176 |
| M03 | Lower-tier OLS-HDFE benchmark | lprice | -0.8054*** (0.1616) | -0.8054*** (0.1616) | -0.8054*** (0.1616) | 0.000009% | 9,063 | 0.3650 |
| M04 | Middle-tier OLS-HDFE benchmark | lP_index | -0.4394*** (0.0500) | -0.4394*** (0.0500) | -0.4394*** (0.0500) | 0.000002% | 659 | 0.1757 |
| M05 | Lower-tier first-stage HDFE on potential yield | lyield_o | -0.3146*** (0.0150) | -0.3146*** (0.0150) | -0.3146*** (0.0150) | 0.000001% | 8,320 | 0.7461 |
| M06 | Lower-tier cubic-IV HDFE robustness | lprice | -4.7403*** (0.3216) | -4.7403*** (0.3216) | -4.7403*** (0.3216) | 0.000002% | 8,320 | -0.3476 |
| M07 | Lower-tier unweighted IV-HDFE robustness | lprice | -8.6165*** (0.8987) | -8.6165*** (0.8987) | -8.6165*** (0.8987) | 0.000008% | 8,320 | -1.4332 |
| M08 | Modern input cost share on log GDP per worker | l_gdp_pc_usa | 0.0927*** (0.0079) | 0.0927*** (0.0079) | 0.0927*** (0.0079) | 0.000001% | 66 | 0.6846 |
| M09 | Log input expenditure per hectare on log GDP per worker | l_gdp_pc_usa | 0.9465*** (0.0827) | 0.9465*** (0.0827) | 0.9465*** (0.0827) | 0.000000% | 66 | 0.6717 |
| M10 | Log tractors per hectare on log GDP per worker | l_gdp_pc_usa | 1.3546*** (0.1380) | 1.3546*** (0.1380) | 1.3546*** (0.1380) | 0.000001% | 66 | 0.6010 |
| M11 | Log fertilizer per hectare on log GDP per worker | l_gdp_pc_usa | 0.6765*** (0.1155) | 0.6765*** (0.1155) | 0.6765*** (0.1155) | 0.000000% | 66 | 0.3488 |
| M12 | Log agricultural labor per hectare on log GDP per worker | l_gdp_pc_usa | -0.8099*** (0.0832) | -0.8099*** (0.0832) | -0.8099*** (0.0832) | 0.000001% | 66 | 0.5966 |
Notes: Parentheses report CRV1 standard errors clustered across 66 destination countries for models M01–M07 and classical OLS standard errors for cross-country models M08–M12. Statistical significance markers: * , ** , *** . Negative centered within values in IV models M01, M02, M06, and M07 are standard algebraic properties of 2SLS when structural slopes diverge sharply from OLS.
Every focal estimate aligns seamlessly with the published archive benchmarks. In flagship lower-tier IV model M01 with , the estimated price slope with standard error implies , matching the deposited sigma_lower_common.csv value of and standard error within . In middle-tier IV model M02 with , the composite price index slope with standard error implies , matching the deposited sigma_middle.csv value of and standard error within . Across all 12 specifications, the peak cross-runtime discrepancy is for coefficients and for standard errors.
4.2. First-Stage Instrument Strength, Endogeneity Bias, and Input Trade Dependence
Comparing M01 against M03 and M02 against M04 illustrates why agro-climatic instrumentation is indispensable for agricultural demand estimation. Without instruments, lower-tier OLS-HDFE in M03 with yields with standard error and , implying an implausibly inelastic Armington parameter of —nearly six times smaller in price-slope magnitude than the IV estimate. At the middle tier, OLS-HDFE in M04 with produces with standard error and , more than seven times smaller than M02. First-stage HDFE estimates in M05 with confirm strong supply shifting: origin potential yield carries a highly significant negative slope of with standard error alongside a quadratic term of with standard error , explaining of price variation and generating Kleibergen–Paap Wald for M01 and for M02, decisively clearing the weak-instrument diagnostics of Kleibergen and Paap (2006).


4.3. Cross-Country Factor Substitution and Extended Robustness Stress Tests
Models M08–M12 confirm all five cross-country agricultural development regularities across economies. Moving up by one log point in relative GDP per worker raises the modern agricultural input cost share by in M08 with , input expenditure per hectare by log points in M09 with , tractors per hectare by log points in M10 with , and fertilizer intensity per hectare by log points in M11 with , while reducing agricultural labor per hectare by log points in M12 with .
Extending beyond verbatim replication, three diagnostic stress tests sharpen our assessment of specification robustness.
First, augmenting the excluded instrument set with cubic origin potential yield lyield_cu_o in M06 produces with standard error , implied , and Kleibergen–Paap , moving the flagship parameter by less than .
Second, Table 3 and Figure 4 Panel A present a 10-crop leave-one-crop-out jackknife audit of M01: dropping eight of the ten crops individually preserves tightly within to with , while wheat and sugarcane exert the largest compositional leverage at and respectively.
| Omitted Crop | Obs | IV Price Coef | Std Err | Implied | Kleibergen–Paap Wald |
|---|---|---|---|---|---|
| Banana | 7,794 | -4.8353 | 0.3307 | 5.8353 | 199.97 |
| Cotton | 7,155 | -4.7915 | 0.3347 | 5.7915 | 220.75 |
| Maize | 7,294 | -4.2790 | 0.2985 | 5.2790 | 280.07 |
| Oil Palm | 7,768 | -5.0324 | 0.3307 | 6.0324 | 287.25 |
| Potato | 7,311 | -5.4301 | 0.4169 | 6.4301 | 183.93 |
| Rice | 7,258 | -4.4876 | 0.3117 | 5.4876 | 215.66 |
| Soybean | 7,677 | -4.6506 | 0.3147 | 5.6506 | 259.05 |
| Sugarcane | 7,347 | -7.0243 | 0.7304 | 8.0243 | 215.61 |
| Tomato | 7,718 | -4.6007 | 0.3034 | 5.6007 | 295.71 |
| Wheat | 7,558 | -3.6779 | 0.2875 | 4.6779 | 237.65 |
Third, removing exporter-volume analytical weights in M07 shifts the price slope dramatically from to with standard error and , raising implied by to . Under the diagnostic weighting framework of Solon et al. (2015), this large gap between weighted and unweighted IV estimates signals genuine structural heterogeneity across exporter size: smaller exporting nations face far steeper competitive substitution elasticities in global crop markets than mega-exporters possessing differentiated supply chains and market power.

5. Policy Implications and Conclusion
This independent tri-runtime verification confirms the computational exactness and empirical power of Farrokhi and Pellegrina (2023). Across StataNow 19.5 MP, R, and Python, all 12 econometric models replicate with numerical fidelity better than , confirming both the six-fold endogeneity attenuation in uninstrumented OLS crop demand equations and the strong agro-climatic supply-shifter identification underlying and . Coupled with the stark to modern-input import dependence observed in the poorest quartile of nations, these verified elasticities validate the paper's central economic mechanism: international trade in modern agricultural inputs serves as a first-order conduit for technology transfer and structural transformation.
For trade and agricultural policy in developing and emerging economies—including export-oriented Southeast Asian producers heavily reliant on imported potash, specialty fertilizers, active agrochemical ingredients, and heavy machinery—the strategic takeaway is unambiguous. Trade negotiations that prioritize market access for agricultural exports while maintaining tariffs, licensing friction, or port bottlenecks on modern agricultural inputs leave substantial farm-productivity dividends unrealized. At the same time, modern agricultural policy cannot evaluate chemical intensification purely through private yield gains: linking lower input trade barriers to precision agriculture, bio-fertilizers, and climate-smart mechanization ensures that productivity convergence does not come at the expense of soil degradation and greenhouse-gas emissions.
References
- Abadie, A., Athey, S., Imbens, G. W., & Wooldridge, J. M. (2023). When Should You Adjust Standard Errors for Clustering? The Quarterly Journal of Economics, 138, 1–35. https://doi.org/10.1093/qje/qjac038 ↩
- Adamopoulos, T., & Restuccia, D. (2014). The Size Distribution of Farms and International Productivity Differences. American Economic Review, 104, 1667–1697. https://doi.org/10.1257/aer.104.6.1667
- Caliendo, L., & Parro, F. (2015). Estimates of the Trade and Welfare Effects of NAFTA. The Review of Economic Studies, 82, 1–44. https://doi.org/10.1093/restud/rdu035
- Correia, S., Guimarães, P., & Zylkin, T. (2020). Fast Poisson Estimation with High-Dimensional Fixed Effects. The Stata Journal, 20, 95–115. https://doi.org/10.1177/1536867X20909691 ↩
- Costinot, A., Donaldson, D., & Smith, C. (2016). Evolving Comparative Advantage and the Impact of Climate Change in Agricultural Markets: Evidence from 1.7 Million Fields Around the World. Journal of Political Economy, 124, 205–248. https://doi.org/10.1086/684719 ↩
- Eaton, J., & Kortum, S. (2002). Technology, Geography, and Trade. Econometrica, 70, 1741–1779. https://doi.org/10.1111/1468-0262.00352
- Farrokhi, F., & Pellegrina, H. S. (2022). Replication Data for: Trade, Technology, and Agricultural Productivity. Harvard Dataverse, V1. https://doi.org/10.7910/DVN/JJSCNE
- Farrokhi, F., & Pellegrina, H. S. (2023). Trade, Technology, and Agricultural Productivity. Journal of Political Economy, 131, 2509–2555. https://doi.org/10.1086/724319
- Gollin, D., Lagakos, D., & Waugh, M. E. (2014). The Agricultural Productivity Gap. The Quarterly Journal of Economics, 129, 939–993. https://doi.org/10.1093/qje/qjt056 ↩
- Head, K., & Ries, J. (2001). Increasing Returns versus National Product Differentiation as an Explanation for the Pattern of U.S.-Canada Trade. American Economic Review, 91, 858–876. https://doi.org/10.1257/aer.91.4.858 ↩
- Kleibergen, F., & Paap, R. (2006). Generalized Reduced Rank Tests Using the Singular Value Decomposition. Journal of Econometrics, 133, 97–126. https://doi.org/10.1016/j.jeconom.2005.02.011
- Lagakos, D., & Waugh, M. E. (2013). Selection, Agriculture, and Cross-Country Productivity Differences. American Economic Review, 103, 948–980. https://doi.org/10.1257/aer.103.2.948
- Restuccia, D., Yang, D. T., & Zhu, X. (2008). Agriculture and Aggregate Productivity: A Quantitative Cross-Country Analysis. Journal of Monetary Economics, 55, 234–250. https://doi.org/10.1016/j.jmoneco.2007.11.006 ↩
- Solon, G., Haider, S. J., & Wooldridge, J. M. (2015). What Are We Weighting For? Journal of Human Resources, 50, 301–316. https://doi.org/10.3368/jhr.50.2.301 ↩
- Sotelo, S. (2020). Domestic Trade Frictions and Agriculture. Journal of Political Economy, 128, 2690–2738. https://doi.org/10.1086/706859 ↩
- Tombe, T. (2015). The Missing Food Problem: Trade, Agriculture, and International Productivity Differences. American Economic Journal: Macroeconomics, 7, 226–258. https://doi.org/10.1257/mac.20130108 ↩
Appendix A. Independent Academic Peer-Review Report
A.1. Overall Assessment of Scholarly Contribution and Research Positioning
Farrokhi and Pellegrina (2023) occupy a pivotal position at the intersection of quantitative international trade, agricultural development, and structural macroeconomics. Over the past two decades, two influential literatures examined the global agricultural productivity gap from largely separate perspectives. On the trade side, multi-country Ricardian spatial models stemming from Eaton and Kortum (2002), Costinot et al. (2016), and Sotelo (2020) emphasized comparative advantage in final crop production and spatial transport frictions for agricultural output. On the macro-development side, Restuccia et al. (2008), Lagakos and Waugh (2013), Adamopoulos and Restuccia (2014), and Gollin et al. (2014) attributed low agricultural labor productivity in developing countries primarily to domestic factor misallocation, small farm-size distributions, and exogenous total factor productivity gaps.
The distinctive contribution of Farrokhi and Pellegrina (2023) is to bridge these two traditions through an explicit, empirically grounded channel: endogenous farm technology adoption mediated by international trade in modern agricultural intermediate inputs. By demonstrating that developing countries import roughly two-thirds to four-fifths of their fertilizers, machinery, and pesticides—and by embedding a field-level choice between traditional and modern technologies inside a calibrated 66-country, 10-crop general equilibrium framework—the paper reveals that falling input trade costs between 1980 and 2007 generated roughly half of the total agricultural trade gains in food welfare and accounted for the overwhelming majority of modern-technology land expansion and crop yield improvements.
From a senior Q1 journal editorial perspective, the study is exemplary in its empirical motivation, theoretical elegance, and transparent archiving on Harvard Dataverse. Yet precisely because structural general equilibrium counterfactuals amplify small errors in reduced-form elasticity inputs, rigorous peer evaluation must interrogate four foundational pillars: the exact exclusion restrictions of agro-climatic instrumental variables, the consequences of exporter-volume weighting and zero-trade truncation, the statistical vulnerability of pooling heterogeneous crops into a single elasticity, and the omission of environmental externalities and dynamic capital adjustment frictions.
A.2. Critical Appraisal of Causal Identification Strategy and Econometric Assumptions
The empirical backbone of the paper's quantitative calibration consists of two weighted high-dimensional fixed-effects 2SLS regressions: M01 identifying the lower-tier Armington variety elasticity and M02 identifying the middle-tier cross-crop elasticity . While our independent tri-runtime audit confirms exceptional first-stage relevance with in M01 and in M02, four substantive econometric threats challenge the causal interpretation of these structural parameters.
First, the exclusion restriction for origin agro-climatic potential yields in M01 warrants rigorous scrutiny under quality differentiation and historical specialization. Although FAO-GAEZ potential yields reflect purely biological soil, rainfall, and temperature parameters, regions endowed with superior ecological suitability for a crop typically accumulate centuries of varietal branding, post-harvest grading infrastructure, phytosanitary compliance, and reliability in export supply chains. In the structural demand equation , all unobserved product quality and buyer trust terms reside in . Whenever superior agro-climatic suitability correlates positively with unobserved export quality—that is, —the IV estimator attributes quality-driven market share expansion to lower supply prices, generating a negative bias in and inflating .
Conversely, if maximal biological yield regions specialize in standardized bulk feed commodities rather than differentiated consumer varieties, the covariance reverses sign and attenuates . Neither direction can be ruled out purely from a single cross-section without origin-crop quality controls or panel variation.
Second, the exclusion restriction in the middle-tier regression M02 is structurally far more fragile than in M01. Here, the authors instrument destination 's composite crop price index using destination 's own FAO-GAEZ potential yield variables lyield_d and lyield_sq_d. While high domestic agronomic suitability lowers domestic supply prices, culinary traditions, staple food preferences, and processing industries evolve over centuries around precisely those crops that thrive locally. Thus, destination countries with high rice or wheat suitability exhibit systematically higher baseline consumption shares even holding current relative prices constant, implying a direct positive correlation . Because the first stage is negative with , this direct preference channel biases downward and inflates the implied cross-crop substitution elasticity . Constructing an external-partner shift-share agro-climatic instrument—weighting foreign trading partners' potential yields by exogenous geographic proximity rather than using domestic suitability—would provide a vastly cleaner exclusion restriction.
Third, the composite price regressor in M02 is a generated regressor constructed from estimated lower-tier demand shifters and recovered from M01. Standard two-stage clustered variance formulas treat as observed without sampling error, thereby understating the true estimation uncertainty of with reported standard error . A nested block bootstrap resampling destination-country clusters jointly across both estimation tiers is required to obtain valid confidence intervals for middle-tier substitution parameters.
Fourth, clustering standard errors strictly one-way by destination country country_iso_d in M01 ignores cross-destination error correlation originating from common exporter shocks. In any given year—especially during the turbulent 2007 commodity cycle—exports from a single origin country share harvest weather anomalies, port strikes, exchange-rate swings, and export restrictions across all importing partners . Under two-way dependence across origins and destinations, one-way clustering by destination alone can understate true standard errors; Adopting two-way origin-and-destination clustering or dyadic variance estimators in the spirit of Abadie et al. (2023) is essential for conservative inference.
A.3. Assessment of Data Quality, Variable Measurement, and Sample Sensitivity
A comprehensive line-by-line audit of the original archive FarrokhiPellegrina2022_Replication.zip confirms high engineering transparency and clean variable construction across the 66-country global accounts, while exposing four empirical vulnerabilities with direct quantitative consequences.
First, our diagnostic stress test on analytical weighting comparing M07 against M01 uncovers a striking specification sensitivity that was not highlighted in the published text. Weighting lower-tier IV regressions by exporter total agricultural output yields and , whereas unweighted estimation on the exact same observations yields with and . Following Solon et al. (2015), a divergence between weighted and unweighted IV point estimates is a textbook diagnostic warning of unmodeled slope heterogeneity correlated with the weighting variable. Economically, mega-exporters such as the United States, Brazil, and Argentina command differentiated export niches and lower demand elasticities, whereas smaller developing-country exporters compete in highly elastic residual markets. Imposing a single weighted elasticity across all 66 economies therefore projects large-exporter market power onto small developing exporters.
Second, restricting estimation to positive bilateral trade cells discards nearly four-fifths of the global trade matrix, retaining active flows out of potential cells and narrowing further to observations with valid instruments. In international trade gravity systems, zero trade flows occur non-randomly whenever bilateral prices and trade frictions exceed market-entry cutoffs. Although the authors properly deploy PPML-HDFE following Correia et al. (2020) when estimating bilateral trade cost persistence in tradecost_reg.do—achieving pseudo- values of , , and across manufacturing, agricultural outputs, and agricultural inputs on , , and pairs—they revert to log-linear selection on strictly positive flows when estimating demand elasticities. Ignoring the extensive margin introduces upward truncation bias whenever only high-demand-shock pairs survive high bilateral prices.
Third, disaggregating M01 crop by crop exposes substantial underlying heterogeneity masked by pooling. While bananas with give and , cotton with gives and , potatoes with give and , rice with gives and , soybeans with give and , and sugarcane with gives and , single-crop regressions for maize with suffer severe instrument weakness at with , wheat with spikes to , and oil palm with along with tomatoes with exhibit positive price slopes. This underlying dispersion explains why our leave-one-crop-out jackknife in Table 3 shifts down to when wheat is omitted and up to when sugarcane is omitted. Pooling across biologically and commercially disparate commodities therefore yields a composite parameter whose economic interpretation depends heavily on crop-bundle weights.
Fourth, anchoring the entire structural demand calibration on a single year—2007—exposes unit-value trade prices to the onset of the 2007–2008 global food and energy price spike, when surging natural gas prices inflated nitrogen fertilizer costs and major grain exporters imposed temporary export bans. Averaging multi-year trade flows or exploiting longitudinal panel variation would insulate both demand elasticities and Head–Ries (2001) trade-cost indexes from transitory macroeconomic shocks. Additionally, our code audit identified a minor scripting bug on line 8 of the authors' supplementary descriptive file fact_2_yields_cost_share.do, which inadvertently merged grid_GAEZ_HI.dta onto itself rather than onto traditional-technology grid_GAEZ.dta; Crucially, this slip affects only a supplementary descriptive figure and has zero bearing on the core structural estimations M01–M12 or the general equilibrium model.
A.4. Core Methodological Limitations of the Original Study
Synthesizing our empirical diagnostics and theoretical audit, five structural limitations govern the interpretation and external validity of Farrokhi and Pellegrina (2023), each with a clearly signed mathematical bias mechanism:
- Exclusion-Restriction Bias from Culinary Habit Formation and Origin Quality Sorting: Let denote unobserved correlation between agro-climatic potential yields and either domestic culinary preferences in
M02or origin varietal quality inM01, and let be the first-stage supply-shifter slope. The probability limit of the 2SLS slope satisfies . Because local dietary habits co-evolve with locally productive staple crops inM02, combines with to induce a strictly negative bias in , systematically inflating and overstating cross-crop consumer substitutability in food-security counterfactuals. - Weighting-Induced Aggregation Bias Under Exporter-Scale Elasticity Heterogeneity: Under heterogeneous exporter-crop slopes , exporter-weighted IV converges to . Because large agricultural exporters face less elastic demand than small exporters—directly confirmed by the divergence between
M01at and unweightedM07at —weighting by creates a positive aggregation bias , pulling downward relative to the unweighted global average. In standard Eaton–Kortum welfare accounting, a lower trade elasticity magnifies calculated gains from output trade, potentially overstating trade-cost welfare losses for small price-taking economies. - Extensive-Margin Selection Bias from Zero-Trade Truncation: Conditioning estimation on the of bilateral cells with strictly positive trade induces positive correlation between observed export prices and surviving demand shocks, with , because high-price pairs enter active trade only when accompanied by unusually favorable bilateral demand draws. This truncation produces a positive selection bias toward zero, attenuating the magnitude of and understating true Armington responsiveness along the extensive margin of market entry.
- Omitted-Variable Environmental Externality Bias from Chemical Input Intensification: The paper's welfare metric evaluates transitions from traditional to modern input-intensive agriculture strictly through marketed consumption gains. Yet expanding synthetic nitrogen fertilizer and chemical pesticide intensity generates non-market ecological damages—nitrous oxide greenhouse-gas emissions, freshwater eutrophication, soil microbiome depletion, and rural health burdens. Framed econometrically as omitted-variable bias in social return estimation, letting denote marginal external social damage per unit of chemical input expansion , net social welfare change equals , generating a systematic upward bias in the estimated social return parameter of chemical input liberalization whenever Pigouvian environmental accounting is omitted.
- Static Binary Technology Misspecification and Dynamic Capital-Adjustment Bias: Modeling technology adoption as a frictionless static binary choice and treating agricultural machinery as a fully depreciated annual intermediate input abstracts from credit market imperfections, lumpiness in tractor investments on fragmented smallholder plots as documented by Adamopoulos and Restuccia (2014), and multi-year learning-by-doing costs. Econometrically, omitting lagged capital stocks and credit constraints creates dynamic omitted-variable misspecification bias, producing an upward bias in the estimated short-run technology-adoption elasticity and overstating immediate responsiveness to machinery tariff reductions.
A.5. Recommendations for Model Upgrades and International Publication Extensions
To advance this research frontier to the next generation of top-five journal standards while strengthening its applicability to developing and emerging economies, four concrete methodological upgrades stand out.
First, transitioning from a single 2007 cross-section to a multi-decade bilateral trade panel spanning 1995 through 2022 enables inclusion of bilateral origin-destination-crop fixed effects alongside destination-year and origin-year controls. Under panel identification, time-invariant culinary traditions, colonial trade links, and historical varietal reputation are completely absorbed; Causal variation then stems strictly from interactions between exogenous FAO-GAEZ suitability and high-frequency seasonal weather anomalies, decisively resolving the exclusion-restriction vulnerabilities in both M01 and M02. Coupling this longitudinal design with an instrumental-variables Poisson pseudo-maximum likelihood estimator retains all zero-trade dyads to eliminate extensive-margin selection bias, while a nested two-way cluster bootstrap across both tiers produces exact standard errors accounting for generated composite price indexes.
Second, relaxing the single pooled Armington elasticity in favor of commodity-group elasticities and non-homothetic food preferences would substantially sharpen distributional counterfactuals. Estimating distinct lower-tier substitution elasticities for bulk storable grains including wheat, maize, and rice, industrial oilseeds and fibers including soybeans, oil palm, cotton, and sugarcane, and perishable horticulture including bananas, potatoes, and tomatoes—paired with non-homothetic preferences capturing Engel's Law across income quartiles—would reconcile the crop-composition leverage uncovered in Table 3 and deliver far more realistic welfare incidence across low- and high-income households.
Third, embedding an environmental accounting module inside the general equilibrium trade-and-technology architecture opens a major policy-relevant Q1 extension. Partitioning modern agricultural inputs into high-emission chemical inputs such as synthetic nitrogen fertilizers and conventional pesticides versus climate-smart capital and biological technologies such as fuel-efficient precision machinery, drip irrigation, stress-tolerant seeds, and bio-fertilizers allows explicit evaluation of green tariff schedules and border carbon adjustments. Quantifying the exact trade-off between agricultural yield convergence and net agricultural greenhouse-gas emissions directly bridges international trade economics with global climate policy.
Fourth, linking this macro-trade framework to granular household microdata in rapidly modernizing Asian economies—such as Vietnam's biennial VHLSS household panels spanning 2004 through 2024 merged with customs tariff schedules and spatial road-distance matrices to major deep-water ports—offers an ideal empirical laboratory for testing the interaction between international input trade liberalization and domestic transport costs highlighted by Sotelo (2020) and Farrokhi and Pellegrina (2023). Observing plot-level fertilizer, pesticide, and mechanization adoption alongside household credit access and local farm-size fragmentation would separate true trade-cost technology gains from domestic institutional bottlenecks, informing targeted infrastructure and green agricultural modernization strategies.
farrokhi_ag_trade_techcountry_iso_ocountry_iso_dcountry_id_ocountry_id_dcropdestinationdestination_cropis_mid_repis_country_repX_odkprice_croplbeta_odkUnlock Replication Data & Code
Having explored the quantitative findings and methodological critique above, sign in with an active membership or join the EcoLab research community to verify every estimated coefficient independently in your own analytical environment.
Aligned with Study Variable Names, Robust Covariance Specifications, and Diagnostic Checks
Ready for Immediate Execution in Your Local Statistical Environment for Independent Verification
Bundled with Journal-Formatted DOCX & PDF Manuscripts, Empirical CSV Dataset, All Three R · Stata · Python Scripts, and Execution Notes
Every Download Link Is Cryptographically Signed for Active Members and Refreshes Seamlessly on the Article Page




