Chau Do
>
> What is the command to change a numeric variable to a
> string variable? i
> have looked in the help menu and faq, but have only found
> commands for the
> other way around; i.e, numeric into string. i have tried
> the decode but i
> believe that this is the wrong command, or at least it
> gives me an error
> message when i try it.
Various suggestions were made:
-tostring-, a user-written ado
-string()-, an official Stata function.
There is a more general review of this territory
in Stata Journal 2(3), 314-329 (2002) under
the heading "On numbers and strings".
Nick
[email protected]
*
* 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/