Statalist


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

Re: st: RE: curious behavior of drop


From   "Scott Merryman" <scott.merryman@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: curious behavior of drop
Date   Sun, 6 Jul 2008 15:22:26 -0500

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
<martin.weiss@uni-tuebingen.de> 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/



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