[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch #5402] RANK draft 1
From: |
John Darrington |
Subject: |
[patch #5402] RANK draft 1 |
Date: |
Sun, 24 Sep 2006 10:25:56 +0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060607 Debian/1.7.12-1.2 |
Follow-up Comment #15, patch #5402 (project pspp):
> [...] if you have multiple discontiguous SPLIT FILE groups with the same
split values, then they will all be ranked together as one big group, but
SPSS ranks each group separately. I had code that fixed this, but, um, it
didn't work due to a basic misconception of mine. It should be easy to fix,
but I don't have time tonight.
What was your solution to this? My idea would be to add a new variable and a
transformation which populates it with unique group values. Eg:
G $G_
20 1
20 1
30 2
30 2
30 2
20 3
20 3
30 4
Then we sort by $G_ instead of G. This wouldn't add too much extra overhead,
since we have one transformation anyway.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?5402>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/