Score contribution per author:
α: calibrated so average coauthorship-adjusted count equals average raw count
I develop a model of agriculture on heterogeneous land to study the relation between trade, productivity, and welfare in Peru, where farmers face high internal and external trade costs. I quantify the model with new data on crop prices, yields, and land allocations. I then measure the effects of changes to trade opportunities. A policy of paving roads raises aggregate productivity (4.9%) and the median farmer’s welfare (2.7%), but increased competition from remote suppliers harms 20% of farmers. An increase in international grain prices spreads unevenly across regions, benefiting farmers but hurting urban consumers close to ports.