[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: How to quickly replace values of a variable
I have the following simple data:
There are about 300 observations. I would like to replace 101 by
65687, 102 by 65686, and so on. This can be done by -recode-.
However, it is a bit messy. Can you suggest me a more elegant way of
doing this. For instance, in Excel one can us ethe -vlookup- feature.
Is there something similar we can do with Stata.
Thanks so much for your help and Have A Wonderful Day!
* For searches and help try: