Statalist


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

st: summarize variables without collapsing


From   "Brent Fulton" <fultonb@berkeley.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: summarize variables without collapsing
Date   Mon, 13 Apr 2009 12:25:39 -0700

Dear Statalist,

I am using Stata 9.2 and have a dataset with 10,000 individuals who each
reside in one of 50 states. I have individual-level (e.g., race) and
state-level variables (e.g., a state's average income).

Is there a way to summarize the average income (calculate mean, min, max,
sd, etc.) for the 50 states without collapsing the data by state?

Thanks,
Brent Fulton
UC Berkeley

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index