Please note that with the "labjl" command
STB-59 dm84 . . . . . . . . . labjl: Adding numerical codes to value labels
(help labjl if installed) . . . . . . . . . . . . . . J. M. Lauritsen
1/01 STB Reprints Vol 10, pages 35--37
adds or removes numerical codes to the value labels of a
categorical variable
The same feature as announced in Stata8 can be used in Stata 6 and 7:
. tab kmgrp
Residence |
of runner | Freq. Percent Cum.
------------+-----------------------------------
0- 25 km | 675 18.65 18.65
26-62 km | 911 25.17 43.81
63 -120 | 954 26.35 70.17
120+ km | 1080 29.83 100.00
------------+-----------------------------------
Total | 3620 100.00
. labjl kmgrp
Numerical codes added to Label: kmlbl
* note that labels will be properly aligned:
. tab kmgrp
Residence of |
runner | Freq. Percent Cum.
-------------+-----------------------------------
1 0- 25 km | 675 18.65 18.65
2 26-62 km | 911 25.17 43.81
3 63 -120 | 954 26.35 70.17
4 120+ km | 1080 29.83 100.00
-------------+-----------------------------------
Total | 3620 100.00
. labjl kmgrp, remove
Numerical codes removed from Label: kmlbl
Within a few days labjl will be removed from ssc-ideas and my own site to
diminish confusion.
Kind regards
Jens M.Lauritsen
Jens M. Lauritsen, Consultant,MD. PhD.
Accident Analysis Group, Odense University Hospital,
Odense, Denmark e-mail: [email protected]
Initiator of EpiData, see www.epidata.dk for DataEntry in windows (EpiInfo
V6 principle)
For news on Epidata, sign on at: www.epidata.dk/php/maillist.php
Phone +45 6541 2293 Mobile +45 2173 2293 fax: +45 6613 6581
*
* 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/