Statalist


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

Re: st: Label range


From   "Ben Jann" <ben.jann@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Label range
Date   Fri, 2 May 2008 19:29:28 +0200

Maybe the -labelsof- command is of help. It returns all labeled values
in r(values). See

 . ssc d labelsof

ben

On Fri, May 2, 2008 at 6:13 PM, Friedrich Huebler <fhuebler@gmail.com> wrote:
> -labelbook- lists the range of values, as in the example below. How
>  can one access this range for subsequent processing?
>
>  Friedrich
>
>
>  . sysuse auto
>  . labelbook origin
>
>  ------------------------------------------------------------------------------------
>  value label origin
>  ------------------------------------------------------------------------------------
>
>       values                                    labels
>        range:  [0,1]                     string length:  [7,8]
>            N:  2                 unique at full length:  yes
>         gaps:  no                  unique at length 12:  yes
>   missing .*:  0                           null string:  no
>                                leading/trailing blanks:  no
>                                     numeric -> numeric:  no
>   definition
>            0   Domestic
>            1   Foreign
>
>    variables:  foreign
>
>                                     numeric -> numeric:  no
>   definition
>            0   Domestic
>            1   Foreign
>
>    variables:  foreign
>  *
>  *   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/
>
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index