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   "Eric G. Wruck" <[email protected]>
To   [email protected]
Subject   RE: st: Computing averages per good per country
Date   Sat, 11 Dec 2004 03:58:02 -0500

Got it -- thanks!

EGW


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


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