[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Recode
From: |
Ben Pfaff |
Subject: |
Re: Recode |
Date: |
Wed, 9 Jan 2013 10:13:42 -0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, Jan 09, 2013 at 09:22:12AM -0800, pohaku wrote:
>
> In recode you use (num1 thru num2 = ?). But, suppose you are recoding
> continuous data, then it is likely that num2 of one code is num1 of next.
> Example recoding student GPA
>
> (2.222 thru 2.555 = C)
> (2.555 thru 3.000 = B)
>
> the question is -- is the logic of the recode
>
> (2.222<= X <2.555 =C)
> (2.555<=X <3.000 = B)
It's 2.222 <= x <= 2.555 becomes C, 2.555 < x <= 3.000 becomes B.
> there is no clarify in the documentation about the end points being strictly
> less than or less than-equal.
The use of square brackets in the documentation is supposed to indicate
that the end points are included, but I see now that this is not as
clear as it could be.