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:any easy alternative way when -egen- is not allowed to combine with by
From
Stas Kolenikov <[email protected]>
To
[email protected]
Subject
Re: st:any easy alternative way when -egen- is not allowed to combine with by
Date
Tue, 21 Dec 2010 18:07:33 -0600
On Tue, Dec 21, 2010 at 5:40 PM, Sergiy Radyakin <[email protected]> wrote:
> Hi Stas!
>
> there are at least three problems with your code:
> 1) you are missing ` ' around sumnew in the second bysort;
> 2) you are missing cond() in the second bysort;
> 3) the program does not work :(
Sergiy is absolutely right in his criticisms. I am looking for
something to shoot myself in the foot :)
--
Stas Kolenikov, also found at http://stas.kolenikov.name
Small print: I use this email account for mailing lists only.
*
* 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/