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]

st: stubwidth(#) for output other than table?


From   "Ariel Linden, DrPH" <ariel.linden@gmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: stubwidth(#) for output other than table?
Date   Fri, 25 Nov 2011 13:08:23 -0500

Hi All,

On a somewhat regular basis I run into the problem of having the variable
name truncated in the output table (whether that output table be after
regression or other procedure). In -table- there is a stubwidth(#) option
that "specifies the width, in units of digit widths, to be allocated to the
left stub of the table."

Is there a generic alternative to stubwidth for other output? There may be
user-written programs that allocate a certain width to the first column that
may result in truncated variable names. It would be helpful if this could be
overridden in a simple manner. 

As an example, I ran -sum- on a couple of variables. As shown, the variable
names in the first column are truncated

. summarize  tumor_lymphoma_cci metastatic_solid_cci

    Variable |       Obs        Mean    Std. Dev.       Min        Max
-------------+--------------------------------------------------------
tumor_lymp~i |     72210    .0104002    .1014505          0          1
metastatic~i |     72210    .0017311    .0415703          0          1

Thanks

Ariel

 
 



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