This file is part of IDEAS, which uses RePEc data


[ Papers | Articles | Software | Books | Chapters | Authors | Institutions | JEL Classification | NEP reports | Search | New papers by email | Author registration | Rankings | Volunteers | FAQ | Blog | Help! ]

SPHDIST: Stata module to compute spherical distances

Author info | Abstract | Publisher info | Download info | Related research | Statistics
Author Info
Bill Rising ()
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.

Download Info
To download:

If you experience problems downloading a file, check if you have the proper application to view it first. Information about this may be contained in the File-Format links below. In case of further problems read the IDEAS help file. Note that these files are not on the IDEAS site. Please be patient as the files may be large.

File URL: http://fmwww.bc.edu/repec/bocode/s/sphdist.ado
File Format: text/plain
File Function: program code
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/s/sphdist.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/d/deg2rad.ado
File Format: text/plain
File Function: program code
Download Restriction: no

Publisher Info
Software component provided by Boston College Department of Economics in its series Statistical Software Components with number S372502.

Download reference. The following formats are available: HTML, plain text, BibTeX, RIS (EndNote), ReDIF
Size:
Programming language: Stata
Requires: Stata version 6.0
Date of creation: 19 Mar 1999
Date of revision: 19 Jun 2000
Handle: RePEc:boc:bocode:s372502

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
Phone: 617-552-3670
Fax: +1-617-552-2308
Email:
Web page: http://fmwww.bc.edu/EC/
More information through EDIRC

Order Information:
Web: http://repec.org/docs/ssc.php

For technical questions regarding this item, or to correct its listing, contact: (Christopher F Baum).

Related research
Keywords: spherical coordinates geographic data

Statistics
Access and download statistics

Did you know? There is a FAQ (frequently asked questions).

This page was last updated on 2008-7-7.


This information is provided to you by IDEAS at the Department of Economics, College of Liberal Arts and Sciences, University of Connecticut using RePEc data on a server sponsored by the Society for Economic Dynamics.