Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: using -table- command


From   Eric Booth <ebooth@ppri.tamu.edu>
To   "<statalist@hsphsun2.harvard.edu>" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: using -table- command
Date   Mon, 9 May 2011 14:33:00 +0000

<>

Also, take a look at -tabout- (from SSC).  Here's a quick example of what I think you're describing to get you started:
*******
sysuse census, clear
cap which tabout
if _rc ssc install tabout
expand 2

tabout state using "testtable.xls", sum replace ///
	c(N pop mean pop sd pop min pop max pop)  ///
	ptotal(all) h3(Summary Stats for POP by State) lines(double)
*****
- Eric
__
Eric A. Booth
Public Policy Research Institute
Texas A&M University
ebooth@ppri.tamu.edu

On May 9, 2011, at 9:12 AM, Joerg Luedicke wrote:

> On Mon, May 9, 2011 at 6:14 AM, Abhimanyu Arora
> <abhimanyu.arora1987@gmail.com> wrote:
>> Dear statalist
>> I have a cross-section of countries and would like to summarize 3
>> variables (in columns), with countries as rows (+ additional 'overall'
>> row) and within each 'country row' I would like 5 sub-rows for N,
>> mean, sd, min, max.
>> But having been unable to do so myself, I seek help on how to use
>> -table- command for the purpose.
>> Many thanks
>> Abhimanyu
> 
> You may have a look at tabstat (-help tabstat-)
> 
> 
> J.
> *
> *   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/



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