|
|
Burkhard,
You could save just variable 1 to a new file. Open that file and do one of
two things. Either, sort the variable in either ascending or descending
order, rename that variable, and save. (This works only because your
variable 1 is itself a random number.) Or, draw a number from a uniform
distribution and then sort the file on that variable, rename the original
variable (variable 1), and save. Next, do a match files with no By variable.
The idea is that the program will add the record 1 value to record 1 of the
other file, and so on. If you have trouble with the match files operation,
you need to add the case number ($casenum) to each file and then match on
case number.
Repost if you need specific syntax.
Gene Maguin
|