st: Number of characters displayed for value labels

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

st: Number of characters displayed for value labels

sdm1
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/
Reply | Threaded
Open this post in threaded view
|

st: Re: Number of characters displayed for value labels

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


HTH
Martin
_______________________
----- Original Message -----
From: "sdm1" <[hidden email]>
To: <[hidden email]>
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/
Reply | Threaded
Open this post in threaded view
|

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

sdm1
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: [hidden email]
[mailto:[hidden email]] On Behalf Of Martin Weiss
Sent: 04 December 2008 21:44
To: [hidden email]
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" <[hidden email]>
To: <[hidden email]>
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/
Reply | Threaded
Open this post in threaded view
|

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

Martin Weiss-5
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" <[hidden email]>
To: <[hidden email]>
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: [hidden email]
> [mailto:[hidden email]] On Behalf Of Martin Weiss
> Sent: 04 December 2008 21:44
> To: [hidden email]
> 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" <[hidden email]>
> To: <[hidden email]>
> 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/
Reply | Threaded
Open this post in threaded view
|

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

sdm1
Thanks Martin.

Steve

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

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" <[hidden email]>
To: <[hidden email]>
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: [hidden email]
> [mailto:[hidden email]] On Behalf Of Martin Weiss
> Sent: 04 December 2008 21:44
> To: [hidden email]
> 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" <[hidden email]>
> To: <[hidden email]>
> 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/

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