Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: AW: var already defined problem


From   David Torres <torresd@umich.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: AW: var already defined problem
Date   Tue, 07 Jul 2009 19:08:46 -0400

Martin,

I tried your suggestion and compared the output to a similar file, and I can't seem to understand what's going on. Stata loops through once on the -vincenty- command, the returns the error about the haversine variable as already defined.

My other file is a subset of the same data as above, but input manually: there are two data sets with longitude and latitude points, nonmatch merged, then I go right to the forv loop. If you have another tip (or if anyone else does), I'd appreciate it. In the meantime, I'll be pulling out my hair.

I don't understand why the manually input data would work and not the existing data. Strange.

Thanks.

--------------------------------------------

David Diego Torres, MA(Sociology)
PhD Candidate in Sociology

2030D Population Studies Center
University of Michigan Institute for Social Research
Ann Arbor MI  48106-1248
Tel 734.763.4098
Fax 734.763.1428
torresd at umich dot edu

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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