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

st: New package -lablist- on SSC

From   "Newson, Roger B" <>
To   <>
Subject   st: New package -lablist- on SSC
Date   Mon, 16 Jul 2007 12:23:02 +0100

Thanks to Kit Baum, a new package -lablist- is available for download
from SSC. In Stata, use the -ssc- command to do this.

The -lablist- package is described as below on my website. It is a front
for -label list-, and is designed save the interactive user the trouble
of typing


to find the name of a value label set for a variable. It can also save
the do-file programmer the trouble of typing two lines such as

local Xlab: value label X
lab list `Xlab'

instead of typing the single line

lablist X

which does the same thing.

Best wishes


Roger Newson
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Web page:
Departmental Web page:

Opinions expressed are those of the author, not of the institution.

package lablist from

      lablist: List value labels (if present) for one or more variables

      lablist produces a list of the values and value labels used by the
      value label sets belonging to each of a list of variables, if such
      value label sets are defined. If no varlist is specified, then
      lablist uses the full list of variables in the dataset currently
      the memory. lablist is therefore similar to label list, but it
      requires the user to specify only the variable name(s) in the
      varlist, instead of specifying the value label set(s) belonging to
      the variable(s). It is often used with tabulate, or with the SSC
      package xcontract.
      Author: Roger Newson
      Distribution-Date: 10july2007
      Stata-Version: 9

INSTALLATION FILES                                  (click here to
(click here to return to the previous screen)

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index