Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: collapse if at least X or more obs. per group are non-missing


From   Nick Winter <[email protected]>
To   [email protected]
Subject   Re: st: collapse if at least X or more obs. per group are non-missing
Date   Wed, 25 Aug 2004 10:49:56 -0400

At 09:03 PM 8/24/2004 +0200, you wrote:
collapse (count) GDP_N=GDP (mean) GDP_mea=GDP, by(sftgcode decade)
Keep in mind that stata allows only variable names with 8 characters (that's
why GDP_mea and not GDP_mean).
A friendly correction: Stata allows 32 character variable names, as of (I think) version 7. Certainly with version 8.

--Nick Winter


--------------------------------------------------------
Nicholas Winter 607.255.8819 t
Assistant Professor 607.255.4530 f
Department of Government [email protected] e
308 White Hall falcon.arts.cornell.edu/nw53 w
Cornell University
Ithaca, NY 14853-4601

*
* 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