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)
Nick
[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:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/