LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 2002, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 19 Mar 2002 12:15:02 +0100
Reply-To:   dirk.cosijn@KBC.BE
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   dirk.cosijn@KBC.BE
Subject:   all possible combinations
Content-type:   text/plain; charset="us-ascii"

Hi All,

Anyone who can tell me how to make all possible combinations with i.e. a dataset with 3 observations (can be more).

input =

obs var1 var2

obs1 A B obs2 A C obs3 D E

output ( 7 possible combinations) =

obs1 A B -- obs2 A C -- obs3 D E -- obs1 A B obs2 A C -- obs1 A B obs3 D E -- obs2 A C obs3 D E -- obs1 A B obs2 A C obs3 D E

Thanks

Dirk Cosijn KBC Bank

____________________________________________________ DISCLAIMER

This e-mail and any attached files are confidential and may be legally privileged. If you are not the addressee, any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is strictly prohibited. If you have received this transmission in error please notify KBC immediately and then delete this e-mail. KBC does not accept liability for the correct and complete transmission of the information, nor for any delay or interruption of the transmission, nor for damages arising from the use of or reliance on the information. All e-mail messages addressed to, received or sent by KBC or KBC employees are deemed to be professional in nature. Accordingly, the sender or recipient of these messages agrees that they may be read by other KBC employees than the official recipient or sender in order to ensure the continuity of work-related activities and allow supervision thereof.


Back to: Top of message | Previous page | Main SAS-L page