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

st: recoding strings variables to numerical

From   "b. water" <[email protected]>
To   [email protected]
Subject   st: recoding strings variables to numerical
Date   Sun, 19 Jun 2005 22:46:30 +0000

dear listers,

stata 8.2. winxp.

trying to recode string variables (counts) consisting of 'high', 'low', 'medium', 'vhigh', etc to numerical values e.g. high = 1, low=2. look up manuals - recode for numerical only, destring replace/generate did not work. any suggestions or work around? i started with something like gen counts2=. but then i am stuck as to what to do next. would appreciate help.


Is your PC infected? Get a FREE online computer virus scan from McAfee´┐Ż Security.

* For searches and help try:

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