SPHDIST: Stata module to compute spherical distances
Abstractsphdist.ado does the spherical distance calculations. deg2rad.ado converts one to three variables expressing the degrees minutes and seconds of arc. The radius may be specified as a number, but if omitted defaults to the proper radius for the earth in whatever units you like to use. Either radians or degrees may be used, though degrees is the measure of choice. The latitude and longitude are fed to the ado file through the lat1() lon1() lat2() and lon2() options (which can be either numbers or variables or a mixture. If they are variables, each may have 1 to 3 variables for degrees minutes, and seconds of arc). This is version 1.1 of the software.
Download InfoIf you experience problems downloading a file, check if you have the proper application to view it first. In case of further problems read the IDEAS help page. Note that these files are not on the IDEAS site. Please be patient as the files may be large.
Bibliographic InfoSoftware component provided by Boston College Department of Economics in its series Statistical Software Components with number S372502.
Programming language: Stata
Requires: Stata version 6.0
Date of creation: 19 Mar 1999
Date of revision: 19 Jun 2000
Note: This module may be installed from within Stata by typing "ssc install sphdist". Windows users should not attempt to download these files with a web browser.
Contact details of provider:
Postal: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA
Web page: http://fmwww.bc.edu/EC/
More information through EDIRC
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F Baum).
If references are entirely missing, you can add them using this form.