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

RE: st: Computing averages per good per country


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: Computing averages per good per country
Date   Fri, 10 Dec 2004 18:19:33 -0000

This is in the help for -collapse-. 

. collapse (mean) age-income (median) medage=age [w=pop], by(region)

Nick 
[email protected] 

Eric G. Wruck
 
> Is there a way to rename the variable as it is being created 
> with collapse?

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