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

st: Re: xtsum and reporting


From   Kit Baum <[email protected]>
To   [email protected]
Subject   st: Re: xtsum and reporting
Date   Wed, 1 Dec 2004 08:37:08 -0500

True enough, but it is not difficult to create a by-var which iterates through all of the combinations of multiple by-vars:

egen yearReg = group(year region), label
tabstat spircons, by(yearReg) stat(N mean sd min max)

Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html

On Dec 1, 2004, at 2:33 AM, Edwin wrote:


Nick Cox wrote:
I agree with Michael that -tabstat- sounds like the
first port of call.
- -tabstat- only allows 1 byvar if i am not mistaken.
*
*   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