This ZIP file contains the original S and FORTRAN code for the estimation of
Binary and Smoothed Binary Quantile Regressions. It contains the following
files:

sams.f   : Fortran Code for Binary Quantile Regression (Maximum Score) using
           Simulated Annealing.
sasms.f  : Fortran Code for Smoothed Binary Quantile Regression (Smoothed
           Maximum Score) using Simulated Annealing.
sa.ms    : S code that calls sams.f and receives its output.
sa.sms   : S code that calls sasms.f and receive its output.


The FORTRAN programs (sams.f, sasms.f) are adaptations of the Goffe,
Ferrier, and Rogers (1994) simulated annealing code. To use these files, you
will need to first compile the Fortran code creating an object ".o" file,
and then "source" the S code into S. The command

     if(!is.loaded(symbol.For("sams"))) dyn.load("sams.o")

in the beginning of the sa.ms file, asks for the Fortran object file to be
loaded. The annealing algorithm depends on various tuning parameters,
explanations for which can be found in Goffe, Ferrier, and Rogers (1994).


Please address any questions to:

Gregory Kordas
Dept. of Economics
University of Pennsylvania
3718 Locust Walk
Philadelphia, PA 19104-6297
USA
kordas@ssc.upenn.edu
