This is the Julia replication of Koren and Tenreyro (2013), “Technological Diversification”. It regenerates Table 1 cell for cell and runs Table 2’s code path. It reproduces Table 3’s model columns within Monte Carlo error. Each piece is checked against the authors’ own Stata and Python code, run unmodified. The code is organised by the paper’s parts. data/ holds the readers and Stata’s storage rules, and section1/ the regressions of Tables 1 and 2. model/ covers the 1870 firm-size distribution, adoption, entry and variety failures, and simulation/ the 1,000 simulated worlds behind Table 3.
data/
section1/
model/
simulation/
This page is a static snapshot of the code in jlcanvas, a code browser. Every file is a block of real code on a zoomable canvas. Click a name to see where it is defined, computed and used, with its docstring and equations. The Structure, Calls and Types views show the files, the call graph and the modelling-choice types (Estimator, ShockSource) with the methods that dispatch on them.
Estimator
ShockSource
The page needs JavaScript.