Statalist


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

RE: st: RE: curious behavior of drop


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   RE: st: RE: curious behavior of drop
Date   Sun, 6 Jul 2008 22:32:17 +0200

What is your story for Michael`s observation then?

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


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Scott Merryman
Sent: Sunday, July 06, 2008 10:22 PM
To: [email protected]
Subject: Re: st: RE: curious behavior of drop

I don't think -set varabbrev- would matter because age is not an
abbreviation; it uniquely identifies the variable.

For example:

. clear
. set obs 1
obs was 0, now 1
. gen age =1
. gen agecat = 1
. set varabbrev on
. drop age
. ds
agecat

. clear
. set obs 1
obs was 0, now 1
. gen age =1
. gen agecat = 1
. set varabbrev off
. drop age
. ds
agecat

Scott

On Sun, Jul 6, 2008 at 2:32 PM, Martin Weiss
<[email protected]> wrote:
>
> -set varabbrev off- to prevent it...
>
> Martin Weiss
*
*   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