April,
Are you computing a Euclidian distance between centroids?
- Robert
Robert A. Yaffee, Ph.D.
Research Professor
Silver School of Social Work
New York University
----- Original Message -----
From: Austin Nichols <[email protected]>
Date: Wednesday, May 7, 2008 8:15 am
Subject: Re: st: Calculate distance between two zip codes
To: [email protected]
> April <[email protected]>:
> There are a few options at
> ssc inst vincenty
> help vincenty
>
> On Wed, May 7, 2008 at 8:09 AM, Knill, April <[email protected]> wrote:
> > Good afternoon Statalisters,
> >
> > Does anyone have code that calculates the distance (miles or km is
> fine) between two locations using zip code? I have data on zip codes
> which includes city, county, state, and latitude/longitude
> coordinates. I have found code online that uses the
> longitude/latitude coordinates but it is not Stata code and I have no
> knowledge on how to convert or make it usable within Stata. Other
> than that, there are plenty of websites that allow one to put in two
> zip codes and will calculate the distance but I'm looking for code
> that will do it for me. Thanks in advance!
> >
> > Best Regards,
> >
> > April Knill
> >
> > *
> > * 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/
> >
> *
> * 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/
*
* 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/