[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: -recode- question
The help and manual entry for -recode- explain this;
but I doubt that's your question. In effect, -recode-
has its own syntax in this respect.
I think the Stata world divides into two on this:
those who use -recode- frequently and have
internalised this, and those who blench
if and when they first see its syntax.
> This question was inspired by Veit Grote's recent post. The command
> . recode varname min/3=1 3/6=2 6/9=3
> recodes all values <=3 to 1, and all values >3 and <=6 to
> 2. How does
> a Stata user learn this "read from left to right" rule? I could not
> find this documented anywhere.
* For searches and help try: