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

Re: st: Re: -tabstat-


From   <[email protected]>
To   [email protected]
Subject   Re: st: Re: -tabstat-
Date   Mon, 05 Apr 2004 19:06:29 -0600

Thank you much Scott! Exactly what I was looking for.


On 5 Apr 2004 at 19:58, Scott Merryman wrote:

> Fred Wolfe's -fsum- with the "uselabel" option will produce the table
> you want.
> 
> 
> For example:
> 
> . fsum price mpg trunk, stat(n mean sd min max)  uselabel
> 
>               Variable |        N     Mean       SD      Min      Max
> -----------------------+---------------------------------------------
>                  Price |       74  6165.26  2949.50  3291.00 15906.00
>          Mileage (mpg) |       74    21.30     5.79    12.00    41.00
>  Trunk space (cu. ft.) |       74    13.76     4.28     5.00    23.00
> 
> 
> Hope this helps,
> Scott
> 
> ----- Original Message ----- 
> From: <[email protected]>
> To: <[email protected]>
> Sent: Monday, April 05, 2004 4:50 PM
> Subject: st: -tabstat-
> 
> 
> > Hello All ---
> > Is there a way to replace the variable name with the variable
> > label when using -tabstat-?  My variable names are,
> > unfortunately, not terribly descriptive and I'd prefer the
> > labels to be printed by Stata instead of me retyping the
> > variable label after copying the output into Word.  My code
> > follows:
> >
> > tabstat varlist, stat(n mean sd min max) col(statistics)
> >
> > Many Thanks!
> > Clint Thompson
> 
> 
> *
> *   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/


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