Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Converting numeric into string using the value labels


From   Miranda Kim <[email protected]>
To   [email protected]
Subject   st: Converting numeric into string using the value labels
Date   Wed, 23 Sep 2009 10:47:04 +0100

A very basic question I would appreciate help with...

if I have a numeric variable that has a value label assigned to it.
For example a binary variable (0/1) where 0 has value label "no" and 1 has value label "yes" How can I convert this to a string variable that will be populated with "yes" and "no"?

Many thanks,
Miranda

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



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