This directory contains the data used for the paper
"The Case of the Missing Trade and Other Mysteries"
by Daniel Trefler
November 15, 1994

The files are

1. hov_pub.ssd01
This is a UNIX SAS Version 6.07 file containing the data.

2. hov_pub.xpt
This is a UNIX SAS Version 6.07 export (transport) file.  It
was created with the following code:
   libname xout sasv5xpt 'hov_pub.xpt';
   proc copy in=data out=xout;
      select hov_pub;
   run;
It be read back into a SAS data set using the following UNIX-based commands:
   libname xin sasv5xpt 'hov_pub.xpt';
   libname data2 '../junk1';
   proc copy in=xin out=data2;
   run;
   
3. hov_pub.dat
This is an ascii version of the data set.  It was written with
the following sas PUT statement:
         PUT COUNTRY $1-12 FACTOR $14-25 " " AT V Y B YPC;
Thus, the character variable COUNTRY appears in positions 1-12, the
character variables FACTOR appears in positions 14-25, a space appears
in position 26, and the variables AT, V, Y, B, and YPC are formatted
by the SAS "best" format and separated by spaces.
   The variables are defined as follows:
         at      = factor content of trade, F=A*T
         v       = endowment
	 y       = gdp, world bank, y=p*Q
	 b       = trade balance, world bank b=p*T
	 ypc     = gdp per capita, PWT
	 country = alphabetic country name
	 factor  = alphabetic factor name
	 pop     = population, wb

4. sample.sas
This is a SAS program that computes some of the statistics used in the
paper as well as in my "International Factor Price Differences:
Leontief was Right!", Journal of Political Economy, Dec. 1993.

5. To check that the data are properly read, the following are sample
statistics    
Variable  Label                              N          Mean       Std Dev
--------------------------------------------------------------------------
AT        factor content of trade, F=A*T   297    -169046742    6642034856
V         endowment                        297   43992270693  276423695475
Y         gdp, world bank, y=p*Q           297  258760169537  614560302529
B         trade balance, world bank b=p*T  297   -2873808912   13345058955
POP       population, wb                   297   36644092.36   51387252.69
YPC       gdp per capita, PWT              297       7694.61       3849.37
INDEXC    country identifier               297    17.0000000     9.5379753