Statalist


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

Re: st: Calculate distance between two zip codes


From   Robert A Yaffee <[email protected]>
To   [email protected]
Subject   Re: st: Calculate distance between two zip codes
Date   Wed, 07 May 2008 14:26:22 -0400

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/



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