Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: Displaying full variable names using "summarize"


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: Displaying full variable names using "summarize"
Date   Wed, 5 Apr 2006 21:41:02 +0100

Quite so. -fsum- has lots of bells and whistles
in this area and well illustrates the principle 
of writing your own wrapper if you don't (always)
like what an official command does. 

That said, -fsum-'s -format()- option does not 
seem as flexible as that of the token program 
posted earlier. 

Nick 
[email protected] 

Fred Wolfe
 
> You could also use -fsum- (ssc install fsum)
> 
> . gen thisisaverylongvariablename = age
> (473 missing values generated)
> 
> . fsum age this
> 
>                      Variable 
> |        N     Mean       SD      Min      Max 
> 
> -----------------------------+--------------------------------
> -------------
>                   Age (years) |   218860    61.71    12.84    
> 12.72   103.74
>   thisisaverylongvariablename |   218860    61.71    12.84    
> 12.72   103.74

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