Hello am new to stata, the task that am trying to achieve is to replace a numeric value with a string, but it keeps on saying type mismatch. However the type of the variable is str8.
I want to replace AB which is 1 with a string value. Am using "replace AB="my string" if "var"="value"
I want to replace AB which is 1 with a string value. Am using "replace AB="my string" if "var"="value"
Comment