[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: -recode- question
--- Friedrich Huebler <email@example.com> wrote:
> 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.
My question was about the interpretation of overlaps in a -recode-
command. I thought this was not documented but I was wrong. Overlaps
are explained under the heading "Test for mistakes in rules" in the
entry for -recode- in the Stata 8 Reference Manual.
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
* For searches and help try: