Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Calculating and storing distances


From   "MA V" <[email protected]>
To   [email protected]
Subject   st: Calculating and storing distances
Date   Wed, 30 Aug 2006 16:52:24 +0000

Dear statalist users,
My problem is the following:
I have a dataset that has 3 variables: location_id, latitude, longitude.
I would like to calculate the distances between the locations but I'm not sure of what is the best way of storing this information in Stata. Suppose we have 30 locations (i.e. 30 observations).
Any ideas on how to to calculate the distances and, more importantly, on how to store them (in an effective way, for future manipulation)?
Thanks for your help!

_________________________________________________________________
Search from any web page with powerful protection. Get the FREE Windows Live Toolbar Today! http://get.live.com/toolbar/overview

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index