[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Usage of "?" sign?

From   Ziad El-Khatib <>
Subject   st: Usage of "?" sign?
Date   Wed, 17 Oct 2007 22:36:37 -0700

Dear STATA lister
basic question, i am trying to recode column with list of names that
have been entered in different ways.

EFA, Panadol
EFV, Panado
Antibiotics, Efavirenz

I am trying to generate new variable var2 to have one value for EFV
gen var2 = var1
recode var (?EFA? = EFV) (?EFV? = EFV) (?Efavirenz? = EFV)

Recode does not accept text, any tips how to go around it?

Thank you in advance and best regards

*   For searches and help try:

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