Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Re: RE: Re: Number of characters displayed for value labels


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: Re: RE: Re: Number of characters displayed for value labels
Date   Thu, 4 Dec 2008 23:13:30 +0100

use -table- then and bear with the slight speed disadvantage:

********
sysuse auto, clear
la def replab 1 "longlonglonglong" 2 "loooooooooooooooooooooooooooonnnnnnnnnnnnnggggggggggg" 3 "short"
la val rep replab
tabulate rep78, summarize(mpg) mean freq miss wrap
table rep78, contents(mean mpg freq ) row
********

HTH
Martin
_______________________
----- Original Message ----- From: "sdm1" <[email protected]>
To: <[email protected]>
Sent: Thursday, December 04, 2008 11:04 PM
Subject: st: RE: Re: Number of characters displayed for value labels


Sorry I wasn't very clear.

. tabulate specfsm, summarize(costf2) means freq missing

           |    Summary of costf2
   specfsm |        Mean       Freq.
------------+------------------------
 General s |   1860.4192     1280069
   Urology |   1004.6777      629468
 Transplan |   5399.3063        5306
 Breast su |   1669.2213       19653
 Colorecta |   1568.8133       21568
 Pancreati |   4069.0676        3627
 Gastroint |   2203.1943        5489
 Vascular  |   3275.3298       26439
 Trauma &  |   2687.4072      910305
       ENT |   1158.6973      327900
 Ophthalmo |   800.93609      481776

How do I get more than the 9 characters currently displayed for the labels
attached to specfsm?

Regards,

Steve

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Martin Weiss
Sent: 04 December 2008 21:44
To: [email protected]
Subject: st: Re: Number of characters displayed for value labels

What do you mean? -help label- tells you: "Value labels may be up to 32,000
characters long."


HTH
Martin
_______________________
----- Original Message ----- From: "sdm1" <[email protected]>
To: <[email protected]>
Sent: Thursday, December 04, 2008 10:24 PM
Subject: st: Number of characters displayed for value labels


How can I increase the number of characters displayed for value labels (I
get nine characters at the moment)?

Thanks.

Steve

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



*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index