SPHDIST: Stata module to compute spherical distances
Bill Rising ()
Additional contact information
Bill Rising: StataCorp LLC
Statistical Software Components from Boston College Department of Economics
Abstract:
sphdist.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.
Language: Stata
Requires: Stata version 6.0
Keywords: spherical coordinates; geographic data (search for similar items in EconPapers)
Date: 1999-03-19, Revised 2000-06-19
Note: This module may be installed from within Stata by typing "ssc install sphdist". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/s/sphdist.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/sphdist.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/d/deg2rad.ado program code (text/plain)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s372502
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().