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]

AW: st: summary table after tab1


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   AW: st: summary table after tab1
Date   Sun, 27 Jun 2010 19:08:06 +0200

<> 

-ssc d univar- may have its virtues, but I think -tabstat- is more versatile
these days. 

*************
sysuse auto, clear
capture which univar
if _rc ssc install univar
univar price mpg
tabstat price mpg, stat(count mean sd p25 p50 p75 min max) c(statistics)
*************



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Donald Spady
Gesendet: Sonntag, 27. Juni 2010 18:19
An: statalist@hsphsun2.harvard.edu
Betreff: Re: st: summary table after tab1

Try univar.  It may do what you want.  It is very versatile in providing 
summary data on one line, (one line per variable).

DOn

Andrzej Niemierko wrote:
> What's the simples way to generate a one-way summary table of frequencies
> over several variables. -tab1 varlist, sort- generates individual tables
but
> I need a single table with frequencies summed over varlist.
> Thank you,
> Andrzej
>
>
>
>
> The information in this e-mail is intended only for the person to whom it
is
> addressed. If you believe this e-mail was sent to you in error and the
e-mail
> contains patient information, please contact the Partners Compliance
HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
error
> but does not contain patient information, please contact the sender and
properly
> dispose of the e-mail.
>
> *
> *   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/


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