Replication code and data for Armenter and Koren, 2014. "A Balls-and-Bins Model of Trade." American Economic Review.