Statalist


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

st: var already defined problem


From   David Torres <torresd@umich.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: var already defined problem
Date   Tue, 07 Jul 2009 15:10:42 -0400

The '______ already defined' error (r(110)) is usually not a problem for me; I just start with a new variable to define or drop the existing one. BUT how can I find what the problem is when I'm looping through unique values of a variable?

I'm still working on some spatial analysis and when I create my haversine variable (with the option of that name in the -vincenty- command) in the forvalues loop I get the error message just referenced...and I'm not doing anything esle in the code that is demanding a change on this new distance variable.

Thanks for your help,

Diego

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

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