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

st: RE: label


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: label
Date   Wed, 30 Oct 2002 16:46:29 -0000

Ye Xu
> 
> How can I show the completaion label of the content of variable?
> When I use "tab var",the labels are half cut.
> 

A few experiments indicate that, at least in 
some circumstances, -tabulate- in Stata chops at 39 characters. 
So if your labels are cut in half, they must be about 
78 characters long. 

-table-, and -tabdisp- which it uses, appear to chop 
at 40 characters. 

A few experiments indicate that changing the setting
of -linesize- makes no difference. 

Another even more homespun way is illustrated by this 
example: 

. u auto
. bysort foreign : egen freq = sum(1) 
. egen tag = tag(foreign) 
. list foreign freq if tag 


Nick 
[email protected] 
*
*   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