[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: identifying nonnumeric values in a variable
I have a dataset that has some errors in it in which a variable has a few string values. I was wondering how i can get Stata to identify these for me. Essentially, the data is like this:
id varx .......
3 5 - 10
I would like Stata to be able to tell me that the varx for id3 has a value of "5 - 10" so I can then replace it and destring varx. The dataset is rather large and scanning by eye is cumbersome, especially trying to identify the times when "o" was entered instead of "0".
Any help would be appreciated.
* For searches and help try: