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

Re: st: recoding strings


From   n j cox <[email protected]>
To   [email protected]
Subject   Re: st: recoding strings
Date   Fri, 16 Sep 2005 12:09:53 +0100

Not so far as I know. You could -encode-
your string variable, then apply -recode-.
Otherwise it is a matter of a series
of -replace-s.

Nick
[email protected]

>>> Thushyanthan Baskaran (edited)

I would like to recode a string variable. However, -recode- accepts numeric values only. Is there a similar command for string variables?
*
* 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/




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