Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: using -table- command


From   Eric Booth <[email protected]>
To   "<[email protected]>" <[email protected]>
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
[email protected]

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

> On Mon, May 9, 2011 at 6:14 AM, Abhimanyu Arora
> <[email protected]> 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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index