Samuel Kortum‎ > ‎

Technology, Geography, and Trade

Gauss Programs Used for Estimation and Simulation

MAXDISTX.PRG

This program performs computations described in section 3, and generates:

  • the method of moments estimate of theta
  • the OLS estimates of theta (with & without constant), footnote 26
  • the unrestricted pure price regressions, footnote 26
  • the OLS estimate of theta, with source & destination dummies
  • the 2SLS estimate of theta with geography instruments

table II

the data used to plot figure II

 

Input files needed are:


SIMPRM2X.PRG 

This program performs the non-parametric trade regressions described in section 5.1, and generates the results found in tables III, IV, and V.

Input files needed are:

 

SOURCRGX.PRG

This program generates the results given in section 5.4, and generates tables VI and VII.

Input files needed are:


EQUILX.PRG 

This program computes equilibrium as described in section 4.  It is used as the baseline from which the counterfactuals described in section 6.1 and 6.3 are computed using SIMULX.PRG, and from which the counterfactuals described in section 6.4 are computed using SIMLTARX.PRG

Input files needed are:


SIMULX.PRG 

This program takes as input the baseline computed by EQUILX.PRG, and performs one or more experiments to generate the counterfactuals described in section 6, and generates tables VIII and IX. 

Input files needed are:

  

SIMLTARX.PRG 

This program takes as input the baseline computed by EQUILX.PRG, and performs a tariff-reduction experiment to generate the results described in section 6.4 and generates table XII

Input files needed are: