|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Antwort: st: Prob with -rename-
**********
set varabbrev off
**********
should help. however, i agree that there should be a warning in case variable abbreviations are set on.
Rich
[email protected] schrieb: -----
An: <[email protected]>
Von: "Martin Weiss" <[email protected]>
Gesendet von: [email protected]
Datum: 13.05.2008 10:03AM
Thema: st: Prob with -rename-
Dear Statalisters,
I am currently dealing with a nasty problem. Try the following:
**********
clear*
set obs 100
g x14 = 0
g x2=5
rename x1 x90
**********
The last -rename- simply hijacks variable x14 and renames it x90. If I
wanted this behavior, I would say -rename x1? X90-. Should -rename- not
alert me to the fact that there is no such variable?
Martin Weiss
_________________________________________________________________
Diplom-Kaufmann Martin Weiss
Mohlstrasse 36
Room 415
72074 Tuebingen
Germany
Fon: 0049-7071-2978184
Home: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1130
Publications: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1131
SSRN: http://papers.ssrn.com/sol3/cf_dev/AbsByAuth.cfm?per_id=669945
*
* 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/