Statalist


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

RE: st: Different variable names


From   "Kaganova, Yevgeniya" <ykaganova@rti.org>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Different variable names
Date   Mon, 28 Dec 2009 10:27:10 -0500

Thank you! I already added labels and notes to the variables, but still was asked about the "two names" possibility.  Now I can answer that there is no such option with certainty. 


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Martin Weiss
Sent: Monday, December 28, 2009 9:19 AM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: Different variable names

<>

"is it possible in Stata to have two different names for
> the same variable,"


Nope, that is impossible, and with good reason. You can -rename- of course, even though this can be hazardous as well when sharing with other people. Discipline is absolutely vital to avoid confusion. You may want to put the "other" name into a -variable label- or a -note-...

Limited support for different views onto the same dataset is provided in -help label_language-...

HTH
Martin

-------- Original-Nachricht --------
> Datum: Mon, 28 Dec 2009 09:09:54 -0500
> Von: "Kaganova, Yevgeniya" <ykaganova@rti.org>
> An: statalist@hsphsun2.harvard.edu
> Betreff: st: Different variable names

> Dear listers, is it possible in Stata to have two different names for 
> the same variable, so that people who are used to one name system 
> could use it, and people who are used to another name system could 
> refer to the same variable using a different name ?
> 
>  Thank you. Jenya
> 
> 
> 
> *
> *   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/

--
Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.!
http://portal.gmx.net/de/go/dsl02
*
*   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/

*
*   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