Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: re: egen with error after set obs erases obs


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: re: egen with error after set obs erases obs
Date   Tue, 8 Feb 2011 19:02:53 +0000

-egen- is an official command. Some users (originally) wrote some of
the functions but the whole beast has always been official. More
crucially, it's what Stata does between the commands that is biting
here.

Nick

On Tue, Feb 8, 2011 at 6:57 PM, Airey, David C
<david.airey@vanderbilt.edu> wrote:
> .
>
> Yes, well technically I never said egen erases data. I said erases obs meaning the effect of the set obs command. I know code written by you wouldn't do that, ;).
>
> -Dave
>
>
>> This tip would help avoid the problem it describes. But as I already
>> explained: do not blame -egen- for erasing data that was never there.
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index