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

st: RE: Re: xtsum and reporting

From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Re: xtsum and reporting
Date   Tue, 30 Nov 2004 14:42:41 -0000

I agree with Michael that -tabstat- sounds like the 
first port of call. 

In addition, two reviews in the Stata Journal 
covered some relevant material: 

Problems with tables, Part I. SJ 3(3):309--324 (2003) 

Problems with tables, Part II. SJ 3(4):420--439 (2003) 

[email protected] 

Michael Blasnik

> I think -tabstat- may do what you want.  Perhaps something like this:
> tabstat var1 var2 var3 var4 ... varn, stats(n mean sd min 
> max) by(country) 
> col(stat) longstub
> You can also check out the recently expanded -tabout- 
> available through SSC. 
> I haven't used it much yet for summary stats, but I think it 
> may prove 
> useful to you if you want output written to a file for exporting.
Edwin Leuven 

-collapse- and then -list- is one way...

Andrea Molinari

> > I am in the process of summarising my data, and was 
> wondering if anyone
> > knows a way of making a table with the criteria stated in the by
> > command.
> >
> > For example, I need to report a table for each variable 
> with its mean,
> > its std. deviation, min and max, and #obs. per country and 
> year (or per
> > year, depending on the variable).
> >

*   For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index