Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: label to string

From   "Nick Cox" <>
To   <>
Subject   st: RE: label to string
Date   Mon, 9 May 2005 16:26:08 +0100

This is what -decode- does. 

Admittedly, every label is (usually) repeated. If you wanted 
each value and label pair just once, you could 

contract myvar 
decode myvar, gen(labelvar) 


Hans J. Baumgartner
> is there any possibility to save labels as string vars?

*   For searches and help try:

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