|
Hi
see "Find all permutations of integers 1 to n.SPS" in
http://pages.infinit.net/rlevesqu/SampleSyntax.htm#Combinations
Regards
Raynald Levesque rlevesque@videotron.ca
Visit my SPSS Pages http://pages.infinit.net/rlevesqu/index.htm
-----Original Message-----
From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU]On Behalf Of
Arnaldo Ferrari Nasi
Sent: March 11, 2002 6:43 AM
To: SPSSX-L@LISTSERV.UGA.EDU
Subject: any possible combination of cases position in a datafile
Dear Spssers,
I have a data file with 5 cases, sorted in ascending order.
casenum
1
2
3
4
5
I would have a number of others datafiles (or variables) with any possible
combination of the position of these cases.
ie
casenum1 casenum2 casenum3 casenum4 ...
2 3 2 1
3 4 1 3
4 5 3 2
5 1 4 4
1 2 5 5
Does someone know the solution?
TIA
Arnaldo.
|